/* Ratgeber: dieselben Schriften und Farben wie die Club-Homepage. */
.guide-page {
  --bg-primary: var(--paper); --bg-secondary: var(--paper-2); --bg-tertiary: var(--card);
  --text-primary: var(--ink); --text-secondary: var(--muted);
  --accent: var(--copper); --accent-hover: var(--hover); --border: var(--line);
  --accent-text: #a33f1a; --amber-text: #8a5a16;
  --glass-bg: var(--card); --glass-border: var(--line);
  --ok: #2f6b4f; --ok-bg: #e2ede6; --warn: #a61b1b; --warn-bg: #f6e3df;
  --success: var(--ok); --danger: var(--warn); --serie-1: #3b6fa8; --serie-2: var(--copper);
  color-scheme: light; background: var(--paper); color: var(--ink); font-family: var(--body);
}
.guide-page main > section { padding: 72px 0; scroll-margin-top: 98px; }
.guide-page main > section > .max-w-6xl { max-width: 1280px; padding-left: 40px; padding-right: 40px; }
.guide-page main > section > .max-w-4xl { max-width: 1024px; padding-left: 40px; padding-right: 40px; }
.guide-page .font-display { font-family: var(--body); }
.guide-page :is(h1,h2,h3,h4), .guide-page :is(h1,h2,h3,h4).font-display {
  font-family: var(--display); font-weight: 600; letter-spacing: -.018em; line-height: 1.08; color: inherit;
}
.guide-page h1 { font-size: clamp(46px, 6vw, 76px) !important; }
.guide-page h2 { font-size: clamp(34px, 3.7vw, 52px); }
.guide-page h3 { line-height: 1.2; }
.guide-page h4 { line-height: 1.3; }
.guide-page :is(h1,h2,h3,h4) .gradient-text, .guide-page .gradient-text {
  color: inherit !important; background: none; -webkit-text-fill-color: currentColor !important;
  -webkit-background-clip: border-box; background-clip: border-box;
}
.guide-page p { line-height: 1.75; }
.guide-page p + p { margin-top: 16px; }
.guide-page section:not(.guide-hero) > div > .text-center { text-align: left; }
.guide-page section:not(.guide-hero) > div > .text-center > .mx-auto { margin-left: 0; }
.guide-page .tracking-widest { letter-spacing: normal; }
.guide-page .uppercase { text-transform: none; }
.guide-page main section:not(.guide-hero) :is(p,span,a).text-sm[style*="color: var(--accent)"]:not(.faq-icon):not(.guide-button),
.guide-page main section:not(.guide-hero) :is(p,span,a).text-xs[style*="color: var(--accent)"]:not(.faq-icon):not(.guide-button),
.guide-page main section:not(.guide-hero) :is(.text-sm,.text-xs) :is(span,a)[style*="color: var(--accent)"]:not(.faq-icon):not(.guide-button) {
  color: var(--accent-text) !important;
}
.guide-page main :is(.rounded-lg,.rounded-xl,.rounded-2xl) { border-radius: 6px; }
.guide-page main .hover\:scale-105:hover { transform: none; }
.guide-page .guide-hero {
  --bg-primary: var(--dark); --bg-secondary: transparent; --bg-tertiary: var(--dark);
  --text-primary: var(--paper); --text-secondary: #d6cfc3; --border: var(--line-dark);
  --accent: var(--light); --glass-bg: transparent; --glass-border: var(--line-dark);
  background: var(--dark); color: var(--paper); min-height: 0; padding: 64px 0 62px;
}
.guide-page .guide-hero > .max-w-4xl { max-width: 1280px; text-align: left; }
.guide-page .guide-hero > .grid { padding-top: 0; padding-bottom: 0; gap: 55px; }
.guide-page .guide-hero .max-w-2xl.mx-auto { margin-left: 0; max-width: 760px; }
.guide-page .guide-hero .justify-center { justify-content: flex-start; }
.guide-page .guide-hero .guide-eyebrow {
  display: flex; align-items: center; gap: 12px; padding: 0; margin-bottom: 22px;
  background: transparent !important; border: 0 !important; border-radius: 0;
  color: #d6cfc3; backdrop-filter: none !important; -webkit-backdrop-filter: none !important;
  font: 600 13px/1.4 var(--body); letter-spacing: normal; text-transform: none;
}
.guide-page .guide-eyebrow:before { content: ''; width: 24px; height: 2px; background: var(--light); flex: none; }
.guide-page .guide-eyebrow :is(span,svg) { color: inherit !important; }
.guide-page .guide-eyebrow > .btc-pulse, .guide-page .guide-eyebrow > svg { display: none; }
.guide-page .guide-hero .guide-link {
  display: inline-flex; align-items: center; justify-content: center; min-height: 45px;
  background: transparent !important; border: 1px solid var(--line-dark) !important;
  color: var(--paper) !important; border-radius: 6px; font-family: var(--body); font-weight: 600;
}
.guide-page .guide-hero .guide-link:hover { border-color: var(--light) !important; }
.guide-page .guide-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 14px 22px; border: 1px solid var(--copper);
  background: var(--copper) !important; color: #fff !important; border-radius: 6px !important;
  font: 600 14px/1.3 var(--body); text-decoration: none; box-shadow: none; transition: background .18s;
}
.guide-page .guide-button:hover { background: var(--hover) !important; border-color: var(--hover); }
.guide-reader-nav { padding: 16px 0; background: var(--paper-2); border-bottom: 1px solid var(--line); }
.guide-reader-links { display: flex; flex-wrap: wrap; gap: 8px; }
.guide-reader-links a {
  display: inline-flex; align-items: center; justify-content: center; min-width: 0; min-height: 42px;
  padding: 10px 14px; border: 1px solid transparent; border-radius: 6px;
  color: var(--ink); font: 600 13px/1.45 var(--body); text-decoration: none; text-align: center;
}
.guide-reader-links a:hover { border-color: var(--line); background: var(--card); color: var(--ink); }
.guide-reader-links a[aria-current="page"] { background: var(--copper); border-color: var(--copper); color: #fff; }
.guide-reader-links a[aria-current="page"]:hover { background: var(--hover); border-color: var(--hover); color: #fff; }
.guide-page .glass-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 6px;
  backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; transition: border-color .18s;
}
.guide-page .glass-card:hover { background: var(--card); border-color: var(--paper-3); box-shadow: none; transform: none; }
.guide-page .glass-card :is(.w-12,.w-14,.w-16)[style*="background"] { background: transparent !important; }
.guide-page .step-number {
  display: flex; flex: none; align-items: center; justify-content: center; width: 52px; height: 52px; min-width: 52px;
  background: var(--paper-2); color: var(--copper); border: 1px solid var(--line); border-radius: 6px;
  font: 600 20px/1 var(--body); box-shadow: none; position: relative; z-index: 2;
}
.guide-page .step-line { width: 1px; min-height: 40px; background: var(--line); }
.guide-page .step-connector { position: absolute; left: 26px; top: 52px; bottom: -24px; width: 1px; background: var(--line); }
.guide-sichere-verwahrung #setup .flex-1 { min-width: 0; }
.guide-sichere-verwahrung #setup :is(h3,p) { min-width: 0; overflow-wrap: anywhere; }
.guide-page .myth-card { position: relative; border-left: 2px solid var(--copper); }
.guide-page .warning-card, .guide-page .danger-border { background: var(--warn-bg); border-color: var(--warn); }
.guide-page .tip-card, .guide-page .success-border { background: var(--ok-bg); border-color: var(--ok); }
.guide-page .warning-card, .guide-page .tip-card, .guide-page .info-card { border-left: 3px solid; }
.guide-page .warning-card { border-left-color: var(--warn); }
.guide-page .tip-card { border-left-color: var(--ok); }
.guide-page .info-card { border-left-color: var(--copper); background: var(--paper-2); }
.guide-page .warning-glow { box-shadow: none; }
.guide-page :is(.badge-green,.badge-red,.badge-orange,.recommended-badge) {
  display: inline-block; font: 600 12px/1.5 var(--body); padding: 2px 8px; border-radius: 6px; letter-spacing: normal; text-transform: none;
}
.guide-page .badge-green { background: var(--ok-bg); color: var(--ok); }
.guide-page .badge-red { background: var(--warn-bg); color: var(--warn); }
.guide-page .badge-orange, .guide-page .recommended-badge { background: var(--paper-2); color: var(--muted); }
.guide-page :is(.table-wrap,.table-container) { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.guide-page :is(.table-wrap,.table-container) table { border-collapse: collapse; width: 100%; min-width: 640px; }
.guide-page :is(.table-wrap,.table-container) th {
  background: var(--paper-2); padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left;
  color: var(--ink); font: 600 13px/1.5 var(--body); white-space: nowrap; text-transform: none; letter-spacing: normal;
}
.guide-page :is(.table-wrap,.table-container) td { padding: 14px 16px; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--muted); vertical-align: top; }
.guide-page :is(.table-wrap,.table-container) tr:hover td { background: var(--paper-2); }
.guide-page details summary { cursor: pointer; list-style: none; font-family: var(--body); line-height: 1.55; }
.guide-page details summary::-webkit-details-marker { display: none; }
.guide-page details summary .faq-icon, .guide-page .faq-toggle-icon { transition: transform .2s; flex: none; }
.guide-page details[open] summary .faq-icon, .guide-page .faq-item.active .faq-toggle-icon { transform: rotate(45deg); }
.guide-page .faq-item { overflow: hidden; }
.guide-page .faq-trigger { font-family: var(--body); line-height: 1.55; cursor: pointer; color: var(--ink); }
.guide-page .faq-trigger .font-display { font-family: var(--body); }
.guide-page .faq-item .faq-content { display: none; }
.guide-page .faq-item.active .faq-content { display: block; }
.guide-page details .faq-content { max-height: none; }
.guide-page .checklist-item input[type="checkbox"] {
  appearance: none; -webkit-appearance: none; width: 21px; height: 21px; flex: none; margin: 2px 0 0;
  border: 1px solid var(--ink); border-radius: 4px; background: var(--card); position: relative; cursor: pointer;
}
.guide-page .checklist-item input[type="checkbox"]:checked { background: var(--ok); border-color: var(--ok); }
.guide-page .checklist-item input[type="checkbox"]:checked:after { content: '\2713'; position: absolute; left: 3px; top: -2px; color: #fff; font: 600 15px/21px var(--body); }
.guide-page .checklist-item:hover { background: var(--paper-2); }
.guide-page input[type="number"] { background: var(--card) !important; border: 1px solid var(--ink) !important; color: var(--ink) !important; border-radius: 6px; }
.guide-page input[type="range"] { accent-color: var(--copper) !important; }
.guide-page .sparplan-preset { border: 1px solid var(--line); border-radius: 6px; font-family: var(--body); color: var(--muted) !important; background: var(--paper-2) !important; }
.guide-page .sparplan-preset:hover { border-color: var(--copper); color: var(--copper) !important; }
.guide-page #reading-progress { position: fixed; top: 0; left: 0; width: 0; height: 3px; z-index: 90; background: var(--copper); transition: width .1s linear; }
.guide-page :is(.stagger-fade,.stagger-fade-left,.stagger-fade-right) { opacity: 1; transform: none; }
.guide-page.reveal-ready :is(.stagger-fade,.stagger-fade-left,.stagger-fade-right):not(.visible) { opacity: 0; transform: translateY(12px); }
.guide-page.reveal-ready :is(.stagger-fade,.stagger-fade-left,.stagger-fade-right) { transition: opacity .4s ease, transform .4s ease; transition-delay: calc(var(--stagger,0) * .035s); }
.guide-page :is(.noise-overlay,.wave-divider,#particles-container,.particle,.btc-pulse) { display: none; }
.guide-page main > svg[aria-hidden="true"] { display: none; }
.guide-page .guide-hero > .absolute { display: none; }
.guide-page :is(.cta-btn,.btn-shimmer):after { display: none; }
.guide-page .guide-hero svg animate, .guide-page .guide-hero svg animateTransform { display: none; }
.guide-page .skip-link { color: #fff; }
@media(max-width:1050px) {
  .guide-page main > section > :is(.max-w-4xl,.max-w-6xl) { padding-left: 28px; padding-right: 28px; }
  .guide-page .guide-hero > .grid { gap: 35px; }
}
@media(max-width:800px) {
  .guide-page main > section { padding: 56px 0; }
  .guide-page main > .guide-hero { padding: 48px 0; }
  .guide-page .guide-hero > .grid { grid-template-columns: 1fr; }
  .guide-page .guide-hero > .grid > div:nth-child(2) { display: none; }
  .guide-page h1 { font-size: clamp(42px,7.6vw,64px) !important; }
}
@media(max-width:600px) {
  .guide-reader-nav { padding: 12px 0; }
  .guide-reader-links { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .guide-reader-links a { padding: 10px; font-size: 12px; }
  .guide-page main > section { padding: 44px 0; }
  .guide-page main > .guide-hero { padding: 36px 0 42px; }
  .guide-page main > section > :is(.max-w-4xl,.max-w-6xl) { padding-left: 22px; padding-right: 22px; }
  .guide-page h1 { font-size: clamp(40px,10.5vw,58px) !important; }
  .guide-page h2 { font-size: 34px; }
  .guide-page .guide-hero :is(.text-lg,.text-xl) { font-size: 15px; }
  .guide-page .guide-hero .guide-eyebrow { font-size: 12px; }
  .guide-page .glass-card.p-8 { padding: 24px; }
  .guide-page .glass-card.flex.gap-6 { gap: 16px; }
  .guide-page .step-number { width: 36px; height: 36px; min-width: 36px; font-size: 16px; }
  .guide-page .step-connector { left: 18px; top: 36px; }
  .guide-sichere-verwahrung #setup .flex.gap-6 { gap: 16px; }
  .guide-sichere-verwahrung #setup .flex.gap-6 > .w-14 { width: 36px; height: 36px; font-size: 16px; }
  .guide-page .guide-button { font-size: 13px; }
  .guide-page .faq-trigger { padding: 20px; }
  .guide-page .faq-trigger .text-lg { font-size: 16px; }
}
@media(max-width:360px) {
  .guide-page main > section > :is(.max-w-4xl,.max-w-6xl) { padding-left: 17px; padding-right: 17px; }
  .guide-page h1 { font-size: 39px !important; }
  .guide-page h2 { font-size: 31px; }
  .guide-page .glass-card.p-8 { padding: 20px; }
}
@media(prefers-reduced-motion:reduce) {
  .guide-page.reveal-ready :is(.stagger-fade,.stagger-fade-left,.stagger-fade-right):not(.visible) { opacity: 1; transform: none; }
  .guide-page :is(.stagger-fade,.stagger-fade-left,.stagger-fade-right) { transition: none; }
}
@media print {
  .guide-page #reading-progress { display: none; }
  .guide-page :is(.stagger-fade,.stagger-fade-left,.stagger-fade-right) { opacity: 1 !important; transform: none !important; }
  .guide-page .guide-hero { background: var(--paper); color: var(--ink); --text-secondary: var(--muted); --text-primary: var(--ink); }
}
