/* tentare – Stylesheet
   Farben und Maße sind als Variablen definiert; Änderungen hier wirken auf alle Seiten. */

/* Schrift: TeX Gyre Heros (freier Helvetica-Nachbau, GUST Font License) – erzeugt mit build_fonts.py */
@font-face { font-family: "Heros"; src: url("fonts/heros-regular.woff2") format("woff2"); font-weight: 400 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Heros"; src: url("fonts/heros-italic.woff2") format("woff2"); font-weight: 400 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Heros"; src: url("fonts/heros-bold.woff2") format("woff2"); font-weight: 600 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Heros"; src: url("fonts/heros-bolditalic.woff2") format("woff2"); font-weight: 600 700; font-style: italic; font-display: swap; }

:root {
  --paper: #ffffff;
  --paper-soft: #f5f5f2;
  --ink: #141414;
  --ink-2: #5f5e5a;
  --ink-3: #75746f;
  --line: #e3e2dd;
  --line-strong: #141414;
  --accent: #0879a6;     /* Cyan aus dem tentare-Logo, für Schrift etwas dunkler (#0a8fc2 → Kontrast 4,9 : 1, barrierefrei) */
  --accent-2: #e5007d;   /* Magenta – aus dem tentare-Logo */
  --font: "Heros", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1440px;
  --cover-shadow: 7px -7px 16px rgba(0,0,0,.22), 2px -2px 4px rgba(0,0,0,.10);
  --cover-shadow-sm: 4px -4px 10px rgba(0,0,0,.22), 1px -1px 3px rgba(0,0,0,.10);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
em { font-style: italic; }
.muted { color: var(--ink-2); }
.small { font-size: 13px; }
.accent { color: var(--accent); }
.accent-2 { color: var(--accent-2); }
.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }

/* ---------- Kopf ---------- */
.site-header { padding-top: 26px; }
.brandline { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; }
.brand { display: block; width: clamp(246px, 25.6vw, 362px); max-width: 100%; }
.brand .logo { width: 100%; height: auto; display: block; }   /* Schriftzug und Unterzeile: eine Grafik, gleich breit (build_fonts.py) */
.cart-count { color: var(--ink-2); }
.utils { display: flex; align-items: center; gap: 22px; font-size: 13px; padding-top: 8px; flex-wrap: wrap; }
.utils a { display: inline-flex; align-items: center; gap: 6px; min-height: 24px; }
.utils .sep { width: 1px; height: 18px; background: var(--line); }
.utils svg { width: 17px; height: 17px; }

.mainnav { margin-top: 24px; font-size: 16px; font-weight: 500; display: flex; flex-wrap: wrap; row-gap: 4px; }
.mainnav a { white-space: nowrap; display: inline-block; padding: 2px 0; min-height: 24px; min-width: 24px; text-align: center; box-sizing: border-box; }   /* Berührungsziele ≥ 24 px (Lighthouse) */
.mainnav a.active { color: var(--accent); }
.mainnav .sl { color: var(--ink-3); padding: 0 9px; }

.shopline {
  margin-top: 22px; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line);
  padding: 10px 0; font-size: 13px; color: var(--ink-2); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.shopline a { color: var(--accent); font-weight: 500; }

/* ---------- Abschnitte ---------- */
.section { padding-top: 52px; }
.section-head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid var(--line-strong); padding-top: 12px; margin-bottom: 20px;
}
.section-head h2, .label { font-size: 14px; font-weight: 500; color: var(--ink-2); letter-spacing: 0.01em; }
.section-head .more, .more { font-size: 13px; color: var(--accent); font-weight: 500; }
.section-head .filters { display: flex; gap: 18px; font-size: 13px; flex-wrap: wrap; }
.section-head .filters a.active, .filters button.active { color: var(--accent); font-weight: 500; }
.filters button { background: none; border: 0; padding: 0; font-size: 13px; }
.filters button:hover { color: var(--accent); }

/* ---------- Cover ---------- */
.cover {
  display: flex; align-items: flex-end; justify-content: flex-start;
  width: 100%; height: 0; padding: 151.5% 0 0 0;   /* Höhe = Breite / 0,66 – als Padding, das rechnen alle Browser gleich (Safari!) */
}
.cover img {
  max-height: 100%; max-width: 100%; width: auto; height: auto;
  box-shadow: var(--cover-shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}
a:hover .cover img { transform: translate(-1px, 1px); }
.cover.sm { padding: 151.5% 0 0 0; }
.cover.sm img { box-shadow: var(--cover-shadow-sm); }
@media (prefers-reduced-motion: reduce) { .cover img { transition: none; } a:hover .cover img { transform: none; } }

/* ---------- Buchkarten ---------- */
.grid { display: grid; gap: 32px 28px; }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 36px 24px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.book-feature { display: flex; flex-direction: column; gap: 14px; }
.book-feature .kicker { font-size: 14px; font-weight: 500; color: var(--ink-2); }
.book-feature .author { font-size: 15px; }
.book-feature h3 { font-size: 22px; font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; text-wrap: balance; }
.book-feature .subtitle { font-size: 15px; color: var(--ink-2); }
.book-feature .teaser { font-size: 15px; line-height: 1.5; }
.book-feature .meta { font-size: 13px; color: var(--ink-2); line-height: 1.5; }

.book-card { display: flex; flex-direction: column; gap: 10px; }
.book-card .txt { font-size: 13px; line-height: 1.4; }
.book-card .txt .title { font-weight: 700; }
.book-card .txt .price { color: var(--ink-2); }
.badge { display: inline-block; font-size: 11px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--accent-2); }
.badge.soon { color: var(--accent-2); }
.badge.avail { color: var(--ink-3); }

.grid-note { display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; font-size: 13px; color: var(--ink-2); line-height: 1.5; padding-bottom: 48px; }
.grid-note a { color: var(--accent); font-weight: 500; }

/* ---------- Nachrichten-Spalten ---------- */
.col { display: flex; flex-direction: column; gap: 18px; border-top: 1px solid var(--line-strong); padding-top: 12px; }
.col h2 { font-size: 14px; font-weight: 500; color: var(--ink-2); }
.item { display: flex; flex-direction: column; gap: 4px; border-bottom: 1px solid var(--line); padding-bottom: 14px; }
.item .t { font-size: 16px; font-weight: 700; line-height: 1.3; }
.item .s { font-size: 13px; color: var(--ink-2); }
.item .b { font-size: 13px; }
.item .eyebrow { font-size: 11px; color: var(--ink-2); text-transform: uppercase; letter-spacing: .06em; }
blockquote.q { display: flex; flex-direction: column; gap: 14px; }
blockquote.q p { font-size: 22px; font-weight: 500; line-height: 1.3; letter-spacing: -0.01em; text-wrap: balance; }
blockquote.q cite { font-style: normal; font-size: 13px; color: var(--ink-2); }

/* ---------- Verlag / Newsletter ---------- */
.about { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; border-top: 1px solid var(--line-strong); padding-top: 12px; }
.about .lede, .lede { font-size: 19px; line-height: 1.45; letter-spacing: -0.005em; }
.about .side { display: flex; flex-direction: column; gap: 12px; font-size: 15px; line-height: 1.5; }
.newsletter { background: var(--ink); color: var(--paper); padding: 36px 40px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; align-items: center; }
.newsletter h2 { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; }
.newsletter p { font-size: 14px; color: #c9c9c2; }
.newsletter form { grid-column: span 2; display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; }
.newsletter .field { flex: 1 1 220px; display: flex; flex-direction: column; gap: 6px; }
.newsletter label { font-size: 12px; color: #c9c9c2; }
.newsletter input { height: 46px; padding: 0 14px; background: var(--paper); color: var(--ink); border: 1px solid var(--paper); width: 100%; }
.btn { display: inline-flex; align-items: center; justify-content: center; height: 46px; padding: 0 22px; font-size: 15px; font-weight: 500; background: var(--accent); color: #fff; border: 0; white-space: nowrap; }
.btn:hover { background: #066a90; color: #fff; }
.btn.secondary { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn.secondary:hover { color: var(--accent); border-color: var(--accent); background: transparent; }
.btn.small { height: 36px; padding: 0 14px; font-size: 13px; }

/* ---------- Fuß ---------- */
.site-footer { margin-top: 56px; border-top: 1px solid var(--line-strong); padding: 40px 0 36px; display: flex; flex-direction: column; gap: 36px; }
.footer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; font-size: 13px; line-height: 1.6; }
.footer-grid > div { display: flex; flex-direction: column; gap: 6px; }
.footer-grid .h { font-weight: 700; }
.footer-grid a { display: inline-block; padding: 2px 0; min-height: 24px; box-sizing: border-box; align-self: flex-start; }
.footer-grid > div { gap: 2px; }
.footer-grid a.mail { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12px; color: var(--ink-2); border-top: 1px solid var(--line); padding-top: 14px; }

/* ---------- Unterseiten ---------- */
.page-head { padding-top: 40px; display: flex; flex-direction: column; gap: 10px; }
.crumbs { font-size: 13px; color: var(--ink-2); }
.crumbs a:hover { color: var(--accent); }
.page-head h1 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; text-wrap: balance; }
.page-head .sub { font-size: 17px; color: var(--ink-2); }
.prose { max-width: 72ch; font-size: 16px; line-height: 1.55; display: flex; flex-direction: column; gap: 16px; padding-top: 28px; }
.prose h2 { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; margin-top: 18px; }
.prose h3 { font-size: 17px; font-weight: 700; margin-top: 10px; }
.prose ul, .prose ol { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.prose a { color: var(--accent); }
.prose table { border-collapse: collapse; width: 100%; font-size: 15px; }
.prose table td { vertical-align: top; padding: 12px 16px 12px 0; border-top: 1px solid var(--line); }
.prose table td:first-child { width: 30%; }
.prose table thead { display: none; }
.prose hr { border: 0; border-top: 1px solid var(--line); }
.prose .lede { font-size: 19px; }
.prose.wide { max-width: none; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding-top: 28px; }

/* Buchseite */
.book-page { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; padding-top: 32px; align-items: start; }
.book-page .cover-col { position: sticky; top: 24px; }
.book-page .cover { height: auto; padding: 24px 28px 8px 0; }
.book-page .cover img { max-height: 78vh; }
.book-main { display: flex; flex-direction: column; gap: 22px; }
.book-main .author { font-size: 18px; }
.book-main h1 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.08; text-wrap: balance; }
.book-main .subtitle { font-size: 20px; color: var(--ink-2); line-height: 1.3; }
.book-main .teaser { font-size: 19px; line-height: 1.45; letter-spacing: -0.005em; }
.book-main .body { display: flex; flex-direction: column; gap: 14px; font-size: 16px; line-height: 1.55; max-width: 66ch; }
.book-main .meta { font-size: 13px; color: var(--ink-2); line-height: 1.6; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 24px; }
.book-main .meta a { color: var(--accent); }
.buybox { border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line); padding: 18px 0; display: flex; flex-direction: column; gap: 14px; }
.buybox .price { font-size: 26px; font-weight: 700; letter-spacing: -0.01em; }
.buybox .price small { font-size: 13px; font-weight: 400; color: var(--ink-2); margin-left: 10px; }
.buybox .row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.buybox .note { font-size: 13px; color: var(--ink-2); }
.toc { padding-left: 22px; margin: 0; font-size: 15px; line-height: 1.5; display: flex; flex-direction: column; gap: 4px; }
.reviews { display: flex; flex-direction: column; gap: 16px; }
.review { border-left: 2px solid var(--ink); padding-left: 16px; display: flex; flex-direction: column; gap: 6px; }
.review p { font-size: 16px; line-height: 1.45; }
.review cite { font-style: normal; font-size: 13px; color: var(--ink-2); }
.review cite a { color: var(--accent); }
.h-sub { font-size: 14px; font-weight: 500; color: var(--ink-2); border-top: 1px solid var(--line-strong); padding-top: 10px; }
.bio { font-size: 15px; line-height: 1.55; display: flex; flex-direction: column; gap: 10px; max-width: 66ch; }
.bio a { color: var(--accent); }

/* Autor:innen */
.author-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 32px; padding-top: 28px; }
.author-entry { border-top: 1px solid var(--line); padding-top: 12px; display: flex; flex-direction: column; gap: 6px; }
.author-entry .n { font-size: 18px; font-weight: 700; }
.author-entry .w { font-size: 13px; color: var(--ink-2); line-height: 1.5; }

/* Blog / Termine / Rezensionen */
.list { display: flex; flex-direction: column; padding-top: 24px; }
.entry { display: grid; grid-template-columns: 140px 1fr 160px; gap: 32px; border-top: 1px solid var(--line); padding: 20px 0; align-items: start; }
.entry .d { font-size: 13px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.entry .t { font-size: 20px; font-weight: 700; line-height: 1.25; letter-spacing: -0.01em; text-wrap: balance; }
.entry .x { font-size: 15px; line-height: 1.5; margin-top: 8px; max-width: 70ch; }
.entry .r { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--ink-2); }
.entry .r a { color: var(--accent); }
.entry .thumb .cover { height: 130px; padding: 0; }
.entry .thumb .cover img { box-shadow: var(--cover-shadow-sm); }
.post { max-width: 70ch; display: flex; flex-direction: column; gap: 16px; padding-top: 28px; font-size: 16px; line-height: 1.55; }
.post a { color: var(--accent); }
.post-nav { display: flex; justify-content: space-between; gap: 24px; font-size: 13px; padding-top: 32px; border-top: 1px solid var(--line); margin-top: 32px; }
.post-nav a { color: var(--accent); }

.quote-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; padding-top: 28px; }
.quote-card { border-top: 1px solid var(--line-strong); padding-top: 14px; display: flex; flex-direction: column; gap: 14px; min-height: 240px; }
.quote-card p { font-size: 20px; font-weight: 500; line-height: 1.3; letter-spacing: -0.01em; text-wrap: balance; }
.quote-card cite { font-style: normal; font-size: 13px; color: var(--ink-2); margin-top: auto; }
.quote-card cite a { color: var(--accent); }

/* Formulare */
.form { display: flex; flex-direction: column; gap: 16px; max-width: 560px; padding-top: 24px; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .field { display: flex; flex-direction: column; gap: 6px; }
.form label { font-size: 13px; color: var(--ink-2); }
.form input, .form textarea { border: 1px solid var(--ink); background: var(--paper); padding: 10px 12px; height: 44px; }
.form textarea { height: auto; min-height: 140px; resize: vertical; }
.form .consent { font-size: 13px; color: var(--ink-2); line-height: 1.5; display: flex; gap: 10px; align-items: flex-start; }
.form .consent input { height: auto; margin-top: 3px; }
.form .msg { font-size: 14px; color: var(--accent); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding-top: 28px; }
.addr { font-size: 15px; line-height: 1.6; display: flex; flex-direction: column; gap: 14px; }
.addr a { color: var(--accent); }
.copy { font: inherit; background: none; border: 1px solid var(--line); padding: 2px 8px; font-size: 12px; color: var(--ink-2); margin-left: 6px; }
.copy:hover { border-color: var(--accent); color: var(--accent); }

/* Suche */
.search { padding-top: 24px; display: flex; flex-direction: column; gap: 20px; }
.search input { border: 1px solid var(--ink); height: 52px; padding: 0 16px; font-size: 18px; width: 100%; max-width: 640px; }
.results { display: flex; flex-direction: column; }
.results .hit { border-top: 1px solid var(--line); padding: 14px 0; display: flex; flex-direction: column; gap: 2px; }
.results .hit .k { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); }
.results .hit .t { font-size: 17px; font-weight: 700; }
.results .hit .s { font-size: 13px; color: var(--ink-2); }

/* Themen-Filter (Bücherseite) */
[data-topic-hidden] { display: none !important; }

/* ---------- Responsiv ---------- */
@media (max-width: 1100px) {
  .grid-6 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about { grid-template-columns: 1fr; }
  .newsletter { grid-template-columns: 1fr; }
  .newsletter form { grid-column: auto; }
  .author-list, .quote-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .book-page { grid-template-columns: 2fr 3fr; gap: 36px; }
}
@media (max-width: 720px) {
  .grid-6, .grid-4, .grid-3, .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 18px; }
  .grid-3 { gap: 32px; }
  .section { padding-top: 40px; }
  .mainnav { font-size: 15px; }
  .mainnav .sl { padding: 0 7px; }
  .utils { gap: 14px; }
  .book-page { grid-template-columns: 1fr; gap: 24px; }
  .book-page .cover-col { position: static; }
  .book-page .cover { padding: 18px 20px 6px 0; }
  .book-page .cover img { max-height: 60vh; }
  .book-main .meta { grid-template-columns: 1fr; }
  .entry { grid-template-columns: 1fr; gap: 8px; }
  .entry .thumb { display: none; }
  .author-list, .quote-grid { grid-template-columns: 1fr; }
  .two-col, .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .form .row2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .newsletter { padding: 28px 22px; }
  .grid-note { grid-column: 1 / -1; padding-bottom: 0; }
}
@media (max-width: 440px) {
  .grid-6, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

/* ---------- Shop: Warenkorb, Kasse, Bestätigung ---------- */
.steps { display: flex; gap: 18px; font-size: 12px; color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; }
.steps .on { color: var(--ink); font-weight: 700; }
.shop-grid { display: grid; grid-template-columns: 7fr 4fr; gap: 56px; padding-top: 28px; align-items: start; }
.shop-aside { border-top: 1px solid var(--line-strong); padding-top: 14px; display: flex; flex-direction: column; gap: 18px; position: sticky; top: 24px; }
.shop-aside h2 { font-size: 14px; font-weight: 500; color: var(--ink-2); }
.shop-aside .field { display: flex; flex-direction: column; gap: 6px; }
.shop-aside label { font-size: 13px; color: var(--ink-2); }
.shop-aside select, .form select { border: 1px solid var(--ink); background: var(--paper); height: 44px; padding: 0 10px; width: 100%; }
.sums { display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.srow { display: flex; justify-content: space-between; gap: 16px; }
.srow.total { font-weight: 700; font-size: 18px; border-top: 1px solid var(--line); padding-top: 8px; margin-top: 4px; }
.payinfo { font-size: 13px; color: var(--ink-2); line-height: 1.5; display: flex; flex-direction: column; gap: 4px; border-top: 1px solid var(--line); padding-top: 12px; }
.payinfo .h { color: var(--ink); font-weight: 700; }
.cart-lines { display: flex; flex-direction: column; }
.cart-row, .rec { display: grid; grid-template-columns: 84px 1fr auto auto; gap: 20px; align-items: center; border-top: 1px solid var(--line); padding: 16px 0; }
.rec { grid-template-columns: 64px 1fr auto; }
.cart-row .thumb .cover, .rec .thumb .cover { height: 110px; padding: 0; }
.rec .thumb .cover { height: 84px; }
.cart-row .info, .rec .info { display: flex; flex-direction: column; gap: 3px; font-size: 14px; }
.cart-row .info .t, .rec .info .t { font-weight: 700; font-size: 16px; }
.cart-row .info .p, .rec .info .p { color: var(--ink-2); font-size: 13px; }
button.link { background: none; border: 0; padding: 0; color: var(--accent); font-size: 13px; text-align: left; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--ink); }
.qty button { width: 34px; height: 34px; background: none; border: 0; font-size: 18px; }
.qty span { min-width: 30px; text-align: center; font-variant-numeric: tabular-nums; }
.cart-row .sum { font-weight: 700; min-width: 80px; text-align: right; font-variant-numeric: tabular-nums; }
.recs { display: flex; flex-direction: column; }
.hp { position: absolute; left: -9999px; }
.payblock { display: flex; flex-direction: column; gap: 12px; }
.payopt { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--ink); padding: 14px 16px; }
.payopt input { margin-top: 4px; }
.btn.in-cart { background: var(--ink); }
@media (max-width: 900px) {
  .shop-grid { grid-template-columns: 1fr; gap: 32px; }
  .shop-aside { position: static; }
  .cart-row { grid-template-columns: 64px 1fr; }
  .cart-row .qty, .cart-row .sum { grid-column: 2; justify-self: start; text-align: left; }
}

/* nur für Screenreader und Suchmaschinen sichtbar */
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

/* Bilder aus der alten Website: Blog, Zitat-Tafeln, Wörterbuch */
.post-img { margin: 0 0 22px; }
.post-img img { display:block; max-width:100%; height:auto; }
.post .post-img:not(:first-child) { margin-top: 22px; }
.thumb-img { display:block; width:100%; height:auto; max-height:220px; object-fit:cover; }
.quote-tiles { display:grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; margin-top: 18px; }
.quote-tiles img { display:block; width:100%; height:auto; }
.lexikon { display:flex; flex-wrap:wrap; gap: 12px; align-items:flex-start; margin: 8px 0 24px; }
.lexikon img { max-width: 100%; height:auto; max-height: 90px; border: 1px solid #eee; }
.book-video { display:block; width:100%; max-width:480px; height:auto; aspect-ratio:1/1; margin-top:14px; background:#000; object-fit:contain; }
/* EAN-13-Strichcode aus der ISBN: nie skalieren, damit er vom Bildschirm scannbar bleibt */
.barcode { margin-top: -6px; }
.barcode svg { display: block; max-width: none; width: auto; height: auto; }
/* Themenübersicht: Themennamen gut lesbar */
.topic-head h2 { font-size: 26px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.topic-head h2 a { color: inherit; }
.topic-head h2 a:hover { color: var(--accent); }
.topic-head .more { font-size: 15px; }
.topic-more { font-size: 16px; }
.msg.err { color: #b3261e; }
/* Autorenfoto */
.author-photo { margin: 0 0 18px; max-width: 360px; }
.author-photo img { width: 100%; height: auto; display: block; }
.author-photo figcaption { margin-top: 6px; }
/* Cover im Raster: alle gleich hoch, unten bündig – nur die Breite variiert.
   Das Bild füllt die Höhe des Rahmens (abzüglich Schattenraum); der Rahmen ist breit genug für jedes Coverformat. */
.cover { position: relative; --pt: 14px; --pb: 4px; }
.cover.sm { --pt: 10px; --pb: 3px; }
.entry .thumb .cover { --pt: 10px; --pb: 2px; }
.cart-row .thumb .cover, .rec .thumb .cover { --pt: 8px; --pb: 2px; }
.cover img { position: absolute; left: 0; bottom: var(--pb); height: calc(100% - var(--pt) - var(--pb)); width: auto; max-width: none; max-height: none; }
/* Buchseite: einzelnes großes Cover, normal im Fluss */
.book-page .cover img { position: static; height: auto; width: auto; max-width: 100%; max-height: 78vh; }
@media (max-width: 720px) { .book-page .cover img { max-height: 60vh; } }
/* Neuerscheinungen auf der Startseite: fünf nebeneinander, etwas kleiner gesetzt */
.grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px 24px; }
.featured .book-feature { gap: 12px; }
.featured .book-feature .kicker { font-size: 13px; }
.featured .book-feature .author { font-size: 14px; }
.featured .book-feature h3 { font-size: 19px; }
.featured .book-feature .subtitle { font-size: 14px; }
.featured .book-feature .teaser { font-size: 14px; line-height: 1.45; }
.featured .book-feature .meta { font-size: 12px; }
@media (max-width: 1100px) { .grid-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) { .grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 18px; } }
/* Startseite: größere Abschnittsüberschriften (Neueste Titel, Vorschau) */
.section-head.big h2 { font-size: 22px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.section-head.big h2 .note { font-size: 14px; font-weight: 400; color: var(--ink-2); letter-spacing: 0; }
/* Startseite: übrige Abschnittsüberschriften in derselben Größe wie „Neueste Titel“ */
.col h2.h-big, .about h2.h-big { font-size: 22px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
/* Neueste Titel: Kurztexte, Angaben und „Mehr“ beginnen in jeder Reihe auf gleicher Höhe
   (Unterraster: jede Karte belegt fünf Zeilen – Cover, Titelblock, Kurztext, Angaben, Mehr) */
@supports (grid-template-rows: subgrid) {
  .grid.aligned { row-gap: 12px; }
  .aligned .book-feature { display: grid; grid-template-rows: subgrid; grid-row: span 5; gap: 0; row-gap: 12px; align-content: start; }
  .aligned .book-feature .more { padding-bottom: 22px; }
}
/* Instagram-Link im Kopf: größer und farbig (Magenta aus dem tentare-Logo) */
.utils a.ig { color: var(--accent-2); }
.utils a.ig svg { width: 26px; height: 26px; }
.utils a.ig:hover { color: var(--accent); }
/* Handy: Logo mit Unterzeile über die ganze Breite */
@media (max-width: 600px) {
  .brandline { flex-direction: column; align-items: stretch; gap: 14px; }
  .brand { width: 100%; max-width: none; }
  .utils { padding-top: 0; }
}
/* Handy: „Neueste Titel“ ein Buch pro Reihe, Cover in fester Höhe; Raster mit zwei Spalten bekommen mehr Abstand */
@media (max-width: 600px) {
  .grid-5.featured { grid-template-columns: 1fr; gap: 36px; }
  .featured .book-feature { display: flex; flex-direction: column; gap: 12px; }
  .featured .book-feature .cover { height: 116vw; padding: 0; }
  .featured .book-feature .cover img { --pt: 12px; }
  .grid-6, .grid-4, .grid-3, .grid-2 { gap: 28px 26px; }
}
/* Buchseite auf dem Handy: Texte kleiner, Cover größer, damit die Proportionen stimmen */
@media (max-width: 600px) {
  .book-page .cover img { max-height: 92vh; max-width: 100%; }
  .book-main { gap: 16px; }
  .book-main .author { font-size: 15px; }
  .book-main h1 { font-size: 26px; }
  .book-main .subtitle { font-size: 16px; }
  .book-main .teaser { font-size: 15px; line-height: 1.5; }
  .book-main .body { font-size: 15px; line-height: 1.5; }
  .buybox .price { font-size: 22px; }
  .bio { font-size: 14px; }
  .review p { font-size: 15px; }
}
/* Warenkorb und Kasse auf dem Handy: Schrift eine Stufe kleiner */
@media (max-width: 600px) {
  .page-head h1 { font-size: 24px; }
  .cart-row .info { font-size: 13px; }
  .cart-row .info .t { font-size: 14px; }
  .cart-row .info .p { font-size: 12px; }
  .cart-row .sum { font-size: 14px; }
  .qty button { width: 30px; height: 30px; font-size: 16px; }
  .sums { font-size: 14px; }
  .srow.total { font-size: 16px; }
  .payinfo { font-size: 12px; }
  .shop-aside label, .form label { font-size: 12px; }
  .shop-aside select, .form input, .form textarea, .form select { font-size: 15px; }
  .btn { font-size: 14px; height: 42px; }
}
/* Handy: Hauptmenü unter dem Logo kompakter */
@media (max-width: 600px) {
  .mainnav { font-size: 13px; margin-top: 14px; row-gap: 0; line-height: 1.5; }
  .mainnav a { padding: 4px 0; }
  .mainnav .sl { padding: 4px 5px 0; }
  .utils { font-size: 12px; gap: 12px; }
  .shopline { font-size: 12px; margin-top: 14px; padding: 8px 0; }
}

/* Themenseiten: Einleitungstext und Fragen (SEO, 28.09.) */
.topic-text { max-width: 780px; margin-top: 18px; font-size: 17px; line-height: 1.55; }
.topic-text p + p { margin-top: 12px; }
.topic-faq { max-width: 780px; font-size: 17px; line-height: 1.55; }
.topic-faq h2 { font-size: 22px; font-weight: 600; margin: 26px 0 8px; }
.topic-faq h2:first-child { margin-top: 0; }

/* Leseproben (HTML-Text aus den Buch-PDFs, 28.09.) */
.leseprobe .lp { max-width: 720px; margin-top: 26px; }
.lp-kopf { font-size: 15px; font-weight: 600; margin: 0 0 14px; }
.lp-text { font-size: 17px; line-height: 1.6; position: relative; }
.lp-text p { margin: 0 0 1em; }
.lp-text h3 { font-size: 24px; font-weight: 600; line-height: 1.25; margin: 0 0 22px; }
.lp-text h3 .lp-untertitel { display: block; font-size: 18px; font-weight: 500; margin-top: 6px; }
.lp-text h4 { font-size: 18px; font-weight: 600; margin: 1.6em 0 0.6em; }
.lp-text blockquote { margin: 1.2em 0 1.2em 1.6em; font-size: 16px; }
.lp-text blockquote p { margin-bottom: 0.8em; }
.lp-text .lp-motto { margin: 0 0 2em 2.4em; font-size: 16px; max-width: 460px; }
.lp-text .lp-quelle { text-align: right; font-size: 15px; }
.lp-text .lp-stern { text-align: center; letter-spacing: 0.4em; margin: 1.4em 0; }
.lp-text sup.fn { font-size: 0.68em; line-height: 0; vertical-align: super; margin-left: 1px; }
.lp-text sup.fn a { color: var(--accent); text-decoration: none; }
.lp-text .lp-fussnoten { margin: 2.4em 0 0; padding: 18px 0 0 2.2em; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.5; }
.lp-text .lp-fussnoten li { margin-bottom: 6px; padding-left: 4px; }
.lp-text .lp-fussnoten li:target { background: #fff7d6; }
.lp-text .fn-back { color: var(--accent); text-decoration: none; margin-left: 4px; }
.lp-text .lp-inhalt { list-style: none; padding: 0; margin: 0 0 2em; font-size: 16px; }
.lp-text .lp-inhalt li { display: flex; justify-content: space-between; gap: 16px; padding: 3px 0; border-bottom: 1px dotted var(--line); }
.lp-text .lp-inhalt li.l1 { font-weight: 600; margin-top: 6px; }
.lp-text .lp-inhalt li.l2 { padding-left: 1.6em; }
.lp-text .lp-inhalt .lp-seite { color: var(--ink-2); font-variant-numeric: tabular-nums; }
.lp-text figure.lp-abb { margin: 1.6em 0; }
.lp-text figure.lp-abb img { display: block; max-width: 100%; height: auto; }
.lp-text figure.lp-abb figcaption { font-size: 14px; color: var(--ink-2); margin-top: 8px; line-height: 1.45; }
.lp-text.lp-zu { max-height: 36em; overflow: hidden; }
.lp-text.lp-zu::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 9em; background: linear-gradient(rgba(255,255,255,0), #fff 85%); }
.lp-mehr { margin-top: 14px; background: var(--ink); color: #fff; border: 0; padding: 10px 18px; font: inherit; font-size: 15px; font-weight: 500; cursor: pointer; }
.lp-mehr:hover { background: var(--accent); }
.lp-pdf { margin-top: 22px; }
@media (max-width: 600px) {
  .lp-text { font-size: 15px; }
  .lp-text h3 { font-size: 21px; }
  .lp-text blockquote, .lp-text .lp-motto { margin-left: 1em; font-size: 15px; }
}

/* abgesetzter Hinweis auf Rechtstexten (z. B. Rücksendekosten, 29.09.) */
.hinweis-box { margin: 26px 0; padding: 12px 16px; background: #f5f5f2; border-left: 3px solid var(--accent); font-size: 15px; line-height: 1.55; }
/* Links im Leseprobentext (z. B. Namen mit Autorenseite) */
.lp-kopf a, .lp-text p a, .lp-text h3 a, .lp-text li a:not(.fn-back) { color: var(--accent); }
.lp-kopf a:hover, .lp-text p a:hover, .lp-text h3 a:hover { text-decoration: underline; }

/* Produktfoto auf der Buchseite (unter der Beschreibung) */
.book-photo { margin: 6px 0 0; max-width: 520px; }
.book-photo img { display: block; width: 100%; height: auto; }
.book-photo figcaption { font-size: 13px; color: var(--ink-2); margin-top: 8px; line-height: 1.45; }
.post-img figcaption { font-size: 13px; color: var(--ink-2); margin-top: 8px; line-height: 1.45; }
.book-photo.wide { max-width: 100%; }   /* Querformate, z. B. Buchrücken */
