/* Ratgeber, Übungen and Lesetempo pages (generated by tool/seo/build_pages.mjs). Loaded after style.css.
   Designs ★ of docs/design/seo-pages-showcase.html (picked 2026-11-22). */
.main { padding-top: 6px; padding-bottom: 20px; }
.crumb { font-size: 15px; color: var(--ink2); margin: 4px 0 16px; }
.crumb a { color: var(--ink2); }
.page-h1 { font-size: clamp(32px, 5vw, 48px); }
.byline { font-size: 15px; color: var(--ink2); margin: -4px 0 22px; }
.art { max-width: 720px; }
.art h2 { font-size: 30px; margin: 1.5em 0 .45em; }
.art p, .art li { font-size: 19px; }
.art ul, .art ol { padding-left: 24px; }
.art li { margin-bottom: 8px; }
.short { background: var(--window); border: 2.5px solid var(--window-border); border-radius: 14px; padding: 14px 20px 6px; margin: 0 0 24px; }
.short .h { display: block; font-size: 15px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ink2); margin-bottom: 4px; }
.pipnote { display: flex; gap: 14px; align-items: flex-end; margin: 12px 0 0; }
.pipnote img, .tip img, .teaser img, .appcard img { flex: none; height: auto; }
.appcard { display: grid; grid-template-columns: 96px 1fr; gap: 18px; align-items: center; margin: 30px 0; }
.appcard h2, .appcard h3 { font-size: 22px; margin: 0 0 .2em; }
.appcard p { font-size: 17px; color: var(--ink2); margin-bottom: 12px; }
.teaser { display: flex; gap: 14px; align-items: center; text-decoration: none; color: var(--ink); background: #fff; border: 2px dashed var(--ink2); border-radius: 16px; padding: 14px 18px; margin: 16px 0; }
.teaser:hover { color: var(--ink); border-color: var(--primary); }
.teaser b { display: block; font-size: 19px; }
.teaser .go { margin-left: auto; font-size: 28px; color: var(--primary); }
.label { font-size: 15px; color: var(--ink2); }
.fine { font-size: 15px; color: var(--ink2); }
.src li { font-size: 15px; color: var(--ink2); }
.more { display: flex; flex-wrap: wrap; gap: 10px; }
.more a { border: 2px solid var(--ink); border-radius: 14px 12px 15px 11px; padding: 8px 14px; background: var(--card); text-decoration: none; color: var(--ink); font-weight: 700; font-size: 16px; }
.syl.sm span { padding-bottom: 6px; background-size: 92% 8px; }
.noarcs .syl span { background-image: none !important; }
.art-w { color: var(--ink2); font-size: 22px; font-weight: 400; margin-right: .2em; }
.tog { font: 700 16px Andika, sans-serif; color: var(--ink); border: 2px solid var(--ink); border-radius: 12px; background: var(--window); padding: 6px 14px; cursor: pointer; }
.play { background: var(--card); border: 2.5px solid var(--ink); border-radius: var(--r-card); padding: 14px 16px; margin: 6px 0 10px; }
.play .row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.play .syl { font-size: 46px; }

/* guide (design ★: B + A's Pip tip + C's toggle) */
.guide { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }
.guide > * { min-width: 0; }
.aside { position: sticky; top: 16px; display: flex; flex-direction: column; gap: 18px; }
.aside .card { padding: 18px; }
.aside h2 { font-size: 18px; margin: 0 0 .4em; }
.aside .toc a { display: block; font-size: 16px; padding: 3px 0; text-decoration: none; }
.aside .appmini { text-align: center; }
.aside .appmini img { width: 90px; margin: 0 auto 6px; }
.aside .appmini p { font-size: 16px; color: var(--ink2); }
.aside .teaser { margin: 0; flex-direction: column; align-items: flex-start; }
.steps { display: flex; flex-direction: column; gap: 18px; margin: 10px 0 0; }
.step2 { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 16px; }
.step2 .n { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--sun); border: 2px solid var(--ink); font-weight: 700; font-size: 22px; }
.step2 h2 { font-size: 26px; margin: 6px 0 .3em; }
.step2 p { font-size: 18px; margin-bottom: .6em; }
.today { background: var(--again-soft); border-radius: 12px; padding: 8px 14px; font-size: 17px; }
.today b { color: #8a5a10; }
details.inhalt { display: none; }
.faq summary { font-size: 18px; }

.dlcard { display: grid; grid-template-columns: 150px 1fr; gap: 18px; align-items: center; margin: 12px 0; padding: 16px; }
.dlcard .preview { width: 150px; }
.dlcard h3 { margin: 0 0 .2em; font-size: 20px; }
.dlcard p { font-size: 16px; color: var(--ink2); margin-bottom: 10px; }

/* Übungsseite (design ★: A with B's sheet on top) */
.lead2 { display: grid; grid-template-columns: 1fr auto; gap: 36px; align-items: center; margin-bottom: 10px; }
.lead2 .acts { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 4px; }
.preview { display: block; width: 280px; background: #fff; border: 2px solid var(--ink); border-radius: 4px; box-shadow: 6px 8px 0 var(--line); }
.preview img { width: 100%; height: auto; }
.syls { display: flex; flex-wrap: wrap; gap: 10px; }
.syls span { border: 2px solid var(--ink); border-radius: 12px 10px 13px 9px; padding: 4px 14px; font-size: 26px; background: var(--card); }
.words { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.wcard { padding: 16px 8px 10px; text-align: center; box-shadow: 0 4px 0 var(--line); white-space: nowrap; }
.wcard .art-w { font-size: 18px; }
.wcard .syl { font-size: 40px; }
.story { font-size: 26px; line-height: 1.75; padding: 14px 20px; }
.story .syl { font-size: 26px; font-weight: 400; letter-spacing: 0; }
.story .syl span { padding-bottom: 4px; background-size: 92% 6px; }
.answers, .art .answers { display: flex; gap: 12px; flex-wrap: wrap; padding: 0; list-style: none; }
.answers li { border: 2px solid var(--ink); border-radius: 14px; padding: 8px 16px; font-size: 21px; background: var(--card); }
.tip { display: flex; gap: 14px; align-items: flex-start; margin: 4px 0 6px; }
.tip .bubble { font-size: 17px; }
.list { display: grid; gap: 16px; }
.list a.card { display: block; text-decoration: none; color: var(--ink); }
.list a.card:hover { border-color: var(--primary); }
.list h3 { margin-bottom: .2em; }
.list p { margin: 0; color: var(--ink2); font-size: 17px; }

/* Lesetempo messen (design ★: one minute, one tap + text picker) */
.tool { max-width: 860px; }
.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 0 0 22px; }
.how .card { padding: 14px; box-shadow: 0 4px 0 var(--line); }
.how .n { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--sun); border: 2px solid var(--ink); font-weight: 700; margin-bottom: 6px; }
.how p { font-size: 16px; margin: 0; }
.choice { display: flex; gap: 12px; flex-wrap: wrap; margin: 6px 0 18px; }
.choice button { font: 700 20px Andika, sans-serif; color: var(--ink); border: 2.5px solid var(--ink); border-radius: 14px 12px 15px 11px; padding: 10px 20px; background: var(--card); cursor: pointer; }
.choice button[aria-pressed="true"] { background: var(--primary); color: #fff; box-shadow: 0 4px 0 var(--ink); }
.runbar { display: flex; align-items: center; gap: 18px; position: sticky; top: 0; z-index: 5; background: var(--paper); padding: 8px 0; border-bottom: 2px dashed var(--line); }
#lt-hint { margin: 8px 0; }
.runbar .btns { margin-left: auto; display: flex; gap: 10px; flex-wrap: wrap; }
.runbar .btn { min-height: 48px; padding: 0 18px; font-size: 17px; }
.ttext { font-size: 30px; line-height: 1.7; padding: 16px 22px; position: relative; }
.ttext.k3 { font-size: 26px; }
.ttext .w { border-radius: 6px; }
.ttext > div { padding-left: 1.2em; text-indent: -1.2em; }
.ttext.hidden { visibility: hidden; }
.ttext.pick .w { cursor: pointer; }
.ttext.pick .w:hover { background: #FFE58A; }
.ttext .w.last { background: var(--sun); outline: 2px solid var(--ink); padding: 0 3px; }
.ttext .w.gone { opacity: .3; }
.countdown { font-size: 120px; font-weight: 700; text-align: center; color: var(--primary); line-height: 1; padding: 40px 0; }
.result { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 0 0 12px; }
.result .card { text-align: center; padding: 16px; }
.result b { display: block; font-size: 52px; line-height: 1.05; }
.result span { color: var(--ink2); font-size: 17px; }
.honest { background: #F6EEDF; border: 2px dashed var(--line); border-radius: 16px; padding: 14px 18px; font-size: 17px; margin: 18px 0; }
.honest h2 { font-size: 19px; margin: 0 0 .3em; }
.honest p { margin: 0; }
.rowbtns { display: flex; gap: 12px; flex-wrap: wrap; margin: 14px 0 6px; }
[hidden] { display: none !important; }

@media (max-width: 860px) {
  .guide { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .aside { position: static; }
  .aside .toc-card { display: none; }
  details.inhalt { display: block; border: 2px solid var(--ink); border-radius: 14px; padding: 6px 14px; margin-bottom: 16px; background: var(--card); }
  details.inhalt summary { font-size: 17px; }
  details.inhalt a { display: block; font-size: 16px; padding: 3px 0; }
  .lead2 { grid-template-columns: 1fr; gap: 16px; }
  .lead2 .preview { margin: 0 auto; width: 240px; }
}
@media (max-width: 760px) {
  .art p, .art li { font-size: 18px; }
  .art h2 { font-size: 25px; }
  .appcard { grid-template-columns: 1fr; gap: 6px; }
  .appcard img { width: 64px; }
  .step2 { grid-template-columns: 40px minmax(0, 1fr); gap: 10px; }
  .step2 .n { width: 38px; height: 38px; font-size: 18px; }
  .step2 h2 { font-size: 22px; }
  .play .syl { font-size: 32px; }
  .dlcard { grid-template-columns: 96px 1fr; gap: 12px; padding: 12px; }
  .dlcard .preview { width: 96px; }
  .words { grid-template-columns: 1fr 1fr; }
  .words.long { grid-template-columns: 1fr; } /* long words (Taschenlampe) don't fit half a phone at 24px */
  .wcard .syl { font-size: 24px; }
  .wcard .art-w { font-size: 15px; }
  .story, .story .syl { font-size: 22px; }
  .story { padding: 10px 14px; }
  .how { grid-template-columns: 1fr; gap: 8px; }
  .how .card { display: flex; gap: 12px; align-items: center; padding: 10px 12px; }
  .how .n { margin: 0; flex: none; }
  .ttext { font-size: 24px; padding: 10px 14px; }
  .ttext.k3 { font-size: 21px; }
  .result b { font-size: 40px; }
  .choice button { padding: 8px 14px; font-size: 18px; }
  #lt-ringbox svg { width: 64px; height: 64px; }
  .runbar { gap: 10px; }
  .runbar .btns { gap: 8px; flex-wrap: nowrap; }
  .runbar .btn { min-height: 44px; padding: 0 12px; font-size: 15px; }
}
@media print { .top, footer, .aside, .appcard, .rowbtns { display: none; } }

.nobr { white-space: nowrap; }

/* Data tables and example boxes in guides */
.tablewrap { overflow-x: auto; margin: 12px 0; -webkit-overflow-scrolling: touch; }
table.data { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--card); border: var(--ink-w) solid var(--ink); border-radius: 14px; overflow: hidden; font-size: 17px; }
table.data caption { text-align: left; font-weight: 700; padding: 0 0 8px; caption-side: top; }
table.data th, table.data td { padding: 9px 12px; border-bottom: 1.5px solid var(--line); text-align: left; vertical-align: top; }
table.data thead th { background: #F6EEDF; font-size: 15px; color: var(--ink2); }
table.data tbody th { font-weight: 700; min-width: 7em; }
table.data tr:last-child th, table.data tr:last-child td { border-bottom: 0; }
.card.example { background: var(--window); border-color: var(--window-border); padding: 16px 20px; margin: 22px 0; }
.card.example h2 { font-size: 21px; margin-top: 0; }
.card.example p:last-child, .card.example ul:last-child { margin-bottom: 0; }
.src a { word-break: break-word; }
@media (max-width: 600px) {
  table.data.stack, table.data.stack tbody, table.data.stack tr, table.data.stack th, table.data.stack td { display: block; }
  table.data.stack { border: 0; background: none; }
  table.data.stack thead { display: none; }
  table.data.stack caption { display: block; width: 100%; }
  table.data.stack tr { background: var(--card); border: var(--ink-w) solid var(--ink); border-radius: var(--r-card); margin: 0 0 10px; padding: 8px 14px; }
  table.data.stack tbody th { border: 0; padding: 2px 0 4px; font-size: 18px; }
  table.data.stack td { border: 0; padding: 3px 0; }
  table.data.stack td::before { content: attr(data-label) ': '; color: var(--ink2); font-size: 15px; }
}

/* Spelling block on exercise pages (design A of docs/design/spelling-block-showcase.html): rule box + tap exercise (spelling.js) */
.rule { border: var(--ink-w) solid var(--ink); border-radius: var(--r-card); background: var(--card); padding: 16px 18px; margin: 22px 0 6px; }
.rule h2 { margin: 0 0 10px; font-size: 22px; }
.rule .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rule .col { border-radius: 14px; padding: 10px 12px; background: var(--paper); border: 2px solid var(--line); }
.rule .col b.big { font-size: 26px; display: block; margin-bottom: 2px; }
.rule .col p { margin: 2px 0 0; font-size: 16px; }
.rule .col .ex { font-size: 19px; margin-top: 6px; }
.rule .rhyme { margin: 10px 0 0; font-size: 16px; color: var(--ink2); }
.qgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; margin-top: 12px; }
.qc { min-width: 0; border: 2px solid var(--ink); border-radius: var(--r-card); background: var(--card); padding: 12px; text-align: center; transition: background .2s; }
.qc .w { font-size: 34px; font-weight: 700; letter-spacing: .5px; min-height: 48px; }
.qc .w .syl { font-size: inherit; letter-spacing: 0; }
.qc .w .syl span { padding-bottom: 5px; background-size: 92% 7px; }
.qc .gap { display: inline-block; min-width: 1.4em; border-bottom: 3px dashed var(--ink2); margin: 0 2px; }
.qc .ch { display: flex; gap: 10px; justify-content: center; margin-top: 8px; }
.qc .ch button { font: inherit; font-size: 22px; font-weight: 700; min-width: 64px; min-height: 48px; border: 2px solid var(--ink); border-radius: var(--r-btn); background: #fff; color: var(--ink); cursor: pointer; }
.qc .ch button:active { transform: translateY(1px); }
.qc .ch button:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }
.qc .say { font-size: 15px; color: var(--ink2); margin-top: 8px; min-height: 20px; }
.qc.ok { background: #EAF6EE; border-color: var(--good); }
.qc.ok .say { color: #2E7444; }
.qc.try { background: var(--again-soft); border-color: var(--again); animation: qwob .35s; }
.qc.shown { background: #F3EEE4; }
.qc .tick { color: var(--good); font-size: 22px; }
@keyframes qwob { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.qres { margin-top: 14px; font-size: 18px; min-height: 1px; }
.qres b { font-size: 22px; }
.sol { margin-top: 10px; }
.sol summary { cursor: pointer; font-weight: 700; }
.sol ol { columns: 2; font-size: 18px; margin: 8px 0 0; }
@media (prefers-reduced-motion: reduce) { .qc.try { animation: none; } .qc { transition: none; } }
@media (max-width: 720px) {
  .rule .cols { grid-template-columns: 1fr; }
  .qgrid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
  .qc { padding: 10px 6px; }
  .qc .w { font-size: 26px; }
  .qc .ch button { min-width: 56px; font-size: 20px; }
  .qc .say { font-size: 14px; }
  .sol ol { columns: 1; }
}
