/* Wiser redline pass. Direction and audit: demo/unslop/README.md.
   Guided by unslop by Damir Sokolovsky (@heydamir), CC BY 4.0. */
html[data-appearance="light"] {
  --wl-ink: #242622; --wl-body: #5b5f59; --wl-muted: #70756e;
  --wl-blue: #805233; --wl-blue-deep: #644027; --wl-line: #e3e5df; --wl-soft: #f5f5f2;
  --foreground: #242622; --ink: #242622; --ink-dim: #70756e;
  --ice: #805233; --ice-deep: #644027; --border: #e3e5df;
  --color-text-accent: #805233; --color-text-muted: #70756e;
  --wiser-ease: cubic-bezier(.22,1,.36,1);
}
html[data-appearance="light"] :is(body,button,input,select,textarea) { font-family: SuisseIntl, Arial, sans-serif; }
html[data-appearance="light"] body { color: var(--wl-ink); background: #fff; }
html[data-appearance="light"] [data-theme] { --s-ink: #242622; --s-body: #5b5f59; --s-dim: #70756e; --s-card-shadow: none; }
html[data-appearance="light"] ::selection { color: #242622; background: #e9ded4; }
html[data-appearance="light"] :is(button,a,input,select,summary):focus-visible { outline: 2px solid #805233; outline-offset: 4px; }
html[data-appearance="light"] :is(button,a,summary) { transition-property: color,background-color,border-color,opacity,transform; transition-duration: 160ms; transition-timing-function: var(--wiser-ease); }
html[data-appearance="light"] :is(h1,h2,h3) { font-weight: 500; }
html[data-appearance="light"] :is(.wiser-summary-rate-val,.wiser-amount-value,.gradient-text,.wf-number,.wf-offer-amount) { font-variant-numeric: tabular-nums; }

/* 4px rhythm; quiet navigation and the supplied family hero. */
html[data-appearance="light"] .wiser-nav-wrapper {
  position: sticky !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  background: #ffffff !important;
  border: none !important;
  border-bottom: 1px solid #eeefeb !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03) !important;
  z-index: 1000 !important;
}
html[data-appearance="light"] .wiser-nav-container {
  width: 100% !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 32px !important;
  background: transparent !important;
}
html[data-appearance="light"] .wiser-nav-capsule {
  min-height: 80px !important;
  padding: 14px 0 !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}
html[data-appearance="light"] .wiser-nav-capsule > a > span { font-size: 24px; font-weight: 500; letter-spacing: -.02em; }
html[data-appearance="light"] .wiser-footer-logo-wrap > span { font-weight: 500; }
html[data-appearance="light"] .wl-brand-mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 0; background: transparent; color: #242622 !important; font-size: 28px; line-height: 1; font-weight: 500; letter-spacing: -.12em; box-shadow: none; }
html[data-appearance="light"] .wiser-nav-badges { display: flex; gap: 32px; margin-right: 24px; }
html[data-appearance="light"] .wiser-nav-badges a { color: #5b5f59; font-size: 14px; }
html[data-appearance="light"] .wiser-nav-badges a:hover { color: #242622; }
html[data-appearance="light"] :is(.wiser-nav-cta,.wiser-calc-cta,.wiser-cta-btn-primary,.wf-primary) { background: #242622 !important; border-color: #242622 !important; color: #fff !important; border-radius: 8px; box-shadow: none !important; }
html[data-appearance="light"] :is(.wiser-nav-cta,.wiser-calc-cta,.wiser-cta-btn-primary,.wf-primary):hover { background: #41453e !important; border-color: #41453e !important; box-shadow: none !important; transform: none; }
html[data-appearance="light"] .wiser-nav-cta { padding: 12px 20px; font-size: 14px; }
html[data-appearance="light"] #hero-section { background: #fff; }
html[data-appearance="light"] #hero-section [data-hero] { padding: 0 32px 64px !important; }
.wiser-hero-scene { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0,42%) 1fr; align-items: center; width: min(1200px,100%); aspect-ratio: 1671 / 941; margin: 0 auto; overflow: hidden; }
.wiser-hero-copy { position: relative; z-index: 2; padding: 48px 0; text-align: left; }
html[data-appearance="light"] #hero-heading { padding: 0; font-size: clamp(44px,4.8vw,64px); line-height: 1.04; letter-spacing: -.045em; font-weight: 400; }
html[data-appearance="light"] #hero-heading span:last-child { color: #242622; }
html[data-appearance="light"] #hero-heading + p { max-width: 448px; margin: 24px 0 0; color: #5b5f59; font-size: 18px; line-height: 1.65; }
.wiser-hero-image { position: absolute; inset: 0; z-index: 0; margin: 0; pointer-events: none; }
.wiser-hero-image img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; }
html[data-appearance="light"] #kreditrechner { align-self: center; width: 100%; max-width: 1200px; margin: 0 auto; scroll-margin-top: 112px; }
html[data-appearance="light"] .wiser-calc-card { padding: 32px; gap: 48px; border: 1px solid #e3e5df !important; border-radius: 16px; box-shadow: none; background: #fff; overflow: hidden; }
html[data-appearance="light"] .wiser-calc-left { gap: 40px; padding: 16px 8px; }
html[data-appearance="light"] .wiser-calc-right { background: #f5f5f2; border: 0; border-radius: 4px; padding: 32px; }
html[data-appearance="light"] .wiser-summary-rate-val { color: #242622; font-size: 48px; font-weight: 400; margin: 8px 0 24px; }
html[data-appearance="light"] .wiser-amount-value { color: #242622; font-size: 28px; font-weight: 400; }
html[data-appearance="light"] :is(.wiser-amount-sub,.wiser-slider-ticks,.wiser-summary-disclaimer) { font-size: 12px; letter-spacing: 0; }
html[data-appearance="light"] .wiser-summary-row { padding-block: 12px; font-size: 13px; border-color: #dfe1da; }
html[data-appearance="light"] .wiser-term-pills { gap: 8px; margin-top: 16px; }
html[data-appearance="light"] .calc-term-pill { border-radius: 4px; padding: 8px 4px; font-size: 12px; background: #fff; }
html[data-appearance="light"] .calc-term-pill.active { color: #805233; border-color: #c9b6a6; background: #f5f0eb; }
html[data-appearance="light"] .wiser-calc-slider { height: 4px; }
html[data-appearance="light"] #hero-section > section > .section-container { max-width: 1200px; width: 100%; padding-top: 32px; margin-top: 32px; }
html[data-appearance="light"] #hero-section .section-container .gradient-text { color: #242622; font-size: 28px; font-weight: 400; }
html[data-appearance="light"] #hero-section .section-container p.text-\[14px\] { font-size: 12px; }

/* Comparison, programme and bank content share the same ledger rhythm. */
html[data-appearance="light"] :is(#zinsvergleich > section,#programme,.partners-stage,#bewertungen,.wiser-faq-section,.wiser-final-cta-section) { padding-block: 80px; }
html[data-appearance="light"] .type-h2 { font-weight: 400; letter-spacing: -.035em; line-height: 1.12; }
html[data-appearance="light"] #savings-comparison-title { font-size: clamp(34px,4vw,50px) !important; font-weight: 500 !important; color: #242622 !important; letter-spacing: -.03em !important; line-height: 1.15 !important; }
html[data-appearance="light"] #programme h2 { font-size: clamp(32px,3.8vw,44px) !important; font-weight: 500 !important; color: #242622 !important; letter-spacing: -.03em !important; line-height: 1.15 !important; }
html[data-appearance="light"] .partners-heading { font-size: clamp(32px,4vw,48px) !important; font-weight: 500 !important; letter-spacing: -.03em !important; line-height: 1.15 !important; color: #242622 !important; max-width: 600px !important; margin-bottom: 24px !important; text-align: left !important; }
html[data-appearance="light"] .rate-bar-lead { background: #805233; border-radius: 2px; }
html[data-appearance="light"] .rate-bar-rest { background: #daddd5; border-radius: 2px; }
html[data-appearance="light"] :is(.rate-bar-pulse,.wiser-counter-ambient,.wf-aside::before,.wf-bank-stage::before,.wf-final-glow) { display: none; }
html[data-appearance="light"] .panel { border-radius: 12px; box-shadow: none; }
html[data-appearance="light"] #programme .panel { background: #f5f5f2; }
html[data-appearance="light"] #programme article > div:last-child { padding-top: 24px; }
html[data-appearance="light"] #programme article h3 { font-size: 20px; font-weight: 500; }
html[data-appearance="light"] .wiser-counter-inner { background: transparent !important; border: none !important; border-radius: 0 !important; box-shadow: none !important; }
html[data-appearance="light"] .wiser-counter-val,
html[data-appearance="light"] #wiser-counter-num,
html[data-appearance="light"] .wiser-counter-pct { color: #805233 !important; -webkit-text-fill-color: #805233 !important; font-weight: 400; }
html[data-appearance="light"] #partnerbanken { background: #f5f5f2 !important; padding-bottom: 64px !important; }
html[data-appearance="light"] #partnerbanken [aria-label="Partnerbanken Kategorien"] { gap: 32px !important; margin-bottom: 28px !important; }
html[data-appearance="light"] #partnerbanken [role="tab"] { font-size: 18px !important; font-weight: 400 !important; color: #7b8076 !important; opacity: 0.75 !important; background: transparent !important; border: none !important; padding: 0 0 6px 0 !important; cursor: pointer !important; transition: all .2s ease !important; }
html[data-appearance="light"] #partnerbanken [role="tab"][aria-selected="true"] { color: #242622 !important; font-weight: 600 !important; opacity: 1 !important; border-bottom: 2px solid #242622 !important; }
html[data-appearance="light"] #partnerbanken article .panel { background: #ffffff !important; border: 1px solid #e3e5df !important; border-radius: 16px !important; box-shadow: 0 1px 4px rgba(0,0,0,0.03) !important; overflow: hidden !important; }
html[data-appearance="light"] #partnerbanken article .panel:not(:has(> .wiser-partner-art)) { padding: 32px !important; }
html[data-appearance="light"] #partnerbanken article .panel:has(> .wiser-partner-art) { background: #ffffff !important; display: flex !important; align-items: center !important; justify-content: center !important; padding: 24px !important; min-height: 380px !important; }
html[data-appearance="light"] .wiser-partner-art { width: 100% !important; height: auto !important; max-height: 320px !important; object-fit: contain !important; display: block !important; }
html[data-appearance="light"] #partnerbanken article h3 { color: #242622 !important; font-size: 19px !important; font-weight: 600 !important; letter-spacing: -.02em !important; margin-bottom: 8px !important; }
html[data-appearance="light"] #partnerbanken article p.grow { color: #5b5f59 !important; font-size: 14px !important; line-height: 1.6 !important; opacity: 1 !important; }
html[data-appearance="light"] #partnerbanken article p.text-xs { color: #7b8076 !important; font-size: 13px !important; }
html[data-appearance="light"] #partnerbanken article p.gradient-text.text-\[26px\],
html[data-appearance="light"] #partnerbanken article .gradient-text { color: #242622 !important; font-size: 26px !important; font-weight: 600 !important; }
html[data-appearance="light"] #partnerbanken article p.text-\[11px\] { color: #7b8076 !important; font-size: 12px !important; font-weight: 400 !important; margin-top: 4px !important; }
html[data-appearance="light"] #partnerbanken article a[href="#kreditrechner"] { color: #242622 !important; background: #ffffff !important; border: 1px solid #daddd5 !important; border-radius: 9999px !important; font-size: 14px !important; font-weight: 500 !important; padding: 10px 24px !important; box-shadow: 0 1px 3px rgba(0,0,0,0.04) !important; transition: all .2s ease !important; }
html[data-appearance="light"] #partnerbanken article a[href="#kreditrechner"]:hover { background: #f5f5f2 !important; border-color: #c4c8be !important; }
html[data-appearance="light"] #partnerbanken [data-variant="arrows"] { background: #ffffff !important; border: 1px solid #daddd5 !important; border-radius: 9999px !important; box-shadow: 0 1px 3px rgba(0,0,0,0.04) !important; width: 44px !important; height: 44px !important; }
html[data-appearance="light"] #partnerbanken [data-variant="arrows"] img { filter: invert(0.8) brightness(0.2) !important; }
html[data-appearance="light"] [data-variant="arrows"] { border-radius: 8px; }
.wl-network-visual,.wl-guarantee { background: #f5f5f2; }
.wl-network-visual::before { border-color: #daddd5; box-shadow: none; }
.wl-network-coin { color: #805233; background: #fff; border-color: #daddd5; box-shadow: none; font-weight: 400; }
.wl-guarantee-core { background: #fff; box-shadow: none; border-radius: 12px; transform: none; animation: none; }
.wl-guarantee-core svg { stroke: #805233; transform: none; }
.wl-guarantee-orbit { box-shadow: none; }

/* The requested ten-second film remains the second material moment. */
html[data-appearance="light"] .wiser-cinema-section { padding-block: 64px; }
html[data-appearance="light"] .wiser-cinema-frame { border: 0; border-radius: 16px; background: #f5f5f2 url('video/wiser-security-neutral-poster.jpg') center/cover no-repeat; box-shadow: none; }
html[data-appearance="light"] .wiser-cinema-frame::after { background: linear-gradient(90deg,#f5f5f290,transparent 60%); }
html[data-appearance="light"] .wiser-cinema-title { font-weight: 400; }
html[data-appearance="light"] .wiser-cinema-title span { color: #5b5f59; }
html[data-appearance="light"] .wiser-cinema-description { font-size: 16px; line-height: 1.65; margin-top: 24px; }
html[data-appearance="light"] .wiser-cinema-footnote { font-size: 12px; letter-spacing: 0; }
html[data-appearance="light"] #bewertungen { background: #fff; }
html[data-appearance="light"] #bewertungen .grid > div { padding: 32px; background: #fff; border: 0; border-top: 1px solid #e3e5df; border-radius: 0; box-shadow: none; }
html[data-appearance="light"] #bewertungen .grid p { font-size: 15px; line-height: 1.7; }
html[data-appearance="light"] .wiser-faq-item { border: 0 !important; border-bottom: 1px solid #e3e5df !important; border-radius: 0 !important; }
html[data-appearance="light"] .wiser-faq-item:hover { border-color: #c4c8be !important; background: #fff !important; box-shadow: none; }
html[data-appearance="light"] .wiser-faq-item[open] { border-color: #c4c8be !important; background: #fff !important; }
html[data-appearance="light"] .wiser-faq-summary { padding: 24px 0; font-size: 16px; font-weight: 400; }
html[data-appearance="light"] .wiser-faq-icon { width: 24px; height: 24px; color: #5b5f59; border: 0; background: none; font-size: 24px; font-weight: 300; }
html[data-appearance="light"] .wiser-faq-item[open] .wiser-faq-icon { color: #805233; background: none; transform: rotate(45deg); }
html[data-appearance="light"] .wiser-faq-content { padding: 0 48px 24px 0; border: 0; font-size: 15px; line-height: 1.7; }
html[data-appearance="light"] .wiser-final-cta-section { background: #f5f5f2; }
html[data-appearance="light"] .wiser-final-cta-title { font-weight: 400; }
html[data-appearance="light"] .wiser-footer-main { padding-block: 48px; }
html[data-appearance="light"] .wiser-footer-hours { padding: 16px 0; background: none; border: 0; border-radius: 0; }
html[data-appearance="light"] .wiser-footer-bottom { padding-block: 24px; }

/* The same restrained system continues through the complete scoring dialog. */
html[data-appearance="light"] .wf-dialog { border-radius: 16px; box-shadow: 0 24px 80px #24262224; }
html[data-appearance="light"] .wf-dialog::backdrop { background: #24262259; backdrop-filter: blur(6px); }
html[data-appearance="light"] .wf-header { padding: 24px 32px 0; }
html[data-appearance="light"] .wf-aside { background: #f5f5f2; padding: 32px 24px; }
html[data-appearance="light"] :is(.wf-eyebrow,.wf-preview,.wf-rate-tag,.wf-final-caption,.wf-result-badge,.wf-offer-label,.wf-summary-caption,.section-eyebrow,.type-eyebrow) { text-transform: none; letter-spacing: 0; font-size: 12px; }
html[data-appearance="light"] :is(.wf-purpose,.wf-terms-preview,.wf-offer,.wf-finalizing) { border-radius: 12px; background: #f7f7f4; box-shadow: none; }
html[data-appearance="light"] .wf-purpose { background: #fff; }
html[data-appearance="light"] .wf-purpose[aria-checked="true"] { border-color: #b9a18e; background: #f7f3ef; box-shadow: none; }
html[data-appearance="light"] .wf-purpose-icon { color: #70756e; background: transparent; border: 0; }
html[data-appearance="light"] .wf-purpose-icon svg { width: 20px; height: 20px; stroke-width: 1.5; }
html[data-appearance="light"] :is(.wf-input,.wf-term-option,.wf-rate-tag) { border-radius: 8px; }
html[data-appearance="light"] .wf-active-bank { background: #fff; box-shadow: none; }
html[data-appearance="light"] .wf-bank-ring { filter: none; }
html[data-appearance="light"] .wf-active-bank:is(.is-approved,.is-declined) { box-shadow: none; }
html[data-appearance="light"] .wf-finalizing { background: #f7f7f4; }
html[data-appearance="light"] .wf-final-core { color: #805233; background: #fff; box-shadow: none; }
html[data-appearance="light"] .wf-final-fill { background: #805233; }
html[data-appearance="light"] .wf-final-satellite { box-shadow: none; }
html[data-appearance="light"] .wf-finish-icon { box-shadow: none; }
html[data-appearance="light"] .wf-offer-amount { color: #242622; font-weight: 400; }
html[data-appearance="light"] .wf-content h1 { font-weight: 400; }
html[data-appearance="light"] :is(.wiser-counter-inner,.wiser-counter-val,.wiser-cta-tag,.wiser-final-cta-section::before,.wiser-final-cta-section::after,.wf-live i) { animation: none; }
html[data-appearance="light"] :is(.wiser-cta-tag,.wiser-final-cta-section::before,.wiser-final-cta-section::after) { display: none; }

@media (max-width: 1050px) {
  html[data-appearance="light"] .wiser-nav-badges { gap: 20px; margin-right: 12px; }
  html[data-appearance="light"] #hero-heading { font-size: clamp(40px,4.8vw,52px); }
  html[data-appearance="light"] #hero-heading + p { font-size: 16px; }
  html[data-appearance="light"] .wiser-calc-card { gap: 32px; padding: 24px; }
}
@media (max-width: 760px) {
  html[data-appearance="light"] .wiser-nav-wrapper { padding-inline: 24px; }
  html[data-appearance="light"] .wiser-nav-capsule { min-height: 72px; padding-block: 16px; }
  html[data-appearance="light"] .wiser-nav-badges { display: none; }
  html[data-appearance="light"] .wiser-nav-cta { font-size: 12px; padding: 12px; }
  html[data-appearance="light"] #hero-section [data-hero] { padding: 0 24px 48px !important; }
  .wiser-hero-scene { display: flex; flex-direction: column; align-items: stretch; aspect-ratio: auto; overflow: visible; }
  .wiser-hero-copy { padding: 48px 0 24px; }
  html[data-appearance="light"] #hero-heading { font-size: clamp(40px,8.5vw,56px); line-height: 1.04; }
  html[data-appearance="light"] #hero-heading + p { font-size: 16px; margin-top: 20px; max-width: 480px; }
  .wiser-hero-image { position: relative; inset: auto; width: 100%; aspect-ratio: 1 / 1; max-height: 480px; margin-bottom: 24px; }
  .wiser-hero-image img { object-fit: cover; object-position: right center; }
  html[data-appearance="light"] #kreditrechner { margin-top: 0; }
  html[data-appearance="light"] .wiser-calc-card { grid-template-columns: 1fr; gap: 32px; padding: 24px; border-radius: 12px; }
  html[data-appearance="light"] .wiser-calc-left { padding: 0; gap: 32px; }
  html[data-appearance="light"] .wiser-calc-right { padding: 24px; }
  html[data-appearance="light"] .wiser-amount-value { font-size: 24px; }
  html[data-appearance="light"] .wiser-summary-rate-val { font-size: 40px; }
  html[data-appearance="light"] :is(#zinsvergleich > section,#programme,.partners-stage,#bewertungen,.wiser-faq-section,.wiser-final-cta-section) { padding-block: 56px; }
  html[data-appearance="light"] .wiser-cinema-section { padding-block: 48px; }
  html[data-appearance="light"] .wiser-cinema-title { font-size: 32px; }
  html[data-appearance="light"] #partnerbanken article .panel:not(:has(> .wiser-partner-art)) { padding: 24px; }
}
@media (max-width: 600px) {
  html[data-appearance="light"] .wiser-cinema-frame::after { background: linear-gradient(180deg,#f5f5f2,#f5f5f2b8 24%,transparent 64%); }
  html[data-appearance="light"] .wiser-cinema-description { max-width: 280px; font-size: 14px; line-height: 1.6; }
  html[data-appearance="light"] .wiser-cinema-footnote { font-size: 12px; }
  html[data-appearance="light"] .wiser-calc-card { padding: 20px; }
  html[data-appearance="light"] .wiser-summary-row { font-size: 12px; }
  html[data-appearance="light"] .wiser-term-pills { gap: 4px; }
  html[data-appearance="light"] .calc-term-pill { font-size: 11px; }
  html[data-appearance="light"] .wf-dialog { border-radius: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html[data-appearance="light"] *,html[data-appearance="light"] *::before,html[data-appearance="light"] *::after { scroll-behavior: auto !important; }
}
