/*
 Theme Name:   Seed Childtheme
 Theme URI:    https://generatepress.com
 Description:  Seed Childtheme
 Author:       Kevin Kunkel
 Author URI:   https://kevinkunkel.de
 Template:     generatepress
 Version:      0.1
*/


/* ----------------Template CSS (Mobile First) ----------------*/

/* ============================================================
   ETF-SPARPLAN-TOOLS.DE — Global CSS
   Einfügen in: Appearance → Customize → Additional CSS
   oder: child-theme style.css
   Google Fonts müssen separat eingebunden sein:
   DM Serif Display + DM Sans (400, 500, 600)
   https://fonts.google.com/share?selection.family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,600|DM+Serif+Display:ital@0;1
   ============================================================ */

/* ── DESIGN TOKENS ── */
:root {
  --dark:    #0D3B2E;
  --dark-2:  #0A2D22;
  --dark-3:  #071f18;
  --mint:    #3DDC97;
  --mint-dim:#2ab87c;
  --cream:   #F7F5F0;
  --cream-2: #EFEDE6;
  --cream-3: #E8E5DC;
  --text:    #1A1A2E;
  --text-muted: #5C6B66;
  --text-light: #8A9994;
  --white:   #ffffff;

  --serif: 'DM Serif Display', serif;
  --sans:  'DM Sans', sans-serif;

  --r:    12px;
  --r-lg: 20px;
  --r-xl: 28px;

  --sh:    0 2px 16px rgba(13,59,46,0.08);
  --sh-md: 0 6px 28px rgba(13,59,46,0.12);
  --sh-lg: 0 16px 56px rgba(13,59,46,0.16);
}

/* ── BASE RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--cream); color: var(--text); line-height: 1.6; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── SECTION WRAPPERS ── */
.section-wrap  { padding: 5rem 5vw; }
.section-inner { max-width: 1200px; margin: 0 auto; }

/* ── TYPOGRAPHY HELPERS ── */
.section-tag {
  display: inline-block;
  background: rgba(13,59,46,.07); color: var(--dark);
  padding: .25rem .8rem; border-radius: 100px;
  font-size: .73rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .09em;
  margin-bottom: .85rem;
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  letter-spacing: -.025em; line-height: 1.12;
  margin-bottom: .85rem;
}
.section-sub {
  color: var(--text-muted);
  font-size: .97rem; max-width: 520px; line-height: 1.72;
}

/* ── SCROLL REVEAL ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: .4rem;
  background: var(--mint); color: var(--dark);
  padding: .85rem 1.75rem; border-radius: var(--r);
  font-weight: 700; font-size: .95rem;
  transition: transform .2s, box-shadow .2s;
  cursor: pointer; border: none;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(61,220,151,.35); }

.btn-dark {
  display: inline-flex; align-items: center; gap: .4rem;
  background: var(--dark); color: var(--white);
  padding: .85rem 1.75rem; border-radius: var(--r);
  font-weight: 700; font-size: .95rem;
  transition: background .2s, transform .15s;
  cursor: pointer; border: none;
}
.btn-dark:hover { background: var(--dark-2); transform: translateY(-1px); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: .4rem;
  background: transparent; color: var(--text-muted);
  padding: .85rem 1.75rem; border-radius: var(--r);
  font-weight: 500; font-size: .95rem;
  border: 1px solid rgba(13,59,46,.15);
  transition: border-color .2s, color .2s;
  cursor: pointer;
}
.btn-ghost:hover { border-color: rgba(13,59,46,.35); color: var(--text); }

.btn-ghost-light {
  display: inline-flex; align-items: center; gap: .4rem;
  background: transparent; color: rgba(255,255,255,.7);
  padding: .85rem 1.75rem; border-radius: var(--r);
  font-weight: 500; font-size: .95rem;
  border: 1px solid rgba(255,255,255,.2);
  transition: border-color .2s, color .2s;
}
.btn-ghost-light:hover { border-color: rgba(255,255,255,.5); color: var(--white); }

/* ── BROKER / AFFILIATE BUTTONS (used inside [snippets]) ── */
.btn-aff-primary {
  display: inline-block; text-align: center;
  background: var(--mint); color: var(--dark);
  padding: .8rem 1.6rem; border-radius: var(--r);
  font-weight: 700; font-size: .9rem; white-space: nowrap;
  transition: transform .15s, box-shadow .2s;
  cursor: pointer; border: none; text-decoration: none;
}
.btn-aff-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(61,220,151,.35); color: var(--dark); }

.btn-aff-dark {
  display: inline-block; text-align: center;
  background: var(--dark); color: var(--white);
  padding: .8rem 1.6rem; border-radius: var(--r);
  font-weight: 700; font-size: .9rem; white-space: nowrap;
  transition: transform .15s, box-shadow .2s, background .2s;
  cursor: pointer; border: none; text-decoration: none;
}
.btn-aff-dark:hover { background: var(--dark-2); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(13,59,46,.25); color: var(--white); }

/* ── TRUST BAR ── */
.trust-bar { background: var(--cream-2); border-bottom: 1px solid rgba(13,59,46,.08); padding: .9rem 5vw; }
.trust-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; flex-wrap: nowrap; gap: 0;
  align-items: center; justify-content: space-between;
}
.trust-item { display: flex; align-items: center; gap: .45rem; font-size: .79rem; color: var(--text-muted); font-weight: 500; white-space: nowrap; }
.trust-sep { width: 1px; height: 20px; background: rgba(13,59,46,.12); flex-shrink: 0; }

/* ── SUMMARY BOX (Was du hier finden kannst) ── */
.summary-box {
  background: var(--white); border: 1px solid rgba(13,59,46,.09);
  border-radius: var(--r-lg); padding: 1.6rem 1.9rem;
  margin-bottom: 2.5rem; box-shadow: var(--sh);
}
.summary-box h3 { font-family: var(--serif); font-size: 1.2rem; color: var(--dark); margin-bottom: 1rem; }
.summary-checks { display: flex; flex-direction: column; gap: .55rem; }
.summary-check { display: flex; align-items: center; gap: .7rem; font-size: .88rem; font-weight: 500; color: var(--text); }
.chk { width: 20px; height: 20px; background: var(--mint); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .7rem; flex-shrink: 0; color: var(--dark); font-weight: 800; }

/* ── SEO TEXT BLOCK ── */
.seo-section { padding: 5rem 5vw; }
.seo-inner   { max-width: 820px; margin: 0 auto; }
.seo-inner h2 { font-family: var(--serif); font-size: 1.85rem; margin-bottom: 1rem; letter-spacing: -.02em; }
.seo-inner h3 { font-family: var(--serif); font-size: 1.3rem; margin-top: 2.25rem; margin-bottom: .65rem; color: var(--dark); }
.seo-inner p  { color: var(--text-muted); line-height: 1.85; margin-bottom: .95rem; font-size: .94rem; }
.seo-inner strong { color: var(--text); }
.seo-inner a  { color: var(--mint-dim); font-weight: 600; }
.seo-inner ul, .seo-inner ol { color: var(--text-muted); font-size: .94rem; line-height: 1.85; padding-left: 1.5rem; margin-bottom: 1rem; }
.seo-inner ul li, .seo-inner ol li { margin-bottom: .3rem; }
.seo-highlight { background: rgba(13,59,46,.05); border-left: 3px solid var(--mint); padding: 1.25rem 1.5rem; border-radius: 0 var(--r) var(--r) 0; margin: 1.75rem 0; }
.seo-highlight p { margin: 0; color: var(--text); font-style: italic; }

/* ── FAQ ── */
.faq-section { padding: 4rem 5vw; background: var(--cream-2); }
.faq-inner   { max-width: 760px; margin: 0 auto; }
.faq-list    { margin-top: 2rem; display: flex; flex-direction: column; gap: .75rem; }
.faq-item    { background: var(--white); border-radius: var(--r); border: 1px solid rgba(13,59,46,.07); overflow: hidden; cursor: pointer; }
.faq-q       { display: flex; justify-content: space-between; align-items: center; padding: 1.1rem 1.25rem; font-weight: 600; font-size: .9rem; gap: 1rem; }
.faq-chevron { width: 22px; height: 22px; background: var(--dark); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--mint); font-size: .75rem; flex-shrink: 0; transition: transform .3s; }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-a       { max-height: 0; overflow: hidden; padding: 0 1.25rem; color: var(--text-muted); font-size: .875rem; line-height: 1.7; transition: max-height .35s ease, padding .3s; }
.faq-item.open .faq-a { max-height: 300px; padding: 0 1.25rem 1.1rem; }

/* ── BROKER TABLE (light) ── */
.broker-section { background: var(--cream-2); padding: 5rem 5vw; }
.broker-section .section-tag { background: rgba(13,59,46,.08); color: var(--dark); }
.broker-section .section-title { color: var(--text); }
.broker-section .section-sub { color: var(--text-muted); }
.broker-table { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1.25rem; }
.broker-card { background: var(--white); border: 1.5px solid rgba(13,59,46,.08); border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh); transition: border-color .25s, box-shadow .25s, transform .2s; }
.broker-card:hover { border-color: rgba(13,59,46,.18); box-shadow: var(--sh-md); transform: translateY(-2px); }
.broker-card.top { border-color: var(--mint-dim); }
.broker-card-head { display: grid; grid-template-columns: 72px 1fr auto; gap: 1.75rem; align-items: center; padding: 1.75rem 2rem; }
.broker-card.top .broker-card-head { padding-top: 2.1rem; }
.broker-rank-wrap { position: relative; text-align: center; }
.broker-top-badge { position: absolute; top: -1.4rem; left: 50%; transform: translateX(-50%); background: var(--mint); color: var(--dark); font-size: .68rem; font-weight: 800; padding: .18rem .7rem; border-radius: 100px; white-space: nowrap; letter-spacing: .03em; }
.broker-rank { font-family: var(--serif); font-size: 2.6rem; color: rgba(13,59,46,.22); line-height: 1; font-weight: 400; letter-spacing: -.02em; }
.broker-card.top .broker-rank { color: var(--mint-dim); opacity: .55; }
.broker-info h3 { color: var(--text); font-size: 1.1rem; font-weight: 700; margin-bottom: .3rem; }
.broker-stars { color: #F4B942; font-size: .85rem; letter-spacing: 2px; margin-bottom: .35rem; }
.broker-tagline { color: var(--text-muted); font-size: .82rem; }
.broker-cta-col { flex-shrink: 0; text-align: right; }
.broker-cta-note { font-size: .72rem; color: var(--text-light); display: block; margin-top: .4rem; text-align: right; }
.broker-pros { display: flex; flex-wrap: wrap; gap: .45rem; padding: 0 2rem 1.25rem; }
.bpro { display: flex; align-items: center; gap: .3rem; background: rgba(61,220,151,.1); color: var(--dark); font-size: .77rem; font-weight: 500; padding: .22rem .7rem; border-radius: 100px; }
.bpro::before { content: '✓'; color: var(--mint-dim); font-weight: 700; font-size: .8rem; }
.broker-facts { display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid rgba(13,59,46,.07); background: var(--cream); }
.bfact { padding: 1rem 1.5rem; border-right: 1px solid rgba(13,59,46,.07); }
.bfact:last-child { border-right: none; }
.bfact-label { color: var(--text-light); font-size: .7rem; text-transform: uppercase; letter-spacing: .07em; display: block; margin-bottom: .25rem; }
.bfact-val { color: var(--text); font-size: .92rem; font-weight: 700; }
.bfact-val.accent { color: var(--mint-dim); }
.broker-disclaimer { font-size: .73rem; color: var(--text-light); margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px solid rgba(13,59,46,.09); }

/* ── RANGE SLIDERS ── */
input[type="range"] {
  width: 100%; appearance: none;
  height: 5px; border-radius: 3px; outline: none; cursor: pointer;
  background: linear-gradient(to right, var(--mint) 0%, var(--mint) var(--pct,50%), var(--cream-2) var(--pct,50%));
}
input[type="range"]::-webkit-slider-thumb {
  appearance: none; width: 18px; height: 18px;
  border-radius: 50%; background: var(--dark);
  border: 3px solid var(--mint);
  box-shadow: 0 2px 8px rgba(13,59,46,.25);
  cursor: pointer; transition: transform .15s;
}
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.2); }
.range-hints { display: flex; justify-content: space-between; font-size: .7rem; color: var(--text-muted); margin-top: 4px; }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .trust-inner { flex-wrap: wrap; justify-content: center; gap: .5rem 1.5rem; }
  .trust-sep   { display: none; }
  .broker-card-head { grid-template-columns: 1fr auto; }
  .broker-rank-wrap { display: none; }
  .broker-facts { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 600px) {
  .section-wrap { padding: 3.5rem 5vw; }
  .broker-card-head { grid-template-columns: 1fr; gap: 1rem; }
  .broker-cta-col { text-align: left; }
  .broker-facts { grid-template-columns: 1fr 1fr; }
}




/* --- Tool --- */





/* --- Bausteine --- */


/* ---------------------------- Desktop only ---------------------------- */
@media all and (min-width:1024px){

}

/* ------- Medium Desktop -------- */
@media all and (min-width:1024px) and (max-width:1480px){

}

/* ------- Small Desktop -------- */
@media all and (min-width:1024px) and (max-width:1224px){

}


/* ---------------------------- Mobile only ----------------------------- */
@media all and (max-width:1023px){


}
