/* unterseiten-v2.css · Ratgeber-Artikel und Rechtsseiten im Aussehen der Startseite v2 (11.11.2026)
   Ergänzt style-v2.css. Quelle: _local-only/startseite-v2/unterseiten-v2.css, Bau mit unterseiten_bauen.py. */

/* Alte Farbnamen aus den Artikeltexten (Inline-Stile, SVG-Striche) auf die neue Palette legen */
:root {
    --crayon-red: var(--rot);
    --crayon-orange: #B97F00;
    --crayon-yellow: var(--gelb);
    --crayon-green: var(--gruen-d);
    --crayon-blue: var(--blau);
    --crayon-purple: var(--gruen-d);
    --dark-text: var(--tinte);
    --body-text: var(--text);
    --soft-brown: var(--text);
    --warm-cream: var(--creme);
}

/* Brotkrumen */
.breadcrumbs { max-width: calc(780px + 2.5rem); margin: 0 auto; padding: 1.4rem 1.25rem 0; font-size: .88rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .2rem .45rem; list-style: none; margin: 0; padding: 0; }
.breadcrumbs li { display: flex; align-items: center; gap: .45rem; }
.breadcrumbs li:not(:last-child)::after { content: '/'; opacity: .45; }
.breadcrumbs li:last-child { font-weight: 700; color: var(--tinte); }
.breadcrumbs a { text-decoration: underline; text-underline-offset: 3px; }
.breadcrumbs a:hover { color: var(--gruen-d); }

/* Artikel-Kopf */
.blog-hero, .article-hero { padding: 1.6rem 1.25rem 2.6rem; }
.blog-hero-inner, .article-hero-inner { max-width: 780px; margin: 0 auto; }
.blog-hero-badge, .article-badge { display: flex; align-items: center; gap: .4rem; font-family: var(--titel); font-weight: 700; font-size: .95rem; color: var(--gruen-d); margin-bottom: .5rem; }
.blog-hero h1, .article-hero h1 { font-size: clamp(1.85rem, 4.2vw, 2.9rem); line-height: 1.18; margin-bottom: 1rem; }
.highlight, .hl-orange, .hl-blue, .hl-green { background: linear-gradient(transparent 58%, var(--gelb) 58%, var(--gelb) 93%, transparent 93%); padding: 0 .1em; margin: 0 -.1em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.blog-hero-subtitle, .article-hero .subtitle { font-size: 1.15rem; max-width: 36em; }
.blog-hero-meta, .blog-meta, .article-meta { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; margin-top: 1.2rem; font-size: .9rem; font-weight: 700; color: var(--tinte); }
.blog-hero-meta span, .blog-meta span, .article-meta span { display: inline-flex; align-items: center; gap: .35rem; }

/* Artikel-Abschnitte */
.article-section { padding: 2.8rem 1.25rem; }
.article-section.ton { background: var(--creme); }
.article-inner { max-width: 780px; margin: 0 auto; }
.article-inner > :last-child, .article-inner > div > :last-child { margin-bottom: 0; }
.article-section h2 { font-size: clamp(1.45rem, 2.9vw, 2rem); margin: 0 0 1rem; }
.article-inner > div + div > h2:first-child, .article-inner > .reveal ~ .reveal > h2:first-child { margin-top: 2.6rem; }
.article-section h3 { font-size: 1.15rem; margin: 0 0 .5rem; }
.article-section p { margin: 0 0 1.1rem; line-height: 1.7; }
.article-section a:not([class]) { color: var(--gruen-d); font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.article-section a:not([class]):hover { color: var(--tinte); }
.article-section strong { color: var(--tinte); }

/* Kästen: weiße Fläche, dunkle Kontur, farbige Kante */
.story-block, .expert-box, .article-quote,
.tip-box, .mama-tip, .secret-tip, .reassurance-box, .mama-hack-box, .books-teaser,
.feature-card, .reason-card, .week-card, .compare-card, .equip-card, .dos-col, .donts-col,
.problem-card, .product-tip, .tips-list li {
    background: #fff; border: var(--kontur); border-radius: var(--rund); padding: 1.2rem 1.3rem 1.3rem;
}
.story-block, .expert-box, .article-quote, .tip-box, .mama-tip, .secret-tip, .reassurance-box, .mama-hack-box, .books-teaser, .product-tip { margin: 1.5rem 0; }
.story-block > :last-child, .expert-box > :last-child, .tip-box > :last-child, .mama-tip > :last-child, .secret-tip > :last-child,
.reassurance-box > :last-child, .mama-hack-box > :last-child, .books-teaser > :last-child, .feature-card > :last-child, .reason-card > :last-child,
.week-card > :last-child, .compare-card > :last-child, .product-tip > :last-child { margin-bottom: 0; }

.tip-box, .mama-tip, .secret-tip, .reassurance-box, .mama-hack-box, .books-teaser,
.feature-card, .reason-card, .week-card, .compare-card, .equip-card, .dos-col, .donts-col { border-top-width: 12px; border-top-color: var(--gruen); }
.tip-box-blue, .mama-hack-box, .feature-card:nth-child(3), .reason-card:nth-child(3), .week-card:nth-child(3) { border-top-color: var(--blau); }
.tip-box-orange, .secret-tip, .books-teaser, .feature-card:nth-child(4), .reason-card:nth-child(4) { border-top-color: var(--gelb); }
.tip-box-purple, .tip-box-red, .mama-tip, .feature-card:nth-child(2), .reason-card:nth-child(2), .week-card:nth-child(2),
.compare-card.bad, .equip-no, .donts-col { border-top-color: var(--rot); }

.story-block, .expert-box, .article-quote, .problem-card { border-left-width: 12px; border-left-color: var(--gelb); }
.expert-box, .problem-card:nth-child(3n+2) { border-left-color: var(--blau); }
.problem-card:nth-child(3n) { border-left-color: var(--gruen); }
.problem-card:nth-child(3n+1) { border-left-color: var(--rot); }
.story-block p, .article-quote { font-style: italic; color: var(--tinte); }
.article-quote { font-size: 1.08rem; }

.tip-box-emoji, .emoji-lead, .compare-icon, .reason-icon { display: block; font-size: 1.8rem; line-height: 1; margin-bottom: .6rem; }
.tip-box-label, .mama-tip-label { display: flex; align-items: center; gap: .45rem; font-family: var(--titel); font-weight: 700; color: var(--tinte); margin-bottom: .5rem; }

/* Raster */
.feature-cards, .reasons-grid, .compare-block, .equip-grid, .dos-donts { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; margin: 1.5rem 0; }
.reasons-grid { max-width: 780px; margin: 1.5rem auto 0; }
.feature-card p, .reason-card p, .compare-card p, .week-card p { font-size: .97rem; line-height: 1.6; }
.feature-card-num { width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--gelb); border: 2px solid var(--tinte); font-family: var(--titel); font-weight: 700; font-size: 1.15rem; color: var(--tinte); margin-bottom: .7rem; }
.problem-grid, .week-plan { display: grid; gap: 1.1rem; margin: 1.5rem 0; }

/* Listen in den Kästen */
.tips-list { display: grid; gap: .9rem; margin: 1.5rem 0; }
.tips-list li { display: flex; align-items: flex-start; gap: .9rem; padding: 1rem 1.1rem; }
.tips-list p { margin: 0; font-size: .97rem; line-height: 1.6; }
.tip-icon { flex: none; width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: var(--creme); border: 2px solid var(--tinte); font-family: var(--titel); font-size: 1.15rem; font-weight: 700; color: var(--gruen-d); }
.tip-text strong { display: block; font-family: var(--titel); font-size: 1.02rem; margin-bottom: .15rem; }
.tip-text span { font-size: .95rem; line-height: 1.55; }
.equip-card ul, .dos-col ul, .donts-col ul, .secret-tip ul, .mama-hack-list { display: grid; gap: .5rem; }
.secret-tip ul { margin: .9rem 0; }
.equip-card li, .dos-col li, .donts-col li, .secret-tip li, .mama-hack-list li { display: flex; align-items: flex-start; gap: .5rem; font-size: .96rem; line-height: 1.5; }
.equip-card li > span, .dos-col li > span, .donts-col li > span, .secret-tip li > span, .hack-emoji { flex: none; min-width: 1.5rem; text-align: center; }
.secret-tip li { display: block; padding-left: 2rem; text-indent: -2rem; }
.secret-tip li > span { display: inline-block; width: 1.5rem; margin-right: .5rem; text-indent: 0; }
.dos-col .footer-col-title, .donts-col .footer-col-title { font-family: var(--titel); font-weight: 700; color: var(--tinte); margin-bottom: .6rem; }
.dos-donts { margin-bottom: 0; }

/* Wochenplan */
.week-badge { display: inline-block; background: var(--rot); color: #fff; font-family: var(--titel); font-weight: 700; font-size: .82rem; line-height: 1; padding: .34rem .7rem; border: 2px solid var(--tinte); border-radius: 999px; margin-bottom: .7rem; }
.week-needs { display: flex; flex-wrap: wrap; gap: .4rem; margin: .2rem 0 .9rem; }
.week-needs span, .reassurance-item { font-size: .84rem; font-weight: 700; color: var(--tinte); background: var(--creme); border: 1.5px solid var(--tinte); border-radius: 999px; padding: .12rem .7rem; }
.reassurance-items { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }

/* Probleme */
.problem-label { font-family: var(--titel); font-weight: 700; color: var(--tinte); margin-bottom: .4rem; }
.problem-solution { display: flex; align-items: flex-start; gap: .5rem; font-size: .97rem; line-height: 1.6; }
.problem-arrow { flex: none; color: var(--gruen-d); font-weight: 700; }

/* Alter */
.age-timeline { margin: 1.5rem 0 0; }
.age-item { display: flex; align-items: flex-start; gap: 1.2rem; padding: 1.1rem 0; border-bottom: 2px dashed rgba(42, 32, 24, .2); }
.age-item:last-child { border-bottom: 0; padding-bottom: 0; }
.age-badge { flex: none; width: 76px; height: 76px; border-radius: var(--rund); display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--gelb); border: var(--kontur); font-family: var(--titel); font-weight: 700; font-size: 1.15rem; line-height: 1.1; color: var(--tinte); }
.age-badge span { font-size: .72rem; }
.age-content p { margin: 0; font-size: .97rem; line-height: 1.6; }

/* Fortschritt */
.progress-timeline { position: relative; display: grid; gap: .4rem; margin: 1.5rem 0; }
.progress-timeline::before { content: ''; position: absolute; left: 22px; top: 1rem; bottom: 1rem; width: 3px; background: var(--tinte); border-radius: 2px; }
.progress-item { position: relative; display: flex; align-items: flex-start; gap: 1.1rem; padding: .6rem 0; }
.progress-dot { flex: none; width: 47px; height: 47px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #fff; border: var(--kontur); font-family: var(--titel); font-size: 1.2rem; font-weight: 700; color: var(--tinte); }
.progress-text strong { display: block; font-family: var(--titel); }
.progress-text span { font-size: .97rem; line-height: 1.6; }

/* Buchtipp */
.product-tip { background: var(--creme); }
.article-section.ton .article-inner > .product-tip, .books-teaser .product-tip { background: var(--papier); }
.product-tip p { margin-bottom: .8rem; }
.product-tip-links { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: .9rem; }
.article-section .product-tip-links a { display: inline-block; font-family: var(--titel); font-weight: 700; font-size: .92rem; text-decoration: none; background: var(--gruen-d); color: #fff; border: 2px solid var(--tinte); border-radius: 999px; padding: .38rem .95rem; box-shadow: 3px 3px 0 var(--tinte); transition: transform .12s ease, box-shadow .12s ease; }
.article-section .product-tip-links a:hover { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--tinte); color: #fff; }
.product-tip-all { font-weight: 700; color: var(--gruen-d); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* Weitere Artikel */
.artikel a[aria-current="page"] { background: var(--creme); }
.artikel .hier { font-weight: 700; font-size: .92rem; color: var(--tinte); }

/* Abschluss */
.cta-section { background: var(--gruen-d); border-top: var(--kontur); color: #fff; padding: 3.4rem 1.25rem; text-align: center; }
.cta-section h2 { color: #fff; font-size: clamp(1.6rem, 3.4vw, 2.3rem); margin-bottom: .8rem; }
.highlight-cta { color: var(--gelb); }
.cta-section p { color: #E3F1E5; max-width: 34em; margin: 0 auto 1.6rem; }
.btn-cta { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; font-family: var(--titel); font-weight: 700; font-size: 1.05rem; text-decoration: none; background: #fff; color: var(--tinte); border: var(--kontur); border-radius: 999px; padding: .8rem 1.5rem; box-shadow: 4px 4px 0 var(--tinte); transition: transform .12s ease, box-shadow .12s ease; }
.btn-cta:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--tinte); }

/* Rechtsseiten */
.recht { padding: 2.6rem 0 4rem; }
.recht h1 { font-size: clamp(1.85rem, 4.2vw, 2.8rem); margin-bottom: 1.2rem; overflow-wrap: anywhere; hyphens: auto; }
.legal-card { padding: 1.4rem 0; border-top: 2px dashed rgba(42, 32, 24, .22); }
.legal-card h2 { font-size: 1.25rem; margin-bottom: .55rem; }
.legal-card h3 { font-size: 1.05rem; margin: 1rem 0 .4rem; }
.legal-card p { margin-bottom: .7rem; line-height: 1.65; }
.legal-card > :last-child { margin-bottom: 0; }
.legal-card ul { list-style: disc; padding-left: 1.3rem; margin-bottom: .7rem; }
.legal-card li { margin-bottom: .25rem; }
.legal-card a { color: var(--gruen-d); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal-card a:hover { color: var(--tinte); }

@media (max-width: 700px) {
    .breadcrumbs { padding: 1rem 1rem 0; }
    .blog-hero, .article-hero { padding: 1.2rem 1rem 2rem; }
    .blog-hero-subtitle, .article-hero .subtitle { font-size: 1.05rem; }
    .article-section { padding: 2.2rem 1rem; }
    .feature-cards, .reasons-grid, .compare-block, .equip-grid, .dos-donts { grid-template-columns: 1fr; gap: .9rem; }
    .story-block, .expert-box, .article-quote, .tip-box, .mama-tip, .secret-tip, .reassurance-box, .mama-hack-box, .books-teaser,
    .feature-card, .reason-card, .week-card, .compare-card, .equip-card, .dos-col, .donts-col, .problem-card, .product-tip { padding: 1rem 1rem 1.1rem; }
    .age-item { gap: .9rem; }
    .age-badge { width: 64px; height: 64px; font-size: 1.02rem; }
    .cta-section { padding: 2.6rem 1rem; }
    .btn-cta { width: 100%; }
    .recht { padding: 1.8rem 0 3rem; }
}
