/* Landingpage für Besucher ohne Anmeldung (templates/willkommen.html). Farben und Logo kommen aus stil.css. */
.w-seite { margin: 0; background: var(--bg); color: var(--text); line-height: 1.5; }
.w-seite main, .w-kopf, .w-fuss { max-width: 1080px; margin: 0 auto; padding-left: 16px; padding-right: 16px; box-sizing: border-box; }
.w-seite a { color: var(--accent); }

/* Kopfzeile */
.w-kopf { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 14px; padding-bottom: 14px; }
.w-marke { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--text); }
.w-marke .logo { width: 32px; height: 32px; }
.w-marke .titel { font-size: 1.15rem; }
.w-nav { display: flex; align-items: center; gap: 8px; }
.w-sprache { max-width: 120px; padding: 7px 8px; border-radius: 8px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font: inherit; font-size: .85rem; }

/* Knöpfe */
.w-knopf { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 16px; border-radius: 10px;
  background: var(--accent); color: #fff !important; font-weight: 700; text-decoration: none; white-space: nowrap; }
.w-knopf-rand { background: transparent; color: var(--text) !important; border: 1px solid var(--border); font-weight: 600; font-size: .9rem; min-height: 36px; padding: 0 12px; }
.w-knopf-gross { min-height: 52px; padding: 0 26px; font-size: 1.05rem; border-radius: 12px; }
.w-knopf:hover { filter: brightness(1.08); }

/* Einstieg */
.w-held { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: center; padding: 20px 0 36px; }
.w-ober { margin: 0 0 8px; color: var(--accent); font-weight: 700; font-size: .85rem; letter-spacing: .02em; }
.w-held h1 { margin: 0; font-size: clamp(1.9rem, 7.5vw, 3.1rem); line-height: 1.08; letter-spacing: -.035em; font-weight: 800; }
.w-unter { margin: 14px 0 22px; font-size: 1.08rem; color: var(--text2); max-width: 34em; }
.w-aktion { display: flex; flex-wrap: wrap; gap: 10px; }
.w-klein { font-size: .82rem; margin: 10px 0 0; }
.w-mitte { text-align: center; }
.w-bild { margin: 0; display: flex; justify-content: center; }
.w-handy { width: min(260px, 72vw); height: auto; filter: drop-shadow(0 24px 48px rgba(0, 0, 0, .35)); }
.w-h-rahmen { fill: var(--surface2); stroke: var(--border); stroke-width: 2; }
.w-h-schirm { fill: var(--surface); }
.w-handy text { font-family: inherit; }
.w-h-t1 { fill: var(--text); font-size: 15px; font-weight: 800; }
.w-h-t2, .w-h-n { fill: var(--text2); font-size: 12px; }
.w-h-n { fill: var(--text); font-weight: 700; font-size: 13px; }
.w-h-kurs { fill: var(--text); font-size: 30px; font-weight: 800; letter-spacing: -.02em; }
.w-h-plus, .w-h-g { fill: var(--green); font-size: 12px; font-weight: 600; }
.w-h-r { fill: var(--red); font-size: 12px; font-weight: 600; }
.w-h-p { fill: var(--text); font-size: 13px; font-weight: 700; }
.w-k-auf { stroke: var(--green); stroke-width: 1.5; }
.w-k-ab { stroke: var(--red); stroke-width: 1.5; }
.w-k-auf-f { fill: var(--green); }
.w-k-ab-f { fill: var(--red); }
.w-h-linie { fill: none; stroke: var(--accent); stroke-width: 2; opacity: .8; }
.w-h-trenn { stroke: var(--border); }
.w-h-c1 { fill: #627eea; } .w-h-c2 { fill: #9945ff; } .w-h-c3 { fill: #4da2ff; }

/* Abschnitte */
.w-block { padding: 34px 0; border-top: 1px solid var(--border); }
.w-block h2, .w-schluss h2 { margin: 0 0 18px; font-size: clamp(1.4rem, 5.5vw, 2rem); letter-spacing: -.025em; line-height: 1.15; }
.w-raster { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.w-kachel { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 16px 18px; }
.w-kachel h3 { margin: 0 0 6px; font-size: 1.02rem; }
.w-kachel p { margin: 0; color: var(--text2); font-size: .94rem; }
.w-marke-bald { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: var(--surface2); color: var(--accent); font-size: .72rem; font-weight: 700; vertical-align: 2px; }

/* Preise */
.w-preise { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.w-preis { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 18px 20px; }
.w-preis-abo { border: 2px solid var(--accent); }
.w-preis h3 { margin: 0; font-size: 1rem; color: var(--text2); }
.w-betrag { margin: 4px 0 10px; }
.w-zahl { font-size: 2rem; font-weight: 800; letter-spacing: -.02em; color: var(--text); }
.w-preis ul { margin: 0 0 16px; padding: 0; list-style: none; display: grid; gap: 6px; }
.w-preis li { padding-left: 24px; position: relative; font-size: .95rem; }
.w-preis li::before { content: ""; position: absolute; left: 2px; top: .42em; width: 11px; height: 6px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
.w-preis .w-knopf { margin-top: auto; }
.w-knopf-zweit { background: transparent; color: var(--accent) !important; border: 1px solid var(--accent); }
.w-spar { display: inline-block; margin-left: 6px; padding: 2px 9px; border-radius: 999px; background: var(--green); color: #fff; font-size: .72rem; font-weight: 700; vertical-align: 1px; }
.w-spar[hidden] { display: none; }
.w-entspricht { margin: -6px 0 12px; font-size: .85rem; }

/* Fragen */
.w-schmal { max-width: 760px; }
.w-seite details { border-bottom: 1px solid var(--border); }
.w-seite summary { cursor: pointer; padding: 14px 0; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.w-seite summary::-webkit-details-marker { display: none; }
.w-seite summary::after { content: "+"; color: var(--text2); font-weight: 400; font-size: 1.3rem; line-height: 1; }
.w-seite details[open] summary::after { content: "–"; }
.w-seite details p { margin: 0 0 14px; color: var(--text2); }

/* Schluss und Fuß */
.w-schluss { text-align: center; padding: 40px 0 44px; border-top: 1px solid var(--border); }
.w-fuss { padding-top: 22px; padding-bottom: 32px; border-top: 1px solid var(--border); }
.w-fuss p { margin: 0 0 8px; font-size: .78rem; }

@media (min-width: 760px) {
  .w-held { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); padding: 40px 0 56px; }
  .w-raster { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .w-preise { max-width: 560px; }
  .w-block { padding: 48px 0; }
}

/* Kleine Bilder in den Funktions-Kacheln: gezeichnet, keine echten Kurse, folgen Hell und Dunkel */
.w-ill { display: block; width: 100%; height: auto; margin: 0 0 12px; padding: 10px 8px; box-sizing: border-box; border-radius: 10px; background: var(--surface2); }
.w-ill text { font-family: inherit; }
.w-h-c0 { fill: #f7931a; }
.w-i-n { fill: var(--text); font-size: 13px; font-weight: 700; }
.w-i-p { fill: var(--text); font-size: 13px; font-weight: 600; }
.w-i-pt { fill: #fff; font-size: 11px; font-weight: 700; }
.w-i-pill.auf { fill: var(--green); } .w-i-pill.ab { fill: var(--red); } .w-i-pill.akz { fill: var(--accent); }
.w-i-spark { fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.w-i-spark.auf { stroke: var(--green); } .w-i-spark.ab { stroke: var(--red); }
.w-i-ema { fill: none; stroke: var(--accent); stroke-width: 2; }
.w-i-macd { fill: none; stroke: var(--blau); stroke-width: 2; }
.w-i-signal { fill: none; stroke: var(--orange); stroke-width: 1.5; }
.w-i-karte { fill: var(--surface); stroke: var(--border); }
.w-i-kopf { fill: var(--accent); }
.w-i-loch { fill: var(--surface); }
.w-i-tag { fill: var(--text); font-size: 30px; font-weight: 800; }
.w-i-balken { fill: var(--border); } .w-i-balken.stark { fill: var(--text2); opacity: .7; }
.w-i-marke { stroke: var(--accent); stroke-width: 1.5; stroke-dasharray: 5 4; }
.w-i-kurs { fill: none; stroke: var(--green); stroke-width: 2.5; stroke-linecap: round; }
.w-i-treffer { fill: var(--accent); stroke: var(--surface2); stroke-width: 3; }
.w-i-glocke { fill: var(--yellow); } .w-i-glocke-k { fill: none; stroke: var(--yellow); stroke-width: 2.5; stroke-linecap: round; }
.w-i-geraet { fill: var(--surface); stroke: var(--border); stroke-width: 2; }
.w-i-schirm { fill: var(--bg); }
.w-i-fuss { fill: var(--border); }
.w-i-ring { fill: none; stroke-width: 16; }
.w-i-ring.c0 { stroke: #f7931a; } .w-i-ring.c1 { stroke: #627eea; } .w-i-ring.c2 { stroke: #9945ff; }

@media (min-width: 900px) { .w-preise { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: none; } }
