/* Rosenfalter Verlag · Gestaltung (Stil von Entwurf 1, Rosa und Gold)
   Bestehende Regeln nie verändern. Neue Regeln nur zuunterst anfügen. */

@font-face {
  font-family: "Cormorant Garamond";
  src: url("schriften/cormorant-garamond.woff") format("woff");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("schriften/cormorant-garamond-kursiv.woff") format("woff");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("schriften/source-serif-4.woff") format("woff");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --rosa-bg: #F6EBEE;
  --rosa-mist: #FAF3F5;
  --paper: #FFFCFB;
  --rosa-soft: #EBC9D2;
  --rosa-mid: #C48496;
  --rosa-deep: #7A3346;
  --rosa-ink: #4A2430;
  --gold: #B08A3E;
  --gold-bright: #D4B56A;
  --gold-pale: #E9D9B0;
  --gold-deep: #8C6A28;
  --ink: #2C1C21;
  --ink-soft: #5A4349;
  --line: rgba(176, 138, 62, 0.38);
  --shadow: 0 18px 40px rgba(74, 36, 48, 0.08);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Source Serif 4", "Palatino Linotype", Palatino, "Times New Roman", serif;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background:
    radial-gradient(1200px 520px at 50% -80px, #fde8ee 0%, transparent 70%),
    linear-gradient(180deg, var(--rosa-mist) 0%, var(--rosa-bg) 28%, #F4E6EA 100%);
  min-height: 100%;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--rosa-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--gold-deep); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.wrap {
  width: min(1080px, calc(100% - 2.2rem));
  margin-inline: auto;
}


/* Header */
header {
  position: relative;
  padding: 1.15rem 0 0.4rem;
}
.brand {
  text-align: center;
}
.brand-name {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--rosa-ink);
}
.brand-place {
  display: block;
  margin-top: 0.2rem;
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  color: var(--gold-deep);
}
nav {
  margin: 1.05rem auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 1.05rem;
}
nav a {
  font-family: "Cormorant Garamond", serif;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rosa-ink);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 0.1rem;
}
nav a:hover { border-bottom-color: var(--gold); color: var(--gold-deep); }

.hairline {
  width: min(14rem, 60%);
  height: 1px;
  margin: 1.05rem auto 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  border: 0;
}

/* Hero */
.hero {
  text-align: center;
  padding: 2.2rem 0 3.2rem;
}
.butterfly {
  width: 108px;
  margin: 0 auto 1.15rem;
  filter: drop-shadow(0 8px 14px rgba(176, 138, 62, 0.22));
}
h1 {
  margin: 0.15rem 0 0;
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-size: clamp(2.35rem, 9vw, 4.8rem);
  line-height: 1.05;
  letter-spacing: 0.01em;
  color: var(--rosa-ink);
}
.hero-flourish {
  width: 92px;
  margin: 0.9rem auto 1.2rem;
}
.leitgedanke {
  margin: 0 auto;
  max-width: 26.5rem;
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: clamp(1.2rem, 3.6vw, 1.55rem);
  line-height: 1.45;
  color: var(--ink-soft);
}

/* Sections */
section {
  padding: 2.6rem 0;
}
.kicker {
  margin: 0 0 0.35rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
h2 {
  margin: 0 0 1rem;
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-size: clamp(2rem, 6vw, 2.75rem);
  line-height: 1.1;
  color: var(--rosa-ink);
}
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

.split {
  display: grid;
  gap: 1.6rem;
  align-items: center;
}
@media (min-width: 760px) {
  .split { grid-template-columns: 0.9fr 1.1fr; gap: 3rem; }
  .split-reverse { grid-template-columns: 1.1fr 0.9fr; }
  .split-reverse .visual { order: 2; }
}

/* Book cover placeholder */
.cover {
  position: relative;
  width: min(16.5rem, 78%);
  margin: 0 auto;
  aspect-ratio: 2 / 3;
  background:
    radial-gradient(80% 50% at 50% 18%, rgba(233, 217, 176, 0.28), transparent 70%),
    linear-gradient(180deg, #C9A0AB 0%, #8B3D52 48%, #5C2434 100%);
  border: 1px solid var(--gold-pale);
  box-shadow: var(--shadow), inset 0 0 0 6px rgba(176, 138, 62, 0.55), inset 0 0 0 7px rgba(255, 252, 251, 0.25);
  color: var(--gold-pale);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 1rem 1.15rem;
}
.cover-butterfly { width: 46px; margin: 0.4rem auto 0; opacity: 0.95; }
.cover-title {
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-size: 1.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0;
  color: #F3E6C0;
}
.cover-sub {
  margin: 0.35rem 0 0;
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: #E9D9B0;
}
.cover-label {
  font-family: "Cormorant Garamond", serif;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(243, 230, 192, 0.85);
}

/* Placeholder boxes */
.platzhalter {
  margin-top: 1.15rem;
  padding: 1rem 1.1rem;
  background: var(--paper);
  border: 1px dashed var(--gold);
  border-radius: 2px;
  box-shadow: var(--shadow);
}
.platzhalter p { margin: 0; color: var(--ink-soft); }
.ph-label {
  display: inline-block;
  margin: 0 0 0.4rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

/* Rune clock ornament */
.clock {
  width: min(13.5rem, 70%);
  margin: 0 auto;
  filter: drop-shadow(0 18px 40px rgba(74, 36, 48, 0.08));
}
.clock-word {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 42px;
  fill: var(--rosa-ink);
}

.btn {
  display: inline-block;
  margin-top: 0.35rem;
  padding: 0.7rem 1.35rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rosa-ink);
  background: linear-gradient(180deg, #F3E6C0, #D4B56A);
  border: 1px solid var(--gold-deep);
  border-radius: 2px;
  text-decoration: none;
  box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset;
  cursor: default;
  appearance: none;
  -webkit-appearance: none;
}
.btn:disabled {
  color: var(--rosa-ink);
  opacity: 1;
}
.btn-note {
  margin: 0.55rem 0 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.panel {
  background: var(--paper);
  padding: 1.5rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  box-shadow: var(--shadow);
}
.panel > * { max-width: 38em; }
@media (min-width: 760px) {
  .panel { padding: 2.2rem 2.6rem; }
}

/* Kontakt */
.kontakt-box {
  max-width: 36rem;
}
@media (min-width: 760px) {
  .kontakt-box { margin-inline: auto; }
}

/* Footer */
footer {
  margin-top: 2.2rem;
  padding: 1.8rem 1.1rem 2.1rem;
  text-align: center;
  background: linear-gradient(180deg, #5C2A38, #3F1C27);
  color: var(--gold-pale);
}
.footer-mark {
  width: 36px;
  margin: 0 auto 0.7rem;
  opacity: 0.9;
}
footer p {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
}
.footer-small {
  margin-top: 0.35rem !important;
  font-size: 0.8rem !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.8;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Impressum */
.impressum-box {
  max-width: 36rem;
}
@media (min-width: 760px) {
  .impressum-box { margin-inline: auto; }
}
.impressum-box address {
  font-style: normal;
}
.kontakt-mail {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.3rem;
  letter-spacing: 0.02em;
  overflow-wrap: anywhere;
}
.adresse-offen {
  color: var(--rosa-deep);
  background: rgba(233, 217, 176, 0.55);
  padding: 0 0.25rem;
}

.nowrap { white-space: nowrap; }

/* Fusszeile: Links und Widmung */
footer a { color: var(--gold-pale); }
footer a:hover { color: #F3E6C0; }
.footer-links {
  margin-top: 0.5rem !important;
  font-size: 0.9rem !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase;
}
.widmung {
  max-width: 30rem;
  margin: 1.4rem auto 0 !important;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(233, 217, 176, 0.35);
  font-style: italic;
  font-size: 1.05rem !important;
  line-height: 1.5;
}

/* ===== NEUE REGELN NUR HIER UNTEN ANFÜGEN ===== */

/* Kleine Bildschirme: Kopfzeile und E-Mail nicht über den Rand schieben */
@media (max-width: 720px) {
  .brand-name {
    letter-spacing: 0.14em;
    font-size: 0.76rem;
    line-height: 1.5;
    max-width: 100%;
    overflow-wrap: break-word;
  }
}
@media (max-width: 420px) {
  .wrap {
    width: min(1080px, calc(100% - 1.4rem));
  }
  .brand-name {
    letter-spacing: 0.1em;
    font-size: 0.7rem;
  }
  nav a {
    font-size: 0.88rem;
    letter-spacing: 0.06em;
  }
}

/* ===== Ausbau: Willkommen, Spruch des Tages, Sprüche, Geschichte, Max & Mugel ===== */

/* Sanft flatternder Schmetterling und kleine Falter im Kopfteil */
.hero { position: relative; overflow: hidden; }
.hero .wrap { position: relative; z-index: 1; }
.flattern { animation: flattern 5.5s ease-in-out infinite; transform-origin: 50% 60%; }
@keyframes flattern {
  0%, 100% { transform: translateY(0) scaleX(1); }
  20% { transform: translateY(-4px) scaleX(0.9); }
  40% { transform: translateY(-7px) scaleX(1); }
  60% { transform: translateY(-4px) scaleX(0.93); }
}
.falter-flug { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.falter { position: absolute; width: 22px; opacity: 0; }
.f1 { left: 8%; top: 70%; animation: falter-a 19s linear infinite; }
.f2 { left: 78%; top: 82%; width: 16px; animation: falter-b 23s linear 4s infinite; }
.f3 { left: 55%; top: 90%; width: 18px; animation: falter-a 27s linear 11s infinite; }
@keyframes falter-a {
  0% { transform: translate(0, 0) rotate(-8deg) scaleX(1); opacity: 0; }
  10% { opacity: 0.75; }
  25% { transform: translate(30px, -60px) rotate(6deg) scaleX(0.7); }
  50% { transform: translate(10px, -140px) rotate(-6deg) scaleX(1); }
  75% { transform: translate(45px, -210px) rotate(8deg) scaleX(0.7); }
  90% { opacity: 0.6; }
  100% { transform: translate(20px, -290px) rotate(0deg) scaleX(1); opacity: 0; }
}
@keyframes falter-b {
  0% { transform: translate(0, 0) rotate(8deg) scaleX(1); opacity: 0; }
  10% { opacity: 0.7; }
  30% { transform: translate(-35px, -80px) rotate(-6deg) scaleX(0.7); }
  60% { transform: translate(-10px, -170px) rotate(6deg) scaleX(1); }
  90% { opacity: 0.55; }
  100% { transform: translate(-40px, -280px) rotate(-4deg) scaleX(0.8); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .flattern, .falter { animation: none; }
  .falter-flug { display: none; }
}

/* Überschriften und Text in der Mitte */
.panel-mitte { text-align: center; }
.panel-mitte > * { margin-inline: auto; }
.kopf-mitte { text-align: center; margin-bottom: 1.6rem; }
.einleitung { max-width: 30rem; margin: 0 auto; color: var(--ink-soft); }
h3 {
  margin: 0 0 0.5rem;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: 1.45rem;
  line-height: 1.2;
  color: var(--rosa-ink);
}

/* Spruch des Tages */
.tagesspruch {
  text-align: center;
  padding: 1.6rem 1.1rem;
  background:
    radial-gradient(90% 60% at 50% 0%, rgba(235, 201, 210, 0.45), transparent 70%),
    var(--paper);
  border: 1px solid var(--gold);
  box-shadow: var(--shadow), inset 0 0 0 5px var(--paper), inset 0 0 0 6px var(--line);
  border-radius: 2px;
}
.tagesspruch-inhalt {
  display: grid;
  gap: 1.2rem;
  align-items: center;
  justify-items: center;
  margin-top: 0.4rem;
}
.tagesspruch-inhalt img {
  width: min(15rem, 72%);
  height: auto;
  border-radius: 50%;
  border: 2px solid var(--gold-pale);
  box-shadow: var(--shadow);
}
@media (min-width: 760px) {
  .tagesspruch { padding: 2.4rem 2.6rem; }
  .tagesspruch-inhalt { grid-template-columns: auto 1fr; gap: 2.4rem; text-align: left; justify-items: start; }
  .tagesspruch-inhalt img { width: 15rem; }
}
.spruch-titel {
  margin: 0 0 0.5rem;
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 1.2rem;
  color: var(--gold-deep);
}
.spruch-text {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.3rem;
  line-height: 1.45;
  color: var(--rosa-ink);
  overflow-wrap: break-word;
}
.spruch-sig {
  margin-top: 0.7rem !important;
  font-family: "Cormorant Garamond", serif;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}
.tagesspruch-knopf { margin: 1.3rem 0 0; }
.btn-aktiv { cursor: pointer; }
.btn-aktiv:hover { background: linear-gradient(180deg, #F7EDD0, #DCC07C); }

/* Galerie der Sprüche */
.spruch-galerie {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 9.5rem), 1fr));
  gap: 1rem;
  align-items: start;
}
@media (min-width: 760px) {
  .spruch-galerie { grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr)); gap: 1.4rem; }
}
.spruch-karte {
  margin: 0;
  min-width: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 2px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.spruch-karte img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; }
.spruch-karte figcaption { padding: 0.75rem 0.8rem 0.85rem; text-align: center; }
.spruch-karte .spruch-titel { font-size: 1.05rem; line-height: 1.3; }
.spruch-karte .spruch-text { font-size: 1.12rem; margin-top: 0.6rem; }
.spruch-karte summary {
  cursor: pointer;
  display: inline-block;
  font-family: "Cormorant Garamond", serif;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rosa-deep);
  border-bottom: 1px solid var(--gold-pale);
  list-style: none;
}
.spruch-karte summary::-webkit-details-marker { display: none; }
.spruch-karte summary::before { content: "🦋 "; }
.spruch-karte details[open] summary { color: var(--gold-deep); }

/* Max & Mugel */
.zeichen-raster {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  gap: 1rem;
}
.zeichen-karte {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 2px;
  box-shadow: var(--shadow);
  padding: 1.3rem 1.2rem;
  text-align: center;
}
.zeichen-symbol { font-size: 2.2rem; line-height: 1; margin: 0 0 0.6rem; }

/* Was noch kommt */
.bald-liste { margin: 0 0 1rem; padding-left: 1.2rem; }
.bald-liste li { margin-bottom: 0.6rem; }
.bald-liste li::marker { content: "🦋 "; }

/* Impressum: Unterteile */
.impressum-titel { margin-top: 1.4rem; font-size: 1.25rem; }
.impressum-box p { overflow-wrap: break-word; }

/* Fusszeile: Mitwirkende und Drache */
.footer-credit {
  margin-top: 0.9rem !important;
  font-size: 0.95rem !important;
  font-style: italic;
  opacity: 0.9;
}
.drache-medaillon {
  width: 7.5rem;
  height: 7.5rem;
  margin: 1.3rem auto 0;
  object-fit: cover;
  object-position: 50% 30%;
  border-radius: 50%;
  border: 2px solid var(--gold-bright);
  box-shadow: 0 0 0 5px rgba(233, 217, 176, 0.12), 0 10px 24px rgba(0, 0, 0, 0.35);
}

/* Knopf nach oben */
.nach-oben {
  position: fixed;
  right: 0.9rem;
  bottom: 0.9rem;
  z-index: 5;
  width: 2.6rem;
  height: 2.6rem;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  color: var(--rosa-ink);
  text-decoration: none;
  background: rgba(255, 252, 251, 0.92);
  border: 1px solid var(--gold);
  border-radius: 50%;
  box-shadow: var(--shadow);
}
@media (min-width: 760px) {
  .tagesspruch-inhalt { justify-content: center; }
}
.nach-oben { opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s; }
.nach-oben.zeigen { opacity: 1; visibility: visible; }

/* Erinnerung: Flyer der Ausstellung von Margrit Gut, in «Wie alles begann» */
.flyer-erinnerung {
  margin: 1.7rem 0 0;
  width: 100%;
  max-width: none;
  min-width: 0;
}
.flyer-link {
  display: block;
  margin: 0;
  padding: 0.4rem;
  background: #F6F0E4;
  border: 6px solid #6B3038;
  box-shadow: 0 14px 32px rgba(74, 36, 48, 0.12);
  text-decoration: none;
  cursor: zoom-in;
  max-width: 100%;
}
.flyer-link img {
  width: 100%;
  height: auto;
  display: block;
}
.flyer-erinnerung figcaption {
  margin: 0.85rem 0 0;
  max-width: 38em;
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.45;
  color: var(--ink-soft);
  overflow-wrap: break-word;
}

/* Einfache Grossansicht, ohne fremde Bibliothek */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0.8rem;
  background: rgba(44, 28, 33, 0.9);
  cursor: zoom-out;
}
.lightbox.offen { display: flex; }
.lightbox img {
  max-width: 96vw;
  max-height: 92vh;
  width: auto;
  height: auto;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
  border: 5px solid #6B3038;
  background: #F6F0E4;
  cursor: default;
}
.lightbox-zu {
  position: absolute;
  top: 0.6rem;
  right: 0.7rem;
  width: 2.6rem;
  height: 2.6rem;
  padding: 0;
  border: 1px solid var(--gold-pale);
  border-radius: 50%;
  background: rgba(255, 252, 251, 0.92);
  color: var(--rosa-ink);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
.lightbox-zu:hover { background: #fff; }
body.lightbox-sperre { overflow: hidden; }

body.lightbox-sperre .nach-oben { opacity: 0; visibility: hidden; pointer-events: none; }
.lightbox { z-index: 100; }


/* Figuren in «Max & Mugel»: zuerst die Familie, dann die Einzelporträts */
.figuren-familie {
  margin: 0 0 1.3rem;
  width: 100%;
  min-width: 0;
  max-width: 38rem;
  margin-inline: auto;
}
.figuren-familie img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--line);
  border-radius: 2px;
  box-shadow: var(--shadow);
  background: #F6EBEE;
}
.figuren-reihe {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  margin: 0 0 1.8rem;
  align-items: start;
}
.figur-karte {
  margin: 0;
  min-width: 0;
  text-align: center;
}
.figur-karte img {
  width: 100%;
  height: auto;
  max-width: 11rem;
  margin-inline: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: 50% 20%;
  border-radius: 50%;
  border: 2px solid var(--gold-bright);
  box-shadow: 0 0 0 5px rgba(233, 217, 176, 0.12), 0 10px 24px rgba(74, 36, 48, 0.10);
  background: #F6EBEE;
}
.figur-karte figcaption {
  margin-top: 0.65rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.12rem;
  line-height: 1.25;
  color: var(--rosa-ink);
  overflow-wrap: break-word;
}
.figur-karte figcaption span {
  display: block;
  margin-top: 0.2rem;
  font-style: italic;
  font-size: 0.92rem;
  line-height: 1.35;
  color: var(--ink-soft);
}
@media (max-width: 420px) {
  .figuren-reihe { gap: 0.4rem; }
  .figur-karte figcaption { font-size: 0.95rem; }
  .figur-karte figcaption span { font-size: 0.78rem; }
}

/* ----- Blätterkatalog frische-kosmetika (#frische-kosmetika) ----- */
/* Blätterkatalog · Rosenfalter Verlag (Rosa und Gold). Keine Cookies, kein Tracking. */
.bk { --bk-papier:#FAF3EE; --bk-gold:#B08A3E; --bk-gold-tief:#8C6A28; --bk-tinte:#4A2430; --bk-schatten:0 18px 40px rgba(74,36,48,.14); }
.bk-buehne-rahmen { position:relative; margin:0 auto; touch-action:pan-y; user-select:none; -webkit-user-select:none; }
.bk-buehne { position:relative; width:100%; aspect-ratio:27/40; perspective:2200px; }
.bk-doppel .bk-buehne { aspect-ratio:27/20; }
.bk-seite { position:absolute; top:0; bottom:0; width:100%; left:0; background:var(--bk-papier); overflow:hidden; box-shadow:var(--bk-schatten); border:1px solid rgba(176,138,62,.35); }
.bk-doppel .bk-seite { width:50%; }
.bk-doppel .bk-seite.rechts { left:50%; }
.bk-seite img { width:100%; height:100%; object-fit:contain; display:block; pointer-events:none; -webkit-user-drag:none; }
.bk-seite.leer { visibility:hidden; }
.bk-doppel .bk-seite.links::after, .bk-doppel .bk-seite.rechts::after { content:""; position:absolute; top:0; bottom:0; width:28px; pointer-events:none; }
.bk-doppel .bk-seite.links::after { right:0; background:linear-gradient(90deg,transparent,rgba(74,36,48,.16)); }
.bk-doppel .bk-seite.rechts::after { left:0; background:linear-gradient(270deg,transparent,rgba(74,36,48,.16)); }
.bk-blatt { position:absolute; top:0; bottom:0; width:100%; left:0; transform-style:preserve-3d; transition:transform .7s cubic-bezier(.45,.05,.3,1); z-index:5; }
.bk-doppel .bk-blatt { width:50%; }
.bk-blatt .bk-seite { width:100% !important; left:0 !important; backface-visibility:hidden; -webkit-backface-visibility:hidden; }
.bk-blatt .rueck { transform:rotateY(180deg); }
.bk-blatt::after { content:""; position:absolute; inset:0; background:linear-gradient(90deg,rgba(74,36,48,.0),rgba(74,36,48,.12)); pointer-events:none; opacity:0; transition:opacity .7s; }
.bk-steuerung { display:flex; align-items:center; justify-content:center; gap:.6rem; margin:1rem auto 0; flex-wrap:wrap; }
.bk-knopf { min-width:48px; min-height:48px; padding:.6rem 1.1rem; font-family:"Cormorant Garamond",serif; font-size:1.05rem; letter-spacing:.1em; text-transform:uppercase; color:var(--bk-tinte); background:linear-gradient(180deg,#F3E6C0,#D4B56A); border:1px solid var(--bk-gold-tief); border-radius:2px; cursor:pointer; box-shadow:0 1px 0 rgba(255,255,255,.6) inset; -webkit-appearance:none; appearance:none; }
.bk-knopf:disabled { opacity:.4; cursor:default; }
.bk-knopf.leise { background:#FFFCFB; }
.bk-zaehler { min-width:7.5em; text-align:center; font-family:"Cormorant Garamond",serif; font-size:1.05rem; color:var(--bk-tinte); }
.bk-zaehler span { display:block; font-style:italic; font-size:.95rem; color:#5A4349; line-height:1.25; }
.bk-weitere { display:flex; justify-content:center; gap:.6rem; flex-wrap:wrap; margin-top:.7rem; }
.bk-weitere a { display:inline-flex; align-items:center; min-height:44px; }
.bk-hinweis { text-align:center; margin:.6rem 0 0; font-size:.92rem; color:#5A4349; }
.bk-uebersicht { display:grid; grid-template-columns:repeat(auto-fill,minmax(72px,1fr)); gap:.55rem; margin-top:1rem; padding:0; list-style:none; }
.bk-uebersicht[hidden] { display:none; }
.bk-uebersicht button { width:100%; padding:0; border:1px solid rgba(176,138,62,.4); background:#FFFCFB; cursor:pointer; }
.bk-uebersicht button[aria-current="true"] { outline:2px solid var(--bk-gold); outline-offset:2px; }
.bk-uebersicht img { width:100%; aspect-ratio:27/40; object-fit:contain; display:block; }
.bk-uebersicht small { display:block; font-size:.72rem; color:#5A4349; padding:.1rem 0; }
.bk-gross { position:fixed; inset:0; z-index:100; background:rgba(44,28,33,.97); overflow:auto; touch-action:pinch-zoom pan-x pan-y; }
.bk-gross[hidden] { display:none; }
.bk-gross-bilder { padding:4rem 0 5rem; }
.bk-gross-bilder img { display:block; width:100%; max-width:none; height:auto; margin:0 auto 1rem; }
@media (min-width:760px){ .bk-gross-bilder img { width:auto; max-width:min(100%,1100px); } }
.bk-gross .bk-zu { position:fixed; top:.6rem; right:.6rem; z-index:2; }
.bk-gross .bk-zoom { position:fixed; bottom:.8rem; left:50%; transform:translateX(-50%); z-index:2; display:flex; gap:.5rem; }
@media (prefers-reduced-motion: reduce) { .bk-blatt { transition:none; } }
.bk:not(.bk-doppel) .bk-buehne-rahmen { overflow:hidden; }
.bk-ohne-js .bk-steuerung, .bk-ohne-js .bk-hinweis { display:none; }
.bk noscript img { width:min(100%,420px); margin:0 auto; }
@media (max-width:480px){ .bk-zaehler { flex-basis:100%; order:-1; margin:0; } .bk-steuerung .bk-knopf { flex:1 1 0; } }
.fk-teaser { width:min(100%,560px); margin:0 auto 1.4rem; border:1px solid var(--line); box-shadow:var(--shadow); }

/* ----- Wrapp-Wrapp Lesertext (#max-und-mugel), Vorschau ----- */
.wrapp-wrapp-text { margin-top: 1.6rem; }
.wrapp-wrapp-text .einleitung { margin: 0 auto 0.8rem; }

/* ===== Fächer oben als Rechtecke + TikTok (nur diese Vorschau) ===== */
#leiste-oben,
#faecher,
main section[id] {
  scroll-margin-top: 0.6rem;
}

.faecher-oben {
  padding: 0.4rem 0 1.6rem;
}

.faecher-oben .kicker,
.faecher-oben h2 {
  text-align: center;
}

.faecher-leitung {
  margin: 0 auto 1.15rem;
  max-width: 36rem;
  text-align: center;
  color: var(--ink-soft);
}

.faecher-gitter {
  list-style: none;
  margin: 0.85rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(9.6rem, 1fr));
  gap: 1.15rem 0.7rem;
}

.faecher-gitter > li {
  margin: 0;
  padding: 0;
  min-width: 0;
}

.faecher-fach {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.15rem;
  min-height: 5.1rem;
  margin-top: 0.55rem;
  padding: 0.75rem 0.65rem 0.7rem;
  color: var(--rosa-ink);
  text-decoration: none;
  text-align: center;
  background:
    linear-gradient(180deg, #FFFCFB 0%, #FBF3F0 100%);
  border: 1px solid var(--gold);
  border-radius: 0 0.45rem 0.45rem 0.45rem;
  box-shadow: 0 8px 18px rgba(74, 36, 48, 0.07);
}

.faecher-fach::before {
  content: "";
  position: absolute;
  top: -0.52rem;
  left: -1px;
  width: 42%;
  max-width: 4.2rem;
  height: 0.52rem;
  background: linear-gradient(180deg, var(--gold-pale), #F3E6C0);
  border: 1px solid var(--gold);
  border-bottom: none;
  border-radius: 0.4rem 0.4rem 0 0;
}

.faecher-fach:hover,
.faecher-fach:focus-visible {
  color: var(--rosa-ink);
  border-color: var(--gold-deep);
  background: linear-gradient(180deg, #FFFCFB 0%, #F7E8EC 100%);
  box-shadow: 0 10px 22px rgba(74, 36, 48, 0.11);
}

.faecher-kicker {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-deep);
  line-height: 1.3;
}

.faecher-titel {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--rosa-ink);
}

.abschnitt-hoch {
  margin: 1.3rem 0 0;
  text-align: center;
}

.faecher-hoch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.75rem;
  padding: 0.5rem 1.2rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rosa-ink);
  text-decoration: none;
  background: linear-gradient(180deg, #F3E6C0, #D4B56A);
  border: 1px solid var(--gold-deep);
  border-radius: 2px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset;
}

.faecher-hoch:hover,
.faecher-hoch:focus-visible {
  color: var(--rosa-ink);
  background: linear-gradient(180deg, #F7EDD0, #DCC07C);
}

.faecher-hoch span {
  font-size: 1.15rem;
  line-height: 1;
}

.tiktok-liste {
  list-style: none;
  margin: 1.3rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.tiktok-karte {
  margin: 0;
  padding: 1.1rem 1rem 1rem;
  background: var(--paper);
  border: 1px solid var(--gold-pale);
  border-radius: 0.45rem;
  box-shadow: var(--shadow);
}

.tiktok-titel {
  margin: 0 0 0.2rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--rosa-ink);
}

.tiktok-meta {
  margin: 0 0 0.8rem;
  color: var(--gold-deep);
}

.tiktok-links {
  margin: 0 0 0.5rem;
}

.tiktok-links .btn,
.tiktok-laden {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
}

.tiktok-kurz {
  margin: 0.35rem 0 0.7rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
  overflow-wrap: anywhere;
}

.tiktok-slot {
  margin-top: 0.8rem;
}

.tiktok-slot[hidden] {
  display: none;
}

@media (max-width: 420px) {
  .faecher-gitter {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.05rem 0.55rem;
  }
  .faecher-fach {
    min-height: 5.4rem;
    padding: 0.7rem 0.45rem 0.65rem;
  }
  .faecher-titel {
    font-size: 1rem;
  }
  .faecher-kicker {
    font-size: 0.66rem;
  }
}

@media (min-width: 760px) {
  .faecher-gitter {
    grid-template-columns: repeat(auto-fill, minmax(11.2rem, 1fr));
    gap: 1.25rem 0.9rem;
  }
  .faecher-fach {
    min-height: 5.5rem;
  }
  .tiktok-liste {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ===== Vorschau: anklickbare Zeichen-Kästen und Detailseiten ===== */
a.zeichen-karte {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}
a.zeichen-karte:hover,
a.zeichen-karte:focus-visible {
  color: inherit;
  border-color: var(--gold);
  background: #FFFEFC;
  transform: translateY(-3px);
  box-shadow: 0 22px 44px rgba(74, 36, 48, 0.14);
}
a.zeichen-karte:active {
  transform: translateY(0);
  box-shadow: var(--shadow);
}
a.zeichen-karte h3 { color: inherit; }
.zeichen-mehr {
  display: inline-block;
  margin-top: 0.75rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rosa-deep);
  border-bottom: 1px solid var(--gold-pale);
}
a.zeichen-karte:hover .zeichen-mehr,
a.zeichen-karte:focus-visible .zeichen-mehr {
  color: var(--gold-deep);
  border-bottom-color: var(--gold);
}
@media (prefers-reduced-motion: reduce) {
  a.zeichen-karte { transition: none; }
  a.zeichen-karte:hover,
  a.zeichen-karte:focus-visible,
  a.zeichen-karte:active { transform: none; }
}

.detail-haupt {
  padding: 0.6rem 0 2.4rem;
}
.detail-kasten {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 2px;
  box-shadow: var(--shadow);
  padding: 1.4rem 1.2rem 1.8rem;
  max-width: 38rem;
  margin-inline: auto;
}
@media (min-width: 760px) {
  .detail-kasten { padding: 2.1rem 2.4rem 2.2rem; }
}
.detail-kasten .kicker { margin-bottom: 0.35rem; }
.detail-kasten h1 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: clamp(2rem, 6vw, 2.7rem);
  line-height: 1.15;
  margin: 0 0 1rem;
  text-align: center;
  color: var(--rosa-ink);
}
.detail-bild {
  margin: 0 auto 1.3rem;
  max-width: 26rem;
}
.detail-bild img,
.detail-bild svg {
  width: 100%;
  height: auto;
  margin-inline: auto;
  border-radius: 2px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--rosa-mist);
}
.detail-bild.detail-bild-logo svg {
  width: min(100%, 16rem);
  padding: 1.6rem 1.4rem;
  border-radius: 2px;
}
.detail-bild figcaption {
  margin-top: 0.45rem;
  text-align: center;
  font-family: "Cormorant Garamond", serif;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.detail-text p { margin: 0 0 0.85rem; }
.detail-text p:last-child { margin-bottom: 0; }
.detail-zurueck {
  display: inline-block;
  margin-top: 1.5rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  color: var(--rosa-deep);
  text-decoration: none;
  border-bottom: 1px solid var(--gold-pale);
}
.detail-zurueck:hover,
.detail-zurueck:focus-visible {
  color: var(--gold-deep);
  border-bottom-color: var(--gold);
}

.brand-link { color: inherit; text-decoration: none; }
.brand-link:hover { color: var(--gold-deep); }
