/* ============================================================
   Versbau Launch — style.css
   ============================================================ */

/* EB Garamond, self-hosted (SIL OFL 1.1, see fonts/OFL-EBGaramond.txt).
   Variable Fonts, Subset latin — deckt Umlaute, ß, „" – … € ab. */
@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/eb-garamond-latin.woff2') format('woff2');
}

@font-face {
  font-family: 'EB Garamond';
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  src: url('fonts/eb-garamond-latin-italic.woff2') format('woff2');
}

:root {
  --bg:           #f7f4ee;
  --bg-alt:       #f2efe8;
  --text:         #1c1917;
  --text-mid:     #6b6258;
  --text-light:   #746b60;
  --border:       #d6d0c4;
  --accent:       #5e3d30;
  --header-h:     64px;
  /* Garamond-Variante: EB Garamond aufrecht, Georgia als Fallback.
     Struktur/Schnitte wie in launch (aufrecht, normaler Schnitt). */
  --font-display: 'EB Garamond', Georgia, 'Times New Roman', serif;
  --font-body:    'EB Garamond', Georgia, 'Times New Roman', serif;
  --max-text:     600px;
  --max-titel:    840px;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 300;
  background: var(--text);
  color: var(--bg);
  font-family: var(--font-body);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  padding: 0.7rem 1.2rem;
  text-decoration: none;
}

.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
}

main:focus {
  outline: none;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  font-family: var(--font-body);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* EB Garamond hat eine deutlich kleinere x-Höhe als Georgia. Statt alle
     font-size-Werte anzufassen (rem steuert hier auch Abstände), gleicht
     font-size-adjust die x-Höhe auf Georgia-Niveau an — Layout bleibt
     unberührt. Ältere Browser ignorieren es und zeigen den Text minimal
     kleiner. */
  font-size-adjust: 0.46;
}

/* ============================================================
   HEADER
   ============================================================ */

header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  height: var(--header-h);
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  box-shadow: 0 3px 10px rgba(28, 25, 23, 0.06);
}

.logo-area {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-area img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  display: block;
}

nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

nav a {
  font-family: var(--font-body);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-light);
  transition: color 0.2s ease;
  white-space: nowrap;
}

nav a.nav-break {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.5;
  white-space: nowrap;
}

nav a:hover {
  color: var(--text);
}

/* Hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 4px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

@media (max-width: 991px) {
  header {
    padding: 0 1.5rem;
  }

  .menu-toggle {
    display: flex;
  }

  #main-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 1.2rem 1.5rem 1.8rem;
    gap: 1.1rem;
    z-index: 99;
  }

  #main-nav.open {
    display: flex;
  }
}

/* ============================================================
   FOOTER
   ============================================================ */

footer {
  text-align: center;
  padding: 1.6rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-light);
  letter-spacing: 0.04em;
  margin-top: auto;
}

footer a {
  color: var(--text-light);
  text-decoration: none;
  margin: 0 0.3rem;
  transition: color 0.2s ease;
}

footer a:hover {
  color: var(--text);
}

/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */

@media (prefers-reduced-motion: no-preference) {
  .fade-in {
    opacity: 0;
    transform: translateY(28px);
    transition:
      opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
      transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .fade-in.visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================================
   HERO
   ============================================================ */

#hero {
  min-height: calc(100dvh - var(--header-h));
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-link {
  display: block;
}

.hero-logo {
  width: 180px;
  height: 180px;
  object-fit: contain;
  display: block;
  opacity: 0;
  transition: opacity 1.4s ease;
}

.hero-logo.loaded {
  opacity: 1;
}

/* ============================================================
   SECTION BASE
   ============================================================ */

section {
  border-top: 1px solid var(--border);
  scroll-margin-top: var(--header-h);
}

.section-content {
  max-width: var(--max-text);
  margin: 0 auto;
  padding: 6rem 1.5rem;
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 2.5rem;
  display: block;
}

.section-heading {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: normal;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 2.5rem;
}

/* ============================================================
   UEBER VERSBAU
   ============================================================ */

#ueber-versbau .section-content p:not(.section-label) {
  font-size: 1rem;
  line-height: 1.92;
  text-align: justify;
  hyphens: none;
  -webkit-hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
}

/* ============================================================
   PROGRAMM
   ============================================================ */

#programm {
  background: var(--bg-alt);
}

#programm .section-content {
  max-width: var(--max-text);
  padding: 6rem 1.5rem;
}

.programm-titel {
  font-family: var(--font-display);
  font-size: 2.05rem;
  font-weight: normal;
  letter-spacing: 0;
  line-height: 1.15;
  margin-bottom: 3rem;
}

.programm-items {
  display: flex;
  flex-direction: column;
}

.programm-item {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 1.4rem;
  align-items: center;
  text-decoration: none;
  color: var(--text);
  padding: 1.1rem 0;
  border-top: 1px solid var(--border);
  transition: color 0.2s ease;
}

.programm-item:last-child {
  border-bottom: 1px solid var(--border);
}

.programm-item:hover {
  color: var(--accent);
}

.programm-item.platzhalter {
  color: var(--text-light);
}

.programm-item.platzhalter:hover {
  color: var(--text-light);
}

.programm-cover {
  width: 58px;
  display: block;
  box-shadow:
    2px 3px 8px rgba(28, 25, 23, 0.16),
    5px 7px 18px rgba(28, 25, 23, 0.09);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.programm-item:hover .programm-cover {
  box-shadow:
    3px 5px 12px rgba(28, 25, 23, 0.20),
    8px 12px 26px rgba(28, 25, 23, 0.11);
  transform: translateY(-2px);
}

.programm-cover-placeholder {
  width: 58px;
  height: 83px;
  background: linear-gradient(160deg, #e2ddd5 0%, #cdc7be 100%);
  box-shadow:
    2px 3px 8px rgba(28, 25, 23, 0.10),
    5px 7px 18px rgba(28, 25, 23, 0.06);
}

.programm-item-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.programm-item-autor {
  font-size: 0.95rem;
  line-height: 1.4;
}

.programm-item-titel {
  font-size: 1.05rem;
  color: var(--text-mid);
  line-height: 1.4;
  transition: color 0.2s ease;
}

.programm-item:hover .programm-item-titel {
  color: var(--accent);
}

/* Untertitel und Übersetzungshinweis in der Programmliste — gehören zum
   Titelblock, darum etwas kräftiger als die Meta-Zeilen darunter. */
.programm-item-untertitel,
.programm-item-uebersetzung {
  font-size: 0.85rem;
  color: var(--text-mid);
  line-height: 1.4;
}

/* Werktitel stehen als <em> im Markup. In Titel-Rollen (Programmliste,
   Titelüberschrift) aufrecht setzen — im Fließtext bleiben sie kursiv. */
.programm-item-titel em,
.titel-text-col h3 em {
  font-style: normal;
}

.programm-item-meta {
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  color: var(--text-light);
  line-height: 1.4;
}

.programm-item-hinweis {
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  color: var(--text-light);
  line-height: 1.4;
}

/* ============================================================
   AKTUELLES & VERANSTALTUNGEN
   ============================================================ */

#aktuelles,
#presse {
  background: var(--bg-alt);
}

.events-list {
  display: flex;
  flex-direction: column;
}

.event-item {
  border-top: 1px solid var(--border);
}

.event-item:last-child {
  border-bottom: 1px solid var(--border);
}

.event-summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.1rem 0;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.event-summary::-webkit-details-marker {
  display: none;
}

.event-header {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
}

.event-meta {
  font-size: 0.78rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--text-light);
}

.event-title {
  font-size: 1rem;
  color: var(--text);
  transition: color 0.2s ease;
}

.event-summary:hover .event-title {
  color: var(--accent);
}

.event-toggle {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1;
  flex-shrink: 0;
  transition: color 0.2s ease;
  font-style: normal;
}

.event-toggle::before {
  content: '+';
}

details[open] .event-toggle::before {
  content: '\2212';
}

.event-summary:hover .event-toggle {
  color: var(--accent);
}

.event-body {
  padding: 0.4rem 0 1.8rem;
}

.event-body p {
  font-size: 1rem;
  line-height: 1.88;
  margin-bottom: 1.4rem;
  text-align: justify;
}

.event-banner {
  margin: 0 0 1.6rem;
}

.event-banner img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--border);
}

.event-banner figcaption {
  margin-top: 0.45rem;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: var(--text-light);
}

.event-intro {
  display: flex;
  align-items: flex-start;
  gap: 1.8rem;
}

.event-intro p {
  flex: 1;
  margin-bottom: 1.4rem;
}

.event-logo {
  margin: 0;
  flex: 0 0 auto;
}

.event-logo img {
  display: block;
  width: 200px;
  max-width: 100%;
  height: auto;
  background: #fff;
  border: 1px solid var(--border);
  transition: opacity 0.3s ease;
}

.event-logo a:hover img {
  opacity: 0.82;
}

@media (max-width: 640px) {
  .event-intro {
    flex-direction: column;
    align-items: center;
  }
  .event-intro p {
    margin-bottom: 0.4rem;
  }
  .event-logo img {
    width: 180px;
  }
}

.event-body address {
  font-style: normal;
  font-size: 0.9rem;
  line-height: 1.85;
  color: var(--text-mid);
  border-left: 2px solid var(--border);
  padding-left: 1rem;
}

.event-ort {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.8rem;
  flex-wrap: wrap;
}

.event-map {
  margin: 0;
}

.event-map img {
  display: block;
  width: 280px;
  max-width: 100%;
  height: auto;
  border: 1px solid var(--border);
}

.event-map figcaption {
  margin-top: 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  color: var(--text-light);
}

.event-map figcaption a {
  color: var(--text-light);
  text-decoration: underline;
  text-decoration-color: var(--border);
  text-underline-offset: 2px;
}

@media (prefers-reduced-motion: no-preference) {
  details[open] .event-body {
    animation: event-open 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }
}

@keyframes event-open {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   TITEL SECTIONS
   ============================================================ */

.titel-section {
  display: flex;
  justify-content: center;
  padding: 6rem 1.5rem;
}

.titel-section.platzhalter {
  opacity: 0.45;
  padding: 4rem 1.5rem;
}

.titel-inner {
  display: grid;
  grid-template-columns: 195px 1fr;
  gap: 3.5rem;
  max-width: var(--max-titel);
  width: 100%;
  align-items: start;
}

/* Sticky cover column — cover floats as text scrolls */
.titel-cover-col {
  position: sticky;
  top: calc(var(--header-h) + 2.5rem);
  align-self: start;
}

.titel-season {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 1rem;
  display: block;
}

.cover-link {
  display: block;
}

.cover-img {
  width: 160px;
  display: block;
  box-shadow:
    3px 5px 12px rgba(28, 25, 23, 0.18),
    8px 14px 32px rgba(28, 25, 23, 0.11),
    1px 2px 4px  rgba(28, 25, 23, 0.10);
  transition:
    box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    transform  0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cover-link:hover .cover-img {
  box-shadow:
    5px 10px 22px rgba(28, 25, 23, 0.22),
    14px 22px 50px rgba(28, 25, 23, 0.13),
    2px  3px  6px  rgba(28, 25, 23, 0.12);
  transform: translateY(-4px);
}

.cover-placeholder {
  width: 160px;
  height: 232px;
  background: linear-gradient(160deg, #e2ddd5 0%, #cdc7be 100%);
  box-shadow:
    3px 5px 12px rgba(28, 25, 23, 0.12),
    8px 14px 32px rgba(28, 25, 23, 0.08);
}

/* Text column */
.titel-text-col h3 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: normal;
  line-height: 1.25;
  margin-bottom: 0.5rem;
}

.titel-autor {
  font-size: 1rem;
  font-style: italic;
  color: var(--text-mid);
  margin-bottom: 0.2rem;
}

.titel-kopf {
  margin-top: 2.4rem;
}

.titel-kauf {
  margin-top: 3.6rem;
  padding-top: 2.2rem;
  border-top: 1px solid var(--border);
}

.titel-kauf-label {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 1.4rem;
  display: block;
}

blockquote .zitat-quelle {
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.85rem;
  letter-spacing: normal;
  text-align: right;
  color: var(--text-light);
  border-top: none;
  padding: 0;
  margin: 0.4rem 0 0;
}

.titel-untertitel {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 0.35rem;
}

.titel-meta {
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 0.35rem;
}

.titel-preishinweis {
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: var(--text-light);
  line-height: 1.5;
  margin-bottom: 1.8rem;
}

/* Versandkosten-Link (PAngV): muss erkennbar klickbar sein, ohne den
   zurückhaltenden Ton der Preishinweise zu sprengen. */
.titel-preishinweis a {
  color: var(--text-light);
  text-decoration: underline;
  text-decoration-color: var(--border);
  text-underline-offset: 3px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.titel-preishinweis a:hover {
  color: var(--accent);
  text-decoration-color: var(--accent);
}

.titel-buchhandlung {
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: var(--text-light);
  line-height: 1.5;
  margin: 1rem 0 0;
}

.titel-text-col p:not(.titel-autor):not(.titel-untertitel):not(.titel-meta):not(.titel-preishinweis):not(.titel-buchhandlung) {
  font-size: 1rem;
  line-height: 1.88;
  margin-bottom: 1rem;
  text-align: justify;
}

blockquote {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-style: italic;
  font-weight: normal;
  line-height: 1.75;
  color: var(--text-mid);
  border-left: 2px solid var(--border);
  padding-left: 1.4rem;
  margin-top: 2rem;
}

@media (max-width: 768px) {
  .titel-section {
    padding: 4rem 1.5rem;
  }

  .titel-section.platzhalter {
    padding: 3rem 1.5rem;
  }

  .titel-inner {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }

  .titel-cover-col {
    position: static;
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    flex-wrap: wrap;
  }

  .cover-img {
    width: 100px;
  }

  .cover-placeholder {
    width: 100px;
    height: 145px;
  }
}

/* ============================================================
   KONTAKT
   ============================================================ */

#kontakt address,
#presse address {
  font-style: normal;
}

#kontakt .kontakt-email,
#presse .kontakt-email {
  margin-bottom: 1.2rem;
}

#kontakt .kontakt-email a,
#presse .kontakt-email a {
  font-size: 1.4rem;
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: var(--border);
  text-underline-offset: 4px;
  transition:
    color 0.2s ease,
    text-decoration-color 0.2s ease;
}

#kontakt .kontakt-email a:hover,
#presse .kontakt-email a:hover {
  color: var(--text);
  text-decoration-color: var(--accent);
}

#kontakt .kontakt-anschrift,
#presse .kontakt-anschrift {
  margin-top: 1.2rem;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-light);
}

/* ============================================================
   KONTAKT HINWEIS
   ============================================================ */

.kontakt-hinweis {
  margin-top: 1rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

.kontakt-hinweis a {
  color: var(--text-light);
  text-decoration: underline;
  text-decoration-color: var(--border);
  text-underline-offset: 3px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.kontakt-hinweis a:hover {
  color: var(--accent);
  text-decoration-color: var(--accent);
}

/* Aufklappbarer Bereich "Pressematerial" – wie die Termine unter Aktuelles */
/* Der Aufklapp-Titel trägt dieselbe Auszeichnung wie die übrigen
   Zwischentitel im Pressebereich (Pressemitteilungen, Porträts …). */
.presse-summary-titel {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--text-light);
  margin: 0;
}

.event-summary:hover .presse-summary-titel {
  color: var(--accent);
}

.presse-details {
  margin-top: 1.8rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.presse-details-body {
  padding: 0.2rem 0 1.6rem;
}

.presse-details-hinweis {
  margin-bottom: 0;
}

.presse-details-body .presse-material {
  margin-top: 1.4rem;
}

@media (prefers-reduced-motion: no-preference) {
  details[open] .presse-details-body {
    animation: event-open 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }
}

/* Pressematerial: Gruppen mit Downloadlisten */
.presse-material {
  margin-top: 1.8rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.8rem 2.5rem;
}

.presse-gruppe-titel {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--text-light);
  margin: 0 0 0.6rem;
}

.presse-liste {
  list-style: none;
  margin: 0;
  padding: 0;
}

.presse-item {
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
  line-height: 1.5;
}

.presse-item:last-child {
  border-bottom: 1px solid var(--border);
}

.presse-item > a,
.presse-item > .presse-name {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
}

.presse-item > a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s ease;
}

.presse-item > a:hover {
  color: var(--accent);
}

.presse-item > a .presse-name {
  text-decoration: underline;
  text-decoration-color: var(--border);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s ease;
}

.presse-item > a:hover .presse-name {
  text-decoration-color: var(--accent);
}

.presse-meta {
  flex: none;
  font-family: var(--font-body);
  font-size: 0.68rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-light);
}

/* Noch nicht verfügbar: sichtbar angekündigt, aber nicht verlinkt */
.presse-item-folgt {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  color: var(--text-light);
}

.presse-item-folgt .presse-meta {
  font-style: italic;
  text-transform: none;
  letter-spacing: 0.03em;
  font-size: 0.8rem;
}

/* Zwei Farbfassungen des Logos nebeneinander */
.presse-untergruppen {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.6rem 2.5rem;
}

.presse-untertitel {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 400;
  font-style: italic;
  color: var(--text-light);
  margin: 0 0 0.5rem;
}

/* Kleine Farbprobe je Fassung – zeigt vor allem, dass die weiße Datei
   nicht leer ist, sondern freigestellt. */
.presse-vorschau {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 92px;
  margin-bottom: 0.8rem;
  border: 1px solid var(--border);
}

.presse-vorschau-hell {
  background: #ffffff;
}

.presse-vorschau-dunkel {
  background: #1c1917;
  border-color: #1c1917;
}

.presse-vorschau img {
  width: 60px;
  height: auto;
  display: block;
}

.presse-untergruppe-hinweis {
  margin: -0.2rem 0 0.8rem;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--text-light);
}

/* Zusatzangaben zu einer Datei (Format, Auflösung, Farbraum …) */
.presse-info {
  display: block;
  padding: 0 0 0.55rem;
  margin-top: -0.35rem;
  font-size: 0.76rem;
  line-height: 1.5;
  color: var(--text-light);
}

.presse-item > a:has(+ .presse-info) {
  padding-bottom: 0.15rem;
}

/* Untergeordnete Zeile (z. B. Webfassung zu einer Druckdatei):
   gehört optisch zur Zeile darüber, daher ohne eigene Trennlinie. */
.presse-item-unter {
  border-top: none;
  padding-left: 1.6rem;
  position: relative;
}

.presse-item-unter::before {
  content: "\21b3";
  position: absolute;
  left: 0.35rem;
  top: 0.05rem;
  font-size: 0.8rem;
  color: var(--text-light);
}

.presse-item-unter > a {
  padding-top: 0;
}

.presse-item-unter .presse-name {
  font-size: 0.84rem;
}

.presse-info a {
  color: var(--text-light);
  text-decoration: underline;
  text-decoration-color: var(--border);
  text-underline-offset: 2px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.presse-info a:hover {
  color: var(--accent);
  text-decoration-color: var(--accent);
}

.presse-gruppe-hinweis {
  margin: -0.2rem 0 0.7rem;
  font-size: 0.8rem;
  line-height: 1.55;
  color: var(--text-light);
}

/* Pressemitteilungen stehen zuoberst über die volle Breite,
   Biobibliografien und Porträts teilen sich die Zeile darunter. */
.presse-gruppe-mitteilungen,
.presse-gruppe-logos {
  grid-column: 1 / -1;
}

/* Zeilen mit Datumsspalte: Datum | Titel | Format */
.presse-liste-datiert .presse-item > a,
.presse-liste-datiert .presse-item-folgt {
  display: grid;
  grid-template-columns: 6.5rem 1fr auto;
  align-items: baseline;
  gap: 0 1rem;
}

.presse-datum {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--text-light);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.presse-item-folgt .presse-datum {
  font-style: normal;
}

@media (max-width: 560px) {
  .presse-liste-datiert .presse-item > a,
  .presse-liste-datiert .presse-item-folgt {
    grid-template-columns: 1fr auto;
  }

  .presse-liste-datiert .presse-datum {
    grid-column: 1 / -1;
    margin-bottom: 0.15rem;
  }
}


.link-button {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: var(--border);
  text-underline-offset: 3px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.link-button:hover {
  color: var(--accent);
  text-decoration-color: var(--accent);
}

/* Zustandsanzeige des Widerspruchsschalters (Datenschutz, Abschnitt 9).
   Eigene Zeile und gedaempft: direkt hinter der Schaltflaeche gelesen
   verschmelzen Beschriftung und Zustand sonst zu einem Satz. */
#analyse-status {
  display: block;
  margin-top: 0.4rem;
  color: var(--text-mid);
  font-size: 0.92em;
}

/* ============================================================
   NEWSLETTER MODAL
   ============================================================ */

#newsletter-modal,
#manuskripte-modal,
#kontakt-modal {
  /* reset the UA <dialog> chrome — the inner box carries the styling.
     Make the dialog a full-viewport flex container so the box centers
     and clicks outside it hit the backdrop. */
  margin: 0;
  padding: 0;
  border: none;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  position: fixed;
  inset: 0;
  background: transparent;
  z-index: 200;
}

/* shown via showModal() — UA hides it again when [open] is absent */
#newsletter-modal[open],
#manuskripte-modal[open],
#kontakt-modal[open] {
  display: flex;
  align-items: center;
  justify-content: center;
}

#newsletter-modal::backdrop,
#manuskripte-modal::backdrop,
#kontakt-modal::backdrop {
  background: rgba(28, 25, 23, 0.42);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

#newsletter-box,
#manuskripte-box,
#kontakt-box {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 2.5rem;
  max-width: 380px;
  width: 90%;
  position: relative;
}

#newsletter-box h3,
#manuskripte-box h3,
#kontakt-box h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: normal;
  line-height: 1.35;
  margin-bottom: 1.6rem;
}

#newsletter-box p {
  margin-bottom: 0.8rem;
}

#newsletter-box input[type="email"],
#newsletter-box input[type="text"] {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--border);
  background: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  outline: none;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.2s ease;
}

#newsletter-box input[type="email"]:focus,
#newsletter-box input[type="text"]:focus {
  border-color: var(--text);
}

#newsletter-box input[type="submit"] {
  margin-top: 0.6rem;
  padding: 0.65rem 1.8rem;
  border: 1px solid var(--text);
  background: transparent;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.82rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
  transition: background 0.2s ease, color 0.2s ease;
}

#newsletter-box input[type="submit"]:hover {
  background: var(--text);
  color: var(--bg);
}

#newsletter-box input[type="submit"]:active {
  transform: translateY(1px);
}

#newsletter-box .newsletter-hinweis {
  margin-top: 1.1rem;
  margin-bottom: 0;
  font-size: 0.8rem;
  color: var(--text-light);
  line-height: 1.6;
}

.newsletter-hinweis a {
  color: var(--text-light);
  text-decoration: underline;
  text-decoration-color: var(--border);
  text-underline-offset: 3px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.newsletter-hinweis a:hover {
  color: var(--text);
  text-decoration-color: var(--text);
}

#newsletter-close,
#manuskripte-close,
#kontakt-close {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  background: none;
  border: none;
  font-size: 1.3rem;
  cursor: pointer;
  color: var(--text-light);
  line-height: 1;
  transition: color 0.2s ease;
}

#newsletter-close:hover,
#manuskripte-close:hover,
#kontakt-close:hover {
  color: var(--text);
}

#manuskripte-box {
  max-width: 580px;
  max-height: 85dvh;
  overflow-y: auto;
}

#manuskripte-box p {
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 0.9rem;
  color: var(--text);
  text-align: justify;
}

#manuskripte-box ul {
  margin: 0 0 0.9rem 1.2rem;
  padding: 0;
}

#manuskripte-box li {
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 0.5rem;
  color: var(--text);
  text-align: justify;
}

#manuskripte-box a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--border);
  text-underline-offset: 3px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

#manuskripte-box a:hover {
  color: var(--accent);
  text-decoration-color: var(--accent);
}

.newsletter-archiv {
  display: block;
  text-align: right;
  margin-top: 1.2rem;
  font-size: 0.8rem;
  color: var(--text-light);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.2s ease;
}

.newsletter-archiv:hover {
  color: var(--text);
}

/* ============================================================
   CONTENT PAGES (Impressum, Datenschutz)
   ============================================================ */

.content {
  flex: 1;
  max-width: 680px;
  margin: 3.5rem auto;
  padding: 0 1.5rem 4rem;
  line-height: 1.8;
}

.content h1 {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: normal;
  letter-spacing: 0;
  color: var(--text);
  margin-bottom: 2.5rem;
}

.content h2 {
  /* Sprungziele (z. B. agb.html#versandkosten) dürfen nicht unter dem
     sticky Header landen. */
  scroll-margin-top: calc(var(--header-h) + 1rem);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: normal;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
  margin-top: 2rem;
  margin-bottom: 0.6rem;
}

.content p,
.content address {
  font-size: 1rem;
  color: var(--text-mid);
  margin-bottom: 0.8rem;
  font-style: normal;
}

.content p {
  text-align: justify;
}

.content a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: var(--border);
  text-underline-offset: 3px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.content a:hover {
  color: var(--text);
  text-decoration-color: var(--text);
}


/* ============================================================
   FARBAKZENTE (Experiment)
   Zwei Brauntöne: dunkles Schokoladenbraun (--accent) für
   Überschriften und Titel, helleres Cognac (--accent-warm)
   für kleine Orientierungs-Elemente.
   ZUM RÜCKGÄNGIGMACHEN: diesen gesamten Block löschen.
   ============================================================ */

:root {
  --accent-warm: #8a5a33;
}

/* Überschriften in dunklem Braun – wie Rubrizierung im Buchdruck */
.section-heading,
.programm-titel,
.titel-text-col h3,
#newsletter-box h3,
#manuskripte-box h3,
#kontakt-box h3,
.content h1 {
  color: var(--accent);
}

/* Buchtitel in den Programmzeilen */
.programm-item-titel {
  color: var(--accent);
}

/* Kleine Versal-Labels in Cognac – Wegweiser beim Überfliegen */
.section-label,
.titel-season,
.event-meta {
  color: var(--accent-warm);
}

/* Auf-/Zuklapp-Zeichen der Termine */
.event-toggle {
  color: var(--accent-warm);
}

/* Zitate: warme Linie statt grauer */
blockquote {
  border-left-color: var(--accent-warm);
}

/* Veranstaltungsorte: ebenfalls warme Linie */
.event-body address {
  border-left-color: var(--accent-warm);
}

/* Newsletter-Button in Braun, Hover füllt */
#newsletter-box input[type="submit"] {
  border-color: var(--accent);
  color: var(--accent);
}

#newsletter-box input[type="submit"]:hover {
  background: var(--accent);
  color: var(--bg);
}

/* E-Mail im Kontakt bleibt Akzentfarbe (steht schon oben),
   Hover wandert zum helleren Braun statt zu Schwarz */
#kontakt .kontakt-email a:hover,
#presse .kontakt-email a:hover {
  color: var(--accent-warm);
  text-decoration-color: var(--accent-warm);
}


/* ============================================================
   KONTAKTFORMULAR MODAL (Impressum)
   Rahmen, Kopfzeile und Schliesskreuz teilt es sich mit dem
   Newsletter-Modal weiter oben; hier stehen nur die Teile, die
   ein Formular mit mehreren Feldern zusaetzlich braucht.
   ============================================================ */

#kontakt-box {
  max-width: 520px;
  max-height: 85dvh;
  overflow-y: auto;
}

#kontakt-box form p {
  margin-bottom: 1rem;
}

#kontakt-box label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 0.35rem;
}

#kontakt-box input[type="text"],
#kontakt-box input[type="email"],
#kontakt-box select,
#kontakt-box textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--border);
  background: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  outline: none;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.2s ease;
}

#kontakt-box textarea {
  resize: vertical;
  min-height: 7rem;
  line-height: 1.6;
}

/* ⚠️ DAS AUSWAHLFELD BEHAELT SEINEN SYSTEMPFEIL. Ein eigener Pfeil waere ein
   data:-Hintergrundbild, und die CSP der Seite erlaubt unter img-src nur
   'self' -- der Browser blockt ihn (am 20.09.2026 in der Konsole belegt).
   Statt die CSP fuer eine Zierde aufzuweichen, bleibt appearance hier auf
   'auto': das Feld ist damit als Auswahl erkennbar, ohne Ausnahme. */
#kontakt-box select {
  -webkit-appearance: auto;
  appearance: auto;
  padding-right: 0.75rem;
  cursor: pointer;
}

#kontakt-box input:focus,
#kontakt-box select:focus,
#kontakt-box textarea:focus {
  border-color: var(--text);
}

.kontakt-zaehler {
  display: block;
  text-align: right;
  font-size: 0.72rem;
  color: var(--text-light);
  margin-top: 0.25rem;
}

/* Honigtopf: aus dem Blick genommen, aber NICHT display:none oder
   visibility:hidden -- ein Teil der Bots ueberspringt genau die. */
.kontakt-honig {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.kontakt-fehler {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--accent);
  min-height: 0;
}

.kontakt-fehler-sichtbar {
  margin-bottom: 0.9rem;
  padding: 0.6rem 0.75rem;
  border-left: 2px solid var(--accent);
  background: rgba(138, 90, 51, 0.07);
}

#kontakt-senden,
#kontakt-danke-close {
  margin-top: 0.4rem;
  padding: 0.65rem 1.8rem;
  border: 1px solid var(--accent);
  background: transparent;
  color: var(--accent);
  font-family: var(--font-body);
  font-size: 0.82rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
  transition: background 0.2s ease, color 0.2s ease;
}

#kontakt-senden:hover,
#kontakt-danke-close:hover {
  background: var(--accent);
  color: var(--bg);
}

#kontakt-senden:active,
#kontakt-danke-close:active {
  transform: translateY(1px);
}

#kontakt-senden:disabled {
  opacity: 0.55;
  cursor: default;
  transform: none;
}

#kontakt-box .newsletter-hinweis {
  margin-top: 1.1rem;
  margin-bottom: 0;
  font-size: 0.8rem;
  color: var(--text-light);
  line-height: 1.6;
}

#kontakt-danke p {
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 0.9rem;
}

@media (max-width: 600px) {
  #kontakt-box {
    padding: 2rem 1.4rem;
  }
}
