/* Halkevi – „Kultur & Bühne“. Abschnitte der Startseite, Kopf, Menü, Footer, Unterseiten.
   Klassen mit hk- hängen an normalen WordPress-Blöcken; Animationen nur mit .hk-js (JavaScript an). */

:root {
	--hk-rand: clamp(16px, 4vw, 32px);
	--hk-nacht: var(--wp--preset--color--nacht);
	--hk-hell: var(--wp--preset--color--stein-hell);
	--hk-stein: var(--wp--preset--color--stein);
	--hk-sand: var(--wp--preset--color--sand);
	--hk-taupe: var(--wp--preset--color--taupe);
	--hk-oliv: var(--wp--preset--color--oliv-dunkel);
	--hk-blut: var(--wp--preset--color--ochsenblut);
	--hk-rost: var(--wp--preset--color--rost);
	--hk-serif: var(--wp--preset--font-family--display);
	--hk-top: var(--wp-admin--admin-bar--height, 0px);
	--hk-weich: cubic-bezier(.2, .7, .2, 1);
	--hk-buehne: cubic-bezier(.76, 0, .24, 1);
}

html { scroll-behavior: smooth; }
.wp-site-blocks { overflow-x: clip; }
.wp-site-blocks > *, .wp-block-post-content > section.alignfull { margin-block: 0; }
[class*="hk-"] > * { margin-block: 0; }
.hk-versteckt { display: none !important; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--hk-sand); outline-offset: 3px; }
.hk-label { font-size: 13px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--hk-rost); }
.has-nacht-background-color .hk-label, .has-ochsenblut-background-color .hk-label { color: var(--hk-sand); }
/* Bodoni hat sehr feine Haarlinien (großes A, Gedankenstrich): ein Hauch Kontur in Textfarbe macht sie lesbar, wächst mit der Schriftgröße */
h1, h2, h3, h4, h5, h6, .hk-cd-zahl, .hk-galerie-titel, .hk-hero-jahre, .hk-hero-unterzeile, .hk-jubi-ort, .hk-laufband, .hk-liste .wp-block-post::after,
.hk-mark span, .hk-marke em, .hk-menue-name, .hk-menue-nav .wp-block-navigation-item__content, .hk-saeule-schluss, .hk-saeule-nr, .hk-einleitung, .hk-statement, .hk-ticket-zahl {
	-webkit-text-stroke: max(.45px, .008em) currentColor;
}
.wp-element-button, .wp-block-button__link { transition: transform .25s, background-color .25s, color .25s; }
.wp-element-button:hover, .wp-block-button__link:hover { transform: translateY(-3px); }
.wp-block-button.is-style-outline > .wp-block-button__link { border: 1px solid currentColor; background: transparent; color: inherit; padding: 17px 27px; }

/* Filmkorn über der ganzen Seite */
body::after {
	content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 95; opacity: .07;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Kopf (Differenz-Modus) und Logo ---------- */
.hk-kopf {
	position: fixed; top: var(--hk-top); left: 0; right: 0; z-index: 70;
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	padding: 22px var(--hk-rand) 22px calc(var(--hk-rand) + 84px);
	color: #fff; mix-blend-mode: difference; pointer-events: none;
}
.hk-kopf > * { pointer-events: auto; }
.hk-marke { line-height: 1; }
.hk-marke a { display: flex; flex-direction: column; color: #fff; text-decoration: none; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; }
.hk-marke em { font-family: var(--hk-serif); font-size: 28px; font-weight: 500; letter-spacing: 0; text-transform: none; margin-bottom: 5px; }
.hk-tage { font-size: 13px; letter-spacing: 2px; text-transform: uppercase; }
.hk-kopf .wp-block-buttons { gap: 10px; flex-wrap: nowrap; flex: none; }
.hk-kopf .wp-block-button__link, .hk-menue .wp-block-button__link { white-space: nowrap; }
.hk-kopf .wp-block-button__link {
	display: flex; align-items: center; gap: 12px; height: 48px; padding: 0 22px;
	background: transparent; color: #fff; border: 1px solid #fff; font-weight: 400;
}
.hk-kopf .hk-knopf-menue .wp-block-button__link::after {
	content: ""; width: 22px; height: 10px;
	background: linear-gradient(currentColor, currentColor) 0 0 / 22px 1.5px no-repeat, linear-gradient(currentColor, currentColor) 6px 8.5px / 16px 1.5px no-repeat;
}
.hk-logo {
	position: fixed; top: calc(var(--hk-top) + 14px); left: var(--hk-rand); z-index: 71; margin: 0;
	width: 68px; height: 68px; border-radius: 50%; background: #fff;
	display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
	transition: transform .25s;
}
.hk-logo:hover { transform: translateY(-3px); }
.hk-logo a, .hk-logo img { display: block; width: 64px !important; height: 64px !important; object-fit: contain; border-radius: 50%; }
@media (max-width: 760px) {
	.hk-tage, .hk-kopf .hk-knopf-tickets { display: none; }
	.hk-kopf { padding-left: calc(var(--hk-rand) + 72px); }
	.hk-logo { width: 56px; height: 56px; }
	.hk-logo a, .hk-logo img { width: 52px !important; height: 52px !important; }
}

/* ---------- Menü als Samtvorhang ---------- */
.hk-samt, .hk-menue::before, .hk-menue::after {
	background-color: #440000;
	background-image: repeating-linear-gradient(90deg, rgba(0,0,0,.5) 0, rgba(0,0,0,0) 20px, rgba(255,220,200,.08) 32px, rgba(0,0,0,0) 46px, rgba(0,0,0,.5) 66px);
}
.hk-menue {
	position: fixed; inset: var(--hk-top) 0 0 0; z-index: 90; margin: 0 !important;
	display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
	padding: 24px var(--hk-rand) 40px; color: var(--hk-hell);
	visibility: hidden; transition: visibility 0s linear .9s; overflow-y: auto;
}
.hk-menue::before, .hk-menue::after { content: ""; position: fixed; top: var(--hk-top); bottom: 0; width: 50.5%; z-index: -1; transition: transform .85s var(--hk-buehne); }
.hk-menue::before { left: 0; transform: translateX(-101%); }
.hk-menue::after { right: 0; transform: translateX(101%); }
.hk-menue.ist-offen, .hk-menue:target { visibility: visible; transition-delay: 0s; }
.hk-menue.ist-offen::before, .hk-menue.ist-offen::after, .hk-menue:target::before, .hk-menue:target::after { transform: none; }
.hk-menue > * { opacity: 0; transform: translateY(48px); transition: opacity .4s, transform .5s var(--hk-weich); }
.hk-menue.ist-offen > *, .hk-menue:target > * { opacity: 1; transform: none; transition: opacity .6s .5s, transform .8s var(--hk-weich) .5s; }
.hk-menue-kopf { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.hk-menue-marke { display: flex; align-items: center; gap: 14px; }
.hk-menue-marke .wp-block-site-logo img { width: 60px !important; height: 60px !important; object-fit: contain; background: #fff; border-radius: 50%; }
.hk-menue-name { font-family: var(--hk-serif); font-size: 26px; font-style: italic; }
.hk-menue .wp-block-button__link { height: 48px; display: flex; align-items: center; padding: 0 22px; background: transparent; color: var(--hk-hell); border: 1px solid var(--hk-hell); font-weight: 400; }
.hk-menue-nav .wp-block-navigation__container { flex-direction: column; align-items: flex-start; gap: 4px; }
.hk-menue-nav .wp-block-navigation-item__content {
	font-family: var(--hk-serif); font-size: clamp(30px, min(7vw, 7.4vh), 104px); line-height: 1.02; text-transform: uppercase; color: var(--hk-hell);
	text-decoration: none; display: inline-block; opacity: 0; transform: translateY(48px);
	transition: opacity .4s, transform .5s var(--hk-weich);
}
.hk-menue-nav .wp-block-navigation-item__content:hover, .hk-menue-nav .wp-block-navigation-item__content:focus-visible { font-style: italic; }
.hk-menue.ist-offen .wp-block-navigation-item__content, .hk-menue:target .wp-block-navigation-item__content { opacity: 1; transform: none; transition: opacity .6s calc(.55s + var(--i, 0) * .07s), transform .8s var(--hk-weich) calc(.55s + var(--i, 0) * .07s); }
.hk-menue-nav li:nth-child(2) { --i: 1; } .hk-menue-nav li:nth-child(3) { --i: 2; } .hk-menue-nav li:nth-child(4) { --i: 3; }
.hk-menue-nav li:nth-child(5) { --i: 4; } .hk-menue-nav li:nth-child(6) { --i: 5; } .hk-menue-nav li:nth-child(7) { --i: 6; } .hk-menue-nav li:nth-child(8) { --i: 7; }
.hk-menue-fuss { font-size: 14px; line-height: 1.9; letter-spacing: 1px; text-transform: uppercase; color: var(--hk-sand); }
.hk-menue-fuss a { color: var(--hk-sand); }
html.hk-menue-offen { overflow: hidden; }

/* ---------- Suche: Feld im Menü und auf der Ergebnisseite (Standard-Block „Suche“) ---------- */
.hk-menue-suche, .hk-suche-feld { margin: 0 !important; max-width: 720px; }
.hk-menue-suche .wp-block-search__inside-wrapper, .hk-suche-feld .wp-block-search__inside-wrapper { display: flex; gap: 12px; align-items: center; border: 0; padding: 0; }
.hk-menue-suche .wp-block-search__input, .hk-suche-feld .wp-block-search__input {
	flex: 1; min-width: 0; padding: 12px 2px; border: 0; border-bottom: 1px solid currentColor; border-radius: 0; background: transparent; color: inherit;
	font-family: var(--hk-serif); font-size: clamp(22px, 2.6vw, 32px);
}
.hk-menue-suche .wp-block-search__input { color: var(--hk-hell); border-bottom-color: rgba(233, 231, 232, .5); }
.hk-menue-suche .wp-block-search__input::placeholder { color: rgba(233, 231, 232, .55); }
.hk-suche-feld .wp-block-search__input::placeholder { color: rgba(22, 21, 16, .45); }
.hk-menue-suche .wp-block-search__input:focus, .hk-suche-feld .wp-block-search__input:focus { outline: none; border-bottom-color: var(--hk-rost); }
.hk-menue-suche .wp-block-search__button, .hk-suche-feld .wp-block-search__button {
	margin: 0; height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid currentColor; background: transparent; color: inherit;
	font-size: 13px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; cursor: pointer;
}
.hk-menue-suche .wp-block-search__button { color: var(--hk-hell); }
.hk-suche-feld { padding: 0 var(--hk-rand) 48px; }
.hk-suche-titel { text-transform: none !important; }
.hk-suche-leer { padding: 0 var(--hk-rand); font-size: 18px; max-width: 640px; }
.hk-suche-leer a { color: var(--hk-rost); }
.search .hk-aktuelles { padding-top: 72px !important; }

/* ---------- Kontaktformular [hk_kontakt] (functions.php) ---------- */
.hk-kontakt { display: grid; gap: 20px; margin-top: 32px !important; scroll-margin-top: 140px; }
.hk-kontakt p { margin: 0; }
.hk-kontakt label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--hk-nacht); }
.hk-kontakt input, .hk-kontakt textarea {
	width: 100%; box-sizing: border-box; padding: 12px 2px; border: 0; border-bottom: 1px solid var(--hk-nacht); border-radius: 0; background: transparent;
	font: inherit; font-size: 18px; color: var(--hk-nacht);
}
.hk-kontakt textarea { resize: vertical; min-height: 140px; }
.hk-kontakt input:focus, .hk-kontakt textarea:focus { outline: none; border-bottom: 2px solid var(--hk-rost); }
.hk-kontakt .hk-kontakt-falle { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.hk-kontakt-hinweis { font-size: 14px; }
.hk-kontakt label span { font-weight: 400; letter-spacing: .5px; text-transform: none; color: var(--hk-oliv); }
.hk-kontakt-hinweis a { color: var(--hk-rost); }
.hk-kontakt button { cursor: pointer; border: 0; }
.hk-kontakt-fehler, .hk-kontakt-danke { padding: 16px 20px; border-radius: 12px; }
.hk-kontakt-fehler { background: #fbebeb; border-left: 4px solid var(--hk-rost); }
.hk-kontakt-danke { background: #e5f4e4; border-left: 4px solid #2D6A2D; }
@media (max-width: 760px) { .hk-menue-suche .wp-block-search__input, .hk-suche-feld .wp-block-search__input { font-size: 20px; } .search .hk-aktuelles { padding-top: 40px !important; } }

/* ---------- Vorhang-Intro ---------- */
.hk-intro { position: fixed; inset: 0; z-index: 100; pointer-events: none; animation: hkWeg 0s linear 3.4s forwards; }
@keyframes hkWeg { to { visibility: hidden; } }
.hk-cl, .hk-cr { position: absolute; top: 0; bottom: 0; width: 50.5%; }
.hk-cl { left: 0; transform-origin: 0 0; animation: hkVorL 1.5s var(--hk-buehne) 1.15s both; box-shadow: inset -30px 0 60px rgba(0,0,0,.6); }
.hk-cr { right: 0; transform-origin: 100% 0; animation: hkVorR 1.5s var(--hk-buehne) 1.15s both; box-shadow: inset 30px 0 60px rgba(0,0,0,.6); }
@keyframes hkVorL { 0% { transform: none; } 22% { transform: translateX(1.5%) scaleX(1.03); } 100% { transform: translateX(-100%) scaleX(.5); } }
@keyframes hkVorR { 0% { transform: none; } 22% { transform: translateX(-1.5%) scaleX(1.03); } 100% { transform: translateX(100%) scaleX(.5); } }
.hk-val { position: absolute; left: 0; right: 0; top: 0; height: 110px; background: #2A0000; border-bottom: 3px solid #AD9F85; box-shadow: 0 18px 40px rgba(0,0,0,.6); animation: hkVal .8s var(--hk-buehne) 2.45s both; }
@keyframes hkVal { to { transform: translateY(-115%); } }
.hk-mark { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; color: var(--hk-hell); animation: hkMark 1.35s ease both; }
.hk-mark img { width: 170px; height: 170px; object-fit: contain; background: #fff; border-radius: 50%; padding: 12px; }
.hk-mark span { font-family: var(--hk-serif); font-size: 30px; font-style: italic; letter-spacing: 1px; text-align: center; padding: 0 16px; }
@keyframes hkMark { 0% { opacity: 0; transform: scale(.82); } 35% { opacity: 1; transform: none; } 72% { opacity: 1; } 100% { opacity: 0; transform: scale(1.1); } }

/* ---------- Hero ---------- */
.hk-hero { position: relative; height: clamp(640px, 100svh, 960px); overflow: hidden; padding: 0 var(--hk-rand) !important; }
.hk-partikel { position: absolute; inset: 0; width: 100%; height: 100%; }
.hk-hero-info {
	position: absolute; top: 116px; left: var(--hk-rand); right: var(--hk-rand);
	display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px;
	font-size: 13px; line-height: 1.5; letter-spacing: .5px; color: var(--hk-sand);
}
.hk-hero-jahre { position: absolute; right: 4%; top: 62%; font-family: var(--hk-serif); font-size: 34px; font-style: italic; color: var(--hk-sand); letter-spacing: .5px; }
.hk-hero-zahl { position: absolute; right: 4%; top: 10%; font-family: var(--hk-serif); font-weight: 900; font-size: min(60vh, 34vw); line-height: 1; color: rgba(199, 187, 163, .18); }
.hk-js .hk-hero-zahl { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }
.hk-hero-unten { position: absolute; left: var(--hk-rand); right: var(--hk-rand); bottom: 112px; display: flex; flex-direction: column; gap: 28px; pointer-events: none; }
.hk-hero-titel { margin: 0; font-size: clamp(40px, 6.4vw, 96px); line-height: .98; letter-spacing: -1px; color: var(--hk-hell); }
.hk-hero-zeile { display: flex !important; flex-wrap: wrap; align-items: center; gap: 28px; pointer-events: auto; }
.hk-hero-unterzeile { font-family: var(--hk-serif); font-size: 24px; font-style: italic; color: var(--hk-sand); }
.hk-hero .wp-block-button__link { height: 52px; display: flex; align-items: center; padding: 0 26px; }
.hk-scroll { position: absolute; right: var(--hk-rand); bottom: 112px; display: flex; flex-direction: column; align-items: center; gap: 14px; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--hk-sand); }
.hk-scroll span:first-child { writing-mode: vertical-rl; }
.hk-cue { display: block; width: 1px; height: 64px; background: rgba(233, 231, 232, .25); position: relative; overflow: hidden; }
.hk-cue::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--hk-hell); animation: hkCue 1.8s cubic-bezier(.7, 0, .2, 1) infinite; }
@keyframes hkCue { to { top: 110%; } }
.hk-line { display: block; overflow: hidden; padding-bottom: .04em; }
.hk-char { display: inline-block; animation: hkChar 1.1s cubic-bezier(.2, .75, .15, 1) both; }
@keyframes hkChar { from { opacity: 0; transform: translateY(.7em) rotate(8deg); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
.hk-fade { animation: hkFade 1.2s var(--hk-weich) both; }
@keyframes hkFade { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (max-width: 760px) {
	.hk-hero-info, .hk-hero-jahre, .hk-scroll { display: none !important; }
	.hk-hero-unten { bottom: 56px; }
}

/* ---------- Einblenden ---------- */
.hk-js .hk-rv { opacity: 0; transform: translateY(56px); transition: opacity 1s var(--hk-weich), transform 1.2s var(--hk-weich); }
.hk-js .hk-rv.ist-sichtbar { opacity: 1; transform: none; }
.hk-js .hk-clip { clip-path: inset(100% 0 0 0); transition: clip-path 1.4s cubic-bezier(.7, 0, .2, 1); }
.hk-js .hk-clip.ist-sichtbar { clip-path: inset(0 0 0 0); }
.hk-js .hk-clip img { transform: scale(1.25); transition: transform 1.8s var(--hk-weich); }
.hk-js .hk-clip.ist-sichtbar img { transform: none; }

/* ---------- 01 Über uns ---------- */
.hk-ueber { padding: 180px var(--hk-rand) 200px !important; display: flex; flex-direction: column; gap: 64px; }
.hk-ueber > * { width: 100%; max-width: 1240px; margin-inline: auto !important; }
.hk-statement { font-family: var(--hk-serif); font-size: clamp(32px, 4.6vw, 68px); line-height: 1.14; letter-spacing: -.5px; }
.hk-wort { opacity: var(--o, 1); transition: opacity .3s; }
.hk-ueber-fakten { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; font-size: 16px; line-height: 1.6; color: var(--hk-oliv); border-top: 1px solid rgba(22, 21, 16, .2); padding-top: 28px; }
.hk-ueber-fakten a { color: var(--hk-nacht); font-weight: 600; }

/* ---------- Bilder-Rad ---------- */
.hk-galerie { position: relative; overflow: hidden; padding: 20px 0 160px !important; }
.hk-wasserzeichen {
	position: absolute; left: var(--hk-rand); top: 100px; white-space: nowrap; pointer-events: none;
	font-family: var(--hk-serif); font-size: clamp(64px, 8vw, 120px); font-style: italic; line-height: 1;
	color: transparent; -webkit-text-stroke: 1.5px rgba(22, 21, 16, .45);
}
.hk-rad { max-width: 1100px; margin: 80px auto !important; padding: 0 var(--hk-rand); }
.hk-rad-mitte { max-width: 220px; margin: 0 auto 48px !important; }
.hk-radbox { position: relative; width: 900px; height: 900px; margin: 0 auto; transform-origin: 50% 50%; }
.hk-ring { position: absolute; inset: 0; }
.hk-kachel { position: absolute; left: 50%; top: 50%; width: 128px; height: 168px; margin: -84px 0 0 -64px; border-radius: 14px; overflow: hidden; box-shadow: 0 18px 40px rgba(22, 21, 16, .28); }
.hk-kachel img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--hk-weich); }
.hk-kachel:hover img { transform: scale(1.15); }
.hk-mitte { position: absolute; left: 50%; top: 50%; width: 340px; height: 340px; margin: -170px 0 0 -170px; }
.hk-mitte svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hk-mitte circle { fill: none; stroke-width: 5; stroke-linecap: round; }
.hk-blase { position: absolute; inset: 30px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 30px 70px rgba(22, 21, 16, .25); animation: hkPop 1.1s cubic-bezier(.2, 1.4, .4, 1) .4s both; }
.hk-blase img { width: 90%; height: 90%; object-fit: contain; position: relative; }
.hk-glow { position: absolute; inset: -4px; border-radius: 50%; animation: hkGlow 3.4s ease-in-out 2s infinite; }
.hk-draw { animation: hkDraw 1.8s cubic-bezier(.6, 0, .2, 1) both; }
.hk-spin { transform-origin: 170px 170px; animation: hkSpin 30s linear infinite; }
@keyframes hkDraw { from { stroke-dasharray: 0 1000; } }
@keyframes hkSpin { to { transform: rotate(360deg); } }
@keyframes hkPop { from { opacity: 0; transform: scale(.5); filter: blur(10px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes hkGlow { 0%, 100% { box-shadow: 0 0 0 0 rgba(137, 60, 36, 0); } 50% { box-shadow: 0 0 0 18px rgba(137, 60, 36, .18); } }
@media (max-width: 1760px) {   /* Neben dem Rad ist erst ab ~1760 px Platz (Kacheln oben links), sonst steht „Momente“ darüber */
	.hk-js .hk-galerie { padding-top: calc(clamp(64px, 8vw, 120px) + 70px) !important; }
	.hk-js .hk-wasserzeichen { top: 30px; }
}
.hk-galerie-text { max-width: 640px; margin: 0 auto !important; padding: 0 var(--hk-rand); text-align: center; display: flex; flex-direction: column; gap: 14px; position: relative; }
.hk-galerie-titel { font-family: var(--hk-serif); font-size: 40px; font-style: italic; line-height: 1.1; }
.hk-galerie-text p:not(.hk-galerie-titel) { font-size: 16px; line-height: 1.6; color: var(--hk-oliv); }

/* ---------- 02 Vereinsarbeit ---------- */
.hk-arbeit { position: relative; padding: 120px 0 !important; display: flex; flex-direction: column; gap: 48px; }
.hk-arbeit.ist-gepinnt { padding: 0 !important; display: block; }
.hk-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: clamp(16px, 4vh, 48px); padding: 96px 0 24px; }
.ist-gepinnt .hk-saeule .wp-block-image { height: clamp(160px, calc(100svh - 440px), 380px); }
.ist-gepinnt .hk-arbeit h2 { font-size: clamp(36px, min(5.4vw, 8vh), 80px); }
.hk-arbeit-kopf { padding: 0 var(--hk-rand); display: flex !important; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.hk-arbeit-titel { display: flex; flex-direction: column; gap: 16px; }
.hk-arbeit h2 { font-size: clamp(40px, 5.4vw, 80px); }
.hk-fortschritt { display: flex; flex-direction: column; gap: 10px; width: 260px; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--hk-sand); }
.hk-bahn { height: 2px; background: rgba(233, 231, 232, .15); }
.hk-balken { height: 2px; background: var(--hk-sand); transform: scaleX(0); transform-origin: left center; }
.hk-arbeit:not(.ist-gepinnt) .hk-balken { transform: scaleX(1); }
.hk-spur { display: flex !important; flex-wrap: nowrap !important; gap: 28px; padding: 0 var(--hk-rand); overflow-x: auto; scroll-snap-type: x mandatory; }
.ist-gepinnt .hk-spur { overflow: visible; width: max-content; will-change: transform; }
.hk-saeule { flex: none; width: 520px; display: flex !important; flex-direction: column; gap: 22px; scroll-snap-align: start; }
.hk-saeule .wp-block-image { height: 380px; border-radius: 18px; overflow: hidden; background: var(--hk-oliv); margin: 0; }
.hk-saeule .wp-block-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hk-saeule-titel { display: flex !important; align-items: baseline; gap: 18px; flex-wrap: nowrap; }
.hk-saeule-nr { font-family: var(--hk-serif); font-size: 30px; font-style: italic; color: var(--hk-taupe); }
.hk-saeule h3 { font-size: 46px; letter-spacing: -.5px; }
.hk-saeule > p { font-size: 17px; line-height: 1.6; color: var(--hk-sand); max-width: 460px; }
.hk-saeule-ende { justify-content: center; gap: 28px; padding: 0 24px; }
.hk-saeule > .hk-saeule-schluss { font-family: var(--hk-serif); font-size: 52px; max-width: none; font-style: italic; line-height: 1.1; color: var(--hk-hell) !important; }
.hk-saeule-ende .wp-block-button__link { background: var(--hk-hell); color: var(--hk-nacht); height: 52px; display: flex; align-items: center; padding: 0 26px; }
@media (max-width: 760px) {
	.hk-saeule { width: 300px; }
	.hk-saeule .wp-block-image { height: 260px; }
	.hk-saeule h3 { font-size: 36px; }
	.hk-saeule > .hk-saeule-schluss { font-size: 38px; }
}

/* ---------- 03 Musik ---------- */
.hk-musik { position: relative; height: 760px; overflow: hidden; padding: 96px var(--hk-rand) 64px !important; display: flex; flex-direction: column; justify-content: space-between; }
.hk-saiten { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y; }
.hk-musik > :not(canvas) { position: relative; pointer-events: none; }
.hk-musik a, .hk-musik button { pointer-events: auto; }
.hk-musik-kopf { display: flex; flex-direction: column; gap: 16px; }
.hk-musik h2 { font-size: clamp(44px, 6vw, 92px); line-height: .96; }
.hk-musik-fuss { display: flex !important; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.hk-musik-steuerung { display: flex !important; flex-wrap: wrap; align-items: center; gap: 20px; }
.hk-musik-hinweis { font-size: 15px; color: #E3CFC9; }
.hk-musik-kurs a { color: var(--hk-hell); font-size: 15px; font-weight: 600; }
.hk-ton {
	height: 52px; padding: 0 24px; border-radius: 999px; border: 1px solid var(--hk-hell); background: transparent; color: var(--hk-hell);
	font: 600 14px/1 var(--wp--preset--font-family--text); letter-spacing: 1.5px; text-transform: uppercase;
	display: flex; align-items: center; gap: 10px; cursor: pointer; transition: transform .25s, background-color .25s, color .25s;
}
.hk-ton:hover { transform: translateY(-3px); }
.hk-ton[aria-pressed="true"] { background: var(--hk-hell); color: var(--hk-blut); }
@media (max-width: 760px) { .hk-musik { height: 640px; } }

/* ---------- 04 Jubiläum + Ticket ---------- */
.hk-jubilaeum { padding: 160px var(--hk-rand) !important; overflow: hidden; display: flex !important; flex-wrap: wrap; gap: 64px; align-items: center; }
.hk-jubilaeum > * { margin: 0 !important; }
@media (min-width: 1384px) { .hk-jubilaeum { padding-inline: calc((100% - 1320px) / 2) !important; } }
.hk-jubi-text { flex: 999 1 560px; min-width: 0; display: flex !important; flex-direction: column; gap: 28px; }
.hk-jubi-datum { font-size: clamp(96px, 14vw, 220px); line-height: .82; letter-spacing: -4px; }
.hk-jubi-ort { font-family: var(--hk-serif); font-size: clamp(28px, 3vw, 40px); font-style: italic; line-height: 1.15; }
.hk-jubi-beschreibung { font-size: 18px; line-height: 1.65; color: var(--hk-oliv); max-width: 560px; }
.hk-countdown { font-family: var(--hk-serif); font-size: 28px; }
.hk-cd { display: flex; flex-wrap: wrap; gap: 28px; }
.hk-cd-gruppe { display: flex; flex-direction: column; gap: 8px; }
.hk-cd-zahl { font-family: var(--hk-serif); font-size: 64px; font-weight: 500; display: flex; }
.hk-cd-label { font: 400 12px/1 var(--wp--preset--font-family--text); letter-spacing: 2px; text-transform: uppercase; color: var(--hk-oliv); }
.hk-odo { display: inline-flex; align-items: flex-start; height: 1em; overflow: hidden; line-height: 1; }
.hk-odo-col { display: flex; flex-direction: column; transition: transform .8s cubic-bezier(.7, 0, .2, 1); }
.hk-odo-col span { display: block; height: 1em; }
.hk-jubi-text .wp-block-button__link { height: 56px; display: flex; align-items: center; padding: 0 28px; }
.hk-jubi-text .is-style-outline .wp-block-button__link { padding: 0 27px; }
.hk-jubi-bild { flex: 1 1 420px; position: relative; height: 680px; }
.hk-flyer { position: absolute !important; right: 0; top: 0; width: 300px; margin: 0 !important; transform: rotate(5deg); }
.hk-flyer img { border-radius: 16px; box-shadow: 0 40px 80px rgba(22, 21, 16, .35); display: block; width: 100%; height: auto; }
.hk-ticket { position: absolute !important; left: 0; bottom: 0; width: 420px; max-width: 100%; display: flex !important; flex-wrap: nowrap; gap: 0 !important; border-radius: 22px; box-shadow: 0 40px 80px rgba(22, 21, 16, .45); transition: transform .25s ease-out; }
.hk-ticket-haupt { flex: 1; min-width: 0; padding: 30px 28px; display: flex !important; flex-direction: column; gap: 18px; }
.hk-ticket-label { font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: var(--hk-sand); }
.hk-ticket-zahl { font-family: var(--hk-serif); font-size: 96px; font-weight: 500; line-height: .85; }
.hk-ticket-zahl em { font-size: 28px; font-weight: 400; margin-left: 6px; }
.hk-ticket-mit { font-size: 15px; line-height: 1.5; color: var(--hk-sand); }
.hk-ticket-fakten { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; border-top: 1px dashed rgba(233, 231, 232, .3); padding-top: 16px; }
.hk-ticket-fakten p { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--hk-taupe); line-height: 1.4; }
.hk-ticket-fakten strong { display: block; margin-top: 4px; font-size: 17px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--hk-hell); }
.hk-ticket-abriss {
	position: relative; flex: none; width: 88px; border-left: 2px dashed rgba(233, 231, 232, .3);
	display: flex !important; flex-direction: column; align-items: center; justify-content: flex-start; padding: 24px 0;
	background: repeating-linear-gradient(0deg, #E9E7E8 0 2px, transparent 2px 5px, #E9E7E8 5px 6px, transparent 6px 10px, #E9E7E8 10px 13px, transparent 13px 15px) no-repeat center bottom 24px / 40px 120px;
}
.hk-ticket-abriss::before, .hk-ticket-abriss::after { content: ""; position: absolute; left: -15px; width: 28px; height: 28px; border-radius: 50%; background: var(--hk-stein); }
.hk-ticket-abriss::before { top: -14px; }
.hk-ticket-abriss::after { bottom: -14px; }
.hk-ticket-abriss p { writing-mode: vertical-rl; font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: var(--hk-sand); }
@media (max-width: 760px) {
	.hk-jubilaeum { padding-block: 112px !important; }
	.hk-jubi-bild { height: auto; display: flex !important; flex-direction: column; align-items: center; gap: 32px; }
	.hk-flyer, .hk-ticket { position: relative !important; inset: auto; }
	.hk-flyer { width: min(300px, 80%); }
	.hk-cd-zahl { font-size: 48px; }
}

/* ---------- 05 Aktuelles ---------- */
.hk-aktuelles { padding: 160px 0 !important; }
.hk-aktuelles-kopf { padding: 0 var(--hk-rand) 56px; display: flex !important; flex-direction: column; gap: 16px; }
.hk-aktuelles h2 { font-size: clamp(40px, 5.4vw, 80px); }

/* ---------- Halkevi TV: YouTube-Vorschau (functions.php), Startseiten-Sektion, Unterseite ---------- */
.hk-video { margin: 0 !important; }
.hk-yt, .hk-video iframe { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 14px; overflow: hidden; background: #000; }
.hk-yt img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--hk-weich), opacity .3s; }   /* cover schneidet die schwarzen Balken von hqdefault weg */
.hk-yt:hover img, .hk-yt:focus-visible img { transform: scale(1.05); opacity: .8; }
.hk-yt-play { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: var(--hk-blut); box-shadow: 0 10px 30px rgba(0, 0, 0, .4); transition: transform .3s var(--hk-weich); }
.hk-yt-play::after { content: ''; position: absolute; left: 26px; top: 20px; border-style: solid; border-width: 12px 0 12px 20px; border-color: transparent transparent transparent #fff; }
.hk-yt:hover .hk-yt-play { transform: scale(1.12); }
.hk-yt-hinweis { position: absolute; left: 10px; bottom: 10px; padding: 3px 9px; border-radius: 999px; background: rgba(0, 0, 0, .6); color: #fff; font-size: 11px; letter-spacing: .4px; }
.hk-video figcaption { margin: 10px 0 0; font-size: 14px; line-height: 1.4; text-align: left; }
.hk-tv { padding: 140px var(--hk-rand) 120px !important; overflow: hidden; }
.hk-tv-oben { display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 56px; align-items: center; }
.hk-tv-text { display: flex !important; flex-direction: column; gap: 20px; }
.hk-tv h2 { font-size: clamp(40px, 5.4vw, 80px); }
.hk-tv-text > p:not(.hk-label) { max-width: 460px; font-size: 18px; line-height: 1.6; }
.hk-tv .is-style-outline .wp-block-button__link { color: var(--hk-hell); border-color: currentColor; }
.hk-tv-neu .hk-yt-play { width: 88px; height: 88px; margin: -44px 0 0 -44px; }
.hk-tv-neu .hk-yt-play::after { left: 35px; top: 27px; border-width: 17px 0 17px 27px; }
.hk-tv-neu .hk-label { margin-right: 6px; }
/* Filmstreifen: alle Vorschaubilder der Seite „Halkevi TV“ laufen durch, ein Link dorthin */
.hk-tv-streifen { display: block; margin: 80px calc(-1 * var(--hk-rand)) 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.hk-tv-streifen-spur { display: flex; width: max-content; animation: hkStreifen 110s linear infinite; }
.hk-tv-streifen:hover .hk-tv-streifen-spur, .hk-tv-streifen:focus-visible .hk-tv-streifen-spur { animation-play-state: paused; }
.hk-tv-streifen img { width: 210px; height: auto; margin-right: 14px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; filter: grayscale(.75) brightness(.7); transition: filter .4s; }   /* Abstand per margin, damit -50 % genau passt */
.hk-tv-streifen img:hover { filter: none; }
@keyframes hkStreifen { to { transform: translateX(-50%); } }
.hk-ruhe .hk-tv-streifen-spur { animation: none; }
@media (prefers-reduced-motion: reduce) { .hk-tv-streifen-spur { animation: none; } }
.hk-tv-chips a { display: inline-block; margin: 0 8px 10px 0; padding: 8px 16px; border: 1px solid currentColor; border-radius: 999px; color: var(--hk-nacht); font-size: 14px; text-decoration: none; transition: background-color .25s, color .25s; }
.hk-tv-chips a:hover, .hk-tv-chips a:focus-visible { background: var(--hk-nacht); color: var(--hk-hell); }
.hk-video-raster { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 32px 24px; margin: 32px auto !important; }
@media (max-width: 760px) { .hk-tv-oben { grid-template-columns: 1fr; gap: 32px; } .hk-tv { padding: 100px var(--hk-rand) !important; } .hk-tv-streifen { margin-top: 56px; } .hk-tv-streifen img { width: 150px; margin-right: 10px; } }
.hk-liste .wp-block-post-template { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(22, 21, 16, .25); counter-reset: hk; }
.hk-liste .wp-block-post {
	position: relative; overflow: hidden; counter-increment: hk; margin: 0;
	display: grid; grid-template-columns: 90px minmax(0, 1fr) 260px 48px; gap: 24px; align-items: center;
	padding: 36px var(--hk-rand); border-bottom: 1px solid rgba(22, 21, 16, .25); color: var(--hk-nacht); transition: color .4s;
}
.hk-liste .wp-block-post::before { content: ""; position: absolute; inset: 0; background: var(--hk-nacht); transform: scaleY(0); transform-origin: bottom; transition: transform .55s cubic-bezier(.7, 0, .2, 1); }
.hk-liste .wp-block-post:hover, .hk-liste .wp-block-post:focus-within { color: var(--hk-hell); }
.hk-liste .wp-block-post:hover::before, .hk-liste .wp-block-post:focus-within::before { transform: scaleY(1); transform-origin: top; }
.hk-liste .wp-block-post::after { content: counter(hk, decimal-leading-zero); grid-column: 1; grid-row: 1; position: relative; font-family: var(--hk-serif); font-size: 28px; font-style: italic; }
.hk-liste .wp-block-post > * { position: relative; margin: 0; }
.hk-zeile-bild { display: none; }
.hk-zeile-text { grid-column: 2; grid-row: 1; display: flex !important; flex-direction: column; gap: 8px; min-width: 0; }
.hk-zeile-text .wp-block-post-title { font-size: clamp(28px, 3.4vw, 48px); line-height: 1.05; letter-spacing: -.5px; }
.hk-zeile-text .wp-block-post-title a { color: inherit; text-decoration: none; }
.hk-zeile-text .wp-block-post-title a::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.hk-liste .wp-block-post-title a:focus-visible { outline: none; }
.hk-liste .wp-block-post:has(a:focus-visible) { outline: 2px solid var(--hk-rost); outline-offset: -2px; }
.hk-zeile-text .wp-block-post-excerpt__excerpt { font-size: 15px; line-height: 1.5; opacity: .75; max-width: 640px; margin: 0; }
.hk-zeile-meta { grid-column: 3; grid-row: 1; display: flex !important; flex-wrap: wrap; gap: 4px 10px; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; opacity: .75; }
.hk-zeile-meta a { color: inherit; text-decoration: none; }
.hk-zeile-pfeil { grid-column: 4; grid-row: 1; font-size: 34px; line-height: 1; transition: transform .5s var(--hk-weich); }
.hk-liste .wp-block-post:hover .hk-zeile-pfeil { transform: translateX(10px) rotate(-45deg); }
@media (max-width: 760px) {
	.hk-liste .wp-block-post { grid-template-columns: 40px minmax(0, 1fr); }
	.hk-zeile-meta, .hk-zeile-pfeil { display: none !important; }
}

/* ---------- Footer ---------- */
.hk-fuss { padding: 120px 0 40px !important; overflow: hidden; }
.hk-laufband { font-family: var(--hk-serif); font-size: clamp(72px, 10vw, 160px); font-weight: 500; line-height: 1.05; white-space: nowrap; overflow: hidden; padding: 0 var(--hk-rand) 40px; }
.hk-js .hk-laufband { padding-inline: 0; }
.hk-band { display: inline-flex; will-change: transform; }
.hk-band > span { padding-right: 64px; }
.hk-stern { color: var(--hk-rost); }
.hk-fuss-spalten { margin: 0 var(--hk-rand) !important; display: grid !important; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; font-size: 15px; line-height: 1.6; border-top: 1px solid rgba(233, 231, 232, .15); padding-top: 32px; }
.hk-fuss-spalten > * { display: flex; flex-direction: column; gap: 6px; }
.hk-fuss-spalten > * > * { margin-block: 0; }
.hk-fuss-label { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--hk-taupe); }
.hk-fuss a { color: var(--hk-hell); }
.hk-fuss a:hover { color: #fff; }
.hk-fuss-unten { margin: 64px var(--hk-rand) 0 !important; display: flex !important; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; font-size: 13px; color: var(--hk-taupe); }
.hk-fuss-unten a { color: var(--hk-taupe); }
.hk-fuss-links { display: flex; gap: 24px; }
.hk-schalter { background: none; border: 0; padding: 0; color: var(--hk-taupe); font: inherit; text-decoration: underline; cursor: pointer; }
.hk-schalter:hover { color: var(--hk-hell); }

/* ---------- Unterseiten und Beiträge ---------- */
.hk-seitenkopf { padding: 200px var(--hk-rand) 96px !important; display: flex; flex-direction: column; gap: 20px; }
.hk-seitenkopf > * { width: 100%; max-width: 1240px; margin-inline: auto !important; }
.hk-seitentitel { font-size: clamp(48px, 8vw, 128px); line-height: .95; letter-spacing: -2px; text-transform: uppercase; }
.hk-seitenkopf .wp-block-post-date, .hk-seitenkopf .wp-block-post-terms { font-size: 13px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--hk-sand); }
.hk-seitenkopf .wp-block-post-terms a { color: var(--hk-sand); text-decoration: none; }
.hk-seiteninhalt { padding: 96px var(--hk-rand) 160px !important; }
.hk-seiteninhalt .wp-block-post-content { font-size: 18px; line-height: 1.7; }
.hk-seiteninhalt .wp-block-post-content > * + * { margin-top: 1.1em; }
.hk-seiteninhalt .wp-block-post-content > :first-child { margin-top: 0 !important; }
.hk-seiteninhalt h2 { font-size: clamp(32px, 4vw, 56px); color: var(--hk-nacht); margin-top: 2em !important; }
.hk-seiteninhalt .hk-einleitung { font-family: var(--hk-serif); font-size: clamp(26px, 3vw, 40px); line-height: 1.2; color: var(--hk-nacht); }
.hk-seiteninhalt .hk-einleitung strong { font-weight: 500; }
.hk-seiteninhalt h3 { font-size: clamp(24px, 2.6vw, 34px); line-height: 1.15; color: var(--hk-nacht); margin-top: 1.6em !important; }
.hk-seiteninhalt h4 { font-family: var(--wp--preset--font-family--text); font-size: 18px; font-weight: 600; letter-spacing: 0; line-height: 1.4; color: var(--hk-nacht); margin-top: 1.6em !important; }
.hk-seiteninhalt a:not(.wp-element-button) { color: var(--hk-rost); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.hk-seiteninhalt a:not(.wp-element-button):hover { color: var(--hk-nacht); }
.hk-seiteninhalt strong { color: var(--hk-nacht); }
.hk-seiteninhalt .wp-block-image img { border-radius: 12px; }
.hk-seiteninhalt .wp-block-gallery { gap: 12px; }
.hk-seiteninhalt .wp-block-gallery figure img { border-radius: 10px; }
.hk-seiteninhalt .wp-block-post-featured-image { max-width: 600px; }
.hk-seiteninhalt:has(.wp-block-video) > .wp-block-post-featured-image { display: none; }   /* Video zeigt das Bild schon als Vorschau */
.hk-seiteninhalt .wp-block-video { max-width: 420px; }   /* Hochkant-Videos (Instagram-Story) nicht über die ganze Spalte */
.hk-seiteninhalt .wp-block-video video { width: 100%; border-radius: 16px; background: var(--hk-nacht); }
.hk-seiteninhalt .wp-block-post-featured-image img { border-radius: 16px; }
.hk-zurueck a { font-weight: 600; }

/* ---------- Cursor-Kreis ---------- */
.hk-cursor { position: fixed; left: 0; top: 0; width: 42px; height: 42px; margin: -21px 0 0 -21px; border: 1.5px solid #fff; border-radius: 50%; pointer-events: none; z-index: 96; mix-blend-mode: difference; transition: width .35s, height .35s, margin .35s, background-color .35s; }
.hk-cursor.ist-heiss { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: #fff; }

/* ---------- Weniger Bewegung ---------- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.hk-char, .hk-fade, .hk-draw, .hk-spin, .hk-blase, .hk-glow, .hk-cue::after { animation: none !important; }
	.hk-intro { display: none; }
	.hk-js .hk-rv, .hk-js .hk-clip { opacity: 1; transform: none; clip-path: none; }
}
.hk-ruhe .hk-char, .hk-ruhe .hk-fade, .hk-ruhe .hk-draw, .hk-ruhe .hk-spin, .hk-ruhe .hk-blase, .hk-ruhe .hk-glow, .hk-ruhe .hk-cue::after { animation: none !important; }
.hk-ruhe { scroll-behavior: auto; }
