@font-face {
  font-family: "Cinzel";
  src: url("cinzel.ttf") format("truetype");
  font-weight: 400 900;
  font-display: swap;
}

:root {
  --grund: #0b0a0c;
  --flaeche: #141216;
  --linie: #2a2429;
  --text: #ebe6e8;
  --leise: #9d9298;
  --pflaume: #a24d82;
  --pflaume-tief: #5e2448;
  --blut: #b3262e;
  --serif: "Cinzel", "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --breite: 1240px;
  --rand: clamp(16px, 4vw, 40px);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--grund);
  color: var(--text);
  font: 16px/1.65 var(--sans);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; width: 100%; max-width: var(--breite); margin: 0 auto; padding: 0 var(--rand); }
a { color: inherit; }
img { display: block; max-width: 100%; }

/* ---------- Kopf / Fuß ---------- */
.kopf {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  width: 100%; max-width: var(--breite); margin: 0 auto;
  padding: clamp(22px, 5vw, 44px) var(--rand) clamp(18px, 4vw, 36px);
}
.wortmarke, .tor-marke {
  font-family: var(--serif); font-weight: 600; text-decoration: none;
  font-size: clamp(20px, 3.4vw, 30px); letter-spacing: .08em; text-transform: uppercase;
}
.wortmarke span, .tor-marke span { color: var(--pflaume); font-weight: 400; }
.ab18 {
  margin: 0; font: 600 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  color: var(--leise); border: 1px solid var(--linie); padding: 7px 10px; border-radius: 999px;
  white-space: nowrap;
}
@media (max-width: 440px) {
  .kopf .wortmarke { font-size: 17px; letter-spacing: .05em; }
  .ab18 { font-size: 10px; padding: 5px 7px; }
}
.fuss {
  width: 100%; max-width: var(--breite); margin: 72px auto 0;
  padding: 28px var(--rand) 40px; border-top: 1px solid var(--linie);
  color: var(--leise); font-size: 13px;
}
.fuss nav { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 12px; }
.fuss nav a { color: var(--text); text-decoration: none; }
.fuss nav a:hover { color: var(--pflaume); }
.fuss p { margin: 4px 0; }

/* ---------- Startseite ---------- */
.raster {
  display: grid; gap: clamp(18px, 3vw, 32px);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
}
.karte { text-decoration: none; display: block; }
.karte-bild {
  aspect-ratio: 16 / 9; overflow: hidden; background: var(--flaeche);
  border-radius: 3px; position: relative;
}
.karte-bild.art-fotos { aspect-ratio: 4 / 5; }
.karte-bild img {
  width: 100%; height: 100%; object-fit: cover; opacity: 0;
  transition: opacity .6s ease, transform .8s ease;
}
.karte-bild img.da { opacity: 1; }
.karte:hover .karte-bild img { transform: scale(1.03); }
.karte-bild.art-video::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px;
  border-radius: 50%; background: rgba(11, 10, 12, .6) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 7l9 5-9 5z' fill='%23ebe6e8'/%3E%3C/svg%3E") center / 28px no-repeat;
  opacity: 0; transition: opacity .3s;
  border: 1px solid rgba(235, 230, 232, .25);
}
.karte:hover .karte-bild::after, .karte:focus-visible .karte-bild::after { opacity: 1; }
@media (hover: none) { .karte-bild.art-video::after { opacity: 1; } }
.karte-text h2 {
  margin: 14px 0 2px; font-family: var(--serif); font-weight: 600;
  font-size: clamp(18px, 2.2vw, 22px); letter-spacing: .03em;
}
.karte-text p { margin: 0; color: var(--leise); font-size: 14px; }
.karte:hover h2 { color: var(--pflaume); }

/* ---------- Werkseite ---------- */
.zurueck {
  display: inline-block; margin-bottom: 18px; color: var(--leise);
  text-decoration: none; font-size: 14px;
}
.zurueck:hover { color: var(--text); }
.werk-kopf h1, .text-seite h1 {
  margin: 0; font-family: var(--serif); font-weight: 600; letter-spacing: .03em;
  font-size: clamp(28px, 5.4vw, 52px); line-height: 1.12;
}
.meta { margin: 8px 0 0; color: var(--leise); font-size: 14px; }
.inhaltshinweis {
  margin: 20px 0 0; padding: 12px 14px; max-width: 46em;
  border-left: 3px solid var(--blut); background: var(--flaeche); font-size: 14px;
}
.inhaltshinweis span {
  display: block; font-size: 11px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: #e2858a; margin-bottom: 2px;
}
.player { position: relative; margin: clamp(22px, 4vw, 36px) calc(-1 * var(--rand)) 0; background: #000; }
.gross-play {
  position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px;
  border-radius: 50%; cursor: pointer; padding: 0;
  border: 1px solid rgba(235, 230, 232, .35);
  background: rgba(11, 10, 12, .6) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 7l9 5-9 5z' fill='%23ebe6e8'/%3E%3C/svg%3E") 55% 50% / 40px no-repeat;
  transition: background-color .2s, transform .2s;
}
.gross-play:hover { background-color: var(--pflaume-tief); transform: scale(1.06); }
.player.laeuft .gross-play { display: none; }
.player video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; }
@media (min-width: 900px) { .player { margin-left: 0; margin-right: 0; border-radius: 3px; overflow: hidden; } }
.werk-text { max-width: 40em; margin-top: 26px; font-size: 17px; }
.werk-text p { margin: 0 0 1em; }
.ki-hinweis { color: var(--leise); font-size: 13px !important; }

.galerie {
  margin-top: clamp(22px, 4vw, 36px);
  display: flex; flex-wrap: wrap; gap: 10px;
}
.galerie a {
  flex: calc(var(--r) * 260) 1 calc(var(--r) * 200px);
  aspect-ratio: var(--r); background: var(--flaeche); overflow: hidden; border-radius: 2px;
}
.galerie img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s; }
.galerie img.da { opacity: 1; }

.leuchtkasten {
  position: fixed; inset: 0; z-index: 50; background: rgba(5, 4, 6, .96);
  display: flex; align-items: center; justify-content: center;
}
.leuchtkasten img { max-width: 96vw; max-height: 92vh; object-fit: contain; }
.leuchtkasten button {
  position: absolute; background: none; border: 0; color: var(--text);
  font-size: 34px; padding: 18px; cursor: pointer; line-height: 1;
}
.lk-zu { top: 4px; right: 6px; }
.lk-zurueck { left: 0; top: 50%; transform: translateY(-50%); }
.lk-vor { right: 0; top: 50%; transform: translateY(-50%); }

/* ---------- Textseiten ---------- */
.text-seite { max-width: 44em; }
.text-seite h2 {
  margin: 32px 0 6px; font-family: var(--serif); font-weight: 600;
  font-size: 18px; letter-spacing: .04em; color: var(--pflaume);
}
.text-seite p { margin: 0 0 1em; color: #d6cfd2; }

/* ---------- Alterstor ---------- */
.tor {
  position: fixed; inset: 0; z-index: 100; overflow-y: auto;
  display: flex; align-items: center; justify-content: center; padding: 24px 16px;
  background: radial-gradient(ellipse at 50% 30%, #241322 0%, var(--grund) 70%);
}
body.bestaetigt .tor { display: none; }
body.mit-tor:not(.bestaetigt) { overflow: hidden; }
.tor-box { max-width: 520px; text-align: center; }
.tor-marke { margin: 0 0 32px; }
.tor h1 {
  margin: 0 0 16px; font-family: var(--serif); font-weight: 600;
  font-size: clamp(26px, 6vw, 38px); letter-spacing: .04em;
}
.tor p { color: #d6cfd2; margin: 0 0 12px; }
.tor-knoepfe { display: flex; flex-direction: column; gap: 10px; margin: 26px 0 22px; }
.knopf {
  font: 600 16px/1.2 var(--sans); padding: 15px 20px; border-radius: 3px; cursor: pointer;
  background: transparent; color: var(--text); border: 1px solid var(--linie);
}
.knopf:hover { border-color: var(--leise); }
.knopf-haupt { background: var(--pflaume-tief); border-color: var(--pflaume); }
.knopf-haupt:hover { background: var(--pflaume); }
.tor-links { font-size: 13px; color: var(--leise) !important; }
.tor-links a { color: var(--leise); }
.tor-noscript { color: #e2858a !important; }

:focus-visible { outline: 2px solid var(--pflaume); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
