/*
 * Trudy Cos Components
 * Regeln:
 * - Jede Regel beginnt mit einer .tc-Klasse. Keine Regeln auf body, html, a, img, Überschriften oder *.
 * - WooCommerce-Elemente werden hier nur innerhalb von .tc-books und der Kopfzeile (Konto, Mini-Warenkorb) gestaltet.
 *   Shop-, Warenkorb-, Kassen-, Konto- und Rechtsseiten gestaltet shop.css, begrenzt auf body.tc-shop.
 * - Ausnahme: Abstand des Template-Teils um .tc-footer (sonst ein heller Streifen über der Fußzeile).
 * - Farben als --tc-Variablen, nur innerhalb der Komponenten gültig.
 */

/* Schriften, lokal im Plugin. Lizenz: SIL Open Font License */
@font-face { font-family: "TC Cormorant Garamond"; font-style: normal; font-weight: 500 600; font-display: swap; src: url("../fonts/cormorant-garamond-normal.woff2") format("woff2"); }
@font-face { font-family: "TC Cormorant Garamond"; font-style: italic; font-weight: 500 600; font-display: swap; src: url("../fonts/cormorant-garamond-italic.woff2") format("woff2"); }
@font-face { font-family: "TC DM Sans"; font-style: normal; font-weight: 400 500; font-display: swap; src: url("../fonts/dm-sans-normal.woff2") format("woff2"); }

.tc-band, .tc-dossier, .tc-md, .tc-kg, .tc-header, .tc-footer, .tc-form, .tc-diary-entry {
  --tc-night: #241b22;
  --tc-plum: #382735;
  --tc-aubergine: #42283d;
  --tc-bordeaux: #653343;
  --tc-champagne: #d9c29d;
  --tc-parchment: #e9dbbb;
  --tc-parchment-2: #dcc79f;
  --tc-paper: #f4eddf;
  --tc-ivory: #f8f6f1;
  --tc-ink: #29242a;
  --tc-muted: #c9bcc4;
  --tc-muted-dark: #5b4d55;
  --tc-serif: "TC Cormorant Garamond", "Cormorant Garamond", Georgia, serif;
  --tc-sans: "TC DM Sans", "DM Sans", system-ui, sans-serif;
  --tc-type: "Courier Prime", "Courier New", monospace;
  --tc-gutter: max(20px, 5vw);
}

/* Bänder: Gruppen-Block "Volle Breite" mit .tc-band */
.tc-band {
  position: relative;
  overflow: hidden;
  margin-block: 0 !important;
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
  font-family: var(--tc-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
}
.tc-band--dark {
  color: var(--tc-ivory);
  background-color: var(--tc-night);
  background-image:
    radial-gradient(ellipse 60% 45% at 78% 22%, rgb(217 194 157 / 0.10), transparent 70%),
    radial-gradient(ellipse 90% 70% at 30% 10%, rgb(66 40 61 / 0.9), transparent 75%),
    radial-gradient(ellipse at 50% 120%, rgb(0 0 0 / 0.55), transparent 60%);
}
.tc-band--light { color: var(--tc-ink); background: var(--tc-ivory); }

.tc-band .tc-inner { box-sizing: border-box; max-width: 76rem; margin-inline: auto; padding-inline: var(--tc-gutter); }
.tc-band :where(h1, h2, h3) { margin: 0; font-family: var(--tc-serif); font-weight: 500; line-height: 1.05; text-wrap: balance; letter-spacing: normal; text-transform: none; }
.tc-band--dark :where(h1, h2, h3) { color: var(--tc-ivory); }
.tc-band--light :where(h1, h2, h3) { color: var(--tc-plum); }
.tc-band :where(p) { margin: 0 0 1em; }
.tc-band :focus-visible { outline: 2px solid var(--tc-bordeaux); outline-offset: 3px; }
.tc-band--dark :focus-visible { outline-color: var(--tc-champagne); }
.tc-band :where(img) { max-width: 100%; height: auto; }

/* Kleine Versalzeile */
.tc-band .tc-label { margin: 0 0 1rem; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; }
.tc-band--dark .tc-label { color: var(--tc-champagne); }
.tc-band--light .tc-label { color: var(--tc-bordeaux); }

/* Kopf eines Abschnitts: Titel links, Einleitung rechts */
.tc-band .tc-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.tc-band .tc-head h2 { font-size: clamp(2.3rem, 1.6rem + 2.6vw, 3.8rem); }
.tc-band .tc-head > :last-child:not(:first-child) { max-width: 26rem; margin: 0; font-size: 0.9375rem; }
.tc-band--dark .tc-head > :last-child:not(:first-child) { color: var(--tc-muted); }
.tc-band--light .tc-head > :last-child:not(:first-child) { color: var(--tc-muted-dark); }

/* Redaktionshinweis: vor dem Launch löschen */
.tc-band .tc-todo { display: inline-block; margin-top: 1rem; padding: 0.45rem 0.75rem; border: 1px dashed currentColor; font-size: 0.875rem; line-height: 1.45; }
.tc-band--dark .tc-todo { color: var(--tc-champagne); }
.tc-band--light .tc-todo, .tc-band .tc-paper .tc-todo { color: var(--tc-bordeaux); }

/* Buttons: Button-Block mit Klasse tc-btn bzw. tc-btn tc-btn--line */
.tc-band .tc-btn .wp-block-button__link {
  box-sizing: border-box; display: inline-block; min-height: 44px; padding: 0.95rem 1.5rem; border: 1px solid transparent; border-radius: 0;
  font-family: var(--tc-sans); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none;
  transition: background-color 0.2s;
}
.tc-band--dark .tc-btn .wp-block-button__link { background: var(--tc-champagne); color: var(--tc-night); }
.tc-band--dark .tc-btn .wp-block-button__link:hover { background: var(--tc-ivory); }
.tc-band--light .tc-btn .wp-block-button__link { background: var(--tc-plum); color: var(--tc-ivory); }
.tc-band--light .tc-btn .wp-block-button__link:hover { background: var(--tc-bordeaux); }
.tc-band .tc-btn--line .wp-block-button__link { background: transparent; }
.tc-band--dark .tc-btn--line .wp-block-button__link { color: var(--tc-champagne); border-color: rgb(217 194 157 / 0.6); }
.tc-band--dark .tc-btn--line .wp-block-button__link:hover { background: rgb(217 194 157 / 0.12); }
.tc-band--light .tc-btn--line .wp-block-button__link { color: var(--tc-plum); border-color: var(--tc-plum); }
.tc-band--light .tc-btn--line .wp-block-button__link:hover { background: rgb(56 39 53 / 0.08); }
.tc-band .tc-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }

/* Papier */
.tc-band .tc-paper { color: var(--tc-ink); background: linear-gradient(170deg, var(--tc-paper), #e9dfcb); box-shadow: 0 18px 40px rgb(0 0 0 / 0.35); }
.tc-band .tc-paper--aged { background: linear-gradient(165deg, var(--tc-parchment), var(--tc-parchment-2)); }
.tc-band .tc-paper :where(h2, h3) { color: var(--tc-plum); }
.tc-band .tc-stamp { align-self: flex-start; margin: 0; padding: 0.15rem 0.5rem; border: 1.5px solid var(--tc-bordeaux); color: var(--tc-bordeaux); font-size: 0.6875rem; letter-spacing: 0.16em; text-transform: uppercase; transform: rotate(-3deg); }

/* ---------- Hero ---------- */
.tc-hero .tc-hero__grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 62rem) { .tc-hero .tc-hero__grid { grid-template-columns: 1.25fr 0.75fr; } }
.tc-hero h1 { font-size: clamp(3.4rem, 2rem + 6.4vw, 7.6rem); line-height: 0.95; letter-spacing: -0.01em; }
.tc-hero h1 em { font-style: italic; color: var(--tc-champagne); }
.tc-hero .tc-hero__teaser { max-width: 32rem; margin-top: 2rem; font-size: 1.125rem; color: #e6dde2; }
.tc-hero .tc-hero__byline { display: flex; align-items: center; gap: 1rem; margin-top: 2.5rem; font-family: var(--tc-serif); font-size: 1.35rem; color: #e6dde2; }
.tc-hero .tc-hero__byline::before { content: ""; width: 2.5rem; height: 1px; background: var(--tc-champagne); }
.tc-hero .tc-hero__visual { position: relative; display: grid; place-items: center; min-height: 26rem; }
.tc-hero .tc-hero__photo { position: absolute; inset: -2rem -2rem auto -2rem; height: 70%; margin: 0; z-index: 0; }
.tc-hero .tc-hero__photo img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; filter: saturate(0.8);
  /* Weicher Rand ringsum: Ellipse geschnitten mit einem Verlauf oben, sonst bleibt die Oberkante hart */
  -webkit-mask-image: radial-gradient(ellipse 62% 60% at 55% 45%, #000 45%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 22%), linear-gradient(to right, transparent 0, #000 18%, #000 85%, transparent 100%);
  -webkit-mask-composite: source-in, source-in;
  mask-image: radial-gradient(ellipse 62% 60% at 55% 45%, #000 45%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 22%), linear-gradient(to right, transparent 0, #000 18%, #000 85%, transparent 100%);
  mask-composite: intersect, intersect; }
.tc-hero .tc-hero__visual .tc-dossier { position: relative; z-index: 1; margin-top: 8rem; }

/* Die Akte (HTML-Block, dekorativ) */
.tc-dossier {
  box-sizing: border-box; justify-self: center; width: min(100%, 22rem); aspect-ratio: 3 / 4; transform: rotate(4deg);
  display: flex; flex-direction: column; align-items: center; justify-content: space-between; text-align: center;
  padding: 2.25rem 1.75rem; color: var(--tc-ink);
  background: linear-gradient(160deg, #e7d6b2, #cfb98e);
  box-shadow: 0 30px 60px rgb(0 0 0 / 0.55), 0 4px 10px rgb(0 0 0 / 0.3);
  outline: 1px solid rgb(41 36 42 / 0.25); outline-offset: -12px;
}
.tc-dossier__seal { width: 4.5rem; aspect-ratio: 1; background: var(--tc-bordeaux);
  -webkit-mask: url("../img/siegel.png") no-repeat center / contain; mask: url("../img/siegel.png") no-repeat center / contain; }
.tc-dossier__small { font-family: var(--tc-serif); font-size: 0.95rem; letter-spacing: 0.22em; text-transform: uppercase; }
.tc-dossier__title { font-family: var(--tc-serif); font-size: clamp(1.7rem, 1.3rem + 1.2vw, 2.2rem); line-height: 1.05; letter-spacing: 0.04em; text-transform: uppercase; }
.tc-dossier__stamp { padding: 0.25rem 0.75rem; border: 1.5px solid var(--tc-bordeaux); color: var(--tc-bordeaux); font-family: var(--tc-serif); font-size: 0.95rem; letter-spacing: 0.18em; text-transform: uppercase; transform: rotate(-3deg); }
@media (prefers-reduced-motion: no-preference) {
  .tc-dossier { animation: tc-settle 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.2s both; }
  @keyframes tc-settle { from { transform: rotate(9deg) translateY(1.5rem); } to { transform: rotate(4deg); } }
}

/* Faktenleiste: Listen-Block mit Klasse tc-facts */
.tc-band .tc-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem 2rem; list-style: none; margin: 3rem 0 0; padding: 0; color: var(--tc-muted); font-size: 0.8125rem; letter-spacing: 0.06em; }
.tc-band .tc-facts li::before { content: "✦"; margin-right: 0.5rem; color: var(--tc-champagne); }

/* ---------- Bücher: WooCommerce-Block "Product Collection" mit Klasse tc-books ---------- */
.tc-books .wc-block-product-template.wc-block-product-template {
  display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); grid-auto-rows: 1fr;
  list-style: none; margin: 0; padding: 0;
}
.tc-books .wc-block-product {
  box-sizing: border-box; width: auto !important; max-width: none !important; margin: 0 !important;
  display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); align-content: start; gap: 0.6rem 1.1rem;
  padding: 1.6rem 1.5rem 1.5rem; text-align: left;
  background: linear-gradient(165deg, var(--tc-parchment), var(--tc-parchment-2)); color: var(--tc-ink);
  box-shadow: 0 14px 34px rgb(56 39 53 / 0.18), 0 2px 6px rgb(56 39 53 / 0.12);
  transform: rotate(-0.6deg); transition: transform 0.25s ease;
}
.tc-books .wc-block-product:nth-child(even) { background: linear-gradient(165deg, var(--tc-aubergine), var(--tc-plum)); color: var(--tc-ivory); transform: rotate(0.5deg); }
.tc-books .wc-block-product:hover { transform: rotate(0) translateY(-4px); }
.tc-books .wc-block-product > * { grid-column: 2; margin: 0 !important; }
/* Cover links als eingelegtes Foto */
.tc-books .wc-block-product > :where(.wc-block-components-product-image, .wp-block-woocommerce-product-image) {
  grid-column: 1; grid-row: 1 / span 5; align-self: start; position: relative;
  padding: 0.3rem; background: #f8f6f1; box-shadow: 0 6px 14px rgb(0 0 0 / 0.3); transform: rotate(-2.5deg);
}
.tc-books .wc-block-product > :where(.wc-block-components-product-image, .wp-block-woocommerce-product-image)::before {
  content: ""; position: absolute; z-index: 1; top: -0.7rem; left: 1.1rem; width: 0.7rem; height: 2.1rem;
  border: 2px solid #9a9aa0; border-radius: 0.4rem; transform: rotate(4deg);
}
.tc-books .wc-block-product img { display: block; width: 100%; height: auto; aspect-ratio: 124 / 190; object-fit: cover; }
.tc-books .wc-block-product :where(.wp-block-post-title, .wc-block-components-product-name) { font-family: var(--tc-serif); font-weight: 500; font-size: 1.75rem; line-height: 1.05; color: var(--tc-plum); text-decoration: none; }
.tc-books .wc-block-product:nth-child(even) :where(.wp-block-post-title, .wc-block-components-product-name) { color: var(--tc-champagne); }
.tc-books .wc-block-product :where(.wp-block-post-title a) { color: inherit; text-decoration: none; }
.tc-books .wc-block-product :where(.wc-block-components-product-summary, .wp-block-woocommerce-product-summary) { font-family: var(--tc-type); font-size: 0.875rem; line-height: 1.65; hyphens: auto; overflow-wrap: break-word; }
.tc-books .wc-block-product :where(.wc-block-components-product-price) { font-family: var(--tc-sans); font-size: 0.9375rem; font-weight: 500; }
.tc-books .wc-block-product :where(.wp-block-button__link, .wc-block-components-product-button__button) {
  display: inline-block; min-height: 40px; padding: 0.55rem 0.9rem; border: 0; border-radius: 0;
  background: var(--tc-plum); color: var(--tc-ivory); font-family: var(--tc-sans); font-size: 0.75rem; letter-spacing: 0.08em; text-decoration: none;
}
.tc-books .wc-block-product:nth-child(even) :where(.wp-block-button__link, .wc-block-components-product-button__button) { background: var(--tc-champagne); color: var(--tc-plum); }
@media (max-width: 22rem) { .tc-books .wc-block-product { grid-template-columns: 5rem minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .tc-books .wc-block-product { transition: none; } }

/* ---------- Bücher als feste Akten (Vorlage "Bücher als Fallakten", ohne WooCommerce) ---------- */
.tc-band .tc-files {
  display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr));
  margin: 0 0 1.5rem;
}
/* Gleich hohe Akten nur, wenn mehrere nebeneinander stehen. Auf dem Smartphone so hoch wie der Inhalt */
@media (min-width: 40rem) { .tc-band .tc-files { grid-auto-rows: 1fr; } }
.tc-band .tc-files > * { margin: 0 !important; }
.tc-band .tc-file {
  box-sizing: border-box; position: relative; display: flex; flex-direction: column; min-height: 22rem;
  padding: 1.75rem 1.5rem 1.5rem; color: var(--tc-ink);
  background: linear-gradient(165deg, var(--tc-parchment), var(--tc-parchment-2));
  box-shadow: 0 14px 34px rgb(56 39 53 / 0.18), 0 2px 6px rgb(56 39 53 / 0.12);
  transform: rotate(-0.6deg); transition: transform 0.25s ease;
}
.tc-band .tc-files > .tc-file:nth-child(even) { background: linear-gradient(165deg, var(--tc-aubergine), var(--tc-plum)); color: var(--tc-ivory); transform: rotate(0.5deg); }
.tc-band .tc-file:hover, .tc-band .tc-file:focus-within { transform: rotate(0) translateY(-4px); }
.tc-band .tc-file :where(.tc-file__series, .tc-file__body, .tc-file__text, .tc-file__foot, .tc-file__cover, .tc-file__typed, .tc-file__meta, .tc-file__tab, h3) { margin: 0; }
.tc-band .tc-file__series {
  padding-bottom: 0.75rem; border-bottom: 1px solid rgb(41 36 42 / 0.25); text-align: center;
  font-family: var(--tc-serif); font-size: 0.95rem; letter-spacing: 0.24em; text-transform: uppercase;
}
.tc-band .tc-file__body { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 1.1rem; align-items: start; flex: 1; margin-top: 1.4rem !important; }
.tc-band .tc-file__text { min-width: 0; }
.tc-band .tc-file h3 { margin: 0 0 0.75rem; font-size: 1.9rem; color: var(--tc-plum); }
.tc-band .tc-file__typed { font-family: var(--tc-type); font-size: 0.875rem; line-height: 1.65; hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
/* Cover als eingelegtes Foto mit Büroklammer */
.tc-band .tc-file__cover {
  position: relative; box-sizing: border-box; aspect-ratio: 124 / 190; padding: 0.3rem; background: #f8f6f1;
  box-shadow: 0 6px 14px rgb(0 0 0 / 0.3); transform: rotate(-2.5deg);
}
.tc-band .tc-file__cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tc-band .tc-file__cover::before {
  content: ""; position: absolute; z-index: 1; top: -0.7rem; left: 1.1rem; width: 0.7rem; height: 2.1rem;
  border: 2px solid #9a9aa0; border-radius: 0.4rem; transform: rotate(4deg);
}
.tc-band .tc-file__foot { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; margin-top: 1.25rem !important; }
.tc-band .tc-file__tab .wp-block-button__link {
  display: inline-block; padding: 0.35rem 0.7rem; border: 0; border-radius: 0;
  background: var(--tc-plum); color: var(--tc-ivory); font-family: var(--tc-sans); font-size: 0.75rem; font-weight: 400; letter-spacing: 0.08em; line-height: 1.5; text-decoration: none;
}
.tc-band .tc-file__meta { font-size: 0.8125rem; color: var(--tc-muted-dark); }
.tc-band .tc-file--eton .tc-file__tab .wp-block-button__link { background: #26463d; color: var(--tc-ivory); }
/* Ganze Akte klickbar, nur auf der Website, nicht im Editor */
.tc-band .tc-file:not(.block-editor-block-list__block) .tc-file__tab .wp-block-button__link::after { content: ""; position: absolute; inset: 0; z-index: 2; }
/* Dunkle Akten */
.tc-band .tc-files > .tc-file:nth-child(even) .tc-file__series { border-bottom-color: rgb(217 194 157 / 0.35); color: var(--tc-champagne); }
.tc-band .tc-files > .tc-file:nth-child(even) h3 { color: var(--tc-champagne); }
.tc-band .tc-files > .tc-file:nth-child(even) .tc-file__typed { color: #eadfe6; }
.tc-band .tc-files > .tc-file:nth-child(even) .tc-file__meta { color: var(--tc-muted); }
.tc-band .tc-files > .tc-file:nth-child(even) .tc-file__tab .wp-block-button__link { background: var(--tc-champagne); color: var(--tc-plum); }
@media (max-width: 22rem) { .tc-band .tc-file__body { grid-template-columns: 5rem minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .tc-band .tc-file { transition: none; } }

/* ---------- Buchseite: weiße Akte auf verschwommenem Lila (Vorlagen "Buchseite · …", Wunsch Martin 18.11.2026, ersetzt Variante B) ---------- */
/* Gilt für .tc-book-band unabhängig von --dark/--light, damit auch schon angelegte Seiten umgestellt werden */
.tc-band.tc-book-band, .tc-band.tc-puzzle-band, .tc-band.tc-pf-band, .tc-band.tc-diary-band, .tc-band.tc-contact-band, .tc-band.tc-bio-life-band, .tc-band.tc-diary-list-band {
  color: var(--tc-ink);
  background-color: #4b3348;
  background-image:
    radial-gradient(ellipse 55% 50% at 18% 18%, rgb(150 104 140 / 0.75), transparent 70%),
    radial-gradient(ellipse 50% 60% at 85% 75%, rgb(101 51 67 / 0.85), transparent 70%),
    radial-gradient(ellipse 45% 40% at 70% 15%, rgb(217 194 157 / 0.22), transparent 70%),
    radial-gradient(ellipse 60% 50% at 30% 95%, rgb(36 27 34 / 0.6), transparent 70%),
    linear-gradient(160deg, #5a3c55, #3a2837);
}
.tc-band.tc-book-band :focus-visible { outline-color: var(--tc-champagne); }
.tc-band.tc-book-band .tc-book :focus-visible { outline-color: var(--tc-bordeaux); }
.tc-band .tc-book {
  box-sizing: border-box; display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: start;
  max-width: 64rem; margin-inline: auto; padding: clamp(1.75rem, 5vw, 3.5rem);
  background: #fff; box-shadow: 0 30px 70px rgb(20 10 18 / 0.45), 0 4px 12px rgb(20 10 18 / 0.25);
  transform: rotate(-0.4deg);
}
@media (min-width: 48rem) { .tc-band .tc-book { grid-template-columns: minmax(12rem, 0.75fr) 1.5fr; } }
.tc-band .tc-book > * { margin: 0 !important; }
.tc-band .tc-book__cover {
  position: relative; box-sizing: border-box; justify-self: center; width: min(100%, 17rem); margin: 0;
  padding: 0.45rem; background: #f8f6f1; box-shadow: 0 14px 30px rgb(0 0 0 / 0.35); transform: rotate(-2.5deg);
}
.tc-band .tc-book__cover img { display: block; width: 100%; height: auto; aspect-ratio: 124 / 190; object-fit: cover; }
.tc-band .tc-book__cover::before {
  content: ""; position: absolute; z-index: 1; top: -1rem; left: 1.6rem; width: 0.95rem; height: 2.9rem;
  border: 2px solid #9a9aa0; border-radius: 0.5rem; transform: rotate(4deg);
}
.tc-band .tc-book__text { min-width: 0; }
.tc-band .tc-book__text > * { margin-block: 0 1.25rem; }
.tc-band .tc-book .tc-label { color: var(--tc-bordeaux); }
.tc-band .tc-book h1 { font-size: clamp(2.4rem, 1.6rem + 3vw, 3.8rem); color: var(--tc-plum); }
.tc-band .tc-book__synopsis { max-width: 38rem; font-family: var(--tc-type); font-size: 0.9375rem; line-height: 1.8; hyphens: auto; -webkit-hyphens: auto; }
.tc-band .tc-book__facts {
  display: grid; gap: 0.35rem 1.5rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 13rem), 1fr));
  margin: 1.75rem 0 !important; padding: 1rem 0 0 !important; border-top: 1px solid rgb(41 36 42 / 0.25);
  list-style: none; font-size: 0.875rem;
}
.tc-band .tc-book__facts li { margin: 0; }
.tc-band .tc-book__facts strong { display: block; font-family: var(--tc-serif); font-size: 0.85rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--tc-muted-dark); }
.tc-band .tc-book .tc-btn--line .wp-block-button__link { color: var(--tc-plum); border-color: var(--tc-plum); }
@media (prefers-reduced-motion: reduce) { .tc-band .tc-book { transform: none; } }

/* ---------- Rätselecke-Seite (Vorlage "Rätselecke-Seite") ---------- */
.tc-band.tc-puzzle-head { padding-block: clamp(3rem, 7vw, 5.5rem) clamp(2.5rem, 5vw, 4rem); }
.tc-band.tc-puzzle-head h1 { font-size: clamp(2.8rem, 1.8rem + 4vw, 5.2rem); }
.tc-band.tc-puzzle-head h1 em { font-style: italic; color: var(--tc-champagne); }
.tc-band .tc-puzzle-head__intro { max-width: 36rem; margin-top: 1.5rem; color: #e6dde2; }
.tc-band .tc-puzzle-slot { scroll-margin-top: 2rem; }
.tc-band .tc-puzzle-slot + .tc-puzzle-slot { margin-top: clamp(2.5rem, 6vw, 4.5rem) !important; }
.tc-band.tc-puzzle-band .tc-todo { margin-top: 2rem; color: var(--tc-champagne); }
.tc-band.tc-puzzle-band .tc-inner { max-width: 86rem; }

/* ---------- Rätselecke-Teaser auf der Startseite (Vorlage "Rätselecke-Teaser") ---------- */
.tc-band .tc-cases { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr)); margin: 0 0 2rem; }
.tc-band .tc-cases > * { margin: 0 !important; }
.tc-band .tc-case { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.4rem; padding: clamp(1.25rem, 3vw, 1.75rem); transition: transform 0.25s ease; }
.tc-band .tc-cases > .tc-case:nth-child(odd) { transform: rotate(-0.5deg); }
.tc-band .tc-cases > .tc-case:nth-child(even) { transform: rotate(0.45deg); }
.tc-band .tc-case:hover, .tc-band .tc-case:focus-within { transform: rotate(0) translateY(-4px); }
@media (min-width: 40rem) { .tc-band .tc-case { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; } }
.tc-band .tc-case__body > * { margin: 0 0 0.8rem; }
.tc-band .tc-case__no { font-family: var(--tc-serif); font-size: 0.95rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--tc-bordeaux); }
.tc-band .tc-case h3 { font-size: clamp(1.8rem, 1.4rem + 1vw, 2.3rem); color: var(--tc-plum); }
.tc-band .tc-case p { font-size: 0.95rem; }
.tc-band .tc-case .tc-case__meta { font-size: 0.8125rem; color: var(--tc-muted-dark); }
.tc-band .tc-case .tc-actions { margin: 0.4rem 0 0; }
.tc-band .tc-case:not(.block-editor-block-list__block) .tc-btn .wp-block-button__link::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.tc-band .tc-case .tc-btn .wp-block-button__link { background: var(--tc-plum); color: var(--tc-ivory); }
@media (prefers-reduced-motion: reduce) { .tc-band .tc-case { transition: none; } }

/* Mini-Grundriss mit Möbeln */
.tc-band .tc-miniplan { display: grid; grid-template-columns: repeat(6, 1fr); aspect-ratio: 1; border: 3px solid var(--tc-plum); background: var(--tc-plum); box-shadow: 0 10px 22px rgb(56 39 53 / 0.2); }
.tc-band .tc-miniplan > span { position: relative; display: grid; place-items: center; border-right: 1px solid rgb(56 39 53 / 0.14); border-bottom: 1px solid rgb(56 39 53 / 0.14); }
.tc-band .tc-miniplan > span.is-wr { border-right: 3px solid var(--tc-plum); }
.tc-band .tc-miniplan > span.is-wb { border-bottom: 3px solid var(--tc-plum); }
.tc-band .tc-miniplan svg { width: 62%; height: 62%; color: var(--tc-plum); opacity: 0.6; }
.tc-band .tc-miniplan i { position: absolute; z-index: 1; top: 3px; left: 4px; max-width: calc(var(--span, 1) * 100% - 8px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-style: normal; font-family: var(--tc-sans); font-size: clamp(0.42rem, 0.32rem + 0.25vw, 0.5rem); font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase; color: var(--tc-plum); opacity: 0.8; line-height: 1; }

/* Postkarte mit Geheimschrift */
.tc-band .tc-cipher { position: relative; display: block; padding: 1.1rem 1rem 1.2rem; border: 1px solid rgb(56 39 53 / 0.18);
  background: linear-gradient(170deg, #fbf6ea, #f1e6cf); box-shadow: 0 10px 22px rgb(56 39 53 / 0.2); }
.tc-band .tc-cipher__stamp { position: absolute; top: 0.7rem; right: 0.7rem; display: grid; place-items: center; width: 2.8rem; height: 3.3rem; padding: 3px; background: var(--tc-bordeaux);
  outline: 2px dashed #fbf6ea; outline-offset: -4px; transform: rotate(3deg); font-family: var(--tc-serif); font-size: 0.5rem; letter-spacing: 0.06em; line-height: 1.1; text-align: center; text-transform: uppercase; color: #fbf6ea; }
.tc-band .tc-cipher__postmark { display: block; min-height: 3rem; margin-bottom: 0.6rem; padding-right: 3.5rem; font-family: var(--tc-serif); font-style: italic; font-size: 0.85rem; color: var(--tc-muted-dark); }
.tc-band .tc-cipher__text { display: flex; flex-wrap: wrap; gap: 0.7rem 0.9rem; }
.tc-band .tc-cipher__word { display: inline-flex; flex-direction: column; }
.tc-band .tc-cipher__plain { display: flex; gap: 2px; }
.tc-band .tc-cipher__plain b { display: inline-block; width: 1.05rem; border-bottom: 2px solid var(--tc-plum); font-family: var(--tc-serif); font-size: 1.05rem; font-weight: 600; line-height: 1.3; text-align: center; color: var(--tc-plum); }
.tc-band .tc-cipher__code { display: flex; gap: 2px; margin-top: 3px; }
.tc-band .tc-cipher__code em { width: 1.05rem; font-family: var(--tc-type); font-size: 0.72rem; font-style: normal; line-height: 1; text-align: center; color: var(--tc-bordeaux); }
.tc-band .tc-cipher__more { align-self: flex-end; font-family: var(--tc-serif); font-size: 1.2rem; color: var(--tc-plum); }

/* ---------- Figurenwelt: Personalakten (Vorlagen "Figurenwelt-Seite" und "The Private Files (Akten)") ---------- */
.tc-band.tc-pf-head { padding-block: clamp(3rem, 7vw, 5.5rem) clamp(2rem, 4vw, 3rem); }
.tc-band.tc-pf-head h1 { font-size: clamp(2.8rem, 1.8rem + 4vw, 5.2rem); }
.tc-band.tc-pf-head h1 em { font-style: italic; color: var(--tc-champagne); }
.tc-band .tc-pf-head__intro { max-width: 38rem; margin-top: 1.5rem; color: #e6dde2; }
.tc-band .tc-pf-az { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 2rem; }
.tc-band .tc-pf-az > * { display: inline-grid; place-items: center; width: 2.2rem; height: 2.4rem; font-family: var(--tc-serif); font-size: 1.15rem; line-height: 1; }
.tc-band .tc-pf-az a { background: var(--tc-parchment); color: var(--tc-plum); text-decoration: none; box-shadow: 0 2px 0 rgb(0 0 0 / 0.25); }
.tc-band .tc-pf-az a:hover { background: var(--tc-champagne); }
.tc-band .tc-pf-az span { border: 1px solid rgb(217 194 157 / 0.25); color: rgb(217 194 157 / 0.35); }

/* Filter Windsor / Eton ohne JavaScript */
.tc-band .tc-pf-filter { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 2.5rem; }
.tc-band .tc-pf-filter input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.tc-band .tc-pf-filter label { padding: 0.55rem 1.1rem 0.5rem; border: 1px solid rgb(217 194 157 / 0.5); color: var(--tc-champagne); font-family: var(--tc-sans); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; cursor: pointer; }
.tc-band .tc-pf-filter input:checked + label { background: var(--tc-champagne); border-color: var(--tc-champagne); color: var(--tc-plum); }
.tc-band .tc-pf-filter input:focus-visible + label { outline: 2px solid var(--tc-champagne); outline-offset: 3px; }
.tc-band.tc-pf-band:has(#tc-pf-windsor:checked) .tc-pf:not(.tc-pf--windsor),
.tc-band.tc-pf-band:has(#tc-pf-eton:checked) .tc-pf:not(.tc-pf--eton) { display: none; }

/* Register: alle Akten in einem Raster, Buchstabe als Reiter */
.tc-band.tc-pf-band .tc-inner { max-width: 84rem; }
.tc-band .tc-pf-register > * { margin: 0 !important; }
.tc-band .tc-pf-grid { display: grid; gap: 3.25rem 1.75rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr)); padding-top: 1.4rem; }
.tc-band .tc-pf-grid > * { margin: 0 !important; }
@media (min-width: 52rem) { .tc-band .tc-pf-grid--teaser { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 100rem) { .tc-band .tc-pf-grid--teaser { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tc-band.tc-pf-band--teaser .tc-pf-grid { margin-bottom: 2rem !important; }

/* Personalakte */
.tc-band .tc-pf { position: relative; display: flex; flex-direction: column; gap: 1rem; padding: 1.6rem 1.4rem 1.4rem; color: var(--tc-ink);
  background: linear-gradient(165deg, var(--tc-parchment), var(--tc-parchment-2)); box-shadow: 0 18px 36px rgb(20 10 18 / 0.35), 0 3px 8px rgb(20 10 18 / 0.2);
  transform: rotate(-0.5deg); transition: transform 0.25s ease; }
.tc-band .tc-pf-grid > .tc-pf:nth-child(even) { transform: rotate(0.6deg); }
.tc-band .tc-pf:hover { transform: rotate(0) translateY(-3px); }
.tc-band .tc-pf > * { margin: 0 !important; }
.tc-band .tc-pf.is-victim { background: linear-gradient(165deg, #e6ddd0, #d6cab7); }
.tc-band .tc-pf__head { display: grid; grid-template-columns: 4.6rem minmax(0, 1fr); gap: 1rem; align-items: start; }
.tc-band .tc-pf__head > *, .tc-band .tc-pf__id > * { margin: 0 !important; }
/* Reiter der Aktenmappe mit Registerbuchstabe */
.tc-band .tc-pf { scroll-margin-top: 3rem; }
.tc-band .tc-pf__tab { position: absolute; top: -1.55rem; left: 1rem; min-width: 3.2rem; padding: 0.3rem 0.9rem 0.2rem; background: var(--tc-parchment); border-radius: 5px 5px 0 0;
  font-family: var(--tc-serif); font-size: 1.2rem; line-height: 1.05; text-align: center; color: var(--tc-plum); }
.tc-band .tc-pf.is-victim .tc-pf__tab { background: #e6ddd0; }
.tc-band .tc-pf__no { display: inline-block; margin: 0 0 0.45rem !important; font-family: var(--tc-type); font-size: 0.72rem; letter-spacing: 0.08em; color: var(--tc-muted-dark); }
.tc-band .tc-pf h3 { font-size: clamp(1.6rem, 1.3rem + 0.8vw, 2rem); line-height: 1; color: var(--tc-plum); }
.tc-band .tc-pf__alias { margin-top: 0.3rem !important; font-family: var(--tc-serif); font-style: italic; font-size: 1.05rem; color: var(--tc-bordeaux); }
.tc-band .tc-pf__meta { margin-top: 0.45rem !important; font-family: var(--tc-type); font-size: 0.72rem; line-height: 1.4; color: var(--tc-muted-dark); }
.tc-band .tc-pf__text { font-family: var(--tc-type); font-size: 0.875rem; line-height: 1.65; hyphens: auto; -webkit-hyphens: auto; }
.tc-band .tc-pf__books { padding-top: 0.75rem; border-top: 1px dashed rgb(41 36 42 / 0.3); font-size: 0.8125rem; line-height: 1.6; }
.tc-band .tc-pf__books strong { font-weight: 600; letter-spacing: 0.04em; }
.tc-band .tc-pf__books a { color: var(--tc-bordeaux); text-decoration: underline; text-underline-offset: 2px; }
/* Fahndungsfoto als Platzhalter: Silhouette mit Initialen und Büroklammer */
.tc-band .tc-pf__photo { position: relative; display: grid; justify-items: center; align-content: end; aspect-ratio: 4 / 5; padding: 0.3rem 0.3rem 0.25rem;
  background: linear-gradient(180deg, #ece7df, #d9d2c6); border: 3px solid #f8f6f1; box-shadow: 0 6px 14px rgb(0 0 0 / 0.25); transform: rotate(-3deg); }
.tc-band .tc-pf__photo::before { content: ""; position: absolute; z-index: 1; top: -0.75rem; left: 0.9rem; width: 0.6rem; height: 1.8rem; border: 2px solid #9a9aa0; border-radius: 0.35rem; transform: rotate(5deg); }
.tc-band .tc-pf__sil { width: 78%; fill: var(--tc-plum); opacity: 0.32; }
.tc-band .tc-pf__photo span { width: 100%; padding-top: 2px; background: #f8f6f1; font-family: var(--tc-type); font-size: 0.7rem; letter-spacing: 0.12em; text-align: center; color: var(--tc-plum); }
/* Stempel */
/* Stempel quer über dem Fahndungsfoto */
.tc-band .tc-pf__stamp { position: absolute; top: 3.6rem; left: 0.85rem; z-index: 3; padding: 0.12rem 0.35rem; border: 2px solid #26463d; color: #26463d; background: rgb(233 219 187 / 0.55);
  font-family: var(--tc-sans); font-size: 0.56rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; transform: rotate(-14deg); opacity: 0.9; pointer-events: none; }
.tc-band .tc-pf__stamp.is-victim { border-color: var(--tc-bordeaux); color: var(--tc-bordeaux); }
@media (prefers-reduced-motion: reduce) { .tc-band .tc-pf { transition: none; } }

/* ---------- Kopfzeile (Vorlage "Kopfzeile", Template-Teil Header) ---------- */
.tc-header { margin-block: 0 !important; padding-block: clamp(0.9rem, 2vw, 1.4rem); background: var(--tc-night); color: var(--tc-ivory); font-family: var(--tc-sans); }
.tc-header .tc-header__inner { box-sizing: border-box; display: flex; align-items: center; justify-content: space-between; gap: 1rem clamp(0.5rem, 2vw, 2rem); flex-wrap: nowrap;
  max-width: 82rem; margin-inline: auto; padding-inline: var(--tc-gutter); }
.tc-header .tc-header__inner > * { margin: 0 !important; }
.tc-header .tc-wordmark { display: block; flex: none; width: clamp(9rem, 15vw, 11.5rem); aspect-ratio: 1400 / 253; background: var(--tc-champagne);
  -webkit-mask: url("../img/wortmarke.png") no-repeat left center / contain; mask: url("../img/wortmarke.png") no-repeat left center / contain; }
.tc-header .tc-wordmark:hover { background: var(--tc-ivory); }
.tc-header .tc-wordmark:focus-visible { outline: 2px solid var(--tc-champagne); outline-offset: 4px; }
/* Menüpunkte */
.tc-header .tc-nav { gap: 0.25rem clamp(0.7rem, 1.3vw, 1.6rem); font-family: var(--tc-sans); }
.tc-header .tc-nav .wp-block-navigation-item__content { padding-block: 0.6rem; color: var(--tc-muted); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase; text-decoration: none; }
.tc-header .tc-nav .wp-block-navigation-item__content:hover,
.tc-header .tc-nav .current-menu-item > .wp-block-navigation-item__content { color: var(--tc-champagne); }
.tc-header .tc-nav .wp-block-navigation-item__content:focus-visible { outline: 2px solid var(--tc-champagne); outline-offset: 3px; }
/* Handymenü */
.tc-header .tc-nav .wp-block-navigation__responsive-container-open { padding: 0.55rem 0.7rem; border: 1px solid rgb(217 194 157 / 0.5); color: var(--tc-champagne); }
.tc-header .tc-nav.wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open { padding: 1.5rem var(--tc-gutter) 2rem; background-color: var(--tc-night); color: var(--tc-ivory); }
.tc-header .tc-nav.wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open :is(.wp-block-navigation__responsive-container-content, .wp-block-navigation__container) { align-items: flex-start; justify-content: flex-start; }
.tc-header .tc-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { padding-block: 0.65rem; color: var(--tc-ivory);
  font-family: var(--tc-serif); font-size: 1.7rem; font-weight: 500; letter-spacing: normal; text-transform: none; }
.tc-header .tc-nav .wp-block-navigation__responsive-container-close { color: var(--tc-champagne); }
/* Konto und Mini-Warenkorb: WooCommerce hängt beide Blöcke hinter das Menü. Sie bleiben in derselben Zeile (ab 0.2.0) */
.tc-header .tc-nav { flex: 1 1 auto; min-width: 0; }
.tc-header :is(.wp-block-woocommerce-customer-account, .wp-block-woocommerce-mini-cart) { flex: none; color: var(--tc-champagne); font-family: var(--tc-sans); }
.tc-header .wp-block-woocommerce-customer-account + .wp-block-woocommerce-mini-cart { margin-left: calc(-1 * clamp(0.25rem, 1vw, 1.25rem)) !important; }
.tc-header .wp-block-woocommerce-customer-account a,
.tc-header .wc-block-mini-cart__button { box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0.5rem;
  border: 0; background: transparent; color: var(--tc-champagne) !important; text-decoration: none; cursor: pointer; }
.tc-header .wp-block-woocommerce-customer-account a:hover,
.tc-header .wc-block-mini-cart__button:hover { color: var(--tc-ivory) !important; }
.tc-header .wp-block-woocommerce-customer-account a:focus-visible,
.tc-header .wc-block-mini-cart__button:focus-visible { outline: 2px solid var(--tc-champagne); outline-offset: 2px; }
.tc-header :is(.wp-block-woocommerce-customer-account, .wc-block-mini-cart__button) svg { width: 1.4rem; height: 1.4rem; }
.tc-header .wc-block-mini-cart__amount { display: none; }
.tc-header .wp-block-woocommerce-customer-account img { width: 1.75rem !important; height: 1.75rem !important; border-radius: 50%; box-shadow: 0 0 0 1px rgb(217 194 157 / 0.6); }
.tc-header .wc-block-mini-cart__badge { border: 0 !important; background: var(--tc-champagne) !important; color: var(--tc-night) !important; font-weight: 600; }
.tc-header .wc-block-mini-cart__quantity-badge { position: relative; display: inline-flex; color: inherit; }

/* ---------- Fußzeile (Vorlage "Fußzeile", Template-Teil Footer, ab 0.2.0) ---------- */
.wp-site-blocks > footer:has(> .tc-footer), footer.wp-block-template-part:has(> .tc-footer) { margin-block-start: 0; }
.tc-footer { margin-block: 0 !important; padding-block: clamp(2.5rem, 5vw, 3.5rem) 2rem; border-top: 1px solid rgb(217 194 157 / 0.18);
  background: var(--tc-night); color: var(--tc-muted); font-family: var(--tc-sans); font-size: 0.875rem; line-height: 1.6; }
.tc-footer .tc-footer__inner { box-sizing: border-box; display: grid; gap: 1.75rem; max-width: 82rem; margin-inline: auto; padding-inline: var(--tc-gutter); }
.tc-footer .tc-footer__inner > * { margin: 0 !important; }
.tc-footer .tc-footer__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2rem; }
.tc-footer .tc-footer__row > * { margin: 0 !important; }
.tc-footer .tc-footer__row--base { padding-top: 1.5rem; border-top: 1px solid rgb(217 194 157 / 0.12); }
.tc-footer .tc-footer__seal { display: block; flex: none; width: 3.5rem; aspect-ratio: 1; background: var(--tc-champagne);
  -webkit-mask: url("../img/siegel.png") no-repeat center / contain; mask: url("../img/siegel.png") no-repeat center / contain; }
.tc-footer .tc-footer__links { display: flex; flex-wrap: wrap; gap: 0.25rem 1.6rem; margin: 0; padding: 0; list-style: none; }
.tc-footer .tc-footer__links li { margin: 0; }
.tc-footer a { color: var(--tc-muted); text-decoration: none; }
.tc-footer .tc-footer__links a { display: inline-block; padding-block: 0.6rem; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; }
.tc-footer a:hover { color: var(--tc-champagne); }
.tc-footer a:focus-visible { outline: 2px solid var(--tc-champagne); outline-offset: 3px; }
.tc-footer .tc-footer__copy { font-family: var(--tc-serif); font-size: 1.1rem; color: var(--tc-muted); }
.tc-footer .tc-footer__withdraw a { display: inline-flex; align-items: center; min-height: 44px; box-sizing: border-box; padding: 0.6rem 1.1rem; border: 1px solid rgb(217 194 157 / 0.6);
  color: var(--tc-champagne); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; }
.tc-footer .tc-footer__withdraw a:hover { background: rgb(217 194 157 / 0.12); color: var(--tc-ivory); }
.tc-footer .tc-todo { justify-self: start; padding: 0.45rem 0.75rem; border: 1px dashed currentColor; color: var(--tc-champagne); font-size: 0.8125rem; }

/* ---------- Seitenkopf (Vorlage "Seitenkopf") ---------- */
.tc-band.tc-page-head { padding-block: clamp(3rem, 7vw, 5.5rem) clamp(2.5rem, 5vw, 4rem); }
.tc-band.tc-page-head h1 { font-size: clamp(2.8rem, 1.8rem + 4vw, 5.2rem); }
.tc-band.tc-page-head h1 em { font-style: italic; color: var(--tc-champagne); }
.tc-band .tc-page-head__intro { max-width: 38rem; margin-top: 1.5rem; color: #e6dde2; }

/* ---------- Events-Seite (Vorlagen "Events-Seite" und "Termin") ---------- */
.tc-band.tc-events-head .tc-actions { margin-top: 2rem; }
/* Dienstbuch mit Terminen: lila Schreibtisch, Ledereinband, Lesebändchen (Wunsch Ruth, 19.11.2026) */
.tc-band.tc-diary-band { color: var(--tc-ivory); }
.tc-band.tc-diary-band .tc-head .tc-label { color: var(--tc-champagne); }
.tc-band.tc-diary-band .tc-head h2 { color: var(--tc-ivory); }
.tc-band.tc-diary-band .tc-head > :last-child:not(:first-child) { color: #e6dde2; }
.tc-band.tc-diary-band > .tc-inner > .tc-todo { color: var(--tc-champagne); }
.tc-band .tc-diary { --tc-spine: clamp(1.3rem, 3vw, 1.9rem); position: relative; max-width: 56rem;
  padding: clamp(1.75rem, 4vw, 2.75rem) clamp(1.5rem, 5vw, 4.5rem) clamp(1.75rem, 4vw, 2.5rem) calc(var(--tc-spine) + clamp(2.25rem, 5vw, 3.75rem));
  background:
    linear-gradient(90deg, transparent calc(var(--tc-spine) + clamp(1.25rem, 3vw, 2.25rem)), rgb(154 59 46 / 0.55) calc(var(--tc-spine) + clamp(1.25rem, 3vw, 2.25rem)), rgb(154 59 46 / 0.55) calc(var(--tc-spine) + clamp(1.25rem, 3vw, 2.25rem) + 2px), transparent calc(var(--tc-spine) + clamp(1.25rem, 3vw, 2.25rem) + 2px)),
    repeating-linear-gradient(to bottom, transparent 0 2.2rem, rgb(56 39 53 / 0.12) 2.2rem 2.25rem),
    linear-gradient(170deg, #fffdf6, #f3e7cf);
  border-radius: 3px 6px 6px 3px; box-shadow: 0 34px 70px rgb(20 10 18 / 0.5), 0 4px 12px rgb(20 10 18 / 0.3); transform: rotate(-0.35deg); }
/* Ledereinband mit Ziernaht */
.tc-band .tc-diary::before { content: ""; position: absolute; top: -4px; bottom: -4px; left: -6px; width: calc(var(--tc-spine) + 6px); border-radius: 4px 0 0 4px;
  background: linear-gradient(90deg, #3b1a26, #653343 55%, #4a2230); box-shadow: inset -3px 0 6px rgb(0 0 0 / 0.35);
  outline: 1px dashed rgb(217 194 157 / 0.55); outline-offset: -6px; }
/* Lesebändchen */
.tc-band .tc-diary::after { content: ""; position: absolute; top: -0.5rem; right: clamp(1.5rem, 6vw, 4rem); width: 1.1rem; height: clamp(5rem, 12vw, 7.5rem);
  background: linear-gradient(90deg, #b99a68, var(--tc-champagne) 50%, #b99a68); clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 84%, 0 100%); box-shadow: 0 2px 4px rgb(0 0 0 / 0.2); }
.tc-band .tc-diary > * { position: relative; margin: 0 !important; }
.tc-band .tc-diary__title { margin-bottom: 1.25rem !important; padding-right: 2.5rem; font-family: var(--tc-serif); font-size: 1rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--tc-bordeaux); }
.tc-band .tc-diary__empty { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.25rem; font-family: var(--tc-serif); font-style: italic; font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem); line-height: 1.25; color: var(--tc-plum); }
.tc-band .tc-diary__empty::after { content: "Kein Eintrag"; display: inline-block; padding: 0.2rem 0.6rem; border: 2px solid var(--tc-bordeaux); color: var(--tc-bordeaux);
  font-family: var(--tc-sans); font-style: normal; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; transform: rotate(-6deg); opacity: 0.85; }
.tc-band .tc-diary__hint { margin-top: 0.75rem !important; max-width: 36rem; font-family: var(--tc-type); font-size: 0.875rem; line-height: 1.75; color: var(--tc-ink); }
.tc-band .tc-diary__hint a { color: var(--tc-bordeaux); }
.tc-band .tc-diary__row { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: 0.75rem 1.5rem; align-items: center; padding-block: 1.1rem; border-bottom: 1px dashed rgb(41 36 42 / 0.3); }
@media (min-width: 44rem) { .tc-band .tc-diary__row { grid-template-columns: 4.5rem minmax(0, 1fr) auto; } }
.tc-band .tc-diary__row > *, .tc-band .tc-diary__date > *, .tc-band .tc-diary__what > * { margin: 0 !important; }
.tc-band .tc-diary__date { text-align: center; color: var(--tc-plum); }
.tc-band .tc-diary__day { font-family: var(--tc-serif); font-size: 2.2rem; font-weight: 600; line-height: 1; }
.tc-band .tc-diary__month { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; }
.tc-band .tc-diary__format { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--tc-bordeaux); }
.tc-band .tc-diary__what h3 { font-size: 1.5rem; color: var(--tc-plum); }
.tc-band .tc-diary__place { font-family: var(--tc-type); font-size: 0.8125rem; color: var(--tc-muted-dark); }
.tc-band .tc-diary__row .tc-actions { grid-column: 2; margin: 0; }
@media (min-width: 44rem) { .tc-band .tc-diary__row .tc-actions { grid-column: auto; } }

/* Formate als Akten */
.tc-band .tc-formats-wrap > * { margin: 0 !important; }
.tc-band .tc-formats-wrap { scroll-margin-top: 2rem; }
.tc-band .tc-formats { display: grid; gap: clamp(1.5rem, 3vw, 2.25rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); margin: 0 0 1.5rem !important; }
.tc-band .tc-formats > * { margin: 0 !important; }
.tc-band .tc-format { display: flex; flex-direction: column; gap: 0.9rem; padding: clamp(1.4rem, 3vw, 1.9rem); }
.tc-band .tc-formats > .tc-format:nth-child(odd) { transform: rotate(-0.4deg); }
.tc-band .tc-formats > .tc-format:nth-child(even) { transform: rotate(0.4deg); }
.tc-band .tc-format > * { margin: 0 !important; }
.tc-band .tc-format__no { font-family: var(--tc-type); font-size: 0.72rem; letter-spacing: 0.08em; color: var(--tc-muted-dark); }
.tc-band .tc-format h3 { font-size: clamp(1.8rem, 1.4rem + 1vw, 2.3rem); color: var(--tc-plum); }
.tc-band .tc-format__kicker { font-family: var(--tc-serif); font-style: italic; font-size: 1.2rem; line-height: 1.3; color: var(--tc-bordeaux); }
.tc-band .tc-format p:not([class]) { font-size: 0.95rem; }
.tc-band .tc-format__facts { margin-top: auto !important; padding: 0.9rem 0 0 !important; border-top: 1px dashed rgb(41 36 42 / 0.3); list-style: none; font-size: 0.875rem; }
.tc-band .tc-format__facts li { margin: 0 0 0.4rem; }
.tc-band .tc-format__facts strong { display: block; font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--tc-muted-dark); }
.tc-band .tc-format .tc-actions { margin: 0.25rem 0 0; }
.tc-band .tc-format .tc-btn .wp-block-button__link { background: var(--tc-plum); color: var(--tc-ivory); }

/* Murdoku-Dinner als Menükarte */
.tc-band .tc-menu { position: relative; max-width: 40rem; margin: 0 auto 1.5rem !important; padding: clamp(2rem, 5vw, 3.25rem) clamp(1.5rem, 5vw, 3.5rem); text-align: center; color: var(--tc-ink);
  background: linear-gradient(170deg, #fffdf8, #f3ead7); box-shadow: 0 30px 70px rgb(0 0 0 / 0.4); outline: 1px solid var(--tc-champagne); outline-offset: -0.9rem; }
.tc-band .tc-menu > * { margin: 0 !important; }
.tc-band .tc-menu__title { margin-bottom: 1.5rem !important; font-family: var(--tc-serif); font-size: 0.95rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--tc-bordeaux); }
.tc-band .tc-menu__item { padding-block: 1.1rem; }
.tc-band .tc-menu__item + .tc-menu__item { border-top: 1px solid rgb(168 139 96 / 0.45); }
.tc-band .tc-menu__item > * { margin: 0 auto !important; }
.tc-band .tc-menu__course { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--tc-muted-dark); }
.tc-band .tc-menu__item h3 { margin-block: 0.3rem 0.4rem !important; font-style: italic; font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); color: var(--tc-plum); }
.tc-band .tc-menu__item p:not([class]) { max-width: 30rem; font-size: 0.95rem; color: var(--tc-ink); }
.tc-band.tc-menu-band .tc-head { flex-direction: column; align-items: center; text-align: center; }
.tc-band.tc-menu-band .tc-head > * { margin-inline: auto; }
.tc-band.tc-menu-band .tc-todo { max-width: 40rem; margin-inline: auto; }
@media (prefers-reduced-motion: reduce) { .tc-band .tc-formats > .tc-format { transform: none; } }

/* ---------- Figuren: Karteikarten ---------- */
.tc-band .tc-cards { display: grid; gap: 1.75rem 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 40rem) { .tc-band .tc-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 72rem) { .tc-band .tc-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tc-band .tc-card { position: relative; padding: 1.5rem 1.4rem 1.6rem; background: var(--tc-paper); color: var(--tc-ink);
  background-image: repeating-linear-gradient(transparent 0 27px, rgb(101 51 67 / 0.12) 27px 28px); background-position: 0 3.6rem; }
.tc-band .tc-card::before { content: ""; position: absolute; left: 1.2rem; top: -0.9rem; width: 5.5rem; height: 0.9rem; background: var(--tc-parchment); }
.tc-band .tc-card .tc-stamp { position: absolute; right: 1rem; top: 1rem; transform: rotate(6deg); }
.tc-band .tc-card__series { margin: 0 0 0.35rem; font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--tc-bordeaux); }
.tc-band .tc-card h3 { font-size: 1.6rem; color: var(--tc-plum); }
.tc-band .tc-card__text { margin: 0.9rem 0 0; font-family: var(--tc-type); font-size: 0.8438rem; line-height: 28px; }

/* ---------- Über Trudy: Porträt und Brief ---------- */
.tc-band .tc-letter-row { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (min-width: 62rem) { .tc-band .tc-letter-row { grid-template-columns: 0.8fr 1.2fr; } }
.tc-band .tc-portrait { justify-self: center; box-sizing: border-box; width: min(100% - 1.5rem, 24rem); margin: 0; padding: 0.75rem 0.75rem 0.6rem; background: #fff; transform: rotate(-2deg); box-shadow: 0 18px 40px rgb(56 39 53 / 0.25); }
.tc-band .tc-portrait img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; }
.tc-band .tc-portrait figcaption { margin: 0.6rem 0 0; font-size: 0.75rem; color: var(--tc-muted-dark); text-align: left; }
.tc-band .tc-letter { padding: clamp(1.75rem, 4vw, 3rem); }
.tc-band--light .tc-letter { background: linear-gradient(165deg, var(--tc-parchment), var(--tc-parchment-2)); box-shadow: 0 14px 34px rgb(56 39 53 / 0.18); }
.tc-band .tc-letter__head { padding-bottom: 0.9rem; margin-bottom: 1.5rem; border-bottom: 1px solid rgb(41 36 42 / 0.25); text-align: center; font-family: var(--tc-serif); letter-spacing: 0.24em; text-transform: uppercase; }
.tc-band .tc-letter h2 { font-size: clamp(1.9rem, 1.5rem + 1.6vw, 2.8rem); margin-bottom: 1.25rem; }
.tc-band .tc-letter__text { font-family: var(--tc-type); font-size: 0.9375rem; line-height: 1.75; max-width: 36rem; }
.tc-band .tc-letter__sign { font-family: var(--tc-serif); font-style: italic; font-size: 1.6rem; color: var(--tc-bordeaux); }

/* ---------- Events: Panel ---------- */
.tc-band .tc-panel { display: grid; gap: 2rem; padding: clamp(1.75rem, 4vw, 3rem); background: rgb(56 39 53 / 0.85); border: 1px solid rgb(217 194 157 / 0.25); }
@media (min-width: 62rem) { .tc-band .tc-panel { grid-template-columns: 1fr 1fr; align-items: center; } }
.tc-band .tc-panel h2 { font-size: clamp(2rem, 1.5rem + 2vw, 3.2rem); }
.tc-band .tc-panel p { color: #e6dde2; }

/* ---------- Schauplätze: Galerie-Block mit Klasse tc-prints ---------- */
.tc-band .wp-block-gallery.tc-prints { display: grid !important; gap: 1.5rem 1.25rem; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; }
@media (min-width: 56rem) { .tc-band .wp-block-gallery.tc-prints { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tc-band .wp-block-gallery.tc-prints > .wp-block-image { width: auto !important; margin: 0 !important; padding: 0.5rem 0.5rem 0.6rem; background: #fff; box-shadow: 0 10px 24px rgb(56 39 53 / 0.18); display: flex; flex-direction: column; }
.tc-band .wp-block-gallery.tc-prints > .wp-block-image:nth-child(4n+1) { transform: rotate(-1.5deg); }
.tc-band .wp-block-gallery.tc-prints > .wp-block-image:nth-child(4n+2) { transform: rotate(1deg); }
.tc-band .wp-block-gallery.tc-prints > .wp-block-image:nth-child(4n+3) { transform: rotate(-0.5deg); }
.tc-band .wp-block-gallery.tc-prints > .wp-block-image:nth-child(4n) { transform: rotate(1.5deg); }
.tc-band .wp-block-gallery.tc-prints img { aspect-ratio: 1; object-fit: cover; width: 100%; height: auto; }
.tc-band .wp-block-gallery.tc-prints figcaption { position: static; margin: 0.45rem 0 0; padding: 0; background: none; color: var(--tc-bordeaux); font-size: 0.75rem; text-align: left; text-shadow: none; }

/* ---------- Rätselecke ---------- */
.tc-band .tc-puzzle-grid { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }
@media (min-width: 62rem) { .tc-band .tc-puzzle-grid { grid-template-columns: 1.1fr 1fr 1fr; align-items: stretch; } }
.tc-band .tc-puzzle-card { display: flex; flex-direction: column; gap: 0.9rem; padding: 1.75rem 1.5rem; }
.tc-band .tc-puzzle-card > * { margin: 0; }
.tc-band .tc-puzzle-card h3 { font-size: 2rem; }
.tc-band .tc-puzzle-card p { font-size: 0.9375rem; }
.tc-band .tc-puzzle-kicker { font-family: var(--tc-serif); font-size: 0.95rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--tc-bordeaux); }
.tc-band .tc-puzzle-meta { font-size: 0.8125rem; color: var(--tc-muted-dark); }
.tc-band .tc-puzzle-card .tc-actions { margin-top: auto; }
.tc-band .tc-plan { display: block; padding: 1.25rem; text-decoration: none; color: inherit; transition: transform 0.2s ease; }
.tc-band .tc-plan:hover { transform: translateY(-3px); }
.tc-band .tc-plan__grid { aspect-ratio: 1; display: grid; grid-template-columns: repeat(6, 1fr); border: 3px solid var(--tc-plum); background: var(--tc-plum); }
.tc-band .tc-plan__grid span { position: relative; border-right: 1px solid rgb(56 39 53 / 0.14); border-bottom: 1px solid rgb(56 39 53 / 0.14); }
.tc-band .tc-plan__grid span.is-wr { border-right: 3px solid var(--tc-plum); }
.tc-band .tc-plan__grid span.is-wb { border-bottom: 3px solid var(--tc-plum); }
.tc-band .tc-plan__grid i { position: absolute; z-index: 1; top: 3px; left: 4px; font-style: normal; font-family: var(--tc-sans); font-size: clamp(0.45rem, 0.35rem + 0.35vw, 0.6rem); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--tc-plum); opacity: 0.75; line-height: 1; white-space: nowrap; }
.tc-band .tc-plan small { display: block; margin-top: 0.75rem; font-size: 0.75rem; color: var(--tc-muted-dark); }

@media (prefers-reduced-motion: reduce) { .tc-dossier { animation: none; } .tc-band .tc-plan { transition: none; } }

/* ---------- Formulare: Kontakt [tc_kontakt] und Newsletter [tc_newsletter] (ab 0.4.0) ---------- */
.tc-form { box-sizing: border-box; max-width: 40rem; font-family: var(--tc-sans); font-size: 1rem; line-height: 1.55; color: var(--tc-ink); }
.tc-form form { margin: 0; }
.tc-form .tc-form__row { display: grid; gap: 0.35rem; margin: 0 0 1.1rem; }
.tc-form label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--tc-plum); }
.tc-form :is(input[type="text"], input[type="email"], select, textarea) {
  box-sizing: border-box; width: 100%; min-height: 44px; padding: 0.7rem 0.85rem; border: 1px solid rgb(41 36 42 / 0.35); border-radius: 0;
  background: #fff; color: var(--tc-ink); font-family: var(--tc-type); font-size: 1rem; line-height: 1.5;
}
.tc-form textarea { min-height: 10rem; resize: vertical; }
.tc-form :is(input, select, textarea, button):focus-visible { outline: 2px solid var(--tc-bordeaux); outline-offset: 2px; }
.tc-form .tc-form__row--check { grid-template-columns: auto 1fr; align-items: start; gap: 0.7rem; }
.tc-form .tc-form__row--check input { width: 1.15rem; height: 1.15rem; margin: 0.2rem 0 0; accent-color: var(--tc-plum); }
.tc-form .tc-form__row--check label { font-size: 0.875rem; font-weight: 400; letter-spacing: normal; text-transform: none; color: var(--tc-ink); }
.tc-form .tc-form__row--check a { color: var(--tc-bordeaux); }
.tc-form .tc-form__row--inline { grid-template-columns: 1fr auto; align-items: end; column-gap: 0.6rem; }
.tc-form .tc-form__row--inline label { grid-column: 1 / -1; }
.tc-form .tc-form__hint { margin: 0 0 1rem; font-size: 0.8125rem; color: var(--tc-muted-dark, #5b4d55); }
.tc-form .tc-form__submit { margin: 0; }
.tc-form .tc-form__button {
  box-sizing: border-box; min-height: 44px; padding: 0.85rem 1.5rem; border: 1px solid var(--tc-plum); border-radius: 0; background: var(--tc-plum); color: var(--tc-ivory);
  font-family: var(--tc-sans); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; cursor: pointer; transition: background-color 0.2s;
}
.tc-form .tc-form__button:hover { background: var(--tc-bordeaux); border-color: var(--tc-bordeaux); }
.tc-form .tc-form__notice { margin: 0 0 1.25rem; padding: 0.8rem 1rem; border-left: 3px solid var(--tc-plum); background: var(--tc-paper); font-size: 0.9375rem; }
.tc-form .tc-form__notice--error { border-left-color: #a02b2b; background: #fbeeee; }
.tc-form .tc-form__trap { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 30rem) { .tc-form .tc-form__row--inline { grid-template-columns: 1fr; } }

/* ---------- Kontakt-Seite: Formular als Aktenblatt auf Lila (Vorlage "Kontakt-Seite", ab 0.4.1) ---------- */
.tc-band.tc-contact-band { padding-block: clamp(3rem, 7vw, 6rem); }
.tc-contact-band .tc-contact { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (min-width: 62rem) { .tc-contact-band .tc-contact { grid-template-columns: minmax(0, 1fr) 17rem; } }
.tc-contact-band .tc-contact > * { margin: 0 !important; }
.tc-contact-band .tc-contact-sheet {
  position: relative; box-sizing: border-box; max-width: 46rem; padding: clamp(2rem, 5vw, 3.5rem) clamp(1.5rem, 5vw, 3.5rem) clamp(2rem, 5vw, 3rem);
  background: linear-gradient(170deg, var(--tc-paper), #ece2cf); color: var(--tc-ink);
  box-shadow: 0 30px 70px rgb(20 10 18 / 0.45), 0 4px 12px rgb(20 10 18 / 0.25); transform: rotate(-0.5deg);
}
.tc-contact-band .tc-contact-sheet > * { margin: 0 !important; }
.tc-contact-band .tc-contact-sheet__clip { position: absolute; top: -1.1rem; left: 2.25rem; width: 1rem; height: 3.1rem; border: 2px solid #9a9aa0; border-radius: 0.55rem; transform: rotate(4deg); }
.tc-contact-band .tc-contact-sheet__stamp {
  position: absolute; top: 1.6rem; right: 1.6rem; padding: 0.35rem 0.7rem; border: 2px solid rgb(101 51 67 / 0.7); color: rgb(101 51 67 / 0.75);
  font-family: var(--tc-sans); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.25em; text-transform: uppercase; transform: rotate(-8deg); pointer-events: none;
}
.tc-contact-band .tc-contact-sheet__label { padding-bottom: 0.9rem; margin-bottom: 1.75rem !important; border-bottom: 1px solid rgb(41 36 42 / 0.25);
  font-family: var(--tc-type); font-size: 0.875rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--tc-muted-dark); }
.tc-contact-band .tc-contact__aside { color: #e6dde2; }
.tc-contact-band .tc-contact__aside > * { margin: 0 0 0.75rem !important; }
.tc-contact-band .tc-contact__aside .tc-label { color: var(--tc-champagne); }
.tc-contact-band .tc-contact__mail { font-family: var(--tc-serif); font-size: 1.6rem; line-height: 1.2; }
.tc-contact-band .tc-contact__mail a { color: var(--tc-ivory); text-decoration-color: rgb(217 194 157 / 0.6); text-underline-offset: 0.2em; overflow-wrap: anywhere; }
.tc-contact-band .tc-contact__note { font-size: 0.9375rem; line-height: 1.6; }
@media (max-width: 40rem) { .tc-contact-band .tc-contact-sheet__stamp { top: auto; bottom: 1rem; right: 1rem; } }

/* Formular auf Papier: Linien statt Kästen, Schreibmaschine (Kontakt-Aktenblatt und Newsletter-Postkarte) */
:is(.tc-contact-sheet, .tc-nl-card) .tc-form { max-width: none; }
:is(.tc-contact-sheet, .tc-nl-card) .tc-form label { color: var(--tc-bordeaux); }
:is(.tc-contact-sheet, .tc-nl-card) .tc-form :is(input[type="text"], input[type="email"], select) {
  padding-inline: 0.15rem; border: 0; border-bottom: 1px solid rgb(41 36 42 / 0.45); background: transparent;
}
:is(.tc-contact-sheet, .tc-nl-card) .tc-form :is(input[type="text"], input[type="email"], select, textarea):focus { border-color: var(--tc-bordeaux); outline: none; box-shadow: 0 1px 0 0 var(--tc-bordeaux); }
:is(.tc-contact-sheet, .tc-nl-card) .tc-form :is(input, select, textarea):focus-visible { outline: none; }
.tc-contact-sheet .tc-form select { appearance: none; -webkit-appearance: none; padding-right: 2rem; cursor: pointer;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23653343' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 0.4rem center; }
.tc-contact-sheet .tc-form textarea {
  padding: 0.35rem 0.15rem; border: 0; border-top: 1px solid rgb(41 36 42 / 0.2); line-height: 2rem; min-height: 12rem;
  background: transparent repeating-linear-gradient(transparent 0, transparent calc(2rem - 1px), rgb(41 36 42 / 0.22) calc(2rem - 1px), rgb(41 36 42 / 0.22) 2rem);
  background-attachment: local;
}
.tc-contact-sheet .tc-form .tc-form__row { margin-bottom: 1.4rem; }
@media (min-width: 40rem) {
  .tc-contact-sheet .tc-form form { display: grid; grid-template-columns: 1fr 1fr; column-gap: 1.75rem; }
  .tc-contact-sheet .tc-form form > :not(.tc-form__row:has(#tc-k-name), .tc-form__row:has(#tc-k-mail)) { grid-column: 1 / -1; }
}

/* ---------- Newsletter: Postkarte im hellen Band (Vorlage "Post aus Windsor", ab 0.4.1) ---------- */
.tc-nl-band .tc-nl { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (min-width: 56rem) { .tc-nl-band .tc-nl { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); } }
.tc-nl-band .tc-nl > * { margin: 0 !important; }
.tc-nl-band .tc-nl__text > * { margin-block: 0 1rem; }
.tc-nl-band .tc-nl-card {
  position: relative; box-sizing: border-box; padding: clamp(2.25rem, 5vw, 3rem) clamp(1.5rem, 4vw, 2.5rem) clamp(1.75rem, 4vw, 2.25rem);
  background: linear-gradient(170deg, #fffdf8, var(--tc-paper)); color: var(--tc-ink);
  box-shadow: 0 22px 50px rgb(36 27 34 / 0.22), 0 2px 6px rgb(36 27 34 / 0.12); transform: rotate(0.8deg);
}
.tc-nl-band .tc-nl-card::before { content: ""; position: absolute; inset: 0.6rem; border: 1px solid rgb(101 51 67 / 0.25); pointer-events: none; }
.tc-nl-band .tc-nl-card > * { margin: 0 !important; }
.tc-nl-band .tc-nl-card__stamp {
  position: absolute; top: 1.1rem; right: 1.1rem; width: 3.6rem; height: 4.2rem; box-sizing: border-box; padding: 0.35rem;
  background: var(--tc-plum); outline: 3px dotted var(--tc-paper); outline-offset: -3px; box-shadow: 0 2px 6px rgb(0 0 0 / 0.2);
}
.tc-nl-band .tc-nl-card__stamp::after { content: ""; display: block; width: 100%; height: 100%; background: var(--tc-champagne);
  -webkit-mask: url("../img/siegel.png") no-repeat center / contain; mask: url("../img/siegel.png") no-repeat center / contain; }
.tc-nl-band .tc-nl-card__postmark {
  position: absolute; top: 1.6rem; right: 4.3rem; width: 4.4rem; height: 4.4rem; box-sizing: border-box; display: grid; place-items: center; border: 2px solid rgb(101 51 67 / 0.45); border-radius: 50%;
  color: rgb(101 51 67 / 0.6); font-family: var(--tc-sans); font-size: 0.6rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; transform: rotate(-12deg);
}
.tc-nl-band .tc-nl-card .tc-form { padding-top: 3.25rem; }
.tc-nl-band .tc-nl-card .tc-form__row--inline { column-gap: 1rem; }
@media (prefers-reduced-motion: reduce) { .tc-contact-band .tc-contact-sheet, .tc-nl-band .tc-nl-card { transform: none; } }

/* ---------- Über-Trudy-Seite (Vorlage "Über-Trudy-Seite", ab 0.5.0) ---------- */
.tc-bio-band .tc-bio__col > * { margin-block: 0 1.15rem; }
.tc-bio-band .tc-bio__text, .tc-bio-life-band .tc-bio__text { max-width: 40rem; font-size: 1.0625rem; line-height: 1.75; }
.tc-bio-band .tc-bio__questions { margin-bottom: 1.75rem !important; }
.tc-bio-band .tc-bio__q { margin: 0 0 0.25rem; font-family: var(--tc-serif); font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.7rem); line-height: 1.12; color: var(--tc-plum); }
.tc-bio-band .tc-bio__q--long { max-width: 30rem; margin-top: 0.4rem; font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.7rem); font-style: italic; color: var(--tc-bordeaux); }
.tc-bio-life-band .tc-bio__sheet {
  box-sizing: border-box; max-width: 52rem; margin-inline: auto; padding: clamp(2rem, 6vw, 4rem) clamp(1.5rem, 6vw, 4.5rem);
  transform: rotate(-0.35deg);
}
.tc-bio-life-band .tc-bio__sheet > * { margin-block: 0 1.15rem; }
.tc-bio-life-band .tc-bio__sheet > :first-child { font-family: var(--tc-serif); font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.8rem); line-height: 1.35; color: var(--tc-plum); }
.tc-bio-quote-band .tc-bio-quote { max-width: 50rem; margin-inline: auto; text-align: center; }
.tc-bio-quote-band .tc-bio-quote > * { margin-block: 0 1.5rem; }
.tc-bio-quote-band .tc-bio-quote__text { font-family: var(--tc-serif); font-style: italic; font-size: clamp(2.2rem, 1.4rem + 3.4vw, 4.4rem); line-height: 1.08; color: var(--tc-champagne); }
.tc-bio-quote-band .tc-bio-quote__body { max-width: 40rem; margin-inline: auto !important; font-size: 1.0625rem; line-height: 1.75; color: #e6dde2; }
.tc-bio-band .tc-bio-end-row { display: grid; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: start; }
@media (min-width: 62rem) { .tc-bio-band .tc-bio-end-row { grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.9fr); } }
.tc-bio-band .tc-bio-end-row > * { margin: 0 !important; }
.tc-bio-band .tc-bio__punch { font-weight: 600; color: var(--tc-bordeaux); }
.tc-bio-band .tc-bio__sign { margin-top: 1.75rem !important; font-family: var(--tc-serif); font-style: italic; font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.6rem); line-height: 1.15; color: var(--tc-plum); }
.tc-bio-band .tc-bio-short { box-sizing: border-box; padding: clamp(1.5rem, 4vw, 2.5rem); font-size: 0.9375rem; line-height: 1.7; transform: rotate(0.6deg); }
.tc-bio-band .tc-bio-short > * { margin-block: 0 0.9rem; }
.tc-bio-band .tc-bio-short .tc-label { padding-bottom: 0.7rem; border-bottom: 1px solid rgb(41 36 42 / 0.25); }
.tc-bio-interviews-band { padding-top: 0 !important; }
.tc-bio-interviews-band .tc-bio-interviews { padding-top: 0; border-top: 0; }
@media (prefers-reduced-motion: reduce) { .tc-bio-life-band .tc-bio__sheet, .tc-bio-band .tc-bio-short { transform: none; } }

/* ---------- Trudys tödliches Tagebuch (ab 0.7.0) ---------- */
/* Übersicht: Einträge als Notizbuchseiten auf Lila */
.tc-diary-list-band .tc-diary-entries { display: grid; gap: clamp(1.75rem, 4vw, 2.75rem); max-width: 50rem; margin: 0 auto; padding: 0; list-style: none; }
.tc-diary-list-band .tc-diary-entries > li { margin: 0; }
.tc-diary-list-band .tc-diary-card, .tc-diary-teaser-band .tc-diary-card {
  position: relative; box-sizing: border-box; padding: clamp(1.75rem, 4vw, 2.5rem) clamp(1.5rem, 4vw, 2.75rem) clamp(1.5rem, 4vw, 2.25rem) clamp(2.5rem, 6vw, 4rem);
  color: var(--tc-ink);
  background: linear-gradient(90deg, transparent calc(clamp(1.75rem, 4.5vw, 3rem) - 1px), rgb(160 43 43 / 0.35) calc(clamp(1.75rem, 4.5vw, 3rem) - 1px), rgb(160 43 43 / 0.35) clamp(1.75rem, 4.5vw, 3rem), transparent clamp(1.75rem, 4.5vw, 3rem)),
              linear-gradient(170deg, var(--tc-paper), #ece2cf);
  box-shadow: 0 18px 40px rgb(20 10 18 / 0.35);
}
.tc-diary-list-band .tc-diary-entries > li:nth-child(odd) .tc-diary-card { transform: rotate(-0.4deg); }
.tc-diary-list-band .tc-diary-entries > li:nth-child(even) .tc-diary-card { transform: rotate(0.35deg); }
:is(.tc-diary-list-band, .tc-diary-teaser-band) .tc-diary-card > * { margin: 0 0 0.75rem !important; }
:is(.tc-diary-list-band, .tc-diary-teaser-band) .tc-diary-card__date { font-family: var(--tc-type); font-size: 0.875rem; letter-spacing: 0.08em; color: var(--tc-bordeaux); }
:is(.tc-diary-list-band, .tc-diary-teaser-band) .tc-diary-card__title { font-family: var(--tc-serif); font-weight: 500; font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem) !important; line-height: 1.12; }
:is(.tc-diary-list-band, .tc-diary-teaser-band) .tc-diary-card__title a { color: var(--tc-plum); text-decoration: none; }
:is(.tc-diary-list-band, .tc-diary-teaser-band) .tc-diary-card__title a:hover { color: var(--tc-bordeaux); }
:is(.tc-diary-list-band, .tc-diary-teaser-band) .tc-diary-card__excerpt { font-size: 1rem; line-height: 1.7; }
:is(.tc-diary-list-band, .tc-diary-teaser-band) .tc-diary-card__excerpt p { margin: 0 0 0.6rem; }
:is(.tc-diary-list-band, .tc-diary-teaser-band) .wp-block-post-excerpt__more-link { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--tc-bordeaux); }
.tc-diary-list-band .tc-diary-pagination { justify-content: space-between; max-width: 50rem; margin: 2.5rem auto 0 !important; }
.tc-diary-list-band .tc-diary-pagination a { color: var(--tc-champagne); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; }
.tc-diary-list-band .tc-diary-empty, .tc-diary-teaser-band .tc-diary-empty { max-width: 50rem; margin-inline: auto !important; font-family: var(--tc-type); }
.tc-diary-list-band .tc-diary-empty { color: var(--tc-champagne); }

/* Teaser auf der Startseite */
.tc-diary-teaser-band .tc-diary-teaser { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (min-width: 56rem) { .tc-diary-teaser-band .tc-diary-teaser { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); } }
.tc-diary-teaser-band .tc-diary-teaser > * { margin: 0 !important; }
.tc-diary-teaser-band .tc-diary-teaser__text > * { margin-block: 0 1rem; }
.tc-diary-teaser-band .tc-diary-latest .tc-diary-entries { margin: 0; padding: 0; list-style: none; }
.tc-diary-teaser-band .tc-diary-latest .tc-diary-card { transform: rotate(0.6deg); box-shadow: 0 22px 50px rgb(36 27 34 / 0.22); }

/* Einzelner Eintrag (Body-Klasse tc-diary-entry) */
.tc-diary-entry main.wp-block-group {
  margin-block-start: 0 !important; padding: clamp(2.5rem, 6vw, 5rem) var(--tc-gutter) clamp(3rem, 7vw, 6rem);
  background-color: #4b3348;
  background-image: radial-gradient(ellipse 55% 50% at 18% 18%, rgb(150 104 140 / 0.75), transparent 70%), radial-gradient(ellipse 50% 60% at 85% 75%, rgb(101 51 67 / 0.85), transparent 70%), linear-gradient(160deg, #5a3c55, #3a2837);
}
.wp-site-blocks:has(> main) > main:has(.tc-diary-entry__date) { margin-block-start: 0; }
.tc-diary-entry main.wp-block-group > .wp-block-group.alignfull {
  box-sizing: border-box; max-width: 48rem; margin-inline: auto; padding: clamp(2rem, 6vw, 4rem) clamp(1.5rem, 6vw, 4rem) !important;
  color: var(--tc-ink); background: linear-gradient(170deg, var(--tc-paper), #ece2cf); box-shadow: 0 30px 70px rgb(20 10 18 / 0.45); transform: rotate(-0.3deg);
  font-family: var(--tc-sans); font-size: 1.0625rem; line-height: 1.8; display: flex; flex-direction: column;
}
.tc-diary-entry main.wp-block-group > .wp-block-group.alignfull > * { max-width: none !important; margin-left: 0 !important; margin-right: 0 !important; }
.tc-diary-entry .tc-diary-entry__date { order: -1; margin: 0 0 0.75rem !important; font-family: var(--tc-type); font-size: 0.875rem; letter-spacing: 0.08em; color: var(--tc-bordeaux); }
.tc-diary-entry main .wp-block-post-title { margin: 0 0 1.5rem; font-family: var(--tc-serif); font-weight: 500; font-size: clamp(2.3rem, 1.6rem + 3vw, 3.6rem); line-height: 1.08; color: var(--tc-plum); letter-spacing: normal; }
.tc-diary-entry main .wp-block-post-featured-image { margin: 0 0 2rem; padding: 0.6rem 0.6rem 0.5rem; background: #fff; box-shadow: 0 14px 30px rgb(0 0 0 / 0.25); transform: rotate(1deg); }
.tc-diary-entry main .wp-block-post-content { padding-left: 0 !important; padding-right: 0 !important; }
.tc-diary-entry main .wp-block-post-content > * { max-width: none !important; margin-left: 0 !important; margin-right: 0 !important; }
.tc-diary-entry main .wp-block-post-content :where(h2, h3) { font-family: var(--tc-serif); font-weight: 500; color: var(--tc-plum); }
.tc-diary-entry main .wp-block-post-content a { color: var(--tc-bordeaux); }
.tc-diary-entry .tc-diary-entry__sign { margin: 2.25rem 0 0 !important; font-family: var(--tc-serif); font-style: italic; font-size: 2rem; line-height: 1.1; color: var(--tc-plum); }
.tc-diary-entry main .wp-block-post-terms:empty { display: none; }
.tc-diary-entry main nav.wp-block-group { border-top-color: rgb(41 36 42 / 0.2) !important; }
.tc-diary-entry main nav a { color: var(--tc-bordeaux); }
.tc-diary-entry main > .wp-block-group.alignwide, .tc-diary-entry main > .wp-block-group:not(.alignfull) { max-width: 48rem !important; margin-inline: auto !important; color: var(--tc-ivory); }
.tc-diary-entry main > .wp-block-group:not(.alignfull) :is(a, h2) { color: var(--tc-champagne) !important; }
.tc-diary-entry main > .wp-block-group:not(.alignfull) .wp-block-group { border-color: rgb(217 194 157 / 0.25) !important; }
@media (prefers-reduced-motion: reduce) { .tc-diary-list-band .tc-diary-card, .tc-diary-teaser-band .tc-diary-card, .tc-diary-entry main.wp-block-group > .wp-block-group.alignfull { transform: none !important; } }


/* Zwei helle Bänder hintereinander (z. B. Tagebuch-Teaser und Post aus Windsor): kein doppelter Abstand (ab 0.7.1) */
.tc-band--light + .tc-band--light { padding-top: 0 !important; }
.tc-band--light + .tc-band--light > .tc-inner { padding-top: clamp(3rem, 6vw, 4.5rem); border-top: 1px solid rgb(41 36 42 / 0.12); }

/* ---------- Pressespiegel und Namensvermerk auf der Über-Trudy-Seite (ab 0.8.0) ---------- */
.tc-bio-band .tc-bio-side { display: grid; gap: 2rem; }
.tc-bio-band .tc-bio-side > * { margin: 0 !important; }
.tc-bio-band .tc-bio-name { box-sizing: border-box; padding: 1.1rem 1.4rem; border: 1px dashed rgb(101 51 67 / 0.55); font-size: 0.9375rem; line-height: 1.65; transform: rotate(-0.5deg); }
.tc-bio-band .tc-bio-name > * { margin: 0 0 0.5rem !important; }
.tc-bio-band .tc-bio-name .tc-label { color: var(--tc-bordeaux); }
.tc-bio-interviews .tc-clips { display: grid; gap: clamp(1.75rem, 4vw, 2.5rem); margin-top: 2.5rem !important; }
@media (min-width: 56rem) { .tc-bio-interviews .tc-clips { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; } }
.tc-bio-interviews .tc-clips > * { margin: 0 !important; }
.tc-bio-interviews .tc-clip {
  position: relative; box-sizing: border-box; padding: 2rem 1.5rem 1.5rem;
  background: linear-gradient(170deg, #f7f2e6, #ebe2cf); color: var(--tc-ink);
  box-shadow: 0 14px 32px rgb(36 27 34 / 0.18); font-family: var(--tc-serif);
}
.tc-bio-interviews .tc-clip:nth-child(1) { transform: rotate(-0.8deg); }
.tc-bio-interviews .tc-clip:nth-child(2) { transform: rotate(0.6deg); }
.tc-bio-interviews .tc-clip:nth-child(3) { transform: rotate(-0.3deg); }
.tc-bio-interviews .tc-clip::before { content: ""; position: absolute; top: -0.7rem; left: 50%; width: 5.5rem; height: 1.4rem; transform: translateX(-50%) rotate(-2deg); background: rgb(217 194 157 / 0.7); box-shadow: 0 1px 2px rgb(0 0 0 / 0.08); }
.tc-bio-interviews .tc-clip > * { margin: 0 0 0.7rem !important; }
.tc-bio-interviews .tc-clip__medium { font-family: var(--tc-sans); font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--tc-bordeaux); }
.tc-bio-interviews .tc-clip__date { font-family: var(--tc-type); font-size: 0.8125rem; color: var(--tc-muted-dark, #5b4d55); }
.tc-bio-interviews .tc-clip h3 { padding-bottom: 0.7rem; border-bottom: 1px solid rgb(41 36 42 / 0.25); font-family: var(--tc-serif); font-weight: 600; font-size: 1.5rem; line-height: 1.15; color: var(--tc-ink); }
.tc-bio-interviews .tc-clip__summary { font-size: 1.05rem; line-height: 1.55; }
.tc-bio-interviews .tc-clip__quote { padding-left: 0.9rem; border-left: 2px solid var(--tc-bordeaux); font-style: italic; font-size: 1.1rem; line-height: 1.45; color: var(--tc-plum); }
.tc-bio-interviews .tc-clip__link a { font-family: var(--tc-sans); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--tc-bordeaux); }
.tc-bio-interviews .tc-clip__link a::after { content: " ↗"; }
@media (prefers-reduced-motion: reduce) { .tc-bio-interviews .tc-clip, .tc-bio-band .tc-bio-name { transform: none; } }
