/*
 * Ratgeberseiten (inc/ratgeber.php) und Ratgeberliste auf /wissen/.
 * Fliessendes Layout — bewusst nicht absolut gesetzt wie die Figma-Artikel.
 * Mobil fuer 402 px geschrieben (main wird skaliert), ab 768 px zentriert.
 */
.rw-ratgeber-page { background: #010101; }
.rw-ratgeber {
    box-sizing: border-box; max-width: 760px; margin: 0 auto;
    padding: 128px 20px 56px; color: rgba(255,255,255,0.75);
    font-weight: 300; font-size: 15px; line-height: 1.65;
}
.rw-ratgeber * { box-sizing: border-box; }
.rw-ratgeber a { color: #fff; }

.rw-ratgeber-pfad { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.55); margin: 0 0 18px; }
.rw-ratgeber-pfad a { color: rgba(255,255,255,0.75); text-decoration: none; }
.rw-ratgeber h1 {
    margin: 0 0 20px; font-weight: 300; font-size: 28px; line-height: 1.22;
    letter-spacing: 0.04em; text-transform: uppercase; color: #fff;
}
.rw-ratgeber-einleitung { margin: 0 0 14px; font-size: 16px; color: rgba(255,255,255,0.85); }
.rw-ratgeber-datum { margin: 0; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.45); }

.rw-ratgeber-abschnitt { margin: 40px 0 0; }
.rw-ratgeber h2 {
    margin: 0 0 12px; font-weight: 400; font-size: 18px; line-height: 1.35;
    letter-spacing: 0.06em; text-transform: uppercase; color: #fff;
}
.rw-ratgeber-abschnitt p { margin: 0 0 12px; }
.rw-ratgeber-abschnitt p:last-child { margin-bottom: 0; }

/* Produktkachel */
.rw-ratgeber-produkt {
    margin: 48px 0 0; background: #18130f; border-radius: 10px; overflow: hidden;
    display: grid; grid-template-columns: 1fr;
}
.rw-ratgeber-produkt-bild { display: block; line-height: 0; }
.rw-ratgeber-produkt-bild img { width: 100%; height: 220px; object-fit: cover; display: block; }
.rw-ratgeber-produkt-text { padding: 20px; }
.rw-ratgeber-produkt-zeile { margin: 0 0 14px; font-size: 12px; letter-spacing: 0.04em; color: rgba(255,255,255,0.55); }
.rw-ratgeber-produkt-preis { margin: 0 0 18px; color: #fff; }
.rw-ratgeber-produkt-preis s { font-size: 13px; color: rgba(255,255,255,0.55); margin-right: 4px; }
.rw-ratgeber-produkt-preis strong { font-weight: 400; font-size: 20px; letter-spacing: 0.04em; }
.rw-ratgeber-produkt-preis small { display: block; margin-top: 4px; font-size: 11px; color: rgba(255,255,255,0.55); }
.rw-ratgeber-produkt-knoepfe { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.rw-ratgeber-knopf {
    display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 26px;
    background: #fff; color: #010101 !important; border-radius: 50px; text-decoration: none;
    font-size: 14px; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase;
}
.rw-ratgeber-link { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; }

/* Fragen */
.rw-ratgeber-fragen { margin: 48px 0 0; }
.rw-ratgeber-frage { padding: 16px 0; border-top: 1px solid rgba(255,255,255,0.12); }
.rw-ratgeber-frage:last-child { border-bottom: 1px solid rgba(255,255,255,0.12); }
.rw-ratgeber-frage h3 { margin: 0 0 6px; font-weight: 400; font-size: 15px; line-height: 1.4; color: #fff; }
.rw-ratgeber-frage p { margin: 0; }

/* Liste weiterer Artikel — auch eigenstaendig auf /wissen/ */
.rw-ratgeber-liste { margin: 48px 0 0; }
.rw-ratgeber-liste ul { list-style: none; margin: 0; padding: 0; }
.rw-ratgeber-liste li { border-top: 1px solid rgba(255,255,255,0.12); }
.rw-ratgeber-liste li:last-child { border-bottom: 1px solid rgba(255,255,255,0.12); }
.rw-ratgeber-liste a { display: block; padding: 14px 0; color: #fff; text-decoration: none; font-weight: 300; font-size: 15px; line-height: 1.4; }
.rw-ratgeber-liste a span { display: block; margin-bottom: 3px; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.55); }
.rw-ratgeber-liste--wissen {
    box-sizing: border-box; max-width: 760px; margin: 0 auto; padding: 48px 20px;
    background: #010101; color: rgba(255,255,255,0.75);
}
.rw-ratgeber-liste--wissen h2 {
    margin: 0 0 16px; font-weight: 400; font-size: 18px; line-height: 1.35;
    letter-spacing: 0.06em; text-transform: uppercase; color: #fff;
}

@media (min-width: 768px) {
    .rw-ratgeber { padding: 176px 32px 96px; font-size: 17px; }
    .rw-ratgeber h1 { font-size: 44px; }
    .rw-ratgeber-einleitung { font-size: 19px; }
    .rw-ratgeber h2 { font-size: 21px; }
    .rw-ratgeber-abschnitt { margin-top: 56px; }
    .rw-ratgeber-produkt { grid-template-columns: 300px 1fr; align-items: center; }
    .rw-ratgeber-produkt-bild img { height: 100%; min-height: 240px; }
    .rw-ratgeber-produkt-text { padding: 28px 32px; }
    .rw-ratgeber-frage h3 { font-size: 17px; }
    .rw-ratgeber-liste a { font-size: 17px; }
    .rw-ratgeber-liste--wissen { padding: 72px 32px; }
}

/* ── /partner-werden/ ── */
.rw-partner .rw-ratgeber-kopf .rw-ratgeber-knopf { margin-top: 8px; }
.rw-partner strong { font-weight: 400; color: #fff; }
.rw-partner-punkte { margin: 0; padding: 0; list-style: none; }
.rw-partner-punkte li { padding: 12px 0; border-top: 1px solid rgba(255,255,255,0.12); }
.rw-partner-punkte li:last-child { border-bottom: 1px solid rgba(255,255,255,0.12); }
.rw-partner-hinweis { margin: 14px 0 0 !important; font-size: 12px; color: rgba(255,255,255,0.55); }
.rw-partner-fehler { padding: 12px 14px; border: 1px solid #b05848; border-radius: 6px; color: #fff; }
.rw-partner-form form { display: flex; flex-direction: column; gap: 8px; }
.rw-partner-form label { margin-top: 10px; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.75); }
.rw-partner-form label span { letter-spacing: 0; text-transform: none; color: rgba(255,255,255,0.5); }
.rw-partner-form input[type="text"],
.rw-partner-form input[type="email"],
.rw-partner-form textarea {
    width: 100%; padding: 14px 18px; border: 1px solid rgba(255,255,255,0.18); border-radius: 26px;
    background: #18130f; color: #fff; font: inherit; font-size: 16px;
}
.rw-partner-form textarea { border-radius: 16px; resize: vertical; }
.rw-partner-form input:focus-visible,
.rw-partner-form textarea:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.rw-partner-form button { margin-top: 18px; border: 0; cursor: pointer; align-self: flex-start; font-family: inherit; }
