/* ============================================================
 * TUT Ratgeber — nutzt die gtp-Tokens (--brand/--gold/--ink/…)
 * aus .tut-gtp. Gekapselt unter .tut-rg.
 * ============================================================ */

.tut-rg { background: var(--bg); }
.tut-rg h1, .tut-rg h2, .tut-rg h3 { font-family: 'Fraunces', Georgia, serif; color: var(--ink); }

/* ---------- Outline-Button (im gtp-Core nicht vorhanden) ---------- */
.tut-rg .tut-gtp-btn--line {
    background: #fff; color: var(--brand); border: 1.5px solid #cdd6ea;
}
.tut-rg .tut-gtp-btn--line:hover { border-color: var(--brand); background: #f4f7fd; transform: translateY(-2px); }

/* ---------- HERO (Hub) ---------- */
.tut-rg-hero {
    background: linear-gradient(180deg, #eef2fb 0%, var(--bg) 100%);
    border-bottom: 1px solid var(--line); padding: clamp(40px, 6vw, 72px) 0 clamp(32px, 4vw, 48px);
    text-align: center;
}
.tut-rg-hero h1 { font-size: clamp(30px, 5vw, 46px); line-height: 1.08; margin: 12px auto 14px; max-width: 16ch; text-wrap: balance; }
.tut-rg-hero-lead { color: var(--ink-2); font-size: clamp(16px, 2.2vw, 18.5px); line-height: 1.6; max-width: 56ch; margin: 0 auto; }

/* ---------- Karten-Grid ---------- */
.tut-rg-list { padding: clamp(36px, 5vw, 56px) 0 0; }
.tut-rg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tut-rg-card {
    display: flex; flex-direction: column; text-decoration: none; background: var(--card);
    border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
    box-shadow: 0 8px 24px rgba(15,23,42,.05); transition: transform .25s ease, box-shadow .25s ease;
}
.tut-rg-card:hover { transform: translateY(-4px); box-shadow: 0 18px 38px rgba(15,23,42,.1); }
.tut-rg-card-media { position: relative; display: block; aspect-ratio: 16/10; overflow: hidden; }
.tut-rg-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.tut-rg-card:hover .tut-rg-card-media img { transform: scale(1.05); }
.tut-rg-card-cat {
    position: absolute; top: 12px; left: 12px; font-size: 11px; font-weight: 800; letter-spacing: .05em;
    text-transform: uppercase; color: var(--brand-deep); background: var(--gold);
    padding: 5px 11px; border-radius: 999px;
}
.tut-rg-card-body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; flex: 1; }
.tut-rg-card-title { font-family: 'Fraunces', Georgia, serif; font-size: 19px; line-height: 1.25; color: var(--ink); }
.tut-rg-card-ex { font-size: 14px; line-height: 1.55; color: var(--ink-2); flex: 1; }
.tut-rg-card-meta { font-size: 12.5px; color: var(--ink-3); font-weight: 600; margin-top: 2px; }

/* ---------- CTA-Band ---------- */
.tut-rg-cta { margin-top: clamp(44px, 6vw, 68px); background: linear-gradient(150deg, #0a1233 0%, #1a327b 100%); color: #fff; }
.tut-rg-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding: clamp(32px, 4vw, 48px) 0; }
.tut-rg-cta h2 { color: #fff; font-size: clamp(22px, 3vw, 30px); margin: 0 0 6px; }
.tut-rg-cta p { color: #c9d2e8; font-size: 16px; margin: 0; max-width: 46ch; }
.tut-rg-cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Artikel ---------- */
.tut-rg-art-head { max-width: 760px; margin-left: auto; margin-right: auto; padding-top: clamp(26px, 3vw, 40px); }
.tut-rg-crumbs { display: flex; flex-wrap: wrap; gap: 7px; font-size: 13px; color: var(--ink-3); margin-bottom: 18px; }
.tut-rg-crumbs a { color: var(--ink-2); text-decoration: none; }
.tut-rg-crumbs a:hover { color: var(--brand); text-decoration: underline; }
.tut-rg-art-head h1 { font-size: clamp(27px, 4.4vw, 42px); line-height: 1.12; margin: 10px 0 12px; text-wrap: balance; }
.tut-rg-art-meta { color: var(--ink-3); font-size: 13.5px; font-weight: 600; margin: 0; }

.tut-rg-art-hero { max-width: 980px; margin: clamp(22px, 3vw, 34px) auto 0; }
.tut-rg-art-hero img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 18px; display: block; }

/* ---------- Prosa ---------- */
.tut-rg-prose { max-width: 720px; margin-left: auto; margin-right: auto; padding-top: clamp(28px, 4vw, 40px); }
.tut-rg-prose .tut-rg-lead { font-size: 19px; line-height: 1.6; color: var(--ink); font-family: 'Fraunces', Georgia, serif; margin: 0 0 28px; }
.tut-rg-prose h2 { font-size: clamp(21px, 2.8vw, 27px); line-height: 1.2; margin: 38px 0 12px; }
.tut-rg-prose p { font-size: 16.5px; line-height: 1.72; color: var(--ink-2); margin: 0 0 16px; }
.tut-rg-prose ul, .tut-rg-prose ol { margin: 0 0 18px; padding-left: 22px; }
.tut-rg-prose li { font-size: 16.5px; line-height: 1.65; color: var(--ink-2); margin-bottom: 8px; }
.tut-rg-prose ol { counter-reset: rgstep; list-style: none; padding-left: 0; }
.tut-rg-prose ol > li { position: relative; padding-left: 44px; margin-bottom: 14px; }
.tut-rg-prose ol > li::before {
    counter-increment: rgstep; content: counter(rgstep);
    position: absolute; left: 0; top: 1px; width: 29px; height: 29px; border-radius: 50%;
    background: var(--gold); color: var(--brand-deep); font-family: 'Inter', sans-serif;
    font-weight: 800; font-size: 14px; display: flex; align-items: center; justify-content: center;
}
.tut-rg-prose strong { color: var(--ink); font-weight: 700; }
.tut-rg-prose a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; font-weight: 600; }
.tut-rg-prose sub { font-size: .75em; }
.tut-rg-prose .tut-rg-callout {
    background: #faf4e6; border: 1px solid #efe4c8; border-left: 4px solid var(--gold);
    border-radius: 12px; padding: 14px 18px; color: #5a5240; font-size: 15.5px;
}

/* ---------- FAQ ---------- */
.tut-rg-faq { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.tut-rg-faq details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 2px 18px; }
.tut-rg-faq summary {
    cursor: pointer; list-style: none; font-weight: 700; font-size: 16px; color: var(--ink);
    padding: 15px 28px 15px 0; position: relative;
}
.tut-rg-faq summary::-webkit-details-marker { display: none; }
.tut-rg-faq summary::after {
    content: "+"; position: absolute; right: 2px; top: 50%; transform: translateY(-50%);
    font-size: 22px; font-weight: 400; color: var(--gold-deep); line-height: 1;
}
.tut-rg-faq details[open] summary::after { content: "–"; }
.tut-rg-faq details p { margin: 0 0 16px; color: var(--ink-2); font-size: 15.5px; line-height: 1.65; }

/* ---------- Related ---------- */
.tut-rg-related { padding-top: clamp(40px, 5vw, 60px); }
.tut-rg-related > h2 { font-size: clamp(20px, 2.6vw, 26px); margin: 0 0 20px; }
.tut-rg-back { margin: 26px 0 0; }
.tut-rg-back a { color: var(--brand); font-weight: 700; text-decoration: none; }
.tut-rg-back a:hover { text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) { .tut-rg-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
    .tut-rg-grid { grid-template-columns: 1fr; gap: 18px; }
    .tut-rg-cta-inner { flex-direction: column; align-items: flex-start; }
    .tut-rg-cta-btns { width: 100%; }
    .tut-rg-cta-btns .tut-gtp-btn { width: 100%; justify-content: center; }
    .tut-rg-prose p, .tut-rg-prose li { font-size: 16px; }
    .tut-rg-art-hero img { border-radius: 14px; aspect-ratio: 3/2; }
}
