/* clarawendholt.de · series look „Früher Feierabend" (cover approved 22 Nov 2026).
   Light = cream paper + petrol ink; dark = petrol ground + cream text + mint accents.
   No web fonts, no third-party anything. */
:root {
  --petrol: #0d4f55; --petrol-deep: #093b40; --petrol-ink: #0a3d42;
  --cream: #f4efe4; --mint: #bfead9; --mint-soft: #e2f3eb;
  --bg: var(--cream); --text: #15292c; --muted: #45585b; --head: var(--petrol);
  --card: #fbf8f1; --line: rgba(13, 79, 85, .18); --line-strong: rgba(13, 79, 85, .42);
  --box: #edf4ef; --box-edge: var(--petrol);
  --btn: var(--petrol); --btn-text: var(--cream); --btn-hover: #0a4146;
  --focus: #b4421b;
  --mark: var(--mint); --mark-text: #0a3d42;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Bahnschrift", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --text-font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --measure: 62ch; --radius: 10px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: var(--petrol); --text: #f4efe4; --muted: #cfe0da; --head: #f4efe4;
    --card: #0b464b; --line: rgba(191, 234, 217, .2); --line-strong: rgba(191, 234, 217, .5);
    --box: #083a3e; --box-edge: var(--mint);
    --btn: var(--mint); --btn-text: #093b40; --btn-hover: #d6f3e7;
    --focus: #ffffff;
    --mark: rgba(191, 234, 217, .24); --mark-text: #f4efe4;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 5rem; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 1.125rem/1.62 var(--text-font);
  hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word;
  hyphenate-limit-chars: 10 4 4; -webkit-hyphenate-limit-before: 4; -webkit-hyphenate-limit-after: 4;
}
@media (min-width: 48em) { body { font-size: 1.1875rem; } }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--head); line-height: 1.12; hyphens: manual; -webkit-hyphens: manual; text-wrap: balance; margin: 0; }
h2 { font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.5rem); letter-spacing: -.01em; }
h3 { font-size: clamp(1.35rem, 1.15rem + .8vw, 1.7rem); }
p { margin: 0 0 1em; }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: .14em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--mint); color: #093b40; }
html { accent-color: var(--petrol); caret-color: var(--head); scrollbar-color: var(--line-strong) transparent; }
@media (prefers-color-scheme: dark) { html { accent-color: var(--mint); } }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 10; background: var(--btn); color: var(--btn-text); padding: .7rem 1rem; border-radius: 8px; font-family: var(--sans); font-weight: 600; }
.skip:focus { top: 1rem; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.wrap { width: min(100% - 2.5rem, 72rem); margin-inline: auto; }
.narrow > * { max-width: var(--measure); }
.tile .c, time { white-space: nowrap; }

/* chapter index beside the prompts (wide screens) */
.chap-nav { display: none; }
@media (min-width: 75em) {
  .with-aside { display: grid; grid-template-columns: 14rem minmax(0, 1fr); gap: 3rem; align-items: start; }
  .with-aside .main-col { grid-column: 2; grid-row: 1; }
  .chap-nav { display: block; position: sticky; top: 4.5rem; grid-column: 1; grid-row: 1; max-height: calc(100vh - 6rem); overflow: auto; }
  .chap-nav ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
  .chap-nav a { display: block; padding: .45rem 0 .45rem .9rem; font: 500 .9375rem/1.3 var(--sans); text-decoration: none; color: var(--muted); }
  .chap-nav a:hover { color: var(--head); text-decoration: underline; }
  .chap-nav a span { display: inline-block; min-width: 1.4rem; font-family: var(--serif); font-weight: 700; color: var(--head); }
}
/* several short questions in one card */
.qlist { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.qrow { scroll-margin-top: 4.5rem; }
.qrow .prompt { margin-bottom: .55rem; }
.qlabel { display: block; font: 700 .75rem/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--head); margin: 0 0 .35rem; }
.btn.small { min-height: 2.75rem; min-width: 9rem; padding: .5rem 1rem; font-size: .9375rem; }
@media (max-width: 30em) { .btn.copy.small { width: auto; } .qrow .copy-row { justify-content: flex-end; } }
@media (min-width: 48em) {
  .qrow { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: .9rem; align-items: center; }
  .qrow .qlabel { grid-column: 1 / -1; }
  .qrow .prompt { margin: 0; }
  .qrow .copy-row { flex-direction: column; align-items: stretch; }
  .qrow .copy-msg:empty { display: none; }
}
.eyebrow { font: 600 .8125rem/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; margin: 0 0 .9rem; }

/* ---- the clock mark (cover's series sign) ---- */
.clock { display: inline-block; width: 1.5rem; height: 1.5rem; border: 2px solid currentColor; border-radius: 50%; position: relative; flex: none; }
.clock::before, .clock::after { content: ""; position: absolute; left: 50%; top: 50%; height: 2px; background: currentColor; transform-origin: 0 50%; margin-top: -1px; }
.clock::before { width: .32rem; transform: rotate(30deg); }
.clock::after { width: .5rem; transform: rotate(-90deg); }

/* ---- header ---- */
.site-head { background: var(--petrol-deep); color: var(--cream); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 3.5rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; font: 600 .875rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; padding: .75rem 0; }
.brand span { white-space: nowrap; }
.site-head nav a { font: 500 .9375rem/1 var(--sans); text-decoration: none; padding: .9rem .2rem; display: inline-block; white-space: nowrap; }
.site-head nav a:hover { text-decoration: underline; }

/* ---- hero (petrol band like the cover) ---- */
.hero { background: var(--petrol); color: var(--cream); padding: clamp(2.2rem, 5vw, 4.5rem) 0 clamp(2.4rem, 5vw, 4rem); border-bottom: 1px solid rgba(191, 234, 217, .25); }
.hero h1 { color: var(--cream); font-size: clamp(3rem, 2rem + 6vw, 5.6rem); line-height: .92; letter-spacing: -.025em; margin-bottom: 1.1rem; }
.hero .eyebrow { color: var(--mint); }
.hero { hyphens: manual; -webkit-hyphens: manual; }
.hero-grid { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "head cover" "body body"; gap: 1.1rem 1.25rem; align-items: start; }
.h-head { grid-area: head; } .h-cover { grid-area: cover; } .h-body { grid-area: body; }
.hero .h-head h1 { margin-bottom: 0; }
.hero-cover { width: 5.5rem; border-radius: 3px; box-shadow: 0 1px 0 rgba(0,0,0,.2), 0 14px 30px -12px rgba(0,0,0,.55); }
.hero .lead { font-size: 1.125rem; max-width: 42ch; color: #f4efe4; }
.stand { font: 500 .9375rem/1.4 var(--sans); color: var(--mint); margin: 0 0 1.4rem; }
.squares { display: grid; grid-template-columns: repeat(12, 1fr); gap: .35rem; max-width: 22rem; margin: 0 0 1.4rem; }
.squares i { aspect-ratio: 1; background: var(--mint); border-radius: 3px; }
@media (max-width: 39.99em) {
  .hero h1 { font-size: clamp(2.6rem, 11.5vw, 3.4rem); } .hero .btn { width: 100%; }
  .squares { max-width: 15rem; gap: .3rem; }
  .jump ul { gap: 1rem; } .jump a { font-size: .875rem; }
}
@media (min-width: 40em) { .hero-cover { width: 11rem; } .hero-grid { grid-template-areas: "head cover" "body cover"; gap: 1.4rem 2.5rem; } .hero .lead { font-size: 1.1875rem; } }
@media (min-width: 60em) { .hero-cover { width: 15rem; } .hero-grid { gap: 1.6rem 4.5rem; } }

.btns { display: flex; flex-wrap: wrap; gap: .75rem; }
.btn { display: inline-flex; align-items: center; gap: .6rem; min-height: 3rem; padding: .7rem 1.15rem; border-radius: 999px; font: 600 1rem/1.2 var(--sans); text-decoration: none; border: 2px solid transparent; cursor: pointer; }
.btn svg { width: 1.15rem; height: 1.15rem; flex: none; }
.btn small { font-weight: 400; opacity: .85; }
.hero .btn { background: var(--mint); color: var(--petrol-ink); }
.hero .btn:hover { background: #d6f3e7; }
.hero .btn.ghost { background: transparent; color: var(--cream); border-color: rgba(191, 234, 217, .7); }
.hero .btn.ghost:hover { background: rgba(191, 234, 217, .12); }
.hero :focus-visible { outline-color: #ffffff; }

/* ---- in-page nav (sticky) ---- */
.jump { position: sticky; top: 0; z-index: 5; background: var(--bg); border-bottom: 1px solid var(--line); }
.jump ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem 1.25rem; overflow-x: auto; scrollbar-width: none; }
.jump a { display: inline-block; padding: 1rem 0; font: 600 .9375rem/1 var(--sans); text-decoration: none; white-space: nowrap; color: var(--head); }
.jump a:hover { text-decoration: underline; }

/* ---- sections ---- */
main { display: block; }
.section { padding: clamp(2.75rem, 6vw, 5rem) 0; }
.section + .section { border-top: 1px solid var(--line); }
.section > .wrap > header { margin-bottom: 1.75rem; }
.section > .wrap > header p { color: var(--muted); max-width: var(--measure); margin-top: .8rem; }
.howto { display: flex; gap: .8rem; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.15rem; max-width: var(--measure); font-size: inherit; }
.howto strong { font-family: var(--sans); }

/* ---- prompt cards (the book's „Anfrage" box: label above, rule on the left) ---- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.15rem 1.15rem 1.25rem; margin: 0 0 1.25rem; scroll-margin-top: 4.5rem; max-width: 42rem; }
.card-head { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem .6rem; margin-bottom: .55rem; }
.label { font: 700 .75rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--head); }
.badge { font: 600 .75rem/1 var(--sans); padding: .38rem .6rem; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--muted); }
.badge.vorlage { background: var(--petrol); border-color: var(--petrol); color: var(--cream); }
@media (prefers-color-scheme: dark) { .badge.vorlage { background: var(--mint); border-color: var(--mint); color: var(--petrol-ink); } }
.task-tag { order: -1; flex-basis: 100%; margin: 0 0 .35rem; font: 700 .9375rem/1.3 var(--sans); color: var(--head); }
.nof { font-style: normal; font-family: var(--sans); font-size: .9375rem; white-space: nowrap; }
.where { font: italic 400 1.0625rem/1.4 var(--serif); color: var(--text); margin: 0 0 .8rem; }
.prompt { background: var(--box); border: 1px solid var(--line); border-left: 4px solid var(--box-edge); border-radius: 0; padding: .85rem 1rem; margin: 0 0 1rem; white-space: pre-wrap; font-size: 1.125rem; line-height: 1.6; hyphens: none; -webkit-hyphens: none; }
.gap-below { margin-bottom: 1.75rem; }
.after { margin-top: 1.5rem; }
.prompt strong { font-weight: 700; }
.fill { background: var(--mark); color: var(--mark-text); border-radius: 3px; padding: 0 .12em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.copy-row { display: flex; align-items: center; gap: .9rem; flex-wrap: wrap; }
.copy { background: var(--btn); color: var(--btn-text); min-width: 11rem; justify-content: center; }
.copy:hover { background: var(--btn-hover); }
.copy[data-done] { background: var(--mint); color: var(--petrol-ink); }
.copy-msg { font: 500 .9375rem/1.3 var(--sans); color: var(--muted); }
@media (max-width: 30em) { .copy { width: 100%; } }
@media (prefers-reduced-motion: no-preference) { .copy[data-done] { animation: pop .35s ease-out; } @keyframes pop { from { opacity: .55; } to { opacity: 1; } } }

.featured { background: var(--petrol); color: var(--cream); border: 0; padding: clamp(1.25rem, 3vw, 2rem); max-width: 44rem; }
.featured .intro { max-width: 60ch; }
.featured .label, .featured h3 { color: var(--cream); }
.featured h3 { font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.2rem); margin: .3rem 0 .6rem; }
.featured .where, .featured .intro { color: #d9ebe4; }
.featured .badge { border-color: var(--mint); background: var(--mint); color: var(--petrol-ink); }
.featured .prompt { background: #f4efe4; color: #15292c; border-color: transparent; border-left-color: var(--mint); font-size: 1.125rem; }
.featured .fill { background: var(--mint); color: #0a3d42; }
.featured .copy { background: var(--mint); color: var(--petrol-ink); }
.featured .copy:hover { background: #d6f3e7; }
.featured .copy-msg { color: #d9ebe4; }
.featured :focus-visible { outline-color: #ffffff; }
@media (prefers-color-scheme: dark) { .featured { background: var(--petrol-deep); border: 1px solid var(--line); } }
.legend { font: 500 .9375rem/1.5 var(--sans); color: inherit; margin: 0 0 1rem; }

/* ---- 12 tiles ---- */
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
@media (min-width: 40em) { .tiles { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 62em) { .tiles { grid-template-columns: repeat(4, 1fr); gap: 1rem; } }
.tile { display: flex; flex-direction: column; gap: .55rem; height: 100%; min-height: 9rem; padding: .9rem .95rem 1rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; }
.tile:hover { border-color: var(--line-strong); box-shadow: 0 6px 18px -12px rgba(9, 59, 64, .5); }
.tile .n { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 6px; background: var(--mint); color: var(--petrol-ink); font: 700 1.45rem/1 var(--serif); }
.tile .t { font: 600 1.0625rem/1.3 var(--sans); color: var(--head); hyphens: manual; -webkit-hyphens: manual; }
.tile .c { font: 500 .875rem/1.2 var(--sans); color: var(--muted); margin-top: auto; }

/* ---- chapters ---- */
.part-title { margin: 3rem 0 .4rem; }
.part-title:first-of-type { margin-top: 0; }
.part-note { color: var(--muted); max-width: var(--measure); }
.chapter { margin: 2.6rem 0 0; }
.chapter > header { margin: 0 0 1.1rem; max-width: 42rem; }
.chapter > header { display: grid; grid-template-columns: auto 1fr; column-gap: .9rem; align-items: center; }
.chapter .chnum { grid-row: 1 / span 2; display: grid; place-items: center; width: 2.9rem; height: 2.9rem; border-radius: 6px; background: var(--mint); color: var(--petrol-ink); font: 700 1.5rem/1 var(--serif); }
.chapter .tasks-line { grid-column: 2; }
.chapter .tasks-line { font: 500 .9375rem/1.4 var(--sans); color: var(--muted); margin: .45rem 0 0; }
.pointer { font-size: inherit; color: var(--muted); max-width: 42rem; margin: 0 0 1.25rem; }
.task-anchor { display: block; height: 0; scroll-margin-top: 4.5rem; }

/* ---- changes ---- */
.changes { list-style: none; padding: 0; margin: 0 0 1.25rem; max-width: var(--measure); }
.changes li { display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem 1rem; padding: .9rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.changes time { font: 700 1em/1.4 var(--sans); color: var(--head); min-width: 11rem; }

/* ---- form ---- */
.form { max-width: 40rem; display: grid; gap: 1.15rem; }
.field label, .field legend { display: block; font: 600 1rem/1.3 var(--sans); margin: 0 0 .4rem; color: var(--head); }
.field .hint { font-size: .9375rem; color: var(--muted); margin: -.15rem 0 .45rem; }
select, input[type=text], textarea { width: 100%; font: inherit; font-size: 1.0625rem; color: var(--text); background: var(--card); border: 1.5px solid var(--line-strong); border-radius: 8px; padding: .7rem .8rem; min-height: 3rem; }
textarea { min-height: 11rem; resize: vertical; line-height: 1.5; }
select:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.send { background: var(--btn); color: var(--btn-text); justify-self: start; }
.send:hover { background: var(--btn-hover); }
.send[disabled] { opacity: .6; cursor: progress; }
.form-note { font-size: .9375rem; color: var(--muted); margin: 0; }
.result { border-radius: var(--radius); padding: 1rem 1.15rem; border: 1px solid var(--line-strong); background: var(--card); max-width: 40rem; }
.result.ok { border-left: 5px solid #2f8f6b; }
.result.warn { border-left: 5px solid var(--focus); }
.result p:last-child { margin-bottom: 0; }
.mail { font-weight: 700; }
.or { margin-top: 2rem; max-width: 40rem; }

/* ---- home ---- */
.book { display: grid; gap: 1.5rem 3rem; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 46em) { .book { grid-template-columns: 15rem 1fr; } }
@media (min-width: 62em) { .book { grid-template-columns: 18rem 1fr; } }
.book img { width: 12rem; border-radius: 3px; box-shadow: 0 16px 36px -16px rgba(9, 59, 64, .6); }
@media (min-width: 46em) { .book img { width: 100%; } }
.book h2 { font-size: clamp(2.2rem, 1.6rem + 2.5vw, 3.4rem); margin-bottom: .6rem; }
.book .sub { font: 500 1.125rem/1.45 var(--sans); color: var(--head); max-width: 46ch; }
.book .blurb { max-width: var(--measure); }
.later { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 46em) { .later { grid-template-columns: 1fr 1fr; } }
.later article { background: var(--card); border: 1px dashed var(--line-strong); border-radius: var(--radius); padding: 1.2rem 1.25rem; }
.later h3 { margin: .5rem 0 .6rem; }
.later p { margin: 0; color: var(--muted); }
.pill { display: inline-block; font: 600 .75rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; padding: .38rem .6rem; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--muted); }
.bio { max-width: var(--measure); font-size: 1.125rem; }
.btn.primary { background: var(--btn); color: var(--btn-text); }
.btn.primary:hover { background: var(--btn-hover); }
.btn.outline { border-color: var(--line-strong); color: var(--head); background: transparent; }

/* ---- legal pages ---- */
.legal h1 { font-size: clamp(2.2rem, 1.6rem + 2.5vw, 3.2rem); margin-bottom: 1.5rem; }
.legal h2 { font-size: 1.45rem; margin: 2.2rem 0 .7rem; }
.legal h3 { font-size: 1.15rem; margin: 1.4rem 0 .5rem; }
.legal p, .legal li { max-width: var(--measure); }
.legal address { font-style: normal; margin: 0 0 1em; }
.legal ul { padding-left: 1.2rem; }
.notfound h1 { font-size: clamp(2.4rem, 1.8rem + 3vw, 3.6rem); margin-bottom: 1rem; }

/* ---- footer ---- */
.site-foot { background: var(--petrol-deep); color: #e6efe9; padding: 2.2rem 0 2.6rem; font: 400 .9375rem/1.55 var(--sans); }
.site-foot p { margin: 0 0 .6rem; max-width: 60ch; }
.site-foot nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.site-foot nav a { display: inline-block; padding: .7rem 0; font-weight: 600; }

/* ---- print: prompts as clean boxes, no buttons ---- */
@media print {
  :root { --bg: #fff; --text: #000; --head: #000; --muted: #333; --card: #fff; --box: #f2f2f2; --box-edge: #555; --line: #bbb; }
  body { font-size: 11pt; background: #fff; }
  .site-head, .jump, .btns, .copy-row, .skip, #fehler, .site-foot nav, .squares, .hero-cover, .tiles { display: none !important; }
  .hero, .featured { background: #fff !important; color: #000 !important; padding: 0 0 1rem; border: 0; }
  .hero h1, .featured h3, .featured .label, .featured .where, .hero .eyebrow, .stand { color: #000 !important; }
  .featured .prompt { background: #f2f2f2; color: #000; }
  .card { break-inside: avoid; border: 0; padding: 0; margin: 0 0 .9rem; }
  .prompt { user-select: auto; }
  .section { padding: 1rem 0; }
  .site-foot { background: #fff; color: #000; }
  a { text-decoration: none; }
}

/* ---- review round (fresh-eyes reviewer, 24 Nov) ---- */
body { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
body > main { flex: 1 0 auto; }
.intro, .site-foot p, .section > .wrap > header p { hyphens: manual; -webkit-hyphens: manual; }
::placeholder { color: var(--muted); opacity: 1; }
.qrow .copy-msg:empty { display: none; }
@media (max-width: 39.99em) { .jump ul { justify-content: space-between; } }
.hero .btns { margin-top: 1.4rem; }
@media (prefers-color-scheme: dark) {
  .featured .prompt { background: var(--box); color: var(--text); border-color: var(--line); border-left-color: var(--mint); }
  .featured .fill { background: var(--mark); color: var(--mark-text); }
}
