/* ==========================================================
   Maria Keim – Autorinnenseite (One-Page)
   Reines CSS, keine externen Fonts/Bibliotheken
   ========================================================== */

:root {
  --green: #004411;
  --green-light: #0a6b25;
  --text: #555;
  --heading: #212121;
  --black: #000;
  --border: #e3e3e3;
  --dark: #151515;
  --btn: #32373c;
  --white: #fff;
  --max: 1010px;
  --sidebar: 277px;
  --header-h: 50px;
  --font: "Open Sans", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
}

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

a { color: var(--green); text-decoration: none; }
a:hover, a:focus-visible { text-decoration: underline; }

:focus-visible { outline: 2px solid var(--green-light); outline-offset: 2px; }

h1, h2, h3, h4, h5 { color: var(--black); line-height: 1.25; margin: 0 0 .6em; }
h2 { font-size: 26px; font-weight: 700; }
h3 { font-size: 22px; font-weight: 700; }
h4 { font-size: 15px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--green); margin-bottom: .3em; }
h5 { font-size: 15px; font-weight: 400; font-style: italic; color: var(--text); }

p { margin: 0 0 1.2em; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 1000;
  background: var(--white); color: var(--black); padding: 10px 16px;
}
.skip-link:focus { left: 10px; top: 10px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Header / Navigation ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  transition: background-color .3s ease, box-shadow .3s ease;
}
.site-header.is-scrolled,
.site-header.is-solid,
.site-header.menu-open {
  background: rgba(0, 25, 8, .94);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .25);
}
.header-inner {
  max-width: 1200px; height: 100%; margin: 0 auto;
  padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo {
  color: var(--white); font-size: 17px; font-weight: 400;
  white-space: nowrap;
}
.logo:hover { text-decoration: none; color: #d8ffe2; }

.main-nav ul { list-style: none; margin: 0; padding: 0; }
.main-nav > ul { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  display: block; padding: 8px 14px;
  color: var(--white); font-size: 13px;
  transition: color .2s;
}
.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a.active { color: #9be8ae; text-decoration: none; }

.has-sub { position: relative; }
.has-sub > a::after {
  content: ""; display: inline-block; width: 5px; height: 5px; margin-left: 5px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
}
.sub-menu {
  position: absolute; right: 0; top: 100%; min-width: 170px;
  background: rgba(0, 25, 8, .96);
  padding: 6px 0 !important;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.has-sub:hover .sub-menu,
.has-sub:focus-within .sub-menu { opacity: 1; visibility: visible; transform: none; }

.menu-toggle {
  display: none;
  background: none; border: 0; padding: 8px; cursor: pointer; color: var(--white);
}
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block; width: 24px; height: 2px; background: currentColor; position: relative;
  transition: transform .25s, background-color .25s;
}
.menu-toggle span::before,
.menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -7px; }
.menu-toggle span::after { top: 7px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 552px;
  display: flex; align-items: center; justify-content: center;
  text-align: center; color: var(--white);
  overflow: hidden; background: #0b2a12;
}
.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 50%;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(0, 0, 0, .12);
}
.hero-content { position: relative; z-index: 1; padding: 60px 20px 0; }
.hero h1 {
  color: var(--white); font-size: 50px; font-weight: 400; margin: 0 0 18px;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .35);
}
.hero-tagline { font-size: 15px; margin: 0 0 18px; text-shadow: 0 1px 6px rgba(0, 0, 0, .5); }
.social-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border: 2px solid var(--white); border-radius: 50%;
  color: var(--white); transition: background-color .2s, color .2s;
}
.social-icon:hover,
.social-icon:focus-visible { background: var(--white); color: var(--green); text-decoration: none; }
.social-icon svg { width: 15px; height: 15px; fill: currentColor; }

/* ---------- Layout ---------- */
.page-wrap {
  max-width: var(--max); margin: 0 auto; padding: 24px 16px 40px;
  display: grid; grid-template-columns: minmax(0, 1fr) var(--sidebar); gap: 22px;
  align-items: start;
}

.box {
  border: 1px solid var(--border);
  background: var(--white);
  padding: 24px 24px 12px;
  margin-bottom: 22px;
}
.section-title {
  font-size: 40px; font-weight: 700; color: var(--heading);
  text-align: center; margin: 0 0 24px; padding-bottom: 18px;
  position: relative;
}
.section-title::after {
  content: ""; position: absolute; left: 50%; bottom: 0;
  width: 125px; height: 3px; margin-left: -62.5px; background: var(--green);
}

.content h2 { margin-top: 1.4em; }
.content figure { margin: 0 0 1.4em; }
.content figcaption, .source { font-size: 11px; color: #777; margin-top: 6px; word-break: break-word; }

.center,
.content figure.center { margin-left: auto; margin-right: auto; }
figure.center img { margin: 0 auto; }

/* Unterseite (Impressum & Datenschutz) */
.subpage .page-wrap { padding-top: calc(var(--header-h) + 24px); }
.page-wrap.page-single { display: block; max-width: 820px; }
.back-link { margin: 0 0 16px; font-size: 14px; }
.w-half { width: 50%; }
.w-60 { width: 60%; }

.two-col {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center;
  margin-bottom: 1.2em;
}

.quotes p em { color: #777; }

audio { width: 100%; display: block; }

/* ---------- Animierte Comic-Symbole ----------
   Die Symbole sind aus den Comics ausgeschnitten und liegen als eigene Bilder darüber.
   Die Animation startet, sobald der Comic sichtbar ist (Klasse .play per JS). */
.comic { position: relative; container-type: inline-size; }
.comic .fx {
  position: absolute; height: auto; margin: 0 !important;
  pointer-events: none; user-select: none;
  opacity: 0; will-change: transform, opacity;
}
.no-js .comic .fx { opacity: 1; }

/* Comic 1: erst "!", dann "Hi" mit Strich */
.comic-hi .fx-ausruf { transform-origin: 50% 100%; }
.comic-hi .fx-hi     { transform-origin: 50% 80%; }
.comic-hi.play .fx-ausruf { animation: hi-ausruf 6s cubic-bezier(.3,1.6,.5,1) infinite; }
.comic-hi.play .fx-hi     { animation: hi-text 6s cubic-bezier(.3,1.6,.5,1) infinite; }
.comic-hi.play .fx-strich { animation: hi-strich 6s ease-out infinite; }
@keyframes hi-ausruf {
  0%, 6%   { opacity: 0; transform: scale(.2) translateY(30%); }
  14%      { opacity: 1; transform: scale(1.25) translateY(0); }
  20%      { transform: scale(.92) rotate(-6deg); }
  26%, 86% { opacity: 1; transform: scale(1) rotate(0); }
  94%,100% { opacity: 0; transform: scale(1); }
}
@keyframes hi-text {
  0%, 30%  { opacity: 0; transform: scale(.3) rotate(-12deg); }
  38%      { opacity: 1; transform: scale(1.15) rotate(4deg); }
  44%, 86% { opacity: 1; transform: scale(1) rotate(0); }
  94%,100% { opacity: 0; transform: scale(1); }
}
@keyframes hi-strich {
  0%, 38%  { opacity: 0; clip-path: inset(0 100% 100% 0); }
  40%      { opacity: 1; clip-path: inset(0 100% 100% 0); }
  48%, 86% { opacity: 1; clip-path: inset(0 0 0 0); }
  94%,100% { opacity: 0; clip-path: inset(0 0 0 0); }
}

/* Comic 2: glitzernde Sterne, aufsteigendes Herz */
.comic-ueber .fx-stern { opacity: 1; }
.comic-ueber.play .fx-stern { animation: stern-glitzer 2.2s ease-in-out infinite; }
.comic-ueber.play .s2 { animation-delay: -.7s; animation-duration: 1.9s; }
.comic-ueber.play .s3 { animation-delay: -1.4s; animation-duration: 2.5s; }
@keyframes stern-glitzer {
  0%, 100% { transform: scale(.82) rotate(0deg);  opacity: .75; filter: drop-shadow(0 0 0 rgba(90,230,230,0)); }
  50%      { transform: scale(1.12) rotate(14deg); opacity: 1;   filter: drop-shadow(0 0 1.2cqw rgba(90,230,230,.95)); }
}
/* aufsteigende Herzchen über den Schildkröten (Comic 1 und 2) */
.comic .fx-herz.h1 { opacity: 1; }
.comic.play .fx-herz { animation: herz-steigt 3.2s ease-out infinite; }
.comic.play .fx-herz.h2 { animation-delay: 1.6s; }
@keyframes herz-steigt {
  0%   { opacity: 0; transform: translate(0, 0) scale(.8); }
  12%  { opacity: 1; transform: translate(0, -1.5cqw) scale(1.6); }
  45%  { transform: translate(-2cqw, -8cqw) scale(2.4) rotate(-10deg); }
  75%  { opacity: .9; transform: translate(1.5cqw, -14cqw) scale(2.8) rotate(8deg); }
  100% { opacity: 0; transform: translate(-.8cqw, -19cqw) scale(3) rotate(-4deg); }
}

/* Comic 3: schläfrige Z steigen auf, "O.o" erscheint */
.comic-neuro.play .fx-z { animation: z-steigt 3s ease-out infinite; }
.comic-neuro.play .z2 { animation-delay: .6s; }
.comic-neuro.play .z3 { animation-delay: 1.2s; }
@keyframes z-steigt {
  0%   { opacity: 0; transform: translate(0, 1.5cqw) scale(.6) rotate(-8deg); }
  20%  { opacity: 1; transform: translate(0, 0) scale(1) rotate(0); }
  60%  { opacity: 1; transform: translate(1.5cqw, -3cqw) scale(1.15) rotate(8deg); }
  100% { opacity: 0; transform: translate(3cqw, -6.5cqw) scale(1.35) rotate(-6deg); }
}
.comic-neuro .fx-oo { transform-origin: 50% 60%; }
.comic-neuro.play .fx-oo { animation: oo-erscheint 5s cubic-bezier(.3,1.6,.5,1) infinite; }
@keyframes oo-erscheint {
  0%, 8%   { opacity: 0; transform: scale(.2); }
  18%      { opacity: 1; transform: scale(1.2); }
  26%      { transform: scale(1); }
  60%      { transform: scale(1, 1); }
  63%      { transform: scale(1, .15); }   /* blinzeln */
  66%, 88% { opacity: 1; transform: scale(1, 1); }
  96%,100% { opacity: 0; transform: scale(1); }
}

/* Seitenleiste: "..." wie beim Tippen, "?!" wackelt */
.comic-desk .fx-punkt, .comic-desk .fx-frage { opacity: 1; }
.comic-desk .fx-frage { transform-origin: 50% 100%; }
.comic-desk.play .fx-punkt { animation: punkt-tippt 1.4s ease-in-out infinite; }
.comic-desk.play .p2 { animation-delay: .2s; }
.comic-desk.play .p3 { animation-delay: .4s; }
@keyframes punkt-tippt {
  0%, 60%, 100% { opacity: .35; transform: translateY(0) scale(1.2); }
  30%           { opacity: 1;   transform: translateY(-1.6cqw) scale(1.8); }
}
.comic-desk.play .fx-frage { animation: frage-wackelt 3s ease-in-out infinite; }
@keyframes frage-wackelt {
  0%, 100% { transform: scale(1.3) rotate(0); }
  12%      { transform: scale(2.2) rotate(0); }
  20%      { transform: scale(2) rotate(-14deg); }
  28%      { transform: scale(2) rotate(12deg); }
  36%      { transform: scale(2) rotate(-8deg); }
  44%      { transform: scale(1.9) rotate(4deg); }
  52%, 85% { transform: scale(1.7) rotate(0); }
}

/* "Animationen reduzieren": ruhige Varianten ohne Hüpfen/Drehen */
@media (prefers-reduced-motion: reduce) {
  .comic-hi.play .fx-ausruf { animation: rm-hi-ausruf 6s ease-in-out infinite !important; }
  .comic-hi.play .fx-hi,
  .comic-hi.play .fx-strich { animation: rm-hi-text 6s ease-in-out infinite !important; }
  .comic-ueber.play .fx-stern { animation: rm-glitzer 2.4s ease-in-out infinite !important; }
  .comic-ueber.play .s2 { animation-delay: -.8s !important; }
  .comic-ueber.play .s3 { animation-delay: -1.6s !important; }
  .comic.play .fx-herz { animation: rm-herz 3.2s ease-out infinite !important; }
  .comic.play .fx-herz.h2 { animation-delay: 1.6s !important; }
  .comic-desk.play .fx-punkt { animation: rm-punkt 1.4s ease-in-out infinite !important; }
  .comic-desk.play .p2 { animation-delay: .2s !important; }
  .comic-desk.play .p3 { animation-delay: .4s !important; }
  .comic-desk.play .fx-frage { animation: rm-glitzer 2.4s ease-in-out infinite !important; transform: scale(1.5); }
  .comic-neuro.play .fx-z { animation: rm-steigt 3s ease-out infinite !important; }
  .comic-neuro.play .z2 { animation-delay: .6s !important; }
  .comic-neuro.play .z3 { animation-delay: 1.2s !important; }
  .comic-neuro.play .fx-oo { animation: rm-hi-ausruf 5s ease-in-out infinite !important; }
}
@keyframes rm-hi-ausruf { 0%, 6% { opacity: 0; } 16%, 86% { opacity: 1; } 96%, 100% { opacity: 0; } }
@keyframes rm-hi-text   { 0%, 30% { opacity: 0; } 42%, 86% { opacity: 1; } 96%, 100% { opacity: 0; } }
@keyframes rm-punkt     { 0%, 60%, 100% { opacity: .3; transform: scale(1.4); } 30% { opacity: 1; transform: scale(1.4); } }
@keyframes rm-glitzer   { 0%, 100% { opacity: .45; } 50% { opacity: 1; } }
@keyframes rm-herz      { 0% { opacity: 0; transform: translateY(0) scale(1.6); } 25% { opacity: 1; } 100% { opacity: 0; transform: translateY(-6cqw) scale(2.4); } }
@keyframes rm-steigt    { 0% { opacity: 0; transform: translateY(0); } 25% { opacity: 1; } 100% { opacity: 0; transform: translateY(-3cqw); } }

@media print { .comic .fx { opacity: 1 !important; animation: none !important; } }

/* Fotos mit abgerundeten Ecken */
img.photo {
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 6px 18px rgba(0,0,0,.10);
}

/* Bücher */
.book { padding-top: 10px; }
.book + .book { border-top: 1px solid var(--border); margin-top: 26px; padding-top: 30px; }
.book-head { text-align: center; margin-bottom: 18px; }
.book-head h2 { margin-top: 0; }
.book-head p { font-style: italic; }
.book-cover { width: 55%; max-width: 300px; margin: 0 auto 22px; }
.book-title { font-weight: 700; color: var(--black); margin-bottom: 0; }
.book-volume { margin-bottom: 1em; }

.buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 10px 0 26px; }
.btn {
  display: inline-block; padding: 12px 26px;
  background: var(--green); color: var(--white); border-radius: 30px;
  font-weight: 600; font-size: 14px;
  transition: background-color .2s, transform .2s;
}
.btn:hover,
.btn:focus-visible { background: var(--green-light); color: var(--white); text-decoration: none; transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--green); box-shadow: inset 0 0 0 2px var(--green); }
.btn-outline:hover,
.btn-outline:focus-visible { background: var(--green); color: var(--white); }

.audiobook { text-align: center; margin-top: 28px; }

/* Verlinkte Buch- und Hörbuchbilder: beim Darüberfahren heben sie sich an und zeigen, wohin der Klick führt */
.img-link {
  display: block; position: relative; width: fit-content; max-width: 100%;
  margin: 0 auto; text-decoration: none !important;
}
.img-link img { transition: transform .35s ease, filter .35s ease; }
.img-link:hover img,
.img-link:focus-visible img {
  transform: translateY(-6px) scale(1.03);
  filter: drop-shadow(0 14px 18px rgba(0,0,0,.28)) brightness(1.04);
}
.img-link::after {
  content: attr(data-label) "  \2197";
  position: absolute; left: 50%; bottom: 10%;
  transform: translate(-50%, 10px);
  background: var(--green); color: var(--white);
  font-weight: 600; font-size: 14px; white-space: nowrap;
  padding: 8px 18px; border-radius: 30px;
  box-shadow: 0 4px 12px rgba(0,0,0,.25);
  opacity: 0; pointer-events: none;
  transition: opacity .3s ease, transform .3s ease;
}
.img-link:hover::after,
.img-link:focus-visible::after { opacity: 1; transform: translate(-50%, 0); }
@media (hover: none) {           /* Touch-Geräte: Hinweis dauerhaft, aber dezent sichtbar */
  .img-link::after { opacity: .92; transform: translate(-50%, 0); font-size: 12px; padding: 6px 13px; }
}
.book-cover-link { width: 55%; max-width: 300px; margin: 0 auto 22px; }
.book-cover-link .book-cover { width: 100%; max-width: none; margin: 0; }
.audiobook .cd-link { width: 45%; max-width: 260px; margin: 0 auto 18px; }
.audiobook .cd-link img { width: 100%; max-width: none; margin: 0; }
@media (max-width: 600px) {
  .book-cover-link { width: 70%; }
  .audiobook .cd-link { width: 60%; }
}

/* dezenter Text-Button (z. B. Leseprobe im Start-Abschnitt) */
.btn-subtle {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 600; color: var(--green);
  background: rgba(47, 154, 68, .08);
  border: 1px solid rgba(0, 68, 17, .18);
  transition: background-color .2s, border-color .2s, gap .2s;
}
.btn-subtle:hover,
.btn-subtle:focus-visible {
  text-decoration: none; background: rgba(47, 154, 68, .16);
  border-color: rgba(0, 68, 17, .35); gap: 10px;
}

/* Hörprobe-Button mit Play/Pause-Symbol */
button.btn { border: 0; font-family: inherit; cursor: pointer; }
.js-hoerprobe { display: inline-flex; align-items: center; gap: 10px; }
.hp-icon {
  width: 0; height: 0; border-style: solid;
  border-width: 6px 0 6px 10px; border-color: transparent transparent transparent currentColor;   /* ▶ */
}
.js-hoerprobe.is-playing .hp-icon {
  width: 10px; height: 12px; border: 0;
  border-left: 3.5px solid currentColor; border-right: 3.5px solid currentColor;                  /* ❚❚ */
}
.js-hoerprobe.is-playing { background: var(--green); color: var(--white); }
.hoerprobe-player { max-width: 420px; margin: 0 auto 24px; }
.hoerprobe-player[hidden] { display: none; }
.audiobook img { width: 45%; max-width: 260px; margin: 0 auto 18px; }

/* Über mich – Steckbrief als Karten in Rot-Grün (Farben der Buchcover) */
.facts {
  --fc-green: #2f9a44; --fc-green-dark: #1d6e2e; --fc-green-soft: #e9f6ec;
  --fc-red: #e2312b;   --fc-red-dark: #a91f1a;   --fc-red-soft: #fdecea;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px;
  margin: 0 0 1.8em; font-size: 14px;
}
.fact-card {
  --c: var(--fc-green); --c-dark: var(--fc-green-dark); --c-soft: var(--fc-green-soft);
  position: relative; overflow: hidden;
  background: #fff; border-radius: 14px;
  box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 6px 18px rgba(0,0,0,.07);
  transition: transform .25s ease, box-shadow .25s ease;
}
.fact-red { --c: var(--fc-red); --c-dark: var(--fc-red-dark); --c-soft: var(--fc-red-soft); }
.fact-card:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(0,0,0,.06), 0 14px 28px rgba(0,0,0,.12); }

.fact-head {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px;
  background: linear-gradient(135deg, var(--c) 0%, var(--c-dark) 100%);
  color: #fff;
}
.fact-head h3 { color: #fff; font-size: 16px; font-weight: 700; margin: 0; line-height: 1.25; }
.fact-icon {
  flex: 0 0 38px; width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.2); box-shadow: inset 0 0 0 2px rgba(255,255,255,.45);
}
.fact-icon svg { width: 20px; height: 20px; fill: #fff; }

.fact-card > ul, .fact-card > ol, .fact-card > div { padding: 16px; margin: 0; }

/* Hobbys als Chips */
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  padding: 5px 12px; border-radius: 999px;
  background: var(--c-soft); color: var(--c-dark);
  font-weight: 600; font-size: 13px;
  border: 1px solid color-mix(in srgb, var(--c) 25%, transparent);
  transition: background-color .2s, color .2s;
}
.chips li:hover { background: var(--c); color: #fff; }
.chips .chip-more { background: transparent; border-style: dashed; }

/* Bücherliste */
.booklist { list-style: none; display: grid; gap: 10px; }
.booklist li {
  padding: 8px 12px; border-radius: 8px; background: var(--c-soft);
  border-left: 4px solid var(--c);
}
.bk-title { display: block; font-weight: 700; color: var(--black); line-height: 1.3; }
.bk-author { display: block; font-size: 12px; color: var(--c-dark); }

/* Lieblingssprüche als Sprechblasen */
.sayings { display: grid; gap: 14px; }
.sayings blockquote {
  position: relative; margin: 0; padding: 12px 40px 12px 40px;
  background: var(--c-soft); border-radius: 12px 12px 12px 2px;
  font-style: italic; color: #333;
}
.sayings blockquote::before {
  content: "\201E"; position: absolute; left: 10px; top: -6px;
  font-size: 46px; line-height: 1; font-style: normal; font-weight: 700; color: var(--c);
}
.sayings blockquote::after {
  content: "\201C"; position: absolute; right: 10px; bottom: -4px;
  font-size: 46px; line-height: 1; font-style: normal; font-weight: 700; color: var(--c);
}
.sayings p { margin: 0; }

/* Sprachen mit Kürzel-Badge */
.langs { list-style: none; display: grid; gap: 8px; }
.langs li { display: flex; align-items: center; gap: 10px; }
.langs abbr {
  flex: 0 0 auto; min-width: 42px; padding: 3px 6px; border-radius: 6px; text-align: center;
  text-decoration: none; font-size: 12px; font-weight: 700; letter-spacing: .04em;
  background: var(--c); color: #fff;
}
.langs li.sign abbr { background: var(--fc-red); } /* Gebärdensprachen in Rot */

.interview p strong { color: var(--black); }

/* Kontakt-Blöcke */
.contact-card { margin-bottom: 1.6em; }
.notice { color: var(--black); font-weight: 700; }

/* ---------- Sidebar ---------- */
.sidebar .widget {
  border: 1px solid var(--border);
  padding: 16px;
  margin-bottom: 22px;
  font-size: 13px;
}
.widget-title { font-size: 22px; font-weight: 700; color: var(--black); margin: 0 0 14px; }
.widget blockquote { margin: 0 0 1.1em; padding: 0; }
.widget blockquote p { margin: 0; }
.widget cite { display: block; margin-top: 6px; color: #777; }
.widget img { margin: 0 auto; }

.search-form label { display: block; margin-bottom: 6px; }
.search-row { display: flex; gap: 8px; }
.search-row input {
  flex: 1; min-width: 0; height: 36px; padding: 0 10px;
  border: 1px solid #ccc; font: inherit; font-size: 14px; border-radius: 0;
}
.search-row button {
  height: 36px; padding: 0 16px; border: 0; cursor: pointer;
  background: var(--btn); color: var(--white); font: inherit; font-size: 13px;
}
.search-row button:hover { background: var(--green); }
.search-status { margin: 8px 0 0; min-height: 1.2em; font-size: 12px; }
mark.hit { background: #c9f2d3; color: inherit; padding: 0 1px; }
mark.hit.current { background: #ffd54a; }

/* ---------- Footer ---------- */
/* Abstrakter Sternenhimmel (Canvas, per JS gezeichnet) mit Cassiopeia */
.site-footer {
  position: relative; overflow: hidden; isolation: isolate;
  color: #9aa3c0; font-size: 13px;
  background:
    radial-gradient(ellipse at 78% 0%, rgba(70, 90, 170, .35), transparent 60%),
    radial-gradient(ellipse at 10% 100%, rgba(47, 154, 68, .18), transparent 55%),
    linear-gradient(180deg, #0a0f22 0%, #111733 60%, #0d1226 100%);
  min-height: 220px;
  padding-bottom: 30px;
}
.footer-sky {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: -1; pointer-events: none;
}
.footer-inner, .copyright { position: relative; }
.copyright { color: #8f98b8; }
@media (max-width: 600px) { .site-footer { min-height: 260px; padding-bottom: 60px; } }
.footer-inner { max-width: var(--max); margin: 0 auto; padding: 34px 16px 10px; }
.footer-title { color: var(--white); font-size: 18px; font-weight: 400; margin: 0 0 10px; }
.footer-nav ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 4px 26px; }
.footer-nav a { display: inline-block; color: var(--white); padding: 6px 0; }
.copyright { text-align: center; padding: 26px 16px 22px; margin: 0; }

.to-top {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  width: 42px; height: 42px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--green); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .25s, transform .25s, visibility .25s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top svg { width: 18px; height: 18px; fill: currentColor; }

/* sanftes Einblenden */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Tablet ---------- */
@media (max-width: 900px) {
  .page-wrap { grid-template-columns: 1fr; }
  .sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; align-items: start; }
  .sidebar .widget:first-child { grid-column: 1 / -1; }
  .hero { height: 460px; }
}

/* ---------- Mobile Navigation ---------- */
@media (max-width: 800px) {
  .header-inner { padding: 0 16px; }
  .menu-toggle { display: block; }
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    background: rgba(0, 25, 8, .97);
    max-height: 0; overflow: hidden;
    transition: max-height .35s ease;
  }
  .menu-open .main-nav { max-height: 80vh; overflow-y: auto; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; padding: 6px 0 12px; }
  .main-nav a { padding: 12px 20px; font-size: 15px; border-top: 1px solid rgba(255,255,255,.06); }
  .has-sub > a::after { display: none; }
  .sub-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    background: transparent; padding: 0 !important;
  }
  .sub-menu a { padding-left: 38px; font-size: 14px; }
}

/* ---------- Smartphone ---------- */
@media (max-width: 600px) {
  .hero { height: 380px; }
  .hero-bg { object-position: 22% 50%; }
  .hero h1 { font-size: 38px; }
  .section-title { font-size: 30px; }
  h2 { font-size: 22px; }
  .box { padding: 18px 16px 8px; }
  .two-col { grid-template-columns: 1fr; }
  .w-half, .w-60 { width: 80%; }
  .book-cover { width: 70%; }
  .audiobook img { width: 60%; }
  .sidebar { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; gap: 14px; }
}

/* ---------- Schildkröten-Mauszeiger & Herzchen-Spur ----------
   Nur auf Geräten mit Maus (nicht auf Touch-Geräten). */
@media (hover: hover) and (pointer: fine) {
  html, body {
    cursor: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 32 32'><g transform='rotate(-45 16 16)' stroke='%23123d1c' stroke-width='1.2'><ellipse cx='8.5' cy='12' rx='2.6' ry='2' fill='%2357c26a'/><ellipse cx='23.5' cy='12' rx='2.6' ry='2' fill='%2357c26a'/><ellipse cx='9' cy='24.5' rx='2.6' ry='2' fill='%2357c26a'/><ellipse cx='23' cy='24.5' rx='2.6' ry='2' fill='%2357c26a'/><path d='M14.5 27L16 30.5L17.5 27Z' fill='%2357c26a'/><circle cx='16' cy='6.5' r='3.3' fill='%2357c26a'/><ellipse cx='16' cy='18' rx='8' ry='9.5' fill='%232f9a44'/><path d='M16 13.5l3.4 2.4v3.8L16 22.2l-3.4-2.5v-3.8z' fill='%2357c26a' stroke-width='1'/><circle cx='14.8' cy='5.4' r='.75' fill='%23123d1c' stroke='none'/><circle cx='17.2' cy='5.4' r='.75' fill='%23123d1c' stroke='none'/></g></svg>") 5 5, auto;
  }
  /* über Links & Buttons: Schildkröte mit rotem Herz auf dem Panzer */
  a, button, summary, label[for], audio, .chips li {
    cursor: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 32 32'><g transform='rotate(-45 16 16)' stroke='%23123d1c' stroke-width='1.2'><ellipse cx='8.5' cy='12' rx='2.6' ry='2' fill='%2357c26a'/><ellipse cx='23.5' cy='12' rx='2.6' ry='2' fill='%2357c26a'/><ellipse cx='9' cy='24.5' rx='2.6' ry='2' fill='%2357c26a'/><ellipse cx='23' cy='24.5' rx='2.6' ry='2' fill='%2357c26a'/><path d='M14.5 27L16 30.5L17.5 27Z' fill='%2357c26a'/><circle cx='16' cy='6.5' r='3.3' fill='%2357c26a'/><ellipse cx='16' cy='18' rx='8' ry='9.5' fill='%232f9a44'/><path d='M16 22.3l-.9-.8c-3-2.7-4.6-4.2-4.6-6 0-1.5 1.1-2.6 2.6-2.6.8 0 1.7.4 2.2 1 .5-.6 1.4-1 2.2-1 1.5 0 2.6 1.1 2.6 2.6 0 1.8-1.6 3.3-4.6 6z' fill='%23e2312b' stroke='%23a91f1a' stroke-width='.8'/><circle cx='14.8' cy='5.4' r='.75' fill='%23123d1c' stroke='none'/><circle cx='17.2' cy='5.4' r='.75' fill='%23123d1c' stroke='none'/></g></svg>") 5 5, pointer;
  }
  input[type="search"], input[type="text"], textarea { cursor: text; }
}

.heart-trail {
  position: fixed; left: 0; top: 0; z-index: 9999;
  pointer-events: none; user-select: none;
  width: 14px; height: 14px; margin: -7px 0 0 -7px;
  animation: heart-float 1s ease-out forwards;
  will-change: transform, opacity;
}
.heart-trail svg { width: 100%; height: 100%; display: block; }
@keyframes heart-float {
  0%   { opacity: 0;  transform: translate(var(--x), var(--y)) scale(.3) rotate(var(--r)); }
  15%  { opacity: 1; }
  100% { opacity: 0;  transform: translate(calc(var(--x) + var(--dx)), calc(var(--y) - 34px)) scale(var(--s)) rotate(var(--r)); }
}
@keyframes heart-fade {
  0%   { opacity: 0; transform: translate(var(--x), var(--y)) rotate(var(--r)); }
  20%  { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--x), var(--y)) rotate(var(--r)); }
}
/* Schlaf-Z der Schildkröte */
.sleep-z {
  position: fixed; left: 0; top: 0; z-index: 9999;
  pointer-events: none; user-select: none;
  font-family: var(--font); font-weight: 800; line-height: 1;
  color: #1d6e2e;
  text-shadow: 0 0 2px #fff, 0 0 4px #fff, 0 0 6px rgba(255,255,255,.8);
  animation: z-float 2.4s ease-out forwards;
  will-change: transform, opacity;
}
.sleep-z.wake { animation: z-wake .25s ease-out forwards !important; }
@keyframes z-float {
  0%   { opacity: 0; transform: translate(var(--x), var(--y)) rotate(-10deg) scale(.6); }
  15%  { opacity: 1; }
  50%  { transform: translate(calc(var(--x) + 14px), calc(var(--y) - 22px)) rotate(8deg) scale(1); }
  100% { opacity: 0; transform: translate(calc(var(--x) + 22px), calc(var(--y) - 46px)) rotate(-6deg) scale(1.15); }
}
@keyframes z-fade {
  0%   { opacity: 0; transform: translate(var(--x), var(--y)); }
  25%  { opacity: 1; }
  100% { opacity: 0; transform: translate(calc(var(--x) + 4px), calc(var(--y) - 16px)); }
}
@keyframes z-wake {
  from { opacity: 1; }
  to   { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  /* sanfte Varianten ohne Bewegung – überschreiben die globale Animationssperre */
  .heart-trail { animation: heart-fade .8s ease-out forwards !important; }
  .sleep-z { animation: z-fade 2s ease-out forwards !important; }
  .sleep-z.wake { animation: z-wake .25s ease-out forwards !important; }
}

@media print {
  .site-header, .hero, .sidebar, .to-top, audio { display: none !important; }
  .page-wrap { display: block; }
  .reveal { opacity: 1; transform: none; }
}
