:root {
  --bg: #fafaf8; --surface: #ffffff; --ink: #16202e; --muted: #5b6472;
  --line: #e6e4df; --accent: #1f4e8c; --accent-soft: #eaf0f8; --warm: #f3efe6;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 28px; }
.narrow { max-width: 720px; }

/* Kopfzeile */
.top { border-bottom: 1px solid var(--line); background: rgba(250,250,248,.88); backdrop-filter: blur(10px); position: sticky; top: 0; z-index: 10; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { font-family: var(--serif); font-size: 1.08rem; color: var(--ink); text-decoration: none; }
.top nav a { color: var(--muted); text-decoration: none; font-size: .92rem; margin-left: 24px; }
.top nav a:hover { color: var(--ink); }

/* Typografie */
.eyebrow { font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin: 0 0 14px; }
.eyebrow.light { color: #9fb8dc; }
h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(2.4rem, 5.2vw, 4rem); line-height: 1.05; margin: 0 0 20px; letter-spacing: -.015em; }
h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.7rem, 3.2vw, 2.3rem); line-height: 1.15; margin: 0 0 14px; letter-spacing: -.01em; }
h3 { font-family: var(--serif); font-weight: 600; font-size: 1.22rem; line-height: 1.25; margin: 0 0 8px; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 36rem; margin: 0 0 18px; }
.section-lead { color: var(--muted); max-width: 42rem; margin: 0 0 36px; font-size: 1.05rem; }
.crumbs { font-size: .85rem; color: var(--muted); margin: 0 0 22px; }
.crumbs a { color: var(--muted); }

/* Knöpfe */
.btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.btn { display: inline-block; padding: 12px 22px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .95rem; transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ink); color: #fff; box-shadow: 0 6px 18px rgba(22,32,46,.18); }
.btn-ghost { border: 1px solid var(--line); color: var(--ink); background: var(--surface); }
.btn-light { background: #fff; color: var(--ink); white-space: nowrap; }

/* Buch-Hero */
.book-hero { padding: 72px 0 64px; background: radial-gradient(ellipse at 75% 40%, #e9eef6 0%, rgba(250,250,248,0) 60%); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero-book img { width: 100%; max-width: 500px; margin: 0 auto; filter: drop-shadow(0 30px 40px rgba(22,32,46,.18)); transform: rotate(-1.5deg); transition: transform .4s ease; }
.hero-book img:hover { transform: rotate(0deg) scale(1.02); }
.frage { font-family: var(--serif); font-style: italic; font-size: 1.15rem; border-left: 3px solid var(--accent); padding-left: 16px; max-width: 34rem; margin: 0; }
.hero-shelf { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; align-items: end; }
.hero-shelf img { transition: transform .25s ease; }
.hero-shelf a:hover img { transform: translateY(-8px); }

/* Klappentext */
.klappe { background: var(--ink); color: #e9edf4; padding: 84px 0; border: 0; }
.klappe p { font-family: var(--serif); font-size: 1.18rem; line-height: 1.7; margin: 0 0 22px; color: #c9d1de; }
.klappe p.big { font-size: clamp(1.5rem, 2.8vw, 2rem); line-height: 1.35; color: #fff; }
.klappe p.punch { font-size: 1.35rem; color: #fff; font-style: italic; margin-top: 30px; }

/* Abschnitte */
section { padding: 76px 0; border-top: 1px solid var(--line); }
.two { display: grid; grid-template-columns: 1fr 1.5fr; gap: 56px; }
.prose p { margin: 0 0 16px; font-size: 1.05rem; }
.prose .fuer { background: var(--accent-soft); padding: 16px 18px; border-radius: 12px; font-size: .98rem; }
.facts { list-style: none; margin: 18px 0 0; padding: 0; }
.facts li { padding: 12px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 18px; font-size: .94rem; }
.facts li span:first-child { color: var(--muted); }
.facts li span:last-child { text-align: right; }

/* Leseprobe */
.sample-sec { background: var(--warm); }
.sample { font-family: var(--serif); font-size: 1.16rem; line-height: 1.8; position: relative; }
.sample p { margin: 0 0 1.1em; text-indent: 1.4em; }
.sample p:first-child { text-indent: 0; }
.sample p:first-child::first-letter { font-size: 3.4em; float: left; line-height: .9; padding: 6px 8px 0 0; color: var(--accent); }
.sample::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; background: linear-gradient(rgba(243,239,230,0), var(--warm)); }
.sample-more { font-style: italic; color: var(--muted); margin: 10px 0 0; }

/* Inhaltsverzeichnis */
.toc details, .toc-solo { border-bottom: 1px solid var(--line); }
.toc-solo { padding: 14px 0; font-family: var(--serif); font-size: 1.08rem; }
.toc summary { cursor: pointer; padding: 14px 0; font-family: var(--serif); font-size: 1.08rem; line-height: 1.35; list-style: none; display: grid; grid-template-columns: 1fr auto 18px; align-items: baseline; column-gap: 18px; }
.toc summary::-webkit-details-marker { display: none; }
.toc summary span { font-family: var(--sans); font-size: .8rem; color: var(--muted); white-space: nowrap; text-align: right; min-width: 5.5em; }
.toc summary::after { content: "+"; color: var(--accent); font-family: var(--sans); text-align: center; transition: transform .25s ease; }
.toc details[open] summary::after { transform: rotate(45deg); }
.toc details[open] summary::after { content: "–"; }
.toc ol { margin: 0 0 16px; padding-left: 20px; color: var(--muted); font-size: .96rem; }
.toc li { padding: 3px 0; }

/* Reihe */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px 18px 22px; text-decoration: none; color: var(--ink); transition: transform .2s ease, box-shadow .2s ease; display: flex; flex-direction: column; }
.step:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(22,32,46,.1); }
.step img { margin: -6px auto 12px; max-width: 170px; }
.step p { color: var(--muted); font-size: .9rem; margin: 0 0 12px; }
.step .eyebrow { color: var(--accent); margin-bottom: 6px; }
.tag { margin-top: auto; align-self: flex-start; font-size: .72rem; font-weight: 600; letter-spacing: .04em; padding: 4px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); }
.tag.hot { background: var(--ink); color: #fff; }
.sub-list { display: grid; gap: 16px; }
.sub-card { display: grid; grid-template-columns: 130px 1fr; gap: 22px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 14px 22px 14px 14px; text-decoration: none; color: var(--ink); transition: transform .2s ease, box-shadow .2s ease; }
.sub-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(22,32,46,.08); }
.sub-card p { margin: 0 0 6px; color: var(--muted); }
.sub-card .eyebrow { color: var(--accent); }
.sub-card .more { font-weight: 600; font-size: .9rem; color: var(--accent); }

/* Benachrichtigung */
.notify { border: 0; padding: 40px 0 76px; }
.notify-box { background: var(--ink); color: #fff; border-radius: 22px; padding: 46px 48px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.notify-box h2 { color: #fff; }
.notify-box p { color: #c9d0db; margin: 0; max-width: 34rem; }

/* Blättern */
.pager { display: flex; justify-content: space-between; gap: 20px; padding-bottom: 60px; }
.pager a { text-decoration: none; color: var(--ink); font-family: var(--serif); font-size: 1.08rem; max-width: 46%; }
.pager a small { display: block; font-family: var(--sans); font-size: .8rem; color: var(--muted); margin-bottom: 4px; }
.pager .next { text-align: right; }

footer { padding: 36px 0 56px; color: var(--muted); font-size: .86rem; border-top: 1px solid var(--line); }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
footer a { color: var(--muted); margin-left: 18px; text-decoration: none; }

@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 820px) {
  .hero-grid, .two { grid-template-columns: 1fr; gap: 32px; }
  .hero-book { order: -1; } .hero-book img { max-width: 320px; }
  .notify-box { flex-direction: column; align-items: flex-start; padding: 34px 26px; }
  .sub-card { grid-template-columns: 90px 1fr; }
  .book-hero { padding: 40px 0 48px; }
}
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.hero-book.wide img { max-width: 620px; transform: none; }

/* Teilband-Schwerpunkt */
.focus-sec { background: var(--surface); }
.focus-lead { font-family: var(--serif); font-size: 1.2rem !important; line-height: 1.6; }
.prose h3 { margin-top: 26px; }
.takeaways { list-style: none; margin: 10px 0 0; padding: 0; }
.takeaways li { position: relative; padding: 10px 0 10px 32px; border-bottom: 1px solid var(--line); }
.takeaways li::before { content: "✓"; position: absolute; left: 4px; top: 10px; color: var(--accent); font-weight: 700; }
.takeaways.mini li { padding: 4px 0 4px 24px; border: 0; font-size: .9rem; color: var(--muted); }
.takeaways.mini li::before { top: 4px; left: 2px; }
.sub-card .q { font-family: var(--serif); font-style: italic; color: var(--ink); }
.sub-card { align-items: start; }

/* Autorenfoto */
.author-photo { margin: 22px 0 0; max-width: 260px; position: relative; }
.author-photo::before { content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 1px solid var(--line); border-radius: 18px; }
.author-photo img { position: relative; border-radius: 18px; box-shadow: 0 24px 40px rgba(22,32,46,.14); }

/* Marke */
.brand-logo { display: flex; align-items: center; gap: 10px; }
.brand-logo img { width: 40px; height: auto; }
.brand-logo span { font-size: .86rem; line-height: 1.15; letter-spacing: .01em; }
.logo-h1 { margin: 0 0 22px; }
.logo-h1 img { width: 100%; max-width: 440px; height: auto; }
.klappe-mark { width: 56px; height: auto; margin: 0 0 28px; opacity: .9; }
.foot-brand { display: inline-flex; align-items: center; gap: 10px; }
.foot-brand img { width: 28px; height: auto; }
@media (max-width: 820px) { .logo-h1 img { max-width: 320px; } }

/* Schritte nummeriert */
.step { position: relative; }
.step-no { position: absolute; top: 12px; left: 14px; width: 26px; height: 26px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-size: .78rem; font-weight: 700; display: grid; place-items: center; z-index: 1; }

/* Einblenden beim Scrollen */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }
.js .step.reveal.in:hover { transform: translateY(-4px); }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* Das nächste Wort */
.nw { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px 28px 22px; box-shadow: 0 18px 40px rgba(22,32,46,.06); }
.nw-label { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin: 0 0 14px; }
.nw-text { font-family: var(--serif); font-size: 1.45rem; line-height: 1.35; min-height: 4.2em; margin: 0 0 18px; }
.nw-text .new { color: var(--accent); }
.nw-caret { display: inline-block; width: 2px; height: 1.1em; background: var(--accent); margin-left: 3px; vertical-align: -.15em; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.nw-bars { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 8px; }
.nw-bars li { display: grid; grid-template-columns: 8.5em 1fr 3.2em; align-items: center; gap: 12px; font-size: .92rem; }
.nw-bars .bar { height: 10px; border-radius: 6px; background: var(--accent-soft); overflow: hidden; }
.nw-bars .bar i { display: block; height: 100%; width: 0; background: #9fb8dc; border-radius: 6px; transition: width .6s ease; }
.nw-bars li.pick { font-weight: 600; }
.nw-bars li.pick .bar i { background: var(--accent); }
.nw-bars .pct { text-align: right; color: var(--muted); font-variant-numeric: tabular-nums; }
.nw-note { font-size: .82rem; color: var(--muted); margin: 0; }
.prose-p { color: var(--muted); }

/* Bildband mit Zitat */
.photo-quote { position: relative; padding: 130px 0; color: #fff; background: #1c2a40 var(--pq) center/cover no-repeat; border-top: 0; overflow: hidden; }
.photo-quote::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,30,50,.35), rgba(18,30,50,.62)); }
.photo-quote .wrap { position: relative; }
.photo-quote blockquote { font-family: var(--serif); font-size: clamp(1.35rem, 2.6vw, 1.9rem); line-height: 1.45; margin: 0; text-shadow: 0 2px 18px rgba(0,0,0,.25); }
@media (max-width: 820px) { .photo-quote { background-image: var(--pq-s); padding: 90px 0; } }

/* Anfänge der Bücher */
.openings { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.opening { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 24px 24px 20px; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; transition: box-shadow .2s ease, border-color .2s ease; }
.opening:hover { border-color: #c9d6ea; box-shadow: 0 16px 36px rgba(22,32,46,.08); }
.opening blockquote { font-family: var(--serif); font-size: 1.08rem; line-height: 1.55; margin: 0 0 16px; flex: 1; }
.opening .more { font-size: .88rem; font-weight: 600; color: var(--accent); }

/* Mobil */
h1, h2, h3 { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
@media (max-width: 820px) {
  .wrap { padding: 0 20px; }
  section { padding: 56px 0; }
  .top .wrap { height: auto; min-height: 58px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 0; }
  .top nav { width: 100%; display: flex; gap: 22px; overflow-x: auto; white-space: nowrap; padding: 6px 0 10px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .top nav::-webkit-scrollbar { display: none; }
  .top nav a { margin-left: 0; font-size: .9rem; }
  .lead { font-size: 1.08rem; }
  .nw { padding: 22px 18px 18px; }
  .nw-text { font-size: 1.2rem; }
  .nw-bars li { grid-template-columns: 6.5em 1fr 2.8em; gap: 8px; font-size: .86rem; }
  .author-photo { max-width: 220px; }
  .toc summary { font-size: 1rem; column-gap: 12px; }
  .pager { flex-direction: column; } .pager a { max-width: 100%; } .pager .next { text-align: left; }
  footer a { margin: 0 18px 0 0; }
}
@media (max-width: 520px) {
  .step { display: grid; grid-template-columns: 92px 1fr; column-gap: 16px; align-items: start; }
  .step img { grid-row: 1 / span 4; margin: 0; max-width: 92px; }
  .step .tag { grid-column: 2; margin-top: 6px; }
  .step-no { top: 8px; left: 8px; }
}

/* Werkstatt-Hinweis */
.wip { display: flex; align-items: center; gap: 12px; margin: 22px 0 0; padding: 10px 16px; border: 1px dashed #c9d6ea; border-radius: 12px; font-size: .88rem; color: var(--muted); max-width: 34rem; background: rgba(234,240,248,.45); }
.wip-pen { display: inline-flex; gap: 4px; flex: none; }
.wip-pen i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); opacity: .25; animation: wip 1.4s ease-in-out infinite; }
.wip-pen i:nth-child(2) { animation-delay: .2s; } .wip-pen i:nth-child(3) { animation-delay: .4s; }
@keyframes wip { 0%, 100% { opacity: .2; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }

/* Weg durch das Handbuch */
.hb-sec { padding: 48px 0; background: var(--surface); }
.hbweg { margin: 0 0 40px; }
.hb-sec .hbweg { margin: 0; }
.hbweg ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); position: relative; }
.hbweg ol::before { content: ""; position: absolute; left: 10%; right: 10%; top: 21px; height: 2px; background: var(--line); }
.hbweg ol::after { content: ""; position: absolute; left: 10%; right: 10%; top: 21px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 2.2s ease .2s; }
.hbweg.in ol::after, html:not(.js) .hbweg ol::after { transform: scaleX(1); }
.hbweg li { text-align: center; position: relative; z-index: 1; }
.hbweg a { display: flex; flex-direction: column; align-items: center; gap: 4px; text-decoration: none; color: var(--ink); padding: 0 6px; }
.hbweg .dot { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 2px solid var(--line); color: var(--muted); font-size: .82rem; font-weight: 700; margin-bottom: 6px; transition: background .4s ease, border-color .4s ease, color .4s ease, transform .3s ease; transition-delay: calc(var(--i) * 420ms + 300ms); }
.hbweg.in .dot, html:not(.js) .hbweg .dot { border-color: var(--accent); color: var(--accent); }
.hbweg li.cur .dot { background: var(--accent); color: #fff; border-color: var(--accent); box-shadow: 0 0 0 6px var(--accent-soft); }
.hbweg strong { font-family: var(--serif); font-size: 1.05rem; font-weight: 600; }
.hbweg small { color: var(--muted); font-size: .82rem; line-height: 1.3; }
.hbweg a:hover .dot { transform: scale(1.08); }
.hbweg li.cur strong { color: var(--accent); }
@media (prefers-reduced-motion: reduce) { .hbweg ol::after, .hbweg .dot { transition: none; } .wip-pen i { animation: none; opacity: .6; } }
@media (max-width: 620px) {
  .hbweg ol { grid-template-columns: 1fr; gap: 6px; }
  .hbweg ol::before, .hbweg ol::after { left: 21px; right: auto; top: 22px; bottom: 22px; width: 2px; height: auto; }
  .hbweg ol::after { transform: scaleY(0); transform-origin: top; }
  .hbweg.in ol::after { transform: scaleY(1); }
  .hbweg li { text-align: left; }
  .hbweg a { flex-direction: row; gap: 14px; padding: 4px 0; }
  .hbweg .dot { margin: 0; flex: none; }
  .hbweg small::before { content: "· "; }
}
.hbweg a:hover .dot { transition-delay: 0s; }

/* Auftritt beim Laden */
@keyframes riseIn { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes bookIn { from { opacity: 0; transform: translateY(26px) rotate(-4deg) scale(.97); } to { opacity: 1; transform: rotate(-1.5deg); } }
.book-hero .hero-text > * { animation: riseIn .8s ease both; }
.book-hero .hero-text > *:nth-child(2) { animation-delay: .08s; } .book-hero .hero-text > *:nth-child(3) { animation-delay: .16s; }
.book-hero .hero-text > *:nth-child(4) { animation-delay: .24s; } .book-hero .hero-text > *:nth-child(5) { animation-delay: .32s; }
.book-hero .hero-text > *:nth-child(n+6) { animation-delay: .4s; }
.book-hero .hero-book img { animation: bookIn 1.1s cubic-bezier(.2,.7,.2,1) .15s both; }
.book-hero .hero-book.wide img { animation-name: riseIn; }
.klappe p { transition-duration: 1s; }
.takeaways li.reveal { transform: translateX(-10px); }
.takeaways li.reveal.in { transform: none; }
@media (prefers-reduced-motion: reduce) { .book-hero .hero-text > *, .book-hero .hero-book img { animation: none; } }
.js .sub-card.reveal.in:hover { transform: translateY(-3px); }
.js .reveal.in:hover { transition-delay: 0s; }

/* Erklär-Animationen der Bände */
.xw-sec .xw { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 26px 26px 20px; box-shadow: 0 18px 40px rgba(22,32,46,.06); }
.poem { font-family: var(--serif); font-size: 1.12rem; line-height: 1.6; margin: 0 0 18px; padding-left: 16px; border-left: 3px solid var(--accent-soft); }
.poem .pick { color: var(--accent); font-weight: 600; display: inline-block; min-width: 3.5em; }
.poem .pick.flash { animation: flash .6s ease; }
@keyframes flash { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.temp-row { display: grid; grid-template-columns: auto 1fr 2.6em; align-items: center; gap: 14px; font-size: .9rem; color: var(--muted); margin: 0 0 16px; }
.temp-row input { accent-color: var(--accent); width: 100%; }
.temp-row output { font-variant-numeric: tabular-nums; color: var(--ink); font-weight: 600; text-align: right; }
.xw .nw-bars .bar i { background: #9fb8dc; transition: width .35s ease; }
.temp-tally { font-size: .85rem; color: var(--muted); min-height: 1.3em; margin: 0 0 8px; }

.kette { list-style: none; margin: 0; padding: 0; position: relative; }
.kette::before { content: ""; position: absolute; left: 17px; top: 18px; bottom: 18px; width: 2px; background: var(--line); }
.kette li { display: grid; grid-template-columns: 36px 1fr; gap: 14px; padding: 0 0 18px; position: relative; opacity: .25; transition: opacity .6s ease, transform .6s ease; transform: translateX(-6px); }
.kette li.on { opacity: 1; transform: none; }
.k-dot { width: 36px; height: 36px; border-radius: 50%; background: var(--surface); border: 2px solid var(--accent); color: var(--accent); font-weight: 700; display: grid; place-items: center; font-size: .85rem; z-index: 1; }

.kette strong { font-family: var(--serif); font-size: 1.08rem; }
.kette small { display: block; color: var(--muted); font-size: .84rem; margin-bottom: 4px; }
.kette p { margin: 0 0 8px; font-size: .94rem; }
.k-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.k-tags i { font-style: normal; font-size: .76rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.k-tags .ok { background: var(--accent-soft); color: var(--accent); }
.k-tags .ok::before { content: "✓ "; }
.k-tags .no { background: #f3efe6; color: #8a6d3b; }
.k-tags .no::before { content: "? "; }
.k-end { margin: 6px 0 0; padding: 14px 16px; border-radius: 12px; background: var(--ink); color: #fff; font-family: var(--serif); font-size: 1.02rem; line-height: 1.5; opacity: 0; transform: translateY(8px); transition: opacity .7s ease, transform .7s ease; }
.k-end.on { opacity: 1; transform: none; }

.xw-sec.dark { background: var(--ink); color: #fff; border-top: 0; }
.xw-sec.dark h2 { color: #fff; } .xw-sec.dark .prose-p { color: #c9d0db; }
.xw-sec.dark .xw { background: #1f2a3c; border-color: #2c3a52; box-shadow: none; }
.cs-clock { font-family: var(--serif); font-size: 2.6rem; margin: 0 0 10px; font-variant-numeric: tabular-nums; }
.cs-clock small { font-family: var(--sans); font-size: .8rem; color: #9fb8dc; margin-left: 8px; }
.cs-bar { height: 6px; border-radius: 6px; background: #2c3a52; overflow: hidden; margin: 0 0 18px; }
.cs-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #9fb8dc, #e9b4a0); }
.cs-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.cs-steps li { font-size: .95rem; color: #dfe5ee; opacity: .15; transition: opacity .6s ease; }
.cs-steps li.on { opacity: 1; }
.cs-steps b { display: inline-block; min-width: 4.4em; color: #9fb8dc; font-variant-numeric: tabular-nums; }
.cs-steps strong { color: #fff; }
.cs-steps .cs-q { font-family: var(--serif); font-size: 1.08rem; color: #fff; border-top: 1px solid #2c3a52; padding-top: 12px; }

.zeit { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(10, 1fr); gap: 0; position: relative; }
.zeit::before { content: ""; position: absolute; left: 0; right: 0; top: 30px; height: 2px; background: linear-gradient(90deg, var(--accent) 0, var(--accent) 90%, transparent 90%); transform: scaleX(0); transform-origin: left; transition: transform 2.4s ease .2s; }
.zeit.in::before, html:not(.js) .zeit::before { transform: scaleX(1); }
.zeit li { position: relative; padding: 0 8px; opacity: 0; transform: translateY(10px); transition: opacity .5s ease, transform .5s ease; transition-delay: calc(var(--i) * 230ms + 200ms); }
.zeit.in li, html:not(.js) .zeit li { opacity: 1; transform: none; }
.z-year { display: block; font-family: var(--serif); font-weight: 600; font-size: 1.05rem; color: var(--accent); margin-bottom: 18px; }
.zeit li::after { content: ""; position: absolute; left: 8px; top: 25px; width: 12px; height: 12px; border-radius: 50%; background: var(--surface); border: 2px solid var(--accent); }
.z-txt { display: block; font-size: .86rem; line-height: 1.4; margin-top: 4px; }
.zeit small { display: block; color: var(--muted); font-size: .74rem; margin-top: 4px; }
.zeit li.future .z-year { color: var(--muted); }
.zeit li.future::after { border-style: dashed; border-color: var(--muted); }
@media (max-width: 960px) {
  .zeit { grid-template-columns: 1fr; gap: 14px; padding-left: 30px; }
  .zeit::before { left: 7px; right: auto; top: 6px; bottom: 6px; width: 2px; height: auto; transform: scaleY(0); transform-origin: top; background: var(--accent); }
  .zeit.in::before { transform: scaleY(1); }
  .zeit li { padding: 0; transition-delay: calc(var(--i) * 140ms + 150ms); }
  .zeit li::after { left: -29px; top: 5px; }
  .z-year { margin: 0; display: inline; margin-right: 10px; }
  .z-txt { display: inline; font-size: .95rem; }
}
@media (prefers-reduced-motion: reduce) { .kette li, .k-end, .cs-steps li, .zeit li, .zeit::before { transition: none; } }
@media (max-width: 820px) { .xw-sec .xw { padding: 20px 16px 16px; } .cs-clock { font-size: 2.1rem; } .temp-row { grid-template-columns: 1fr 2.6em; } .temp-row > span { grid-column: 1 / -1; } }

/* Band 3: drei Rechtsgebiete */
.b3-sec { background: var(--surface); }
.teile { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.teil { border: 1px solid var(--line); border-radius: 16px; padding: 22px 22px 18px; background: var(--bg); }
.teil:first-child, .teil:last-child { grid-column: 1 / -1; }
.teil h3 { margin-bottom: 8px; }
.teil p:last-child { margin: 0; color: var(--muted); font-size: .95rem; }
.teil .gebiet { background: var(--accent); color: #fff; padding: 2px 8px; border-radius: 999px; letter-spacing: .08em; }
.k-dot.k-tool { border-style: dashed; color: var(--muted); border-color: var(--muted); font-size: .7rem; }
.k-tags .na { background: #eef0f3; color: var(--muted); }
.k-end strong { color: #9fb8dc; font-weight: 600; }
@media (max-width: 820px) { .teile { grid-template-columns: 1fr; } }

/* Kapitel für Kapitel */
.kap-sec { background: var(--surface); }
.kapitel { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 28px; }
.kapitel li { display: grid; grid-template-columns: 38px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.kapitel .kn { width: 34px; height: 34px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: .85rem; display: grid; place-items: center; }
.kapitel strong { font-family: var(--serif); font-size: 1.04rem; display: block; line-height: 1.3; }
.kapitel small { display: block; color: var(--muted); font-size: .84rem; margin: 3px 0 4px; }
.kapitel em { display: block; font-family: var(--serif); font-size: .92rem; color: var(--accent); }
@media (max-width: 820px) { .kapitel { grid-template-columns: 1fr; } }

/* Verfügbarkeit */
.sla-btns { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.sla-btns button { font: inherit; font-size: .9rem; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); cursor: pointer; transition: background .2s ease, color .2s ease; }
.sla-btns button.on { background: var(--accent); color: #fff; border-color: var(--accent); }
.sla-out { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 0 0 16px; }
.sla-big { font-family: var(--serif); font-size: 2.4rem; line-height: 1; color: var(--accent); font-variant-numeric: tabular-nums; }
.sla-out small { display: block; color: var(--muted); font-size: .84rem; margin-top: 6px; }
.sla-month { height: 14px; border-radius: 8px; background: var(--accent-soft); overflow: hidden; margin: 0 0 12px; }
.sla-month i { display: block; height: 100%; background: #e9b4a0; border-radius: 8px; transition: width .5s ease; }

/* Goldstandard */
.gold-head { display: flex; justify-content: space-between; gap: 12px; font-size: .9rem; color: var(--muted); margin: 0 0 12px; }
.gold-head b { color: var(--ink); font-variant-numeric: tabular-nums; }
.gold-grid { display: grid; grid-template-columns: repeat(20, 1fr); gap: 4px; margin: 0 0 8px; }
.gold-grid i { aspect-ratio: 1; border-radius: 3px; background: var(--line); transition: background .2s ease; }
.gold-grid i.ok { background: #9fb8dc; }
.gold-grid i.bad { background: #e9b4a0; }
.gold-line { font-size: .8rem; color: var(--muted); text-align: right; border-top: 2px dashed #c9d6ea; padding-top: 4px; margin: 0 0 10px; }
.gold-verdict { min-height: 2.8em; margin: 0 0 8px; font-size: .95rem; transition: color .3s ease; }
.gold-verdict.pass { color: var(--accent); } .gold-verdict.fail { color: #a0553b; }
@media (max-width: 520px) { .gold-grid { grid-template-columns: repeat(10, 1fr); } .sla-big { font-size: 2rem; } }
.sla-cap { font-size: .78rem; color: var(--muted); margin: -6px 0 12px; }

/* Band 1: mehr Luft zwischen den Erklärstücken */
.xw-sec.alt { background: var(--surface); }
.xw-sec { padding: 96px 0; }
.xw-sec .prose-p + .prose-p { margin-top: 14px; }

/* Selbstaufmerksamkeit */
.att-btns { display: flex; gap: 8px; margin: 0 0 22px; }
.att-btns button { font: inherit; font-size: .88rem; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); cursor: pointer; color: var(--ink); }
.att-btns button.on { background: var(--accent); color: #fff; border-color: var(--accent); }
.att-sent { font-family: var(--serif); font-size: 1.45rem; line-height: 1.9; margin: 0 0 6px; min-height: 2.2em; }
.att-w { padding: 2px 6px; border-radius: 6px; background: rgba(46,74,122,0); transition: background .8s ease; }
.att-sent.lit .att-w { background: rgba(46,74,122, calc(var(--a, 0) * .38)); }
.att-w.focus { color: #fff; background: var(--accent) !important; }
.att-hint { font-size: .82rem; color: var(--muted); margin: 0 0 22px; }
.att-space { position: relative; height: 96px; border-radius: 14px; background: linear-gradient(90deg, rgba(159,184,220,.28), rgba(234,240,248,.5) 50%, rgba(233,180,160,.22)); margin: 0 0 16px; }
.att-zone { position: absolute; top: 12px; font-size: .78rem; color: var(--muted); }
.att-zone.left { left: 14px; } .att-zone.right { right: 14px; }
.att-dot { position: absolute; top: 52px; left: 50%; transform: translateX(-50%); padding: 4px 12px; border-radius: 999px; background: var(--accent); color: #fff; font-size: .85rem; font-weight: 600; transition: left 1.2s cubic-bezier(.3,.7,.2,1); box-shadow: 0 6px 16px rgba(46,74,122,.25); }

/* Agentenschleife */
.ag-wrap { display: grid; grid-template-columns: 190px 1fr; gap: 28px; align-items: center; margin: 0 0 18px; }
.ag-ring { position: relative; width: 170px; height: 170px; margin: 18px auto; border: 2px dashed #c9d6ea; border-radius: 50%; }
.ag-node { position: absolute; transform: translate(-50%, -50%); font-size: .74rem; font-weight: 600; padding: 4px 8px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--muted); white-space: nowrap; transition: background .4s ease, color .4s ease, border-color .4s ease; z-index: 1; }
.ag-node.n0 { left: 50%; top: 0; } .ag-node.n1 { left: 100%; top: 50%; } .ag-node.n2 { left: 50%; top: 100%; } .ag-node.n3 { left: 0; top: 50%; }
.ag-node.on { background: var(--accent); color: #fff; border-color: var(--accent); }
.ag-dot { position: absolute; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: #e9b4a0; left: 50%; top: 0; transition: left .9s ease, top .9s ease; z-index: 2; box-shadow: 0 0 0 6px rgba(233,180,160,.25); }
.ag-log { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; min-height: 17em; align-content: start; }
.ag-log li { font-size: .9rem; padding: 6px 10px 6px 12px; border-left: 3px solid var(--line); opacity: 0; transform: translateY(6px); transition: opacity .5s ease, transform .5s ease; }
.ag-log li.in { opacity: 1; transform: none; }
.ag-log li.k2 { border-color: var(--accent); } .ag-log li.k3 { border-color: #9fb8dc; } .ag-log li.k1 { border-color: #c9d6ea; } .ag-log li.k0 { border-color: #e9b4a0; }
.ag-vs { margin: 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: .92rem; color: var(--muted); }
.ag-vs strong { color: var(--ink); }
@media (max-width: 820px) {
  .xw-sec { padding: 64px 0; }
  .ag-wrap { grid-template-columns: 1fr; gap: 10px; }
  .ag-log { min-height: 0; }
  .att-sent { font-size: 1.2rem; }
}
@media (prefers-reduced-motion: reduce) { .att-dot, .ag-dot, .ag-log li { transition: none; } }
