/* isditkultur Studio – Extras (Banner / Laufschrift). Wird bei jedem Speichern neu geschrieben. */

.idk-banner {
  --idk-b-hg: #f3d749; --idk-b-vg: #191613;
  position: relative; z-index: 60; display: block;
  background: var(--idk-b-hg); color: var(--idk-b-vg);
  font-family: var(--display, "TInosKultur1", "Courier New", monospace);
  font-size: clamp(.95rem, 2.6vw, 1.2rem); letter-spacing: .04em; line-height: 1.25;
  text-decoration: none; border-bottom: 2px solid var(--idk-b-vg);
  overflow: hidden;
}
a.idk-banner:hover .idk-banner__link, a.idk-banner:focus-visible .idk-banner__link { text-decoration: underline; }
a.idk-banner:focus-visible { outline: 3px solid var(--idk-b-vg); outline-offset: -5px; }
.idk-banner--gross { font-size: clamp(1.2rem, 4vw, 1.9rem); }
.idk-banner--unten {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 900;
  border-bottom: 0; border-top: 2px solid var(--idk-b-vg);
  padding-bottom: env(safe-area-inset-bottom);
}
body.idk-mit-banner-unten { padding-bottom: var(--idk-banner-h, 3.2em); }
/* 6.27: Warenkorb-Knopf rutscht über das Banner, solange es da ist */
.warenkorb-knopf { transition: bottom .3s ease; }
body.idk-mit-banner-unten .warenkorb-knopf { bottom: calc(var(--idk-banner-h, 52px) + 14px) !important; }
@media (max-width: 899px) { body.idk-mit-banner-unten.layout-pinnwand .warenkorb-knopf { bottom: calc(var(--idk-banner-h, 52px) + 78px + env(safe-area-inset-bottom)) !important; } }

.idk-banner__innen {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 4px 14px;
  max-width: 1100px; margin: 0 auto; padding: 11px 46px 11px 18px; text-align: center;
}
.idk-banner__link { font-family: var(--schrift, "Courier New", monospace); font-size: .85em; white-space: nowrap; }

.idk-banner__spur { overflow: hidden; padding: 10px 0; }
.idk-banner--lauf.idk-banner--gross .idk-banner__spur { padding: 14px 0; }
.idk-banner__band { display: flex; width: max-content; animation: idk-lauf 25s linear infinite; will-change: transform; }
.idk-banner__haelfte { display: flex; flex: none; white-space: nowrap; }
.idk-banner__stueck, .idk-banner__trenner { white-space: pre; }
.idk-banner__trenner { opacity: .75; padding: 0 .35em; }
.idk-banner--lauf:hover .idk-banner__band, .idk-banner--lauf:focus-within .idk-banner__band { animation-play-state: paused; }
@keyframes idk-lauf { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .idk-banner__band { animation: none; justify-content: center; width: auto; }
  .idk-banner__haelfte[aria-hidden] { display: none; }
  .idk-banner__haelfte .idk-banner__stueck ~ .idk-banner__stueck, .idk-banner__haelfte .idk-banner__trenner { display: none; }
  .idk-banner__haelfte { white-space: normal; text-align: center; padding: 0 46px 0 18px; }
}

.idk-banner__sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.idk-banner__zu {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 32px; height: 32px; border: 2px solid var(--idk-b-vg); border-radius: 50%;
  background: var(--idk-b-hg); color: var(--idk-b-vg); font: 700 18px/1 system-ui, sans-serif; cursor: pointer; padding: 0;
}
.idk-banner__zu:hover { background: var(--idk-b-vg); color: var(--idk-b-hg); }

/* ---------- Werk-Archiv ---------- */
.idk-werke { --idk-spalte: 260px; margin: 18px 0 10px; }
.idk-werke--klein { --idk-spalte: 190px; }
.idk-werke--gross { --idk-spalte: 360px; }
.idk-werke--mauer { column-width: var(--idk-spalte); column-gap: 22px; }
.idk-werke--mauer .idk-werk { break-inside: avoid; margin: 0 0 26px; display: inline-block; width: 100%; }
.idk-werke--raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(var(--idk-spalte), 100%), 1fr)); gap: 26px 22px; align-items: start; }
.idk-werke--raster .idk-werk__bild { aspect-ratio: 1 / 1; }
.idk-werke--raster .idk-werk__bild img { width: 100%; height: 100%; object-fit: contain; }

.idk-werk { margin: 0; }
.idk-werk__bild {
  display: block; width: 100%; padding: 0; margin: 0; border: var(--rand, 3px solid #191613); background: var(--creme-2, #cdb89e);
  box-shadow: var(--schatten, 5px 5px 0 #191613); cursor: zoom-in; overflow: hidden; color: inherit; font: inherit;
  transition: transform .15s ease, box-shadow .15s ease;
}
a.idk-werk__bild { cursor: pointer; }
div.idk-werk__bild { cursor: default; }
.idk-werk__bild img { display: block; width: 100%; height: auto; }
button.idk-werk__bild:hover, a.idk-werk__bild:hover, button.idk-werk__bild:focus-visible, a.idk-werk__bild:focus-visible { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--tinte, #191613); }
.idk-werk figcaption { margin-top: 10px; line-height: 1.3; }
.idk-werk__titel { display: block; font-family: var(--display, serif); font-size: 1.05rem; letter-spacing: .03em; }
.idk-werk__wer { display: block; font-size: .92rem; }
.idk-werk__info { display: block; font-size: .82rem; opacity: .75; margin-top: 2px; }
@media (hover: hover) {
  .idk-werk--hover { position: relative; }
  .idk-werk--hover figcaption { position: absolute; left: 3px; right: 3px; bottom: 3px; margin: 0; padding: 10px 12px; background: rgba(25,22,19,.82); color: var(--creme, #ebdbc3); opacity: 0; transition: opacity .15s; pointer-events: none; }
  .idk-werk--hover:hover figcaption, .idk-werk--hover:focus-within figcaption { opacity: 1; }
}

.idk-werke-leer { opacity: .75; margin: 30px 0; }
.idk-werke-unter { margin: -6px 0 14px; opacity: .85; }

.idk-filter { display: flex; flex-wrap: wrap; gap: 12px 22px; align-items: center; margin: 4px 0 8px; }
.idk-filter__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.idk-filter__chips button {
  border: var(--rand, 3px solid #191613); background: var(--creme, #ebdbc3); color: var(--tinte, #191613);
  font: inherit; font-family: var(--display, serif); letter-spacing: .03em; padding: 7px 14px; cursor: pointer; box-shadow: 3px 3px 0 var(--tinte, #191613);
}
.idk-filter__chips button small { font-family: var(--schrift, monospace); font-size: .75em; opacity: .75; }
.idk-filter__chips button[aria-pressed="true"] { background: var(--tinte, #191613); color: var(--gelb, #f3d749); }
.idk-filter__wer { display: flex; gap: 8px; align-items: center; }
.idk-filter__wer select { font: inherit; padding: 7px 10px; border: var(--rand, 3px solid #191613); background: #fff; color: var(--tinte, #191613); }

.idk-profil { display: flex; gap: 26px; align-items: flex-start; flex-wrap: wrap; margin: 6px 0 22px; }
.idk-profil__bild { width: min(260px, 100%); border: var(--rand, 3px solid #191613); box-shadow: var(--schatten, 5px 5px 0 #191613); }
.idk-profil__text { flex: 1 1 280px; }
.idk-profil__zahl { font-family: var(--display, serif); letter-spacing: .03em; }
.idk-profil__knoepfe { display: flex; flex-wrap: wrap; gap: 10px; }
.idk-kuenstlerliste { margin-top: 40px; }
.idk-kuenstlerliste a { color: inherit; }
.idk-werke-link { margin-top: 10px; }

/* Querscroll-Streifen */
.idk-streifen { --idk-streifen-h: 280px; position: relative; }
.idk-streifen__bahn {
  display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 4px;
  padding: 6px 4px 18px; -webkit-overflow-scrolling: touch; scrollbar-width: thin; outline-offset: 4px;
}
.idk-streifen__bahn { align-items: flex-start; }
.idk-streifen__bahn > .idk-werk { flex: none; scroll-snap-align: start; max-width: 80vw; width: min-content; }
.idk-streifen .idk-werk__bild { width: auto; height: auto; }
.idk-streifen .idk-werk__bild img { width: auto; height: auto; max-height: var(--idk-streifen-h); max-width: min(80vw, 640px); min-width: 90px; min-height: 90px; }
.idk-streifen .idk-werk figcaption { min-width: 150px; }
.idk-streifen__ende {
  flex: none; align-self: flex-start; scroll-snap-align: start; display: grid; place-items: center; text-align: center;
  width: 190px; height: var(--idk-streifen-h); border: var(--rand, 3px solid #191613); background: var(--gelb, #f3d749); color: var(--tinte, #191613);
  font-family: var(--display, serif); font-size: 1.2rem; letter-spacing: .04em; text-decoration: none; padding: 16px; box-shadow: var(--schatten, 5px 5px 0 #191613);
}
.idk-streifen__pfeil {
  position: absolute; top: calc(var(--idk-streifen-h) / 2 - 22px); z-index: 2; width: 44px; height: 44px; border-radius: 50%;
  border: var(--rand, 3px solid #191613); background: var(--creme, #ebdbc3); color: var(--tinte, #191613); font: 700 26px/1 system-ui, sans-serif; cursor: pointer; padding: 0 0 3px;
}
.idk-streifen__pfeil--l { left: -10px; } .idk-streifen__pfeil--r { right: -10px; }
.idk-streifen__pfeil:disabled { opacity: 0; pointer-events: none; }
@media (hover: none), (max-width: 700px) { .idk-streifen__pfeil { display: none; } .idk-streifen { --idk-streifen-h: min(var(--idk-streifen-h), 62vw); } }

/* Großansicht */
.idk-lb { position: fixed; inset: 0; z-index: 2000; background: rgba(15,13,11,.94); display: grid; grid-template-columns: 60px minmax(0,1fr) 60px; align-items: center; color: #ebdbc3; }
.idk-lb[hidden] { display: none; }
html.idk-lb-offen { overflow: hidden; }
.idk-lb__figur { margin: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto; justify-items: center; align-items: center; height: 100vh; height: 100dvh; padding: 54px 0 14px; min-width: 0; }
.idk-lb__bild { display: block; max-width: 100%; max-height: 100%; min-height: 0; object-fit: contain; box-shadow: 0 10px 40px rgba(0,0,0,.5); }
.idk-lb__unten { display: flex; gap: 18px; max-height: 38vh; overflow-y: auto; justify-content: space-between; align-items: flex-end; width: 100%; max-width: 900px; margin-top: 14px; padding: 0 4px; font-family: var(--schrift, monospace); }
.idk-lb__text .idk-werk__titel { font-size: 1.2rem; }
.idk-lb__beschr { display: block; margin-top: 6px; font-size: .9rem; opacity: .85; max-width: 60ch; }
.idk-lb__mehr { display: inline-block; margin-top: 8px; color: #f3d749; }
.idk-lb__zahl { opacity: .6; font-size: .85rem; white-space: nowrap; }
.idk-lb button { background: none; border: 0; color: #ebdbc3; cursor: pointer; font: 400 46px/1 system-ui, sans-serif; padding: 10px; }
.idk-lb button:hover, .idk-lb button:focus-visible { color: #f3d749; }
.idk-lb__zu { position: absolute; top: 6px; right: 12px; font-size: 40px !important; }
@media (max-width: 700px) { .idk-lb { grid-template-columns: 0 minmax(0,1fr) 0; } .idk-lb__vor, .idk-lb__zurueck { position: absolute; bottom: 10px; z-index: 2; } .idk-lb__zurueck { left: 10px; } .idk-lb__vor { right: 10px; } .idk-lb__unten { padding: 0 64px 0 12px; } .idk-lb__figur { padding: 50px 8px 70px; } }

/* Video */
.idk-video { margin: 8px 0 30px; }
.idk-video video { display: block; width: 100%; max-height: 78vh; background: #000; border: var(--rand, 3px solid #191613); box-shadow: var(--schatten, 5px 5px 0 #191613); }
.idk-video--klein { max-width: 820px; }
.idk-video__titel { font-family: var(--display, serif); font-size: 1.35rem; letter-spacing: .03em; margin: 0 0 10px; }
.idk-video__text { margin: 12px 0 0; max-width: 70ch; }

/* Kein kommender Termin (6.25) */
.idk-kein-termin { margin: .4em 0 1em; font-style: italic; }

/* Archiv zum seitlichen Wischen (6.26) */
.idk-aw-rahmen { position: relative; }
.idk-aw-hinweis { margin: 0 0 8px; font-size: .85rem; opacity: .7; text-align: center; }
.idk-aw-fotos .foto-galerie { flex-direction: row; max-width: none; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; padding: 4px 8px 16px 4px; scrollbar-width: thin; }
.idk-aw-fotos .foto-galerie figure { flex: 0 0 auto; width: min-content; max-width: 86vw; scroll-snap-align: start; }
.idk-aw-fotos .foto-galerie img { width: auto; height: min(62vh, 460px); max-width: 86vw; object-fit: cover; }
.idk-aw-alles { display: flex; gap: 26px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; padding: 4px 8px 18px 4px; scrollbar-width: thin; }
.idk-aw-alles > .tab-panel, .idk-aw-alles > .tab-panel[hidden] { display: block; flex: 0 0 min(86vw, 620px); scroll-snap-align: start; min-width: 0; }
.idk-aw-alles .foto-galerie { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; max-width: none; }
.idk-aw-alles .foto-galerie figcaption { font-size: .85rem; padding: 6px 8px; }
.idk-aw-pfeil { position: absolute; top: 45%; z-index: 3; width: 44px; height: 44px; border-radius: 50%; border: var(--rand, 3px solid #191613); background: var(--creme, #ebdbc3); color: var(--tinte, #191613); font: 700 26px/1 system-ui, sans-serif; cursor: pointer; box-shadow: var(--schatten, 3px 3px 0 #191613); }
.idk-aw-pfeil--l { left: -12px; } .idk-aw-pfeil--r { right: -12px; }
.idk-aw-pfeil:disabled { opacity: 0; pointer-events: none; }
@media (hover: none), (max-width: 700px) { .idk-aw-pfeil { display: none; } }
.idk-aw-rahmen--alles .idk-aw-pfeil { top: 190px; }
.idk-aw-rahmen--alles .idk-aw-hinweis { font-size: .95rem; }
@media (max-width: 899px) { body.idk-mit-banner-unten.layout-pinnwand .pw-nav { bottom: var(--idk-banner-h, 52px); } }
