/*
 * WORTPINSELEI – ZENTRALES STYLESHEET (Neufassung November 2026)
 * Bearbeitung: Phoenix Code
 *
 * Gestaltungsidee „Bilderbuchseite“:
 * Die Aquarelle sind freigestellt und stehen – wie in einem Bilderbuch –
 * frei auf hellem Papier statt in Rahmen oder Karten. Farben stammen aus
 * den Illustrationen selbst (Moos, Blattgrün, Himmel, Rotkehlchen).
 * Schrift: Alegreya (Buchschrift für Literatur) + Alegreya Sans (Fließtext).
 *
 * Aufbau: 01 Variablen · 02 Grundlagen · 03 Kopfbereich · 04 Hero ·
 * 05 Leitspruch · 06 Buch · 07 Galerie · 08 Über uns · 09 Produkte ·
 * 10 Abschluss · 11 Verlag · 12 Footer · 13 Dialog · 14 Tablet · 15 Smartphone
 */

/* ===== 01 – Farben, Schrift, Maße ===== */
:root {
  --paper: #ffffff;
  --ink: #2b3a2d;          /* dunkles Moos – Überschriften und Text */
  --ink-soft: #5b6a5d;     /* Fließtext */
  --ink-faint: #8a968b;    /* Nebeninformationen */
  --moss: #557a3c;         /* Blattgrün aus den Illustrationen – Akzent */
  --leaf: #f0f4e8;         /* helle Lichtung – Flächen */
  --leaf-deep: #e3ebd6;    /* Footer */
  --sky: #ecf4f6;          /* heller Himmel – Flächen */
  --robin: #d98a52;        /* Rotkehlchen – nur kleine Punkte */
  --line: #e2e8da;

  --serif: 'Alegreya', 'Palatino Linotype', Palatino, Georgia, serif;
  --sans: 'Alegreya Sans', 'Segoe UI', system-ui, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --section: clamp(80px, 10vw, 140px);
}

/* ===== 02 – Grundlagen ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--moss);
  outline-offset: 4px;
  border-radius: 2px;
}

.section-wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Überschriften: eine Buchschrift für alle Ebenen */
h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--ink);
  margin: 0;
}

h2 {
  font-size: clamp(36px, 4.4vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.01em;
}

/* Hervorhebungen in Überschriften: kursiv, gleiche Schrift, Blattgrün */
h1 em,
h2 em,
.hero-accent {
  font-style: italic;
  font-weight: 400;
  color: var(--moss);
}

/* Kleine Kennzeichnungen über Überschriften (Text ist in Versalien hinterlegt) */
.eyebrow,
.small-label,
.publisher-kicker {
  display: block;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--moss);
  margin-bottom: 18px;
}

/* ===== 03 – Hinweisleiste und Kopfbereich ===== */
.announcement {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 9px 16px;
  background: var(--leaf);
  color: var(--ink-soft);
  font-size: 14px;
  letter-spacing: 0.01em;
}

.dot,
.strip-line span + span::before {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--robin);
}

.site-header {
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 26px var(--gutter) 10px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
}

.site-header .brand {
  grid-column: 2;
  grid-row: 1;
  width: clamp(170px, 18vw, 230px);
}

.site-header .brand img {
  width: 100%;
}

.site-header nav {
  grid-column: 3;
  grid-row: 1;
  display: flex;
  gap: clamp(20px, 2.6vw, 40px);
  font-size: 16px;
  font-weight: 500;
}

.site-header .nav-left {
  grid-column: 1;
  justify-self: end;
}

.site-header .nav-right {
  justify-self: start;
}

.site-header nav a {
  padding: 6px 0;
  background: linear-gradient(var(--moss), var(--moss)) 0 100% / 0 1.5px no-repeat;
  transition: background-size 0.25s ease, color 0.2s;
}

.site-header nav a:hover {
  color: var(--moss);
  background-size: 100% 1.5px;
}

/* ===== 04 – Hero ===== */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
  padding-top: clamp(16px, 3vw, 40px);
  padding-bottom: clamp(56px, 7vw, 96px);
}

/* Größe so begrenzt, dass „Kleine Geschichten.“ in der Spalte einzeilig bleibt */
.hero h1 {
  font-size: clamp(44px, 4.7vw, 66px);
  line-height: 1;
  letter-spacing: -0.015em;
  margin-bottom: 30px;
}

.hero-accent {
  display: inline-block;
  margin-top: 0.06em;
}

.hero-copy > p {
  max-width: 30em;
  margin: 0;
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 32px;
  margin-top: 40px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 28px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  transition: background-color 0.2s;
}

.btn-dark {
  background: var(--ink);
  color: #fff;
}

.btn-dark:hover {
  background: var(--moss);
}

.subtle-link {
  font-size: 16px;
  font-weight: 700;
  padding-bottom: 3px;
  border-bottom: 1.5px solid currentColor;
  transition: color 0.2s;
}

.subtle-link:hover {
  color: var(--moss);
}

.subtle-link span {
  margin-left: 6px;
}

.hero-footnote {
  margin-top: 44px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  color: var(--ink-faint);
}

.hero-art {
  position: relative;
}

.hero-character {
  width: 100%;
  max-width: 540px; /* entspricht der Bildgröße (542 px) – größer würde unscharf */
  margin-inline: auto;
  /* sanftes Einblenden beim Laden – einziger automatischer Effekt */
  animation: hero-in 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

@keyframes hero-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.985);
  }
}

/* Freie Fläche unten links neben dem Gras (beim neuen Hero-Motiv nicht auf dem Stein) */
.handwritten {
  position: absolute;
  left: 0;
  bottom: 22%;
  transform: rotate(-6deg);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(19px, 1.8vw, 25px);
  line-height: 1.25;
  text-align: center;
  color: #8a5a3c;
  text-shadow: 0 0 10px #fff, 0 0 4px #fff;
}

/* ===== 05 – Leitspruch ===== */
.strip {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 34px var(--gutter);
  border-top: 1px solid var(--line);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(20px, 2vw, 26px);
  color: var(--ink);
  text-align: center;
}

/* Zeile 1: drei Teile mit Trennpunkten */
.strip-line {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px 0;
}

.strip-line span {
  display: inline-flex;
  align-items: center;
}

/* Zeile 2: gleiche Schrift, zentriert darunter */
.strip-sub {
  margin: 14px auto 0;
  max-width: 40em;
}

.strip-line span + span::before {
  content: '';
  margin: 0 clamp(18px, 3vw, 40px);
}

/* ===== 06 – Das Buch ===== */
.story {
  padding-top: var(--section);
  padding-bottom: var(--section);
}

.section-heading {
  text-align: center;
  margin-bottom: clamp(48px, 6vw, 80px);
}

/* Links das Video im Hochformat, rechts der Text */
.story-grid {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.story-art {
  margin: 0;
}

/* Video „Blick ins Buch“: Hochformat mit weichen Ecken, Schatten wie ein Foto auf Papier */
.story-video {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.video-frame {
  position: relative;
  width: min(100%, 400px);
  aspect-ratio: 640 / 988;
  overflow: hidden;
  border-radius: 24px;
  background: #1e2611; /* Moosgrün aus dem Video, solange es lädt */
  box-shadow:
    0 1px 2px rgba(43, 58, 45, 0.12),
    0 10px 24px -8px rgba(43, 58, 45, 0.22),
    0 34px 60px -24px rgba(43, 58, 45, 0.3);
}

.video-frame video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  pointer-events: none;
}

.art-caption {
  display: block;
  margin-top: 22px;
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  color: var(--ink-faint);
}

.story-copy p {
  margin: 0 0 1em;
  max-width: 32em;
  color: var(--ink-soft);
}

.story-copy .intro-quote {
  margin: 0 0 28px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(28px, 2.6vw, 36px);
  line-height: 1.2;
  color: var(--ink);
}

.story-facts {
  display: flex;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.story-facts div {
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.story-facts strong {
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 500;
}

.story-facts span {
  font-size: 15px;
  color: var(--ink-faint);
}

/* ===== 07 – Galerie ===== */
.gallery-section {
  background: var(--leaf);
  padding: var(--section) 0;
}

.gallery-head,
.shop-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 48px;
  margin-bottom: clamp(40px, 5vw, 72px);
}

.gallery-head > p,
.shop-heading > p {
  max-width: 21em;
  margin: 0 0 6px;
  color: var(--ink-soft);
}

/* Aquarelle ohne Rahmen. Spaltenbreiten = Seitenverhältnisse der Bilder (0,756 · 1,674 · 0,627),
   dadurch stehen alle drei gleich hoch. */
.gallery-grid {
  display: grid;
  grid-template-columns: 0.756fr 1.674fr 0.627fr;
  gap: clamp(20px, 3vw, 48px);
  align-items: end;
}

.gallery-grid figure {
  margin: 0;
}

.gallery-grid img {
  width: 100%;
  height: auto;
  mix-blend-mode: multiply; /* weißes Papier verschmilzt mit dem hellgrünen Hintergrund */
}

.gallery-grid figcaption {
  margin-top: 14px;
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 19px;
  color: var(--ink-soft);
}

/* ===== 08 – Über uns (steht vor dem Buch, daher eigene Fläche) ===== */
.about-section {
  background: var(--paper); /* weiß, damit sie sich von Shop und Lesungen abhebt */
}

.about {
  padding-top: var(--section);
  padding-bottom: var(--section);
}

.about-intro {
  max-width: 640px;
  margin: 0 auto clamp(56px, 7vw, 88px);
  text-align: center;
}

.about-intro h2 {
  margin-bottom: 26px;
}

.about-intro > p {
  margin: 0;
  color: var(--ink-soft);
}

.authors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 112px);
  max-width: 1000px;
  margin-inline: auto;
}

.author {
  text-align: center;
}

.author img {
  width: min(100%, 280px);
  aspect-ratio: 1;
  margin: 0 auto 26px;
  object-fit: contain;
}

.author span {
  display: block;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--moss);
}

.author h3 {
  margin-top: 4px;
  font-size: 30px;
}

.author-text p {
  max-width: 30em;
  margin: 20px auto 0;
  color: var(--ink-soft);
}

/* Abschluss der Geschichte – wie ein Nachwort gesetzt */
.author-text1 {
  max-width: 720px;
  margin: clamp(56px, 7vw, 96px) auto 0;
  padding-top: clamp(40px, 5vw, 56px);
  border-top: 1px solid var(--line);
  text-align: center;
}

.author-text1 p {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(20px, 1.9vw, 24px);
  line-height: 1.55;
  color: var(--ink);
}

/* ===== 09 – Buch und Postkarten (Karten werden von app.js erzeugt) ===== */
.shop-section {
  background: var(--leaf); /* Wechsel weiß/grün: Buch weiß, Shop grün */
  padding: var(--section) 0;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
}

/* Das Buch erhält doppelte Breite */
.product-card:first-child {
  grid-column: span 2;
}

.product-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.product-image {
  display: grid;
  place-items: center;
  height: 300px;
  padding: 22px;
  border-radius: 20px;
  background: var(--paper); /* weiße Kachel auf grünem Shop-Hintergrund */
}

.product-card:first-child .product-image {
  background: var(--sky);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-card:first-child .product-image img {
  width: auto;
  height: auto;
  max-height: 100%;
  border-radius: 2px 5px 5px 2px;
  box-shadow: 0 12px 26px -10px rgba(43, 58, 45, 0.35);
}

.product-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px 4px 0;
}

.product-info .category {
  font-size: 14px;
  font-weight: 500;
  color: var(--moss);
}

.product-info h3 {
  margin-top: 2px;
  font-size: 24px;
  line-height: 1.2; /* Postkarten-Titel (Sprüche) laufen über zwei Zeilen */
}

.product-info .desc {
  margin-top: 4px;
  font-size: 15px;
  line-height: 1.45;
  color: var(--ink-faint);
}

.product-bottom {
  margin-top: auto;
  padding-top: 12px;
}

.product-bottom strong {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
}

/* ===== 10 – Abschlussbanner ===== */
.end-banner {
  background: var(--sky);
}

.end-banner > .section-wrap {
  display: grid;
  grid-template-columns: auto auto;
  justify-content: center;
  align-items: center;
  gap: clamp(24px, 5vw, 80px);
  padding-top: clamp(48px, 6vw, 72px);
  padding-bottom: clamp(48px, 6vw, 72px);
}

.end-banner img {
  width: clamp(180px, 22vw, 300px);
}

.end-banner h2 {
  font-size: clamp(42px, 5vw, 64px);
  margin-bottom: 16px;
}

.end-banner p {
  margin: 0;
  font-size: 19px;
  color: var(--ink-soft);
}

/* ===== 11 – Sterndal Verlag ===== */
.publisher-credit {
  padding: clamp(64px, 8vw, 104px) var(--gutter);
  text-align: center;
}

.publisher-credit-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 640px;
  margin-inline: auto;
}

.publisher-kicker {
  margin-bottom: 26px;
}

/* Wortpinselei- und Verlagslogo nebeneinander, gemeinsam zentriert */
.publisher-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 5vw, 56px);
}

.publisher-own-logo {
  width: 190px;
  height: auto;
}

.publisher-logo-link img {
  width: 150px;
  mix-blend-mode: multiply;
  transition: transform 0.25s ease;
}

.publisher-logo-link:hover img {
  transform: scale(1.04);
}

.publisher-credit p {
  margin: 24px 0 8px;
  color: var(--ink-soft);
}

.publisher-name-link {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 500;
  border-bottom: 1.5px solid var(--line);
  transition: color 0.2s, border-color 0.2s;
}

.publisher-name-link:hover {
  color: var(--moss);
  border-color: var(--moss);
}

.publisher-name-link span {
  font-size: 0.7em;
  margin-left: 4px;
}

/* ===== 12 – Footer ===== */
footer {
  background: var(--leaf-deep);
  color: var(--ink);
  padding-top: clamp(56px, 6vw, 80px);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
}

.footer-logo img {
  width: 170px;
}

.footer-logo p {
  margin: 20px 0 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 19px;
  line-height: 1.45;
  color: var(--ink-soft);
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 10px;
}

.footer-links > span {
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--moss);
}

.footer-links a,
.footer-links button {
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  font-size: 16px;
}

.footer-links a:hover,
.footer-links button:hover {
  color: var(--moss);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  padding-bottom: 24px;
  border-top: 1px solid rgba(43, 58, 45, 0.14);
  font-size: 14px;
  color: var(--ink-soft);
}

/* ===== 13 – Dialog für Impressum und Datenschutz ===== */
dialog {
  width: min(680px, 92vw);
  max-height: 85vh;
  padding: clamp(28px, 4vw, 48px);
  border: 0;
  border-radius: 16px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 30px 80px -20px rgba(43, 58, 45, 0.45);
}

dialog::backdrop {
  background: rgba(43, 58, 45, 0.45);
}

.dialog-close {
  float: right;
  margin: -12px -12px 0 0;
  padding: 4px 12px;
  border: 0;
  background: none;
  font-size: 32px;
  line-height: 1;
  color: var(--ink-soft);
}

.dialog-content h2 {
  font-size: 36px;
  margin-bottom: 8px;
}

.dialog-content h3 {
  margin-top: 26px;
  font-size: 21px;
}

.dialog-content p {
  font-size: 16px;
  color: var(--ink-soft);
}

.dialog-content a {
  color: var(--moss);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Bewegung reduzieren, wenn im System gewünscht */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ===== 14 – Tablet ===== */
@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr 1fr;
  }
  .story-grid {
    grid-template-columns: 1fr 1fr;
  }
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .gallery-head,
  .shop-heading {
    display: block;
  }
  .gallery-head > p,
  .shop-heading > p {
    margin-top: 20px;
  }
}

/* ===== 15 – Smartphone ===== */
@media (max-width: 640px) {
  body {
    font-size: 16px;
  }
  .announcement {
    font-size: 13px;
    gap: 10px;
  }
  /* Logo oben, beide Navigationsgruppen darunter in einer Zeile */
  .site-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 16px;
    padding-top: 20px;
  }
  .site-header .brand {
    order: -1;
    flex-basis: 100%;
    display: flex;
    justify-content: center;
  }
  .site-header .brand img {
    width: 170px;
  }
  .site-header .brand {
    margin-bottom: 8px;
  }
  .site-header nav {
    gap: 16px;
    font-size: 14.5px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 28px;
  }
  .hero h1 {
    font-size: 40px;
  }
  .hero-copy > p {
    font-size: 17px;
  }
  .hero-actions {
    margin-top: 30px;
  }
  .hero-footnote {
    margin-top: 30px;
  }
  .handwritten {
    bottom: 0;
  }
  .strip {
    margin-inline: var(--gutter);
    padding-inline: 0;
  }
  .strip-line {
    flex-direction: column;
    gap: 6px;
  }
  .strip-line span + span::before {
    display: none;
  }
  .strip-sub {
    margin-top: 20px;
  }
  .story-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
  .gallery-grid figure:nth-child(2) {
    order: -1;
    grid-column: span 2;
  }
  .gallery-grid figure:nth-child(2) img {
    max-height: 360px;
  }
  .authors {
    grid-template-columns: 1fr;
  }
  .author img {
    width: 220px;
  }
  .product-image {
    height: 190px;
    padding: 14px;
    border-radius: 16px;
  }
  .product-info h3 {
    font-size: 20px;
  }
  .end-banner > .section-wrap {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
  .footer-logo {
    grid-column: span 2;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 4px;
  }
}

/* ===== 16 – Warenkorb und Bestellanfrage (WORTPINSELEI_BESTELLANFRAGE_V1) ===== */
[hidden] {
  display: none !important;
}

.product-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.add-btn {
  padding: 9px 16px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.add-btn:hover {
  background: var(--ink);
  color: #fff;
}

.add-btn.added {
  background: var(--moss);
  border-color: var(--moss);
  color: #fff;
}

/* Schwebender Warenkorb-Knopf – erscheint, sobald etwas im Warenkorb liegt */
.cart-fab {
  position: fixed;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 20;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px 14px 24px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 14px 34px -12px rgba(43, 58, 45, 0.55);
  transition: background-color 0.2s;
}

.cart-fab:hover {
  background: var(--moss);
}

.cart-count {
  display: grid;
  place-items: center;
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
}

/* Warenkorb als Seitenleiste rechts (Smartphone: volle Breite) */
.cart-dialog {
  width: min(480px, 100%); /* 100% statt 100vw: ohne Scrollleisten-Breite */
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0 0 0 auto;
  padding: 0;
  border-radius: 0;
  display: flex;
  flex-direction: column;
}

.cart-dialog:not([open]) {
  display: none;
}

.cart-dialog[open] {
  animation: cart-in 0.32s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes cart-in {
  from {
    transform: translateX(40px);
    opacity: 0;
  }
}

.cart-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 28px;
  border-bottom: 1px solid var(--line);
}

.cart-head h2 {
  font-size: 30px;
}

.cart-head .dialog-close {
  margin: 0;
}

.cart-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 8px 28px 32px;
}

.cart-empty {
  margin: 40px 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  color: var(--ink-soft);
}

.cart-lines {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cart-line {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 16px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.cart-line img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 10px;
  background: var(--leaf);
  padding: 4px;
}

.cart-line-info strong {
  display: block;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.2;
}

.cart-line-info > span {
  font-size: 14px;
  color: var(--ink-faint);
}

.cart-line-total {
  font-weight: 700;
  white-space: nowrap;
}

.qty {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}

.qty button {
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font-size: 17px;
  line-height: 1;
}

.qty button:hover:not(:disabled) {
  border-color: var(--ink);
}

.qty button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.qty output {
  min-width: 26px;
  text-align: center;
  font-weight: 700;
}

.qty .remove {
  width: auto;
  height: auto;
  margin-left: 10px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  font-size: 14px;
  color: var(--ink-faint);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cart-sums {
  margin: 18px 0 0;
}

.cart-sums div {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  color: var(--ink-soft);
}

.cart-sums dt,
.cart-sums dd {
  margin: 0;
}

.cart-sums .cart-total {
  margin-top: 6px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
}

.cart-sums small {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink-faint);
}

/* Summe = Artikelsumme, darunter „zzgl. Versand ca. …“ */
.cart-sums .cart-total dd {
  text-align: right;
}

.cart-sums .cart-total small {
  display: block;
  margin-top: 2px;
}

.cart-shipping-note {
  margin: 10px 0 0;
  font-size: 14px;
  color: var(--ink-faint);
}

/* Deutlicher Hinweis: Anfrage wird an den Verlag weitergeleitet */
.cart-notice {
  margin: 24px 0;
  padding: 18px 20px;
  border-radius: 14px;
  background: var(--sky);
}

.cart-notice h3 {
  font-size: 19px;
  margin-bottom: 6px;
}

.cart-notice p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
}

.request-form h3 {
  font-size: 22px;
  margin-bottom: 14px;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px 12px;
}

.field-grid label {
  grid-column: span 3;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}

.field-grid .field-wide {
  grid-column: span 4;
}

.field-grid .field-narrow {
  grid-column: span 2;
}

.field-grid .field-full {
  grid-column: 1 / -1;
}

.field-grid input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #cfd8c6;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 16px; /* verhindert Zoom auf iPhones */
}

.field-grid input:focus {
  outline: 2px solid var(--moss);
  outline-offset: 0;
  border-color: var(--moss);
}

.field-grid small {
  font-size: 13px;
  font-weight: 400;
  color: var(--ink-faint);
}

.field-trap {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.field-country {
  margin: 12px 0 0;
  font-size: 14px;
  color: var(--ink-faint);
}

.confirm {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 20px 0 6px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
}

.confirm input {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--moss);
}

.inline-link {
  padding: 0;
  border: 0;
  background: none;
  color: var(--moss);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-error {
  min-height: 0;
  margin: 10px 0;
  color: #a3401c;
  font-size: 15px;
}

.form-error:empty {
  margin: 0;
}

.btn-block {
  width: 100%;
  justify-content: center;
  margin-top: 12px;
}

.btn:disabled {
  opacity: 0.6;
  cursor: progress;
}

.cart-done {
  padding: 48px 28px;
}

.cart-done h3 {
  font-size: 34px;
  margin-bottom: 14px;
}

.cart-done p {
  margin: 0 0 28px;
  color: var(--ink-soft);
}

@media (max-width: 640px) {
  .cart-head,
  .cart-scroll,
  .cart-done {
    padding-left: 20px;
    padding-right: 20px;
  }
  .field-grid label,
  .field-grid .field-wide {
    grid-column: 1 / -1;
  }
  .field-grid .field-narrow {
    grid-column: span 3;
  }
  .product-bottom .add-btn {
    width: 100%;
  }
}

/* ===== 17 – Ausverkauft (WORTPINSELEI_AUSVERKAUFT_V1) ===== */
.sold-out {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--leaf-deep);
  color: var(--ink-soft);
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
}

.cart-line .sold-out {
  padding: 2px 10px;
  font-size: 13px;
  color: #a3401c;
  background: #fbeee6;
}

.product-card.is-sold-out .product-image img,
.cart-line.is-sold-out img {
  opacity: 0.55;
  filter: grayscale(0.6);
}

.product-card.is-sold-out .product-bottom strong {
  color: var(--ink-faint);
}

.add-btn:disabled {
  opacity: 0.5;
  cursor: default;
}

/* ===== 17 – Termin-Hinweis, Postkarten zum Umdrehen ===== */

/* Termin (z. B. Buchmesse) im Hero – verschwindet per app.js nach dem Datum */
.event-note {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 30em;
  margin-top: 36px;
  padding: 14px 20px 14px 14px;
  border-radius: 18px;
  background: var(--sky);
}

.event-date {
  flex: none;
  display: grid;
  place-items: center;
  align-content: center;
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: #fff;
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1;
  color: var(--moss);
}

.event-date span {
  font-size: 26px;
  font-weight: 700;
  color: var(--ink);
}

.event-note p {
  margin: 0;
  font-size: 16px;
  line-height: 1.45;
  color: var(--ink);
}

.event-note + .hero-footnote {
  margin-top: 28px;
}

/* Postkarten: Vorderseite, beim Darüberfahren/Antippen dreht sich die Karte zur Rückseite */
.flip-card {
  --kachel: 300px;
  position: relative;
  width: 100%;
  height: var(--kachel);
  padding: 16px;
  border: 0;
  font: inherit;
  cursor: pointer;
  perspective: 1200px;
  z-index: 1;
  transition: z-index 0s 0.8s; /* erst nach dem Zurückdrehen wieder nach unten */
}

/* Beim Umdrehen schwebt die Karte über die Nachbarkacheln („Fly-over“) */
.flip-card[aria-pressed='true'] {
  z-index: 5;
  transition: none;
}

.flip-inner {
  position: relative;
  display: block;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.flip-card .flip-front {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(var(--kachel) - 32px);
}

.flip-card .flip-back {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: rotateY(180deg);
}

.flip-front,
.flip-back {
  border-radius: 3px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  box-shadow: 0 12px 24px -12px rgba(43, 58, 45, 0.45);
}

.flip-card[aria-pressed='true'] .flip-inner {
  transform: rotateY(180deg) scale(1.35);
}

.flip-card[aria-pressed='true'] .flip-back {
  box-shadow: 0 30px 50px -20px rgba(43, 58, 45, 0.5);
}

@media (hover: hover) and (pointer: fine) {
  .flip-card:hover {
    z-index: 5;
    transition: none;
  }
  .flip-card:hover .flip-inner {
    transform: rotateY(180deg) scale(1.35);
  }
  .flip-card:hover .flip-back {
    box-shadow: 0 30px 50px -20px rgba(43, 58, 45, 0.5);
  }
}

/* Buch (erste, doppelt breite Kachel): Flip wie bei den Postkarten, etwas weniger Vergrößerung.
   Höhere Spezifität nötig, weil .product-card:first-child .product-image img sonst gewinnt. */
.product-card:first-child .flip-card .flip-front {
  max-height: calc(var(--kachel) - 32px);
}
.product-card:first-child .flip-card .flip-back {
  width: 100%;
  height: 100%;
  max-height: none;
}
.product-card:first-child .flip-card[aria-pressed='true'] .flip-inner {
  transform: rotateY(180deg) scale(1.2);
}
@media (hover: hover) and (pointer: fine) {
  .product-card:first-child .flip-card:hover .flip-inner {
    transform: rotateY(180deg) scale(1.2);
  }
}

/* kleiner Hinweis unten rechts, verschwindet, sobald die Rückseite zu sehen ist */
.flip-hint {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-soft);
  transition: opacity 0.3s;
}

.flip-hint::before {
  content: '↻ ';
}

.flip-card[aria-pressed='true'] .flip-hint {
  opacity: 0;
}

@media (hover: hover) and (pointer: fine) {
  .flip-card:hover .flip-hint {
    opacity: 0;
  }
}

.flip-card:focus-visible {
  outline: 2px solid var(--moss);
  outline-offset: 3px;
}

@media (max-width: 640px) {
  .flip-card {
    --kachel: 190px;
    padding: 12px;
  }
  .flip-card .flip-front {
    max-height: calc(var(--kachel) - 24px);
  }
  .flip-card[aria-pressed='true'] .flip-inner {
    transform: rotateY(180deg) scale(1.15);
  }
  .video-frame {
    width: min(100%, 340px);
  }
  .event-note {
    margin-top: 28px;
  }
}

/* ===== 18 – Lesungen ===== */
.readings {
  background: var(--leaf);
  padding: var(--section) 0;
}

.readings-inner {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.readings-art img {
  width: 100%;
  max-width: 440px;
  margin-inline: auto;
}

.readings-copy p {
  max-width: 34em;
  margin: 0 0 1em;
  color: var(--ink-soft);
}

.readings-copy .readings-greeting {
  margin: 0 0 4px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(24px, 2.4vw, 30px);
  color: var(--moss);
}

.readings-copy h2 {
  margin-bottom: 18px;
}

.readings-copy .readings-lead {
  margin-bottom: 24px;
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.4;
  color: var(--ink);
}

/* Einladung zur Lesung als helle Karte mit E-Mail-Knopf */
.readings-invite {
  margin-top: 32px;
  padding: 26px 28px 24px;
  border-radius: 20px;
  background: #fff;
}

.readings-invite p {
  color: var(--ink);
}

.readings-invite .btn {
  margin-top: 6px;
}

.readings-copy .readings-mail {
  margin: 14px 0 0;
  font-size: 15px;
  color: var(--ink-faint);
}

.readings-mail a {
  color: var(--moss);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 960px) {
  .readings-inner {
    grid-template-columns: 1fr;
  }
  .readings-art img {
    max-width: 300px;
  }
}

@media (max-width: 640px) {
  .readings-invite {
    padding: 22px 20px;
  }
  .readings-art img {
    max-width: 240px;
  }
}

/* Handy: beide Logos bleiben nebeneinander */
@media (max-width: 480px) {
  .publisher-own-logo { width: 140px; }
  .publisher-logo-link img { width: 110px; }
}

/* ===== 19 – Ausmalbilder (WORTPINSELEI_AUSMALBILDER_V1) ===== */
/* Hinweis auf der Startseite */
.coloring-teaser {
  padding: var(--section) 0;
  background: var(--paper);
}
.coloring-teaser-inner {
  display: grid;
  grid-template-columns: 6fr 5fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.coloring-teaser p {
  color: var(--ink-soft);
  max-width: 34em;
  margin: 22px 0 0;
}
.coloring-teaser .btn {
  margin-top: 32px;
}
.coloring-stack {
  position: relative;
  height: clamp(300px, 34vw, 440px);
}
.coloring-stack img {
  position: absolute;
  width: 58%;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(43, 58, 45, 0.16);
  border: 1px solid var(--line);
}
.coloring-stack img:nth-child(1) { left: 0; top: 8%; transform: rotate(-7deg); }
.coloring-stack img:nth-child(2) { right: 0; top: 4%; transform: rotate(6deg); }
.coloring-stack img:nth-child(3) { left: 21%; top: 0; transform: rotate(-1deg); z-index: 1; }

/* Eigene Seite /ausmalbilder.html */
.coloring-hero {
  text-align: center;
  padding-block: clamp(40px, 6vw, 80px) clamp(30px, 4vw, 56px);
}
.coloring-hero h1 {
  font-size: clamp(40px, 5.4vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.coloring-hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--moss);
}
.coloring-hero p {
  color: var(--ink-soft);
  max-width: 36em;
  margin: 22px auto 0;
  font-size: 18px;
}
.coloring-hero .btn {
  margin-top: 34px;
}
.coloring-hint {
  display: block;
  margin-top: 14px;
  font-size: 14px;
  color: var(--ink-faint);
}
.coloring-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 32px);
  padding-bottom: var(--section);
}
.coloring-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 14px 18px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.coloring-card img {
  width: 100%;
  aspect-ratio: 1103 / 1426;
  object-fit: contain;
  border-radius: 6px;
}
.coloring-card h2 {
  font-size: 19px;
  line-height: 1.25;
  margin: 14px 2px 12px;
  flex: 1;
}
.coloring-card a {
  align-self: flex-start;
  font-size: 15px;
  font-weight: 700;
  color: var(--moss);
  padding-bottom: 2px;
  border-bottom: 1.5px solid currentColor;
}
@media (hover: hover) and (pointer: fine) {
  .coloring-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(43, 58, 45, 0.12);
  }
}
.coloring-info {
  background: var(--leaf);
  padding: var(--section) 0;
}
.coloring-info-inner {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.coloring-info-inner img {
  width: 100%;
  max-width: 460px;
  margin-inline: auto;
  border-radius: 8px;
  box-shadow: 0 20px 44px rgba(43, 58, 45, 0.18);
}
.coloring-info p {
  color: var(--ink-soft);
  margin: 18px 0 0;
}
.coloring-info .hero-actions {
  margin-top: 32px;
}
.coloring-tips {
  padding-block: var(--section);
}
.coloring-tips ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
  list-style: none;
  padding: 0;
  margin: 40px 0 0;
}
.coloring-tips li {
  border-top: 1.5px solid var(--line);
  padding-top: 20px;
  color: var(--ink-soft);
}
.coloring-tips li strong {
  display: block;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 8px;
}
@media (max-width: 960px) {
  .coloring-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .coloring-teaser-inner,
  .coloring-info-inner { grid-template-columns: 1fr; }
  .coloring-stack { max-width: 520px; width: 100%; margin-inline: auto; }
  .coloring-tips ul { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .coloring-grid { gap: 12px; }
  .coloring-card { padding: 10px 10px 14px; }
  .coloring-card h2 { font-size: 16px; }
  .coloring-card a { font-size: 14px; }
}

/* Aktuelle Seite in der Kopfzeile markieren */
.site-header nav a[aria-current="page"] {
  color: var(--moss);
  background-size: 100% 1.5px;
}

/* ===== 20 – Gästebuch (WORTPINSELEI_GAESTEBUCH_V1) ===== */
/* Eigene Seite /gaestebuch.html */
.guestbook-hero {
  text-align: center;
  padding-block: clamp(40px, 6vw, 80px) clamp(24px, 3vw, 40px);
}
.guestbook-hero h1 {
  font-size: clamp(40px, 5.4vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.guestbook-hero p {
  color: var(--ink-soft);
  max-width: 36em;
  margin: 22px auto 0;
  font-size: 18px;
}
.guestbook-write {
  padding-bottom: clamp(56px, 7vw, 96px);
}
.guestbook-card {
  max-width: 720px;
  margin-inline: auto;
  background: var(--leaf);
  border-radius: 20px;
  padding: clamp(24px, 4vw, 44px);
}
.guestbook-form-title {
  font-size: clamp(28px, 3vw, 36px);
  margin-bottom: 22px;
}
.guestbook-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.guestbook-fields label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}
.guestbook-fields .optional {
  font-weight: 400;
  color: var(--ink-faint);
}
.guestbook-fields .guestbook-message {
  grid-column: 1 / -1;
}
.guestbook-fields input,
.guestbook-fields textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #cfd8c6;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 16px; /* verhindert Zoom auf iPhones */
}
.guestbook-fields textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.55;
}
.guestbook-fields input:focus,
.guestbook-fields textarea:focus {
  outline: 2px solid var(--moss);
  outline-offset: 0;
  border-color: var(--moss);
}
.guestbook-count {
  align-self: flex-end;
  font-size: 13px;
  font-weight: 400;
  color: var(--ink-faint);
}
.guestbook-note {
  margin: 14px 0 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
}
.guestbook-card .btn {
  margin-top: 18px;
}
.guestbook-done {
  text-align: center;
  padding-block: 8px;
}
.guestbook-done:focus {
  outline: none;
}
.guestbook-done img {
  width: 150px;
  margin: 0 auto 10px;
}
.guestbook-done h2 {
  font-size: clamp(30px, 3.4vw, 40px);
}
.guestbook-done p {
  color: var(--ink-soft);
  max-width: 30em;
  margin: 14px auto 22px;
}
.guestbook-done .subtle-link {
  background: none;
  border-top: 0;
  border-inline: 0;
  padding-inline: 0;
  color: var(--ink);
}

/* Einträge */
.guestbook-entries {
  padding-bottom: var(--section);
}
.guestbook-entries > .section-wrap > h2 {
  margin-bottom: clamp(28px, 4vw, 48px);
}
.guestbook-empty {
  color: var(--ink-soft);
  font-size: 18px;
  margin: 0;
}
.guestbook-list {
  columns: 3 300px;
  column-gap: clamp(18px, 2.4vw, 28px);
}
.guestbook-entry {
  break-inside: avoid;
  margin: 0 0 clamp(18px, 2.4vw, 28px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px 24px 20px;
}
.guestbook-entry blockquote {
  position: relative;
  margin: 0;
  padding-top: 26px;
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.5;
  color: var(--ink);
  white-space: pre-line;
  overflow-wrap: anywhere;
}
.guestbook-entry blockquote::before {
  content: '“';
  position: absolute;
  top: -10px;
  left: -2px;
  font-size: 56px;
  line-height: 1;
  color: var(--moss);
}
.guestbook-entry figcaption {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  color: var(--ink-soft);
  overflow-wrap: anywhere;
}
.guestbook-entry figcaption strong {
  color: var(--ink);
  font-weight: 700;
}
.guestbook-entry time {
  display: block;
  font-size: 13px;
  color: var(--ink-faint);
  margin-top: 2px;
}

/* Hinweis auf der Startseite */
.guestbook-teaser {
  padding: var(--section) 0;
  background: var(--leaf);
}
.guestbook-teaser-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 40px;
  margin-bottom: clamp(28px, 4vw, 48px);
}
.guestbook-teaser-head p {
  color: var(--ink-soft);
  max-width: 30em;
  margin: 18px 0 0;
}
.guestbook-teaser .guestbook-list {
  columns: 3 260px;
}
.guestbook-teaser .guestbook-entry {
  border-color: transparent;
}

@media (max-width: 640px) {
  .guestbook-fields {
    grid-template-columns: 1fr;
  }
  .guestbook-card .btn {
    width: 100%;
    justify-content: center;
  }
  .guestbook-entry blockquote {
    font-size: 18px;
  }
}
.guestbook-teaser-head:last-child { margin-bottom: 0; }

/* ===== 21 – Hinweis aufs Spiel im Ausmalbilder-Abschnitt (WORTPINSELEI_SPIEL_V1; Spiel selbst: /spiel.css) ===== */
.coloring-teaser .game-teaser-link {
  margin: 22px 0 0;
  font-size: 16px;
  color: var(--ink-soft);
}
.coloring-teaser .game-teaser-link .subtle-link {
  margin-left: 4px;
  color: var(--ink);
}
