/* Public-page content finish. Opt-in only: member, auth, admin and form
   controllers keep their existing styles and behavior. */
body.bw-editorial.bw-page-public :is(.bonis-title, .market-title, .auftrag-hero-copy h1, .bw-faq-hero h1) {
  font-size: clamp(2.45rem, 4.6vw, 4.25rem) !important;
  line-height: 1.1 !important;
  letter-spacing: -.045em !important;
  font-weight: 600 !important;
  hyphens: none;
}
body.bw-editorial :is(.bonis-page, .auftrag-page, .markt-page) h2.bw-display {
  font-size: clamp(1.9rem, 3.2vw, 2.9rem);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -.035em;
}
.bw-editorial .bw-ed-accent { color: var(--bw-readable-accent, #087b89); }
html[data-design="future"] .bw-editorial .bw-ed-accent { color: #8fe8d7; }
.bw-editorial .bw-ed-link { display: inline-flex; align-items: center; gap: 10px; color: var(--bw-readable-accent, #087b89); font-size: .88rem; font-weight: 650; text-decoration: none; }
.bw-editorial .bw-ed-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.bw-editorial :is(.bw-ed-link, .bw-ed-jump a):focus-visible { outline: 2px solid var(--bw-readable-accent, #087b89); outline-offset: 5px; }
.bw-editorial :is(#ablauf, #kundenschritte, #service-modi, #bitwolt-praemie, #strom-chart-card, #gas-chart-card) { scroll-margin-top: 104px; }

/* Photographs dissolve into the same atmosphere as the homepage. */
.bw-editorial .bw-ed-photo { margin: 0; min-width: 0; }
.bw-editorial .bw-ed-photo img {
  display: block; width: 100%; height: 360px; object-fit: cover;
  -webkit-mask-image: linear-gradient(180deg, transparent, rgba(0,0,0,.2) 4%, rgba(0,0,0,.7) 11%, #000 20%, #000 70%, rgba(0,0,0,.7) 83%, rgba(0,0,0,.2) 95%, transparent);
  mask-image: linear-gradient(180deg, transparent, rgba(0,0,0,.2) 4%, rgba(0,0,0,.7) 11%, #000 20%, #000 70%, rgba(0,0,0,.7) 83%, rgba(0,0,0,.2) 95%, transparent);
}
.bw-editorial .bw-ed-photo--home img { object-position: 58% 46%; }
.bw-editorial .bw-ed-photo figcaption { padding-top: 10px; color: var(--bw-muted); font-size: .78rem; letter-spacing: .015em; }

/* Rewards: one clear overview, then the distinctions and optional extras. */
.bw-editorial .bonis-hero-grid { grid-template-columns: 1.05fr .95fr; padding-bottom: 32px; border: 0; gap: clamp(30px, 5vw, 70px); }
.bw-editorial .bonis-lead { max-width: 47ch; font-size: 1rem; line-height: 1.75; }
.bw-editorial .reward-editorial { margin-top: 42px; }
.bw-editorial .reward-editorial__amount { font-size: clamp(5rem, 8vw, 7rem); line-height: 1; letter-spacing: -.065em; }
.bw-editorial .reward-editorial__spotlight h2 { font-size: 1.6rem; font-weight: 600; line-height: 1.2; letter-spacing: -.025em; }
.bw-editorial .reward-detail h3 { font-size: 1.2rem; font-weight: 600; letter-spacing: -.02em; }
.bw-editorial .reward-detail p { font-size: .91rem; }
.bw-editorial .bonus-editorial { padding-block: 64px; gap: 60px; grid-template-columns: 1fr 1fr; }
.bw-editorial .bonus-editorial__copy { position: static; }
.bw-editorial .bonus-definition-row { grid-template-columns: 1fr; gap: 10px; padding-block: 21px; }
.bw-editorial .bonus-definition-row dt { font-size: 1.15rem; font-weight: 600; }
.bw-editorial .bonus-definition-row dd { font-size: .91rem; }
.bw-editorial :is(.sustain-band, .survey-band) { padding-block: 54px; }
.bw-editorial .bw-ed-note { padding-left: 28px; border-left: 1px solid var(--bw-border); }
.bw-editorial .bw-ed-note h3 { font-size: 1.25rem; font-weight: 600; letter-spacing: -.02em; }
.bw-editorial .bw-ed-note p { color: var(--bw-muted); line-height: 1.7; margin-bottom: 22px; }
.bw-editorial .survey-band { grid-template-columns: 1.4fr .6fr; }
.bw-editorial .survey-band__partner .bw-ed-link { margin-top: 24px; }
.bw-editorial .bonis-closing { padding-top: 58px; align-items: center; }

/* Onboarding: distinguish the two customer situations instead of numbering
   them as if both were mandatory steps in a single workflow. */
.bw-editorial .auftrag-hero-grid { grid-template-columns: 1.1fr .9fr; align-items: center; padding-bottom: 50px; }
.bw-editorial .auftrag-hero-copy .bw-copy { max-width: 44ch; }
.bw-editorial .auftrag-trust { margin-left: 24px; }
.bw-editorial :is(.onboarding-section, .process-section, .service-mode) { padding-block: 60px; }
.bw-editorial .auftrag-section-head { margin-bottom: 28px; }
.bw-editorial .onboarding-track { border: 0; background: none !important; }
.bw-editorial .onboarding-step { padding-block: 14px; }
.bw-editorial .onboarding-step__body h3 { font-size: 1.45rem; font-weight: 600; letter-spacing: -.025em; }
.bw-editorial .bw-ed-scenarios { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; }
.bw-editorial .bw-ed-scenarios article { min-width: 0; border-top: 1px solid var(--bw-border); padding-top: 26px; }
.bw-editorial .bw-ed-scenarios h3 { margin: 12px 0 16px; font-size: 1.55rem; font-weight: 600; letter-spacing: -.025em; }
.bw-editorial .bw-ed-scenarios p { margin-bottom: 12px; color: var(--bw-muted); line-height: 1.7; font-size: .94rem; max-width: 51ch; }
.bw-editorial .bw-ed-after-note { margin: 24px 0 0; color: var(--bw-readable-accent, #087b89); font-size: .9rem; line-height: 1.7; }
.bw-editorial .service-mode { grid-template-columns: .85fr 1.15fr; gap: 54px; }
.bw-editorial .service-mode__copy { position: static; }
.bw-editorial .service-mode__row { grid-template-columns: 145px 1fr; gap: 22px; }
.bw-editorial .service-mode__row > span { font-size: 1.04rem; font-weight: 600; overflow-wrap: anywhere; }
.bw-editorial .service-mode__row p { font-size: .91rem; }
.bw-editorial .auftrag-cta-band { padding-block: 54px 10px; align-items: center; border: 0; }
.bw-editorial .auftrag-cta-actions { max-width: 480px; align-items: center; }

/* Data pages lead with data; no photographic filler ahead of the charts. */
.bw-editorial .market-hero-grid { align-items: center; gap: 60px; padding-bottom: 46px; }
.bw-editorial .market-sub { font-size: 1rem; line-height: 1.75; max-width: 48ch; }
.bw-editorial .bw-ed-jump { display: grid; align-content: start; min-width: 0; }
.bw-editorial .bw-ed-jump > .bw-kicker { margin-bottom: 12px; }
.bw-editorial .bw-ed-jump a { display: flex; align-items: center; gap: 15px; padding-block: 18px; border-bottom: 1px solid var(--bw-border); color: var(--bw-ink); font-size: .96rem; font-weight: 600; text-decoration: none; }
.bw-editorial .bw-ed-jump a > span { color: var(--bw-muted); font-size: .68rem; }
.bw-editorial .bw-ed-jump b { margin-left: auto; color: var(--bw-readable-accent, #087b89); font-weight: 400; }
.bw-editorial .bw-ed-jump a:hover { color: var(--bw-readable-accent, #087b89); }
.bw-editorial .market-terminal { margin-top: 44px; }
.bw-editorial .market-terminal__head h2 { font-size: clamp(1.8rem, 2.8vw, 2.5rem); }
.bw-editorial .market-interpretation { padding-top: 60px; }
.bw-editorial .market-interpretation__copy h2 { max-width: 18ch; }
.bw-editorial .bwpr-head h1 { font-size: clamp(2.2rem, 4.2vw, 3.5rem); max-width: 17ch; }
.bw-editorial .bwpr-head .bw-copy { max-width: 60ch; }

/* Contact photography belongs to the intro, outside the verified form. */
.bw-editorial .bw-contact-v3 .bw-contact-hero { max-width: none; display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 40px; margin-bottom: 36px; }
.bw-editorial .bw-contact-v3 .bw-contact-hero h1 { font-size: clamp(2.25rem, 3.9vw, 3.45rem); }
.bw-editorial .bw-contact-v3 .bw-contact-hero p { font-size: .95rem; max-width: 51ch; }
.bw-editorial .bw-ed-photo--contact img { height: 270px; object-position: 36% 38%; }
.bw-editorial .bw-faq-hero { max-width: 760px; }
.bw-editorial .bw-faq-nav { padding-bottom: 36px; }
.bw-editorial .bw-faq-section h2 { font-size: 1.7rem; font-weight: 600; letter-spacing: -.025em; }
.bw-editorial .bw-faq-questions p a { color: var(--bw-readable-accent, #087b89); text-underline-offset: 4px; }

@media (max-width: 980px) {
  .bw-editorial :is(.bonis-hero-grid, .auftrag-hero-grid, .market-hero-grid) { grid-template-columns: 1fr 1fr; gap: 28px; }
  .bw-editorial .bonus-editorial { grid-template-columns: 1fr; gap: 28px; }
  .bw-editorial .service-mode { grid-template-columns: 1fr; gap: 24px; }
  .bw-editorial .auftrag-trust { margin-left: 0; }
  .bw-editorial .bw-ed-photo img { height: 320px; }
  .bw-editorial .bw-ed-photo--contact img { height: 270px; }
  .bw-editorial .bw-ed-note { padding-left: 0; border-left: 0; }
}
@media (max-width: 680px) {
  body.bw-editorial.bw-page-public :is(.bonis-title, .market-title, .auftrag-hero-copy h1, .bw-faq-hero h1) { font-size: clamp(2.25rem, 9vw, 3.25rem) !important; }
  .bw-editorial :is(.bonis-hero-grid, .auftrag-hero-grid, .market-hero-grid, .bw-ed-scenarios, .survey-band) { grid-template-columns: 1fr; }
  .bw-editorial .bonis-hero-grid { gap: 28px; padding-bottom: 0; }
  .bw-editorial .bw-ed-photo img { height: 230px; }
  .bw-editorial .bw-ed-photo figcaption { padding-top: 0; }
  .bw-editorial .reward-editorial { margin-top: 32px; }
  .bw-editorial :is(.bonus-editorial, .sustain-band, .survey-band, .onboarding-section, .process-section, .service-mode) { padding-block: 40px; }
  .bw-editorial .onboarding-step { padding-block: 20px; }
  .bw-editorial .onboarding-step + .onboarding-step { margin-top: 8px; }
  .bw-editorial .bw-ed-scenarios { gap: 26px; }
  .bw-editorial .bw-ed-after-note { font-size: .85rem; }
  .bw-editorial .service-mode__row { grid-template-columns: 1fr; gap: 9px; }
  .bw-editorial .auftrag-hero-grid { padding-bottom: 34px; }
  .bw-editorial .auftrag-trust > div { padding-block: 13px; }
  .bw-editorial .auftrag-cta-band { padding-top: 38px; }
  .bw-editorial .auftrag-cta-actions .bw-ed-link { margin-top: 8px; }
  .bw-editorial .market-hero-grid { gap: 26px; padding-bottom: 28px; }
  .bw-editorial .bw-ed-jump a { padding-block: 13px; }
  .bw-editorial .market-terminal { margin-top: 28px; }
  .bw-editorial .market-interpretation { padding-top: 42px; }
  .bw-editorial .bw-contact-v3 .bw-contact-hero { grid-template-columns: 1fr; gap: 12px; margin-bottom: 20px; }
  .bw-editorial .bw-ed-photo--contact img { height: 160px; object-position: 38% 31%; }
  .bw-editorial .bw-contact-v3 .bw-contact-hero p { font-size: .9rem; }
}
