/* =====================================================
   BRAND CONFIGURATION — Campaign Color Controls
   Edit ONLY these values for rebranding
   No rebuild required when editing in /build
   ===================================================== */

:root {
  /* ── Primary Brand Colors ─────────────────────────── */
  --brand-primary: #036A38;
  --brand-primary-hover: #005A2E;
  --brand-accent: #F7F0E8;
  --brand-bg: #AFD6C3;
  --brand-text: #002010;



  /* ── CTA "Direct Investeren" Button Override ──────── */
  /* Leave empty to inherit from primary; set values to override */
  --cta-primary-bg: #C8102E;
  --cta-primary-bg-hover: #B40925;
  --cta-primary-border: #C8102E;
  --cta-primary-border-hover: #B40925;
  --cta-primary-text: #fff;

  /* ── Header / Navigation ──────────────────────────── */
  --header-bg: rgba(27, 26, 48, 0.3);
  --header-blur: 13.6px;
  --header-nav-link-color: #fff;
  --header-nav-link-hover: var(--brand-accent);
  --header-logo-width: 9.3rem;
  --header-logo-width-mobile: 7.4rem;

  /* ── Check List (Hero USPs) ───────────────────────── */
  --checklist-icon-color: #FF9B00;
  --checklist-text-color: inherit;
}

.header__logo .logo {
  width: var(--header-logo-width);
}

a[href] {
  cursor: pointer;
}

.section-hero__description h1 {
  font-size: 5rem;
}

.section-hero .section-hero__bg:after {
  background: linear-gradient(99deg, rgba(3, 106, 56, 0.82) 32%, rgba(3, 106, 56, 0.18) 62%, rgba(3, 106, 56, 0) 100%) !important;
}

.section-hero .check-list {
  padding: 1.8rem 2rem;
  background: rgba(1, 44, 23, 0.58);
  border: 1px solid rgba(247, 240, 232, 0.14);
  border-radius: 1.6rem;
  backdrop-filter: blur(8px);
  box-shadow: 0 1.2rem 3rem rgba(0, 0, 0, 0.18);
}

.section-hero__col--right {
  max-width: 26rem;
}

.section-hero .check-list__item {
  margin-bottom: 0.9rem;
}

.section-hero .check-list__text {
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.section-hero__actions {
  margin-top: 3.2rem;
  margin-bottom: 3.2rem;
}

.hero-progress {
  max-width: 54rem;
  margin-top: 0;
  padding: 1.8rem 2rem 1.9rem;
  color: #fff;
  background: rgba(1, 34, 18, 0.72);
  border: 1px solid rgba(247, 240, 232, 0.14);
  border-radius: 1.6rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 1.8rem 4rem rgba(0, 0, 0, 0.2);
}

.hero-progress__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.6rem;
  margin-bottom: 1.2rem;
}

.hero-progress__head strong {
  font-size: 2.1rem;
  line-height: 1.2;
  color: #fff;
}

.hero-progress__head span {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(247, 240, 232, 0.68);
}

.hero-progress__bar {
  position: relative;
  height: 1.2rem;
  margin-bottom: 1.3rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
}

.hero-progress__fill {
  display: block;
  height: 100%;
  width: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ffb000 0%, #ffd972 100%);
  box-shadow: 0 0 1.4rem rgba(255, 176, 0, 0.4);
  transform-origin: left center;
  animation: hero-progress-fill 1.4s ease-out both;
}

.hero-progress p {
  margin: 0;
  font-size: 1.5rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.96);
}

@keyframes hero-progress-fill {
  from {
    width: 0;
  }

  to {
    width: 100%;
  }
}

.section-boxes .box-info__media {
  justify-content: flex-end;
}

@media (min-width: 768px) {
  .section-boxes .box-info__entry {
    width: auto !important;
    flex: 1 1 0;
  }

  .section-boxes .box-info__entry-inner {
    max-width: none !important;
  }

  .section-boxes .box-info__media {
    width: auto !important;
    flex: 0 0 12rem;
  }

  .section-boxes .box-info__figure {
    width: 11.2rem;
    max-width: 11.2rem;
  }

  .section-boxes .box-info__figure img {
    width: 100%;
    height: auto;
  }
}

.box-info__entry a[href^="tel:"] {
  font-weight: 700;
}

.bond-calc__title {
  margin-bottom: 2.8rem;
  color: var(--brand-text);
}

.calculator-instruments {
  margin-top: 4.8rem;
  padding: 3.6rem 3.2rem 3.2rem;
  background: linear-gradient(135deg, rgba(3, 106, 56, 0.06), rgba(3, 106, 56, 0.02));
  border: 1px solid rgba(3, 106, 56, 0.12);
  border-radius: 2rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.calculator-instruments__head {
  max-width: 72rem;
  margin-bottom: 2.8rem;
  color: var(--brand-text);
}

.calculator-instruments__head h4 {
  margin-bottom: 1rem;
  color: var(--brand-text);
}

.calculator-instruments__head p {
  margin-bottom: 0;
}

.section-inline-cta {
  margin-top: 3.2rem;
}

.investment-points {
  margin: 2.8rem 0 0;
  padding: 0;
  list-style: none;
}

.investment-points__item {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  margin-bottom: 1.8rem;
}

.investment-points__item:last-child {
  margin-bottom: 0;
}

.investment-points__icon {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  margin-top: 0.4rem;
  color: var(--brand-primary);
}

.investment-points__icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.investment-points__body h6 {
  margin-bottom: 0.5rem;
  color: var(--brand-text);
}

.investment-points__body p {
  margin: 0;
}

.section-tiles {
  display: none;
}

.section-logos {
  display: block;
}

.slider-logos__slide {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 7.2rem;
}

.slider-logos__slide img {
  display: block;
  width: auto;
  max-width: 17rem;
  max-height: 4.8rem;
  object-fit: contain;
}

@media (max-width: 767px) {
  .calculator-instruments {
    margin-top: 3.6rem;
    padding: 2.8rem 2rem 2rem;
  }

  .calculator-instruments__head {
    margin-bottom: 2.4rem;
  }

  .slider-logos__slide {
    min-height: 6rem;
  }

  .slider-logos__slide img {
    max-width: 14rem;
    max-height: 4rem;
  }
}

.section-media-content__figure {
  aspect-ratio: auto;
}

.section-media-content__figure-wrapper {
  position: sticky;
  top: 10rem;
  overflow: hidden;
  border-radius: 1.6rem;
}

.section-media-content__figure-wrapper img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.footer__afm-banner {
  margin-top: 5.6rem;
}

.footer__afm-banner picture,
.footer__afm-banner img {
  display: block;
  width: 100%;
}

.footer__afm-banner img {
  height: auto;
}

.footer__credit {
  margin-top: 2.4rem;
  font-size: 1.4rem;
  line-height: 1.6;
  text-align: left;
  color: rgba(255, 255, 255, 0.78);
}

.footer__credit a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

.footer__credit svg {
  flex: 0 0 auto;
}

.page-flow {
  background:
    radial-gradient(circle at top right, rgba(247, 240, 232, 0.9), rgba(247, 240, 232, 0) 35%),
    linear-gradient(180deg, #f6f2ea 0%, #e7f0ea 100%);
}

.page-flow.page-checkout,
.page-instrument-selection {
  background: var(--brand-primary);
}

.page-flow .header__content {
  width: auto;
  margin-left: auto;
}

.page-flow .header__info {
  display: none;
}

.page-flow .header__actions {
  margin-left: auto;
}

.page-flow .section-checkout--redirect,
.page-flow .section-flow {
  min-height: 100svh;
  padding-top: 16rem;
  display: flex;
  align-items: center;
}

.page-instrument-selection .section-flow {
  background: var(--brand-primary);
  min-height: 100svh;
  padding: 13rem 0 8rem;
  display: flex;
  align-items: center;
}

.page-flow .section-checkout__inner {
  padding: 0;
  background: transparent;
}

.flow-panel {
  max-width: 114rem;
  margin: 0 auto;
  padding: 5.6rem 5rem 4.8rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(3, 106, 56, 0.12);
  border-radius: 2.4rem;
  box-shadow: 0 2rem 5rem rgba(0, 32, 16, 0.12);
  backdrop-filter: blur(10px);
}

.flow-panel__head {
  max-width: 72rem;
  margin-bottom: 3.6rem;
  color: var(--brand-text);
}

.page-instrument-selection .flow-panel__head {
  max-width: 62rem;
}

.flow-panel__head h1 {
  margin-bottom: 1.6rem;
  color: var(--brand-text);
}

.flow-panel__head p {
  margin-bottom: 0;
}

.instrument-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

.instrument-card {
  display: flex;
  flex-direction: column;
  padding: 3.2rem;
  color: var(--brand-text);
  background: #fff;
  border: 1px solid rgba(3, 106, 56, 0.12);
  border-radius: 1.8rem;
  box-shadow: 0 1.2rem 2.8rem rgba(0, 32, 16, 0.08);
}

.instrument-card__eyebrow,
.redirect-panel__eyebrow {
  margin-bottom: 1rem;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-primary);
}

.instrument-card h2 {
  margin-bottom: 2rem;
  color: var(--brand-text);
}

.instrument-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-bottom: 2rem;
}

.instrument-card__meta-item {
  min-width: 14rem;
  padding: 1.2rem 1.4rem;
  background: rgba(3, 106, 56, 0.06);
  border-radius: 1.2rem;
}

.instrument-card__meta-label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 1.3rem;
  color: rgba(0, 32, 16, 0.7);
}

.instrument-card p {
  margin-bottom: 2.4rem;
}

.instrument-card .btn {
  margin-top: auto;
}

.redirect-panel {
  max-width: 78rem;
  margin: 0 auto;
  padding: 5.6rem 5rem 4.8rem;
  text-align: center;
  color: var(--brand-text);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(3, 106, 56, 0.12);
  border-radius: 2.4rem;
  box-shadow: 0 2rem 5rem rgba(0, 32, 16, 0.12);
  backdrop-filter: blur(10px);
}

.redirect-panel__mark {
  width: 18rem;
  margin: 0 auto 3.2rem;
}

.redirect-panel__mark img {
  display: block;
  width: 100%;
  height: auto;
}

.redirect-panel__spinner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 3.2rem;
}

.redirect-panel__spinner span {
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background: var(--brand-primary);
  animation: checkout-spinner 0.9s ease-in-out infinite;
}

.redirect-panel__spinner span:nth-child(2) {
  animation-delay: 0.15s;
}

.redirect-panel__spinner span:nth-child(3) {
  animation-delay: 0.3s;
}

.redirect-panel__entry h1 {
  margin-bottom: 1.8rem;
  font-size: clamp(3.2rem, 4vw, 4.8rem);
  line-height: 1.15;
  color: var(--brand-text);
}

.redirect-panel__entry p {
  margin-bottom: 1.6rem;
}

.redirect-panel__meta {
  font-size: 1.4rem;
  line-height: 1.5;
  color: rgba(0, 32, 16, 0.72);
}

.redirect-panel__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.2rem;
  margin-top: 3.2rem;
}

@keyframes checkout-spinner {
  0%, 80%, 100% {
    opacity: 0.35;
    transform: translateY(0) scale(0.92);
  }
  40% {
    opacity: 1;
    transform: translateY(-0.2rem) scale(1);
  }
}

@media (max-width: 767px) {
  .section-hero__col--left {
    display: flex !important;
    flex-direction: column;
    width: 100%;
    max-width: none;
    order: 1;
  }

  .section-hero__actions {
    order: 2 !important;
    width: 100%;
    margin-top: 2.6rem;
    margin-bottom: 2.4rem;
  }

  .hero-progress {
    order: 3;
    max-width: none;
    margin-top: 0;
    padding: 1.6rem 1.8rem;
  }

  .section-hero__col--right {
    order: 4 !important;
  }

  .header__logo .logo {
    width: var(--header-logo-width-mobile);
  }

  .section-hero__description h1 {
    font-size: 3.6rem;
  }

  .section-hero .check-list {
    padding: 1.6rem 1.8rem;
  }

  .hero-progress__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }

  .hero-progress__head strong {
    font-size: 1.9rem;
  }

  .hero-progress__bar {
    height: 1.3rem;
  }

  .hero-progress p {
    font-size: 1.45rem;
    color: #fff;
  }

  .investment-points {
    margin-top: 2.2rem;
  }

  .investment-points__item {
    gap: 1rem;
    margin-bottom: 1.4rem;
  }

  .section-inline-cta {
    margin-top: 2.4rem;
  }

  .page-flow .section-checkout--redirect,
  .page-flow .section-flow {
    padding-top: 12rem;
  }

  .page-instrument-selection .section-flow {
    padding: 11rem 0 5.6rem;
  }

  .flow-panel {
    padding: 4rem 2.2rem 3.2rem;
    border-radius: 1.8rem;
  }

  .flow-panel__head {
    margin-bottom: 2.8rem;
  }

  .page-instrument-selection .flow-panel__head {
    max-width: 100%;
  }

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

  .instrument-card {
    padding: 2.4rem 2rem;
  }

  .footer__afm-banner {
    margin-top: 4rem;
  }

  .footer__credit {
    margin-top: 2rem;
    font-size: 1.3rem;
  }

  .redirect-panel {
    padding: 4rem 2.2rem 3.2rem;
    border-radius: 1.8rem;
  }

  .redirect-panel__mark {
    width: 14rem;
    margin-bottom: 2.4rem;
  }

  .redirect-panel__spinner {
    margin-bottom: 2.4rem;
  }

  .redirect-panel__actions {
    margin-top: 2.4rem;
  }
}
