/* MKL | Letzte Aktualisierung: 09.09.2026 */
/* Zentrale Gestaltung der Website: Farben, Typografie, Layout und Mobilansicht. */

:root {
  --forest-950: #09130f;
  --forest-900: #102019;
  --forest-800: #183126;
  --forest-700: #28513c;
  --moss-500: #78916b;
  --cream-50: #fbf8f0;
  --cream-100: #f2ecdf;
  --ink-900: #19201c;
  --ink-700: #49534d;
  --copper-700: #874822;
  --copper-600: #99562f;
  --copper-500: #b87545;
  --copper-400: #d29a6d;
  --line: rgba(25, 32, 28, 0.14);
  --shadow: 0 24px 70px rgba(9, 19, 15, 0.16);
  --radius-lg: 28px;
  --radius-md: 18px;
  --content: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink-900);
  background:
    radial-gradient(circle at 10% 10%, rgba(120, 145, 107, 0.12), transparent 28rem),
    var(--cream-50);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.72;
}

p { text-wrap: pretty; }

body.menu-open { overflow: hidden; }

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

a { color: inherit; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 1000;
  padding: 0.65rem 1rem;
  color: white;
  background: var(--forest-900);
  border-radius: 0 0 8px 8px;
}

.skip-link:focus { top: 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(9, 19, 15, 0.94);
  backdrop-filter: blur(14px);
  transition: background 220ms ease, box-shadow 220ms ease;
}

.site-header.is-scrolled {
  background: rgba(9, 19, 15, 0.98);
  box-shadow: 0 12px 34px rgba(4, 10, 7, 0.16);
}

/* Die Kupferlinie zeigt unaufdringlich den Lesefortschritt der Seite. */
.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: var(--scroll-progress, 0%);
  height: 2px;
  background: var(--copper-400);
}

.nav-wrap {
  width: min(calc(100% - 2rem), var(--content));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  text-decoration: none;
  color: var(--cream-50);
  line-height: 1.05;
}

.brand strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  letter-spacing: 0.03em;
}

.brand span {
  display: block;
  margin-top: 0.22rem;
  color: var(--copper-400);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-nav { display: flex; align-items: center; gap: 0.2rem; }

.site-nav a {
  padding: 0.65rem 0.85rem;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  text-decoration: none;
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  color: white;
  background: rgba(255, 255, 255, 0.09);
}

.site-nav a:hover { transform: translateY(-1px); }

.menu-button {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  color: white;
  background: transparent;
  font-size: 1.2rem;
}

.hero {
  position: relative;
  min-height: min(790px, 86vh);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: white;
  background: var(--forest-950);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/hero-vorpommern.png") center / cover no-repeat;
  opacity: 0.8;
  transform: scale(1.015);
  animation: hero-breathe 18s ease-in-out infinite alternate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(4, 12, 8, 0.92) 0%, rgba(4, 12, 8, 0.64) 43%, rgba(4, 12, 8, 0.1) 75%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 2rem), var(--content));
  margin: 0 auto;
  padding: 7rem 0;
}

.hero-copy { max-width: 690px; }

.hero-copy > * {
  animation: rise-in 700ms both;
}

.hero-copy > :nth-child(2) { animation-delay: 80ms; }
.hero-copy > :nth-child(3) { animation-delay: 150ms; }
.hero-copy > :nth-child(4) { animation-delay: 220ms; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1rem;
  color: var(--copper-700);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

/* Auf dunklen Flächen bleibt der hellere Kupferton klar erkennbar. */
.hero .eyebrow,
.page-hero .eyebrow,
.section.dark .eyebrow,
.site-footer .eyebrow { color: var(--copper-400); }

.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }

h1, h2, h3 {
  margin-top: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.13;
  text-wrap: balance;
}

h1 { margin-bottom: 1.4rem; font-size: clamp(2.7rem, 6.7vw, 6rem); font-weight: 500; letter-spacing: -0.04em; }
h2 { margin-bottom: 1rem; font-size: clamp(2rem, 4vw, 3.7rem); font-weight: 500; letter-spacing: -0.03em; }
h3 { margin-bottom: 0.65rem; font-size: clamp(1.35rem, 2vw, 1.85rem); }

.hero-lead { max-width: 610px; margin: 0 0 2rem; color: rgba(255, 255, 255, 0.82); font-size: clamp(1.05rem, 2vw, 1.28rem); }

.button-row { display: flex; flex-wrap: wrap; gap: 0.8rem; }

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0.76rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--copper-600);
  color: white;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease;
}

.button::after {
  content: "→";
  margin-left: 0.55rem;
  transition: transform 160ms ease;
}

.button:hover { transform: translateY(-2px); background: #a85f36; }
.button:hover::after { transform: translateX(3px); }
.button:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid var(--copper-700); outline-offset: 3px; }
.hero :focus-visible,
.page-hero :focus-visible,
.section.dark :focus-visible,
.site-header :focus-visible,
.site-footer :focus-visible { outline-color: #edb888; }
.button.secondary { border-color: rgba(255, 255, 255, 0.35); background: rgba(255, 255, 255, 0.08); }
.button.secondary:hover { background: rgba(255, 255, 255, 0.16); }
.button.dark { background: var(--forest-800); }
.button.small { min-height: 42px; padding: 0.62rem 0.95rem; font-size: 0.9rem; }

.section {
  position: relative;
  padding: clamp(4.5rem, 9vw, 8rem) 0;
}
.section.dark {
  color: var(--cream-50);
  background:
    radial-gradient(circle at 90% 10%, rgba(120, 145, 107, 0.13), transparent 28rem),
    var(--forest-900);
}
.section.tint {
  background:
    radial-gradient(circle at 8% 14%, rgba(184, 117, 69, 0.09), transparent 25rem),
    var(--cream-100);
}
.container { width: min(calc(100% - 2rem), var(--content)); margin: 0 auto; }
.narrow { width: min(calc(100% - 2rem), 820px); margin: 0 auto; }
.section-head { max-width: 760px; margin-bottom: 2.5rem; }
.section-head p { color: var(--ink-700); }
.dark .section-head p { color: rgba(255, 255, 255, 0.7); }

.story-grid,
.book-grid,
.feature-grid { display: grid; gap: 1.4rem; }
.story-grid { grid-template-columns: repeat(3, 1fr); }
.book-grid { grid-template-columns: repeat(3, 1fr); }
.feature-grid { grid-template-columns: repeat(2, 1fr); }

.story-card,
.book-card,
.feature-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.64);
  box-shadow: 0 14px 38px rgba(9, 19, 15, 0.06);
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.story-card:hover,
.book-card:hover,
.feature-card:hover {
  transform: translateY(-7px);
  border-color: rgba(184, 117, 69, 0.38);
  box-shadow: 0 22px 52px rgba(9, 19, 15, 0.12);
}

/* Varianten für redaktionelle Karten ohne wiederholte Inline-Stile. */
.feature-card.padded { padding: 2rem; }
.feature-card.music-promo {
  padding: clamp(2rem, 5vw, 4rem);
  border-color: rgba(255, 255, 255, 0.12);
  background: linear-gradient(145deg, #274b39, #102019);
}
.feature-card.music-promo p { color: rgba(255, 255, 255, 0.72); }

.story-card {
  min-height: 360px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--ink-900);
  background: linear-gradient(145deg, #dfe5e1, #f5f7f3);
}
.story-card::before {
  content: "";
  width: 48px;
  height: 2px;
  margin-bottom: auto;
  background: var(--copper-700);
  transition: width 240ms ease;
}
.story-card:hover::before { width: 86px; }
.story-card:nth-child(2) { color: var(--cream-50); background: linear-gradient(145deg, #1b3328, #0c1712); }
.story-card:nth-child(2)::before { background: var(--copper-400); }
.story-card:nth-child(3) { color: var(--ink-900); background: linear-gradient(145deg, #e7dcc8, #fffaf0); }
.section.dark .story-card { color: var(--ink-900); }
.section.dark .story-card:nth-child(2) { color: var(--cream-50); }
.story-number { color: var(--copper-700); font: 700 0.75rem/1 "Segoe UI", sans-serif; letter-spacing: 0.14em; text-transform: uppercase; }
.story-card:nth-child(2) .story-number { color: var(--copper-400); }
.text-link { color: var(--forest-700); font-weight: 700; text-underline-offset: 4px; }
.dark .text-link, .story-card:nth-child(2) .text-link { color: var(--copper-400); }

.book-card { display: flex; flex-direction: column; }
.book-cover { aspect-ratio: 4 / 5.25; padding: 1.5rem; display: grid; place-items: center; background: linear-gradient(145deg, #dcd5c8, #f7f2e8); }
.book-cover img { max-height: 100%; border-radius: 4px; box-shadow: 0 16px 32px rgba(9, 19, 15, 0.24); }
.book-cover img { transition: transform 300ms ease, box-shadow 300ms ease; }
.book-card:hover .book-cover img { transform: scale(1.025) rotate(-0.4deg); box-shadow: 0 22px 42px rgba(9, 19, 15, 0.3); }
.book-copy { flex: 1; padding: 1.6rem; display: flex; flex-direction: column; }
.book-copy p { color: var(--ink-700); }
.book-copy .button-row { margin-top: auto; padding-top: 1rem; }
.book-kicker { margin: 0 0 0.45rem; color: var(--copper-700); font-size: 0.76rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }

/* Filter und Shoplinks der automatisch aufgebauten Buchübersicht. */
.book-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 0 0 2rem;
}

.filter-button {
  min-height: 42px;
  padding: 0.6rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-700);
  background: rgba(255, 255, 255, 0.72);
  font: 700 0.9rem/1 "Segoe UI", sans-serif;
  cursor: pointer;
}

.filter-button:hover,
.filter-button[aria-pressed="true"] {
  color: white;
  border-color: var(--forest-800);
  background: var(--forest-800);
}

.shop-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-top: auto;
  padding-top: 1rem;
}

.books-message {
  padding: 1rem 1.2rem;
  border-radius: var(--radius-md);
  background: var(--cream-100);
}

.split { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.split-media { overflow: hidden; min-height: 480px; margin: 0; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.split-media img { width: 100%; height: 100%; min-height: 480px; object-fit: cover; }
.split-media img { transition: transform 700ms ease; }
.split-media:hover img { transform: scale(1.025); }
.quote { margin: 1.6rem 0; padding-left: 1.3rem; border-left: 3px solid var(--copper-500); font: 1.35rem/1.5 Georgia, serif; }

.page-hero { padding: 7rem 0 5rem; color: white; background: linear-gradient(140deg, var(--forest-950), var(--forest-700)); }
.page-hero {
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 20%, rgba(210, 154, 109, 0.17), transparent 25rem),
    linear-gradient(140deg, var(--forest-950), var(--forest-700));
}
.page-hero h1 { max-width: 880px; font-size: clamp(2.6rem, 6vw, 5rem); }
.page-hero p { max-width: 720px; color: rgba(255, 255, 255, 0.76); font-size: 1.16rem; }

/* Bewegter Themenstreifen zwischen Titelbild und Inhalt. */
.region-strip {
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--cream-100);
  background: var(--forest-950);
}

.region-track {
  display: flex;
  width: max-content;
  animation: region-flow 28s linear infinite;
}

.region-group {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1rem 0.6rem;
  font: 700 0.76rem/1 "Segoe UI", sans-serif;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.region-group span { white-space: nowrap; }
.region-group span::after { content: "◆"; margin-left: 1.2rem; color: var(--copper-400); font-size: 0.58rem; }

/* Elemente erscheinen erst, wenn sie in den sichtbaren Bereich kommen. */
.reveal-ready {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 620ms ease, transform 620ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal-ready.is-visible { opacity: 1; transform: translateY(0); }

@keyframes rise-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes hero-breathe {
  from { transform: scale(1.015); }
  to { transform: scale(1.055); }
}

@keyframes region-flow {
  to { transform: translateX(-50%); }
}

.legal-card { padding: clamp(1.4rem, 4vw, 3rem); border: 1px solid var(--line); border-radius: var(--radius-lg); background: white; box-shadow: var(--shadow); }
.legal-card h2 { margin-top: 2.4rem; font-size: 1.75rem; }
.legal-card h2:first-child { margin-top: 0; }
.notice { padding: 1rem 1.2rem; border-left: 4px solid var(--copper-500); background: #fff6ec; }

.site-footer { padding: 3rem 0; color: rgba(255, 255, 255, 0.72); background: var(--forest-950); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.footer-title { color: white; font: 1.3rem Georgia, serif; }
.footer-links { display: flex; flex-direction: column; gap: 0.45rem; }
.footer-links a, .footer-button { color: inherit; text-decoration: none; }
.footer-links a:hover, .footer-button:hover { color: white; }
.footer-button { width: fit-content; padding: 0; border: 0; background: none; font: inherit; cursor: pointer; }
.copyright { margin: 2rem 0 0; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.85rem; }

/* Einwilligungsdialog: optionale Inhalte werden erst nach Zustimmung geladen. */
.consent {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: none;
  align-items: flex-end;
  justify-content: center;
  padding: 1rem;
  background: rgba(4, 10, 7, 0.58);
}
.consent.is-open { display: flex; }
.consent-panel { width: min(100%, 760px); padding: 1.6rem; border-radius: 22px; background: white; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.32); }
.consent-panel h2 { margin-bottom: 0.5rem; font-size: 1.55rem; }
.consent-panel p { margin-top: 0; color: var(--ink-700); font-size: 0.93rem; }
.consent-options { display: grid; gap: 0.7rem; margin: 1rem 0; }
.consent-option { display: flex; justify-content: space-between; gap: 1rem; padding: 0.85rem 1rem; border: 1px solid var(--line); border-radius: 12px; }
.consent-option small { display: block; color: var(--ink-700); }
.consent-option input { width: 20px; height: 20px; accent-color: var(--forest-700); }
.consent-actions { display: flex; flex-wrap: wrap; gap: 0.65rem; }

@media (max-width: 900px) {
  .menu-button { display: inline-grid; place-items: center; }
  .site-nav {
    position: fixed;
    inset: 78px 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    background: var(--forest-950);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 0.9rem 1rem; }
  .story-grid, .book-grid { grid-template-columns: repeat(2, 1fr); }
  .story-grid .story-card:last-child { grid-column: 1 / -1; }
  .split { grid-template-columns: 1fr; }
  .split-media { order: -1; min-height: 360px; }
  .split-media img { min-height: 360px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero { min-height: 760px; align-items: end; }
  .hero::before { background-position: 62% center; opacity: 0.7; }
  .hero::after { background: linear-gradient(0deg, rgba(4, 12, 8, 0.96), rgba(4, 12, 8, 0.18)); }
  .hero-content { padding: 8rem 0 4rem; }
  .story-grid, .book-grid, .feature-grid, .footer-grid { grid-template-columns: 1fr; }
  .story-grid .story-card:last-child { grid-column: auto; }
  .book-cover { aspect-ratio: 1 / 1.12; }
  .page-hero { padding: 5.5rem 0 3.5rem; }
  .consent-actions .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
  .hero::before, .hero-copy > *, .region-track { animation: none !important; }
  .reveal-ready { opacity: 1; transform: none; }
}
