/* Pankow Website - Design "Zeitmaschine" | Copyright (c) 2026 Monika Herold - SoulSite Design | License: All rights reserved */
/* 
  Inhaltsverzeichnis

  ==========================
  00 Basis: Reset
  ==========================

  ==========================
  A - STYLES
  ==========================

    ======= FONTS =======
        === ROWDIES FONT ===
        === POPPINS FONT ===
        === RUBIK DIRT FONT ===

    ======= SCHRIFT-STYLES ======= font-size, line-height, text-shadow, text-transform, font-style falls nicht normal

    ======= FARBEN =======
        === Alle Farb-Variablen ===
        === COLOR-SCHEME ===
        === SCHRIFT-FARBEN außer Navi-"Schriften" ===
        === LINKFARBEN ===
        === BUTTON-STYLES ===
        === NAVI "SCHRIFT"-FARBEN ===
        === BORDER-FARBEN ===
        === SCHATTEN und GLOW ===

    ======= BACKGROUNDS =======





  ==========================
  B - WIREFRAME / UI-LAYOUT
  ==========================

  01) Seitenrahmen: Grundlayout/Scroll
    ======= Z-INDEX =======
    ======= EBENE 1 =======
    ======= EBENE 2 (in main) =======
    ======= EBENE 3 (in Inhalts-Sections) =======
  02) Main Nav - Hauptnavigation
  03) Hero - Bereich mit Logo/Scroll-Icons
    ======= LOGO =======
    ======= Scroll Chevron-Icons unterhalb des Logos =======
  04) Info - Bereich mit Triggern
    ======= Logo-Headline-Animation "Die Pankow Zeitmaschine" =======
    ======= Textbereich unterhalb der Logo-Headline-Animation =======
  05) Hauptseite - Bereich unten 
  06) ZEITMASCHINE - Bereich
    ======= CONTAINER =======
    ======= SECTIONS =======
    ======= SCROLL-CONTAINER =======
        === horizontal scroll ===
        === Sonderfall Jahre-Leiste ===
    ======= CARDS =======
        === Titel-Karten ===
        === Alle Karten ===
    ======= STYLES der Card-Metas =======
    ======= CARDS - spezifische =======
        === Alben und Bilder ===
        === album-meta/bilder-meta an-aus je nach mehr-weniger ===
        === Videos ===
        === Fangeschichten ===
    ======= ZEITMASCHINE DESIGN =======
  07) OVERLAY-SYSTEM Alle Container und Bedien-Funktionen
    ======= EBENE 0 - Haupt-Overlay-Container mit Dialog-Box und Schließen-Button =======
    ======= EBENE 1 - Wrapper mit Context-Label oben, Frame für dynamischen Content und Nav-Layer darin =======
        === Overlay-Navigation - statisch für alle Inhalte ===
    ======= EBENE 2 - Funktions-Rahmen für dynamischen Content =======
    ======= EBENE 3 - Dynamische Inhalte aus den Templates=======
        === Flex für Videos+Bilder: Titel/Stage/Meta als 100%-Höhenlayout ===
        === GALLERY-STAGE - global für Bilder, Videos und Album-Cover-ZOOMer ===
        === globale Styles ===
  08) OVERLAY-INHALTE aus den Templates - 1 DISKOGRAPHIE
    ======= ALBUM - Grid für Spaltendarstellung =======
    ======= ALBUM - Infoheader =======
    ======= ALBUM - MEDIA COLUMN =======
        === Album-Cover-Switcher ===
        === Album-Cover-ZOOMer ===
    ======= ALBUM - DETAILS COLUMN =======
        === STREAM- und KAUFLINKS mit Überschriften ===
  09) OVERLAY-INHALTE aus den Templates - 2 VIDEOS
  10) OVERLAY-INHALTE aus den Templates - 3 CHRONIK
        === CHRONIK - Columns-Layout ===
        === CHRONIK - Artikel-Styles ===
  11) OVERLAY-INHALTE aus den Templates - 4 FANGESCHICHTEN
  12) OVERLAY-INHALTE aus den Templates - 5 BILDER
  13) TEXT UND LINK STYLES, LISTEN für Inhalts-Bereiche (Info, Kontakt, FAQ)
  14) SCROLL- und LINK-HACKS
  15) Accessibility: sr-only, Skip-Link, Fokus-Stile, Medienabfragen


  =========================================
  C - SEITEN (alle Nicht-index.html-Seiten)
  =========================================
  1) SEITEN: Impressum
  2) SEITEN: OVERLAY PHYSISCH - GLOBAL
  3) SEITEN: OVERLAY PHYSISCH - ALBEN
  4) SEITEN: OVERLAY PHYSISCH - VIDEOS
  5) SEITEN: OVERLAY PHYSISCH - CHRONIK
  6) SEITEN: OVERLAY PHYSISCH - FANGESCHICHTEN
  7) SEITEN: OVERLAY PHYSISCH - BILDER
  ========================================================================================== */

/* 
=========================================================
00 Basis: Reset
========================================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  font-size: 100%;
}

body,
html {
  width: 100%;
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  min-height: 100svh;
  text-rendering: optimizeLegibility;
}


/* 
==========================
A - STYLES
========================== */

/* ======= FONTS ======= */

/* === ROWDIES FONT === */
/* rowdies-300 - latin_latin-ext */
@font-face {
  font-display: swap;
  font-family: 'Rowdies';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/rowdies/rowdies-v19-latin_latin-ext-300.woff2') format('woff2'),
    url('../fonts/rowdies/rowdies-v19-latin_latin-ext-300.woff') format('woff');
}
/* rowdies-regular - latin_latin-ext */
@font-face {
  font-display: swap;
  font-family: 'Rowdies';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/rowdies/rowdies-v19-latin_latin-ext-regular.woff2') format('woff2'),
    url('../fonts/rowdies/rowdies-v19-latin_latin-ext-regular.woff') format('woff');
}
/* rowdies-700 - latin_latin-ext */
@font-face {
  font-display: swap;
  font-family: 'Rowdies';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/rowdies/rowdies-v19-latin_latin-ext-700.woff2') format('woff2'),
    url('../fonts/rowdies/rowdies-v19-latin_latin-ext-700.woff') format('woff');
}


/* .rowdies-regular FÜR GROßE TITEL, liegt auf 
info-headline-die, 
info-headline-zeitmaschine,
section-title-h2 (alle Titel links an den Zeitleisten)
 */
.font-bigtitle {
  font-family: "Rowdies", sans-serif;
  font-weight: 400;
  font-style: normal;
}

/* liegt auf section jahr = Jahre-Leiste in der Zeitmaschine */
.jahreszahlen {
  font-family: "Rowdies", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.overlay-nav-year {
  font-family: "Rowdies", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.content-overlay-context-label {
  font-family: "Rowdies", sans-serif;
  font-weight: 400;
  font-style: normal;
}


/* === POPPINS FONT === */

/* poppins-300 - latin_latin-ext */
@font-face {
  font-display: swap;
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/poppins/poppins-v24-latin_latin-ext-300.woff2') format('woff2'),
    url('../fonts/poppins/poppins-v24-latin_latin-ext-300.woff') format('woff');
}
/* poppins-300italic - latin_latin-ext */
@font-face {
  font-display: swap;
  font-family: 'Poppins';
  font-style: italic;
  font-weight: 300;
  src: url('../fonts/poppins/poppins-v24-latin_latin-ext-300italic.woff2') format('woff2'),
    url('../fonts/poppins/poppins-v24-latin_latin-ext-300italic.woff') format('woff');
}
/* poppins-regular - latin_latin-ext */
@font-face {
  font-display: swap;
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/poppins/poppins-v24-latin_latin-ext-regular.woff2') format('woff2'),
    url('../fonts/poppins/poppins-v24-latin_latin-ext-regular.woff') format('woff');
}
/* poppins-italic - latin_latin-ext */
@font-face {
  font-display: swap;
  font-family: 'Poppins';
  font-style: italic;
  font-weight: 400;
  src: url('../fonts/poppins/poppins-v24-latin_latin-ext-italic.woff2') format('woff2'),
    url('../fonts/poppins/poppins-v24-latin_latin-ext-italic.woff') format('woff');
}
/* poppins-500 - latin_latin-ext */
@font-face {
  font-display: swap;
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/poppins/poppins-v24-latin_latin-ext-500.woff2') format('woff2'),
    url('../fonts/poppins/poppins-v24-latin_latin-ext-500.woff') format('woff');
}
/* poppins-500italic - latin_latin-ext */
@font-face {
  font-display: swap;
  font-family: 'Poppins';
  font-style: italic;
  font-weight: 500;
  src: url('../fonts/poppins/poppins-v24-latin_latin-ext-500italic.woff2') format('woff2'),
    url('../fonts/poppins/poppins-v24-latin_latin-ext-500italic.woff') format('woff');
}
/* poppins-600 - latin_latin-ext */
@font-face {
  font-display: swap;
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/poppins/poppins-v24-latin_latin-ext-600.woff2') format('woff2'),
    url('../fonts/poppins/poppins-v24-latin_latin-ext-600.woff') format('woff');
}
/* poppins-600italic - latin_latin-ext */
@font-face {
  font-display: swap;
  font-family: 'Poppins';
  font-style: italic;
  font-weight: 600;
  src: url('../fonts/poppins/poppins-v24-latin_latin-ext-600italic.woff2') format('woff2'),
    url('../fonts/poppins/poppins-v24-latin_latin-ext-600italic.woff') format('woff');
}
/* poppins-700 - latin_latin-ext */
@font-face {
  font-display: swap;
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/poppins/poppins-v24-latin_latin-ext-700.woff2') format('woff2'),
    url('../fonts/poppins/poppins-v24-latin_latin-ext-700.woff') format('woff');
}
/* poppins-700italic - latin_latin-ext */
@font-face {
  font-display: swap;
  font-family: 'Poppins';
  font-style: italic;
  font-weight: 700;
  src: url('../fonts/poppins/poppins-v24-latin_latin-ext-700italic.woff2') format('woff2'),
    url('../fonts/poppins/poppins-v24-latin_latin-ext-700italic.woff') format('woff');
}
/* poppins-800 - latin_latin-ext */
@font-face {
  font-display: swap;
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 800;
  src: url('../fonts/poppins/poppins-v24-latin_latin-ext-800.woff2') format('woff2'),
    url('../fonts/poppins/poppins-v24-latin_latin-ext-800.woff') format('woff');
}
/* poppins-800italic - latin_latin-ext */
@font-face {
  font-display: swap;
  font-family: 'Poppins';
  font-style: italic;
  font-weight: 800;
  src: url('../fonts/poppins/poppins-v24-latin_latin-ext-800italic.woff2') format('woff2'),
    url('../fonts/poppins/poppins-v24-latin_latin-ext-800italic.woff') format('woff');
}
/* poppins-900 - latin_latin-ext */
@font-face {
  font-display: swap;
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 900;
  src: url('../fonts/poppins/poppins-v24-latin_latin-ext-900.woff2') format('woff2'),
    url('../fonts/poppins/poppins-v24-latin_latin-ext-900.woff') format('woff');
}
/* poppins-900italic - latin_latin-ext */
@font-face {
  font-display: swap;
  font-family: 'Poppins';
  font-style: italic;
  font-weight: 900;
  src: url('../fonts/poppins/poppins-v24-latin_latin-ext-900italic.woff2') format('woff2'),
    url('../fonts/poppins/poppins-v24-latin_latin-ext-900italic.woff') format('woff');
}


/* auf body liegt die Klasse für die globale font-family */
.font-global {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-style: normal;
}


/* === RUBIK DIRT FONT === */

/* rubik-dirt-regular - latin */
@font-face {
  font-display: swap;
  font-family: 'Rubik Dirt';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/rubikdirt/rubik-dirt-v2-latin-regular.woff2') format('woff2'),
    url('../fonts/rubikdirt/rubik-dirt-v2-latin-regular.woff') format('woff');
}

/* liegt auf allen Navi-Icons, die aus Text bestehen:
content-overlay-close - der X Button zum Schließen des Overlay
overlay-nav-arrow-prev
overlay-nav-arrow-next
*/
.font-zeichen,
.jahre-start {
  font-family: "Rubik Dirt", system-ui;
    font-weight: 400;
    font-style: normal;
}

.jahre-scroll li.is-active {
  font-family: 'Rubik Dirt';
  font-weight: 400;
}




/* ======= SCHRIFT-STYLES ======= */
/* font-size, line-height, text-shadow, text-transform, font-style falls nicht normal */

body {
  text-align: center;
  text-align: left;
}

h1 {
  margin-bottom: 1rem;
}

h2 {
  margin-bottom: 0.75rem;
}

p,
blockquote {
  hyphens: auto;
  -webkit-hyphens: auto; /* für Safari */
  text-wrap: pretty;
  overflow-wrap: break-word;
}

/* === MAIN NAV === */
#main-nav {
  text-transform: uppercase;
  font-size: 1.2rem;
}

#main-nav a.is-current,
#main-nav a[aria-current="location"] {
  color: var(--farbe-fokus);
  text-decoration: none;
}

/* === Inhalts - Bereiche (Info, Kontakt, FAQ) === */
.inhalts-section p {
  margin-top: 1rem;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.55;
}



/* === ZEITMASCHINE === */

/* Inhalt der Zeitmaschine linksbündig, Seite selbst bleibt zentriert. */
.zeitmaschine-sections-container,
.zeitmaschine-sections-container * {
  text-align: left;
}

.jahreszahlen { /* .rowdies-regular FÜR JAHRESZAHLEN !!! */
  font-size: 2rem;
  font-style: normal !important;
}

.jahre-start {
  font-size: 2rem;
  text-transform: uppercase;
}

.status-weniger .album-card::after,
.status-weniger .bilder-card::after {
  font-size: 0.9rem;
}

.status-weniger .video-card::after {
  font-size: 0.85rem;
}


/* = STYLES der Card-Metas = Text-Infos =*/
.album-meta,
.video-meta,
.chronik-meta,
.fangeschichten-meta,
.bilder-meta {
  padding: 0.75rem;
}

.album-meta h3,
.video-meta h3,
.chronik-meta h3,
.fangeschichten-meta h3,
.bilder-meta h3 {
  font-size: 1rem;
  line-height: 1.3;
  margin: 0 0 0.4rem;
}

.album-meta p,
.video-meta p,
.chronik-meta p,
.fangeschichten-meta p,
.bilder-meta p {
  font-size: 0.9rem;
  margin: 0 0 0.5rem;
  overflow-wrap: break-word;
}

.chronik-preview-text {
  white-space: pre-line;
}

.album-meta a,
.video-meta a,
.chronik-meta a,
.bilder-meta a {
  font-size: 0.9rem;
}

/* === OVERLAY === */

.section-title-h2 {
  font-size: clamp(2rem, 10vw, 5rem);
  letter-spacing: -0.08em;
  line-height: 1.2;
}

.overlay-dyncontent-empty {
  text-align: center;
}

.overlay-nav-year {
  font-size: 1.3rem;
  line-height: 1.2;
  text-shadow: none;
}

.content-overlay-context-label {
  font-size: 1.2rem;
  line-height: 1.2;
  text-shadow: none;
  text-transform: uppercase;
}

.h3-kirbyrender {
  font-size: 1.3rem;
}

.h4-kirbyrender {
  font-size: 1.2rem;
}

.h5-kirbyrender {
  font-size: 1.1rem;
}

.ul-kirbyrender {
  margin: 1rem 1.5rem;
  font-size: clamp(1.05rem, 2vw, 1.35rem); /* wie inhalts-section p */
}

.overlay-chronik-layout .ul-kirbyrender {
  font-size: 1rem;
}




/* ======= FARBEN ======= ____________________________________________________________________________ */

/* === Alle Farb-Variablen === 
HAUPTFARBEN 
#DFB47F                     aus dem beigen Hintergrund
#B82608 (kräfiger)          aus dem Logo rot
#B52F0E (Original Rostrot)  aus ROST-ORANGE von der Seitenleiste */

body {
  --farbe-schrift-auf-dunkel: #fff7ee; /* selber Farbraum wie #DFB47F */
  --farbe-schrift-auf-hell: #080808;
  --farbe-link: rgba(181, 47, 14, 0.7); /* --zeitmaschine-card-active-mehr-bg anderes Alpha  #B52F0E */
  --farbe-link-auf-dunkel: rgb(185, 93, 71);
  --farbe-fokus: #B82608;
  --farbe-headline: rgba(181, 47, 14, 0.8); /* --zeitmaschine-card-active-mehr-bg anderes Alpha  #B52F0E */
  --zeitmaschine-card-passive-mehr-bg: rgba(255, 255, 255, 0.3);
  --zeitmaschine-card-active-mehr-bg: rgba(181, 47, 14, 0.3);/* #B52F0E */
  --overlay-article-bg: rgba(181, 47, 14, 0.2);/* #B52F0E */
  --overlay-nav-elemente-color-lightbg:rgba(181, 47, 14, 0.6); /* --zeitmaschine-card-active-mehr-bg nur anderes Alpha  */
  --overlay-nav-elemente-color-darkbg: rgba(246, 100, 64, 0.4); /* --zeitmaschine-card-active-mehr-bg etwas heller u. anderes Alpha */
  --zeitmaschine-card-border: #ddd;
}

/* 

.status-weniger .video-card.is-active border: 1px solid rgb(59, 29, 23); ohne Alpha weil sonst heller bg durchscheint
*/

/* === COLOR SCHEME === _______________________________________________________*/

html {
  color-scheme: dark; /* Color scheme im browser */
  background:black;
}



/* === SCHRIFT-FARBEN außer Navi-"Schriften" === _______________________________________________________*/

body {
  color: var(--farbe-schrift-auf-hell);
}

/* Pankow-Logo-Rot-Textur als Hintergrund für die Überschriften */
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .section-title-h2 {
      background-color: #BA0108; /* fallback - genau die Farbe der Hintergrundtextur */
    }
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .section-title-h2 {
    background-image: url(../bgs/zeitmaschine/pankow-logo-textur.png);
    background-image: image-set(
          url("../bgs/zeitmaschine/pankow-logo-textur.avif") type("image/avif"),
          url("../bgs/zeitmaschine/pankow-logo-textur.png") type("image/png"));
    background-size: cover;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
  }
}

.jahreszahlen { /* .rowdies-regular FÜR JAHRESZAHLEN !!! */
  color: black;
}

.status-weniger .jahre-scroll li {
  /* nicht aktive Jahreszahlen unsichtbar bei status weniger */
  color: rgba(0, 0, 0, 0);
}
.jahre-scroll li.is-active {
  color: var(--farbe-headline);
}
.status-weniger .jahre-scroll li.is-active {
  color: var(--zeitmaschine-card-active-mehr-bg);
  color: var(--overlay-nav-elemente-color-lightbg);
}

.h2-startseite {
    color: var(--farbe-headline);
    font-size: clamp(1.2rem, 2.2vw, 2rem);
  }

footer, 
footer a {
  color: var(--farbe-link-auf-dunkel);
}

.status-weniger .album-card::after,
.status-weniger .bilder-card::after {
  color: rgb(178, 101, 38);
}
.status-weniger .video-card::after {
  color: gray;
}
.status-weniger .album-card.is-active::after,
.status-weniger .bilder-card.is-active::after {
  color: var(--farbe-headline);
  color: rgb(176, 129, 90);
}
.status-weniger .video-card.is-active::after {
  color: var(--farbe-headline);
  color: rgb(178, 101, 38);
}

.overlay-template-bilder,
.overlay-template-videos,
.overlay-template-diskographie-coverzoom {
  color: var(--farbe-schrift-auf-dunkel);
}

.overlay-consent h3 {
  color: var(--farbe-link-auf-dunkel);
}


/* === LINKFARBEN === _______________________________________________________*/

a {
  color: var(--farbe-link);
  text-decoration: none;
}
a:hover,
a:focus,
a:focus-visible {
  color: var(--farbe-fokus);
  text-decoration: underline;
}

.overlay-consent a,
.overlay-gallery-meta a {
  color: var(--farbe-link-auf-dunkel);
}
.overlay-gallery-meta a:hover,
.overlay-gallery-meta a:focus,
.overlay-gallery-meta a:focus-visible
.overlay-consent a:hover,
.overlay-consent a:focus,
.overlay-consent a:focus-visible {
  color: var(--farbe-fokus);
  text-decoration: underline;
}

/*a::before {
  content: "\f147"; Codepoint von .icon-external-link aus der icons.css 
  font-family: "pankow-icons";
  font-style: normal;
  font-weight: 700;
  speak: none;
  display: inline-block;
  margin-right: 0.3em;
  font-size: 1em;
  color: currentColor;
}*/

/* Accessibility */
.skip-link {
  background: #fff;
  color: black;
}


/* === BUTTON-STYLES === _______________________________________________________*/


/* BUTTON GLOBAL STYLES */
.style-button,
.overlay-album-linklist a {
 cursor: pointer;
 border: none;
 border-radius: 5px;
}

.style-button:hover,
.style-button:focus,
.style-button:focus-visible,
.overlay-album-linklist a:hover,
.overlay-album-linklist a:focus,
.overlay-album-linklist a:focus-visible {
  color: var(--farbe-schrift-auf-dunkel);
  background: var(--farbe-fokus);
}


/* buttons auf hellem Hintergrund */
.overlay-album-switch-button,
.overlay-album-linklist li { /* Streaming-Links im Overlay */
  background: magenta;/*debug*/
  background: var(--zeitmaschine-card-active-mehr-bg);
  color: var(--farbe-schrift-auf-hell);
}
.overlay-album-linklist li a {
  color: var(--farbe-schrift-auf-hell);
}


/* buttons auf dunklem Hintergrund */
.overlay-nav-center-button, /* Zurück zum Album */
.button-consent { /* JA, VIDEOS LADEN  - Video Consent Overlay */
  background: yellow;/*debug*/
  background: var(--overlay-nav-elemente-color-darkbg);
  color: var(--farbe-schrift-auf-dunkel);
}

/* Buttons mit kleinerer Schrift */
.overlay-album-switch-button, /* Rückseite anzeigen - Diskographie - Overlay */
.overlay-nav-center-button {
  margin: 0;
  padding: 0.35rem 0.7rem;
  font-size:1rem;
}

.overlay-nav-center-button {
  bottom: 1.9vh; /* overlay-nav-year 2vh / overlay-nav-arrow 1.2vh */
}

.button-consent {
  margin-top: 2rem;
    padding: 0.35rem 0.7rem;
    font-weight:bold;
    font-size: 1rem;
}




/* === NAVI-ELEMENTE-"SCHRIFT"-FARBEN === _______________________________________________________*/

.hero-scroll-icons {
  color: #fff;
}

.zeitmaschine-compat-message .overlay-nav-elemente,
.overlay-template-diskographie .overlay-nav-elemente,
.overlay-template-chronik .overlay-nav-elemente,
.overlay-template-fangeschichten .overlay-nav-elemente {
  color: var(--overlay-nav-elemente-color-lightbg);
}

.overlay-template-bilder .overlay-nav-elemente,
.overlay-template-videos .overlay-nav-elemente,
.overlay-template-diskographie-coverzoom .overlay-nav-elemente {
  color: var(--overlay-nav-elemente-color-darkbg);
}

.overlay-template-diskographie-coverzoom .overlay-nav-zone,
.overlay-template-diskographie-coverzoom .overlay-nav-arrow {
  display: none;
}

button.overlay-nav-elemente:hover,
button.overlay-nav-elemente:focus-visible {
  color: var(--farbe-fokus);
}


/* === BORDER-FARBEN === _______________________________________________________*/

/* Borders in der ZEITMASCHINE */
.status-weniger .video-card {
  border: 1px solid #222222;
}
.status-weniger .video-card.is-active {
  border: 1px solid rgb(59, 29, 23);
}

/* Borders im OVERLAY */
/* borders um Galerie-Items (Videos, Bilder und Album-Cover) */
.overlay-template-videos iframe:not([hidden]),
.overlay-template-bilder .overlay-gallery-stage>img,
.overlay-template-diskographie-coverzoom .overlay-gallery-stage>img {
  border: 1px solid #222222;
}

.overlay-album-figure {
  border: 1px solid #b3b3b3;
}



/* === SCHATTEN und GLOW === _______________________________________________________*/

.hero-logo, .logo-animation {
  filter: drop-shadow(0 0 50px rgba(0, 0, 0, 0.3));
}

.status-mehr {
    filter: drop-shadow(0 0 15px rgba(0, 0, 0, 1));
}

.status-weniger {
  filter: drop-shadow(0 0 15px rgba(0, 0, 0, 1));
}

:is(#jahr, #diskographie, #chronik, #bilder, #videos, #fangeschichten).status-mehr>* {
  filter: drop-shadow(0 0 15px rgba(0, 0, 0, 0.5));
}

.content-overlay-dialog {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

/* GLOW in Galerie um Videos und Bilder herum */
.overlay-template-videos iframe:not([hidden]),
.overlay-template-bilder .overlay-gallery-stage>img,
.overlay-template-diskographie-coverzoom .overlay-gallery-stage>img {
  filter: drop-shadow(0 0 40px rgba(255, 255, 255, 0.1));
}

.overlay-template-diskographie .content-overlay-close,
.overlay-template-chronik .content-overlay-close,
.overlay-template-fangeschichten .content-overlay-close
{
  filter: none;
}



/* ======= BACKGROUNDS ======= _______________________________________________________ */

/* === FARBEN BACKGROUNDS === */

.hero {
  background: #111;
  /* Farbe Hero Background */
}

.info {
  background: #D4C5AD;
}

/* ZEITMASCHINE */

.album-card,
.video-card,
.chronik-card,
.fangeschichten-card,
.bilder-card {
  background: #fff; /* Fallback */
}

.card-overlay-link {
  display: block;
  height: 100%;
  color: var(--farbe-schrift-auf-hell);
  text-decoration: none !important;
}
.card-overlay-link:hover,
.card-overlay-link:focus {
  color: var(--farbe-schrift-auf-hell);
  text-decoration: none !important;
}


.status-mehr .album-card,
.status-mehr .video-card,
.status-mehr .chronik-card,
.status-mehr .fangeschichten-card,
.status-mehr .bilder-card {
  /*transition: background-color 0.2s ease, border-color 0.2s ease;  für card .is-active */
  background: var(--zeitmaschine-card-passive-mehr-bg);
}

.status-mehr .album-card.is-active,
.status-mehr .video-card.is-active,
.status-mehr .chronik-card.is-active,
.status-mehr .fangeschichten-card.is-active,
.status-mehr .bilder-card.is-active {
  /* STYLES Cards active */
  background: var(--zeitmaschine-card-active-mehr-bg);
}


footer {
  background: black;
}



.content-overlay-backdrop {/* Voller Viewport transparent mit Abdunkelung Hintergrund */
  background: rgba(0, 0, 0, 0.6);/* Overlay-Hintergrund-Abdunkelung */
}

.overlay-chronik-tourinfos,
.overlay-chronik-spotlight {
  background: var(--overlay-article-bg);
}

.overlay-album-figure {
  background: black;/* Fallback - hinter dem Cover-Bild */;
}

.overlay-gallery-stage {
  background: transparent;
}




/* === BACKGROUND-IMAGES === */

body {
  background-color:#E3BD8E;/* fallback, genau die Farbe des Hintergrundbildes */
  background-image: url("../bgs/texturen/pankow-textur-beige.jpg");
  background-repeat: repeat-y;
  background-size: 100% auto;
  background-position: center bottom;
}

main {/* unten bevor der Footer kommt */
  background-image: url("../bgs/texturen/pankow-hero-grunge-overlay-unten.png");
  background-image: image-set(/* beste Option zuerst */
      url("../bgs/texturen/pankow-hero-grunge-overlay-unten.avif") type("image/avif"),
      url("../bgs/texturen/pankow-hero-grunge-overlay-unten.png") type("image/png"));
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-position: center bottom;
}

/* Grunge Overlay für Hero-Video */
.hero::after {
  background-image: url("../bgs/texturen/pankow-hero-grunge-overlay-unten.png");
  /* Fallback */
  background-image: image-set(
      /* beste Option zuerst */
      url("../bgs/texturen/pankow-hero-grunge-overlay-unten.avif") type("image/avif"),
      url("../bgs/texturen/pankow-hero-grunge-overlay-unten.png") type("image/png"));
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-position: center bottom;
}

.info {
  background-color: transparent; /* fallback, dann scheint exakte Farbe aus body durch */
  background-image: url("../bgs/texturen/pankow-textur-beige.jpg");
  background-repeat: repeat-y;
  background-size: 100% auto;
  background-position: center top;
}

          /* für den oberen Rand des Info-Bereichs */
          .info::before {
            background-image: url("../bgs/texturen/pankow-textur-beige-oben.jpg");
            /* jpg weil kleiner und hier fixe Position möglich */
            background-repeat: no-repeat;
            background-size: 100% auto;
            background-position: center top;
          }
          /* für den unteren Rand des Info-Bereichs */
          .info::after {
            background-image: url("../bgs/texturen/pankow-textur-beige-rand-unten.png");
            /* png weil unklare Position wegen flexibler Höhe */
            background-image: image-set(url("../bgs/texturen/pankow-textur-beige-rand-unten.avif") type("image/avif"),
                url("../bgs/texturen/pankow-textur-beige-rand-unten.png") type("image/png"));
            background-repeat: no-repeat;
            background-size: 100% auto;
            background-position: center bottom;
          }

.zeitmaschine-sections-container {
  background-color: var(--farbe-schrift-auf-hell); /* fallback, ziemlich genau die Farbe des Hintergrundbildes */
  background-image: url("../bgs/texturen/pankow-textur-dunkelgrau.jpg");
    background-repeat: repeat-y;
    background-size: 100% auto;
    background-position: center top;
  --zeitmaschine-card-active-weniger-bg: url("../bgs/zeitmaschine/pankow-card-bg-weniger-active.jpg");
  --zeitmaschine-card-passive-weniger-bg: url("../bgs/zeitmaschine/pankow-card-bg-weniger-passive.jpg");
}

          .zeitmaschine-sections-container::after,
          .zeitmaschine-compat-message::after {
            content: "";
            background-image: url("../bgs/texturen/pankow-textur-dunkelgrau-rand-unten.png");
            background-image: image-set(url("../bgs/texturen/pankow-textur-dunkelgrau-rand-unten.avif") type("image/avif"),
                url("../bgs/texturen/pankow-textur-dunkelgrau-rand-unten.png") type("image/png"));
            background-repeat: no-repeat;
            background-size: 100% auto;
            background-position: center bottom;
          }

          .zeitmaschine-sections-container::before,
          .zeitmaschine-compat-message::before {
            content: "";
            background-image: url("../bgs/texturen/pankow-textur-dunkelgrau-rand-oben.png");/* Fallback */
            background-image: image-set(
                url("../bgs/texturen/pankow-textur-dunkelgrau-rand-oben.avif") type("image/avif"),
                url("../bgs/texturen/pankow-textur-dunkelgrau-rand-oben.png") type("image/png"));
            background-repeat: no-repeat;
            background-size: 100% auto;
            background-position: center top;
          }

/* Section-Statusfarben für accordion-artige Zustandswechsel. */
.status-mehr {
  background-color: #DFBA8C; /*fallback*/
  background-image: url("../bgs/zeitmaschine/pankow-textur-beige-rand-oben-zeitleiste.jpg");
  background-size: 100% auto;
  background-repeat: repeat-x;
  background-position: left top;
}

:is(#jahr, #diskographie, #chronik, #bilder, #videos, #fangeschichten).status-mehr>* {/* ! GSAP ! zeitmaschine-carousel-sync.js */
  background-image: url("../bgs/zeitmaschine/pankow-textur-beige-rand-unten-zeitleiste.png");/* Fallback */
  background-image: image-set(
    url("../bgs/zeitmaschine/pankow-textur-beige-rand-unten-zeitleiste.avif") type("image/avif"),
    url("../bgs/zeitmaschine/pankow-textur-beige-rand-unten-zeitleiste.png") type("image/png"));
  background-repeat: repeat-x;
  bottom: 0;
  background-size: 100% auto;
  background-position: center bottom;/* witziger 3D-Effekt */
}

.section-title-card {
  background: transparent;
}

.status-weniger .album-card,
.status-weniger .video-card,
.status-weniger .chronik-card,
.status-weniger .fangeschichten-card,
.status-weniger .bilder-card {
  background-color: #BD9571;/* fallback - genau die Farbe der BG-Grafik */
  background-image: var(--zeitmaschine-card-passive-weniger-bg);
}

.status-weniger .album-card.is-active,
.status-weniger .video-card.is-active,
.status-weniger .chronik-card.is-active,
.status-weniger .fangeschichten-card.is-active,
.status-weniger .bilder-card.is-active {
  background-color: #945C41;/* fallback - genau die Farbe der BG-Grafik */
  background-image: var(--zeitmaschine-card-active-weniger-bg);
}



.zeitmaschine-compat-inhalt,
.content-overlay-dialog {/* Dialog-Box für Inhalte */
  background-color: #FBE7C4;/* genau die Farbe des Overlay-Hintergrund-Textur-Bildes */
  background-image: url("../bgs/overlay/pankow-textur-overlay-hell.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: right top;
}

.overlay-template-bilder,
.overlay-template-videos,
.overlay-template-diskographie-coverzoom {
  background-color: var(--farbe-schrift-auf-hell);/* fallback */
  background-image: url("../bgs/overlay/pankow-textur-overlay-dunkel.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center bottom;
}

.kontakt {
  /*background: #f3f3f0;*/
  /* oberer Rand als png mit Transparenz wegen flexibler Höhe u. daher Position */
  background-image: url("../bgs/texturen/pankow-textur-beige-rand-oben.png");
  /* Fallback */
  background-image: image-set(
      url("../bgs/texturen/pankow-textur-beige-rand-oben.avif") type("image/avif"),
      url("../bgs/texturen/pankow-textur-beige-rand-oben.png") type("image/png"));
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-position: center top;
}


/* ======= ACCESSIBILITY-STYLES ======= _______________________________________________________*/


.overlay-nav-arrow:focus-visible {
  outline: 3px solid #0b57d0;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.55);
}

.skip-link {
  color: #fff;
}

:where(a, button, input, select, textarea, [role="button"], [tabindex]):focus-visible {
  outline: 3px solid #0b57d0;
}

@media (prefers-contrast: more) {
  :is(.section-title-card, .album-card, .video-card, .chronik-card, .fangeschichten-card, .bilder-card) {
    border-color: #6a6a6a;
  }
}


/*  
==========================
B - WIREFRAME / UI-LAYOUT
==========================         ================================================================================================================================ */

/* =========================================================
  01) Seitenrahmen: Grundlayout und Scroll-Verhalten
  ========================================================= */


/* ======= Z-INDEX ======= */

.skip-link {
  z-index: 6000;
}

header {
  z-index: 4001;
}

.main-menu-shell {
  z-index: 2500;
}

    .main-menu-shell img {
      z-index: -1;
    }

.hero-logo-link {
  z-index: 4000; /* so ist es im js dynamisch gesetzt!! */
}

.hero-scroll-icons {
  position: fixed;
  z-index: 4005;
}

.hero::after {
  z-index: 3;
}

.scrolldown-pfeile {
  position: fixed;
  z-index: 0;
}

.info::before {
  z-index: 3;
}

.info::after {
  z-index: 4;
}

.info .inhalts-container {
  z-index: 4;
}

#info-headlinebereich {
  z-index: 4;
}

#info-headline-die,
#info-headline-zeitmaschine {
  z-index: 5;
}

#zeitmaschine-anker {
  z-index: 2;
}

.zeitmaschine-sections-container::before,
.zeitmaschine-compat-message::before {
  z-index: 1;
}

.zeitmaschine-sections-container::after,
.zeitmaschine-compat-message::after {
  z-index: 1;
}

.zeitmaschine-sections-container>section {
  z-index: 1;
}

.zeitmaschine-sections-container>section.status-mehr {
  z-index: 6;
}

#jahr,
#jahr.status-mehr,
#jahr.status-weniger {
  z-index: 10;
}

/* im Scope der Haupt-Ebene, setzt EIGENEN SCOPE */
.content-overlay {
  z-index: 4002; 
}
/* im Scope der Overlay-Ebene */
.content-overlay-close {/* Button - komplettes Overlay schließen */
  z-index: 6;
}
.overlay-nav-layer {
  z-index: 3;
}
.overlay-nav-arrow {
  z-index: 2;
}


/* ======= EBENE 1 ======= */

main {
  /* Seite darf vertikal wachsen und scrollen. */
  height: auto;
  min-height: auto;
  overflow: visible;
  display: flex;
  flex-direction: column;
}

footer {
  height: 6vh;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top:-1px; /* damit keine winzige Lücke zwischen main und footer entsteht, durch den background von main */
  padding: 5rem 0 3rem 0;
}

footer p {
  max-width: 90%;
  text-align: center;
}

/* ======= EBENE 2 (in main) ======= */
.hero,
.info,/* ! info = GSAP / ScrollTrigger! */
.kontakt,
.impressumtext {
  display: flex;
  align-items: center;
  justify-content: center;
}

.kontakt,
.impressumtext {
  padding: calc(8vh + 8vw) 0 calc(10vh + 10vw) 0;
  padding: calc(8svh + 8vw) 0 calc(10svh + 10vw) 0;
}

/* zeitmaschine-sections-container siehe Abschnitt Zeitmaschine */


/* ======= EBENE 3 (in Inhalts-Sections) ======= */

.inhalts-container {
  width: 60vw;
  max-width: 800px;
  padding-right:3vw;
}


/* =========================================================
  02) Main Nav - Hauptnavigation
  ========================================================= */                 /* === ! ! !=== noch nicht übertragen */

header{
  position:fixed;
  top:0;
  right:0;
  width:min-content;
  text-align:right;
}

.main-menu-toggle { /* der Menü-Button, der die Shell öffnet */
  list-style: none;
  cursor: pointer;
  display: inline-block;
  margin: 0;
  padding: 0;
  background: transparent;
  font-size: clamp(1.8rem, 5vw, 2.2rem);
  line-height: 1;
  text-transform: uppercase;
  border: none;
}

/* Safari can show default cursor on nested text nodes unless pointer is explicit. */
.main-menu-toggle,
.main-menu-toggle *,
#main-nav a,
#main-nav a * {
  cursor: pointer;
}

.main-menu-text-open {
    color: var(--overlay-nav-elemente-color-lightbg);
}
.main-menu-text-open:hover,
.main-menu-text-open:focus-visible {
  color: var(--farbe-fokus);
}
.main-menu-text-closed {
    color: var(--farbe-schrift-auf-dunkel);
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.9));
}
.main-menu-text-closed:hover,
.main-menu-text-closed:focus-visible {
  color: var(--farbe-fokus);
}

/* die zwei Balken, die eigentlich zwei große i um 90° gedreht sind */
.main-menu-text-closed { 
  display: inline-block;
  transform: rotate(90deg);
  transform-origin: center;
  letter-spacing: 0.1rem;
}

.main-menu-text-open {
  display: none;
}

.main-menu-state {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}




/* === Menü auf / zu Animation ===  */

.main-menu {
  position: relative;
  --menu-width-closed: 6rem;
  --menu-width-open: 400px;
  --menu-height-closed: 5rem;
  --menu-height-open: 400px;
  --menu-panel-viewport-offset: 5rem;
}

/* die Animation der Höhe und Breite des Shell ist nötig weil es die Anti-Klick-Fläche ist,
die sonst Seiten-Inhalte überdecken würde, wenn sie immer groß wäre.
Die Animation ist für die Verzögerung notwendig, die für die img-opacity Animation
gebraucht wird, die darin stattfindet */
.main-menu-shell,
.main-menu-state:checked+.main-menu-shell {
  padding: 2rem;
}

.main-menu-panel,
.main-menu-state:checked+.main-menu-shell .main-menu-panel {
  padding: 1.8rem 0.8rem 0 0;
}

.main-menu-shell { /* (zum) closed Zustand, Anti-Background-Klick-Fläche */
  position: relative;
  display: block;
  overflow: hidden;
  width: var(--menu-width-closed);
  height: var(--menu-height-closed);
  /*border: 1px solid magenta;  debug */
  transition: width 0.1s ease 0.5s, height 0.1s ease 0.5s;
} /* Verzögerung muss länger sein als die Laufdauer der img-Transition! */

.main-menu-state:checked+.main-menu-shell { /* (zum) open Zustand */
  width: var(--menu-width-open);
  max-width: 100vw;
  min-width: fit-content;
  height: var(--menu-height-open);
  max-height: 100vh;
  min-height: fit-content;
  overflow:visible;
  transition: width 0.1s ease, height 0.1s ease, padding 0.1s ease;
}/* Container geht ohne Verzögerung auf, Animations-Länge 0.1s */

/* 0.1s Verzögerung muss länger sein als Verzögerung des Containers beim Öffnen: .main-menu-state:checked+.main-menu-shell
und kürzer als die des Containers beim Schließen: .main-menu-shell */
.main-menu-shell img { 
  position: absolute;
  top:0; right:0;
  width: var(--menu-width-open);
  height: var(--menu-height-open);
  opacity:0;
transition: opacity 0.4s ease 0.1s; /* Laufdauer der img-Transition 0.5 */
}

.main-menu-state:checked+.main-menu-shell img {
  opacity:1;
}

.main-menu-panel { /* DER INHALT, ALSO DIE MAIN NAV */
  display: block;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  overflow: hidden;
  transition: visibility 0s linear 1.5s, opacity 0.3s ease 0.2s;
}

.main-menu-state:checked+.main-menu-shell .main-menu-panel {
  max-height: calc(100vh - var(--menu-panel-viewport-offset));
  max-height: calc(100svh - var(--menu-panel-viewport-offset));
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.3s ease 0.2s;
}


.facebook-nav {
  padding-top:1rem;
  font-size: 1.5rem;
}

/* _____________________________ */

#main-nav ul {
  margin:0;
  padding:0;
}

#main-nav ul li{
  list-style: none;
}



.main-menu-state:checked + .main-menu-shell .main-menu-text-closed {
  display: none;
}

.main-menu-state:checked + .main-menu-shell .main-menu-text-open {
  display: inline;
}

.main-menu-state:focus-visible + .main-menu-shell .main-menu-toggle {
  color: var(--farbe-fokus);
}

.main-menu-toggle:focus-visible {
  color: var(--farbe-fokus);
}

.main-menu-panel nav {
  min-height: 0;
  background: transparent;
  border-radius: 0;
  padding: 0;
}


/* =========================================================
  03) Hero - Bereich mit Logo und Scroll-Icons mit Animations-Triggern
   ========================================================= */

.hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  min-height: 100svh;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
}

.hero-video,
.hero-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0rem;
}



/* ======= LOGO ======= */                                                        /* ===!!!=== noch nicht übertragen */
.hero-logo-link { /* GSAP / ScrollTrigger! hero-logo-pin.js */
  position: fixed;
  display: inline-block;
  line-height: 0;
  pointer-events: auto;
  background: transparent;
  text-decoration: none;
}

.hero-logo {
  width: min(85vw, 800px);
  max-width: 95vw;
  height: auto;
  z-index: 999;
}

.logo-animated, 
.logo-reducedmotion {
  width: min(85vw, 800px);
  max-width: 95vw;
  height: auto;
  will-change: transform;
}

.logo-bild {
  position:relative;
  top:0; left:0;
  width:100%;
  height:100%;
  will-change: auto;
}

/* ======= Scroll Chevron-Icons unterhalb des Logos ======= */

.hero-scroll-icons { /* GSAP / ScrollTrigger! hero-chevron-visibility.js */
  position: fixed;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 0;
  margin-top: 1.5rem;
  padding: 0;
  color: #fff;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0;
  text-decoration: none;
  box-shadow: none;
  pointer-events: auto;
  z-index: 1300;
}

/* Klasse referenziert auch in icons.css & icon-font, Name nicht ändern! */
.scrolldown-pfeile {
  top: calc(60vh + 10vw);
  display: block;
  color: currentColor;
  line-height: 1;
  opacity: 0.3;
  transform: rotate(90deg);
  font-size: 3rem;
}

/* kleinerer Abstand zwischen scroll-icons */
.scrolldown-pfeile+.scrolldown-pfeile {
  margin-top: -1rem;
}


/* =========================================================
  04) Info - Bereich mit triggern für Animation
   ========================================================= */

/* #info ID verwendet in ! GSAP / ScrollTrigger ! hero-chevron-visibility.js */
.info { /* ! GSAP / ScrollTrigger! */
  position: relative;
  min-height: 100vh; /* Fallback */
  min-height: 100svh;
  padding: calc(10vh + 10vw) 0 calc(9vh + 9vw) 0; /* ähnlich wie kontakt */
  padding: calc(10svh + 10vw) 0 calc(9svh + 9vw) 0;
}

/* für den oberen Rand des Info-Bereichs */
.info::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  min-height: 40vh;
  min-height: 40svh;
  pointer-events: none;
}

/* für den unteren Rand des Info-Bereichs */
.info::after {
  content: "";
  position:absolute;
  left: 0;
  right: 0;
  bottom: -1px; /* Hack, damit kein winziger heller Rand entsteht */
  min-height: 40vh;
  min-height: 40svh;
  margin-top: 0;
  pointer-events: none;
}

.info .inhalts-container { /* damit .info-Rand-Pseudo-Elemente nicht den Text überdecken */
  position: relative;
}

/* ======= Logo-Headline-Animation "Die Pankow Zeitmaschine" ======= */                  /* === !!! === noch nicht übertragen - Genaue Positionierung Headline-Animation */
#info-headlinebereich { /* Platzhalter dafür */ 
  position: relative;
  height: auto;
  width: 116%;
  margin-left: -8%;
}

#info-headline-die {
  margin-bottom: calc(3svh - 3.2vw); /* perfekt */
  padding-left: calc(3vw + 4vh);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
}

#info-headline-zeitmaschine a {
  display: inline-block;
  padding: 0.75rem 1.1rem;
  text-decoration: none;
}


/* ! GSAP / ScrollTrigger ! hero-logo-pin.js */
/* horizontale Mittellinie des Logos bleibt auf der Mitte dieses div hängen */
/* Wo die ist, regele ich über aspect ratio */
#info-headline-trigger {
  width: 106%;
  height: auto;
  line-height: 0; /* damit Baseline des Bildes nicht die Höhe beeinflusst */
  margin-left: -3%;
  aspect-ratio: 351/169; /*ist wie Originalbild */
  padding:0%;
  margin-top: calc(-14.3%);/* = calc(-1 * ((170 / 350 - 70 / 351) / 2) * 100%); um selbe Position zu haben wie vorher mit dem ca halb so hohen Container */
}

#info-headline-zeitmaschine {
  margin:0; 
  padding:0;
  font-size: clamp(1.6rem, 5vw, 2.6rem);
  text-align: right;
  margin-top: calc(-14.3% + 3vh + 3vw);
  margin-right: 1vw;
}

#info-headline-zeitmaschine a {
  margin: 0;
  padding: 0;
  color: var(--farbe-schrift-auf-hell);
}

/* ======= Textbereich unterhalb der Logo-Headline-Animation ======= */             /* ===!!!=== noch nicht übertragen */

#info-textbereich {
  height: auto;
  min-height: 20vh; /* Fallback */
  min-height: 20svh;
  padding-top: calc(5vh + 5vw);
}

/* =========================================================
  05) Hauptseite - Bereich unten
   ========================================================= */

.hauptseite-unten-absatz {
  margin: 1rem 0 4rem 0;
}

/* =========================================================
  06) ZEITMASCHINE - Bereich
   ========================================================= */

 /* #zeitmaschine id bleibt für Anker und in zeitmaschine-overlay.js */

 #zeitmaschine-anker {
  position: absolute;
  top: calc(1.5vh + 1vw); /* Ankerpunkt unterhalb des oberen Zeitmaschine-Rands, so ist im Viewport beim Ankern weniger Abstand und die Zeitmaschine passt rein */
  top: calc(1.5svh + 1vw);
  pointer-events: none;
 }

/* === COMPATIBILITY ANZEIGE === */
/* Kompatibilitäts-Message für Browser, die Zeitmaschine nicht unterstützen */


#zeitmaschine-anker.zeitmaschine-compat-anker {
 top:0;
}

.zeitmaschine-compat-message {
  display:none; /*  muss wieder an */
  /*display: flex;  muss wieder aus! */
  position: relative;
    min-height: 100vh;
    min-height: 100svh;
    flex-direction: column;
    overflow: hidden;
    padding: calc(4vh + 2vw) 0 calc(6vh + 2vw) 0;
    padding: calc(4svh + 2vw) 0 calc(6svh + 2vw) 0;
  background-color: var(--farbe-schrift-auf-hell);/* fallback, ziemlich genau die Farbe des Hintergrundbildes */
  background-image: url("../bgs/zeitmaschine/pankow-zeitmaschine-compat-message-bg.jpg");
  background-repeat: no-repeat;
  background-size: auto 100%;
  background-position: center center;
  --zeitmaschine-card-active-weniger-bg: url("../bgs/zeitmaschine/pankow-card-bg-weniger-active.jpg");
  --zeitmaschine-card-passive-weniger-bg: url("../bgs/zeitmaschine/pankow-card-bg-weniger-passive.jpg");
}

.zeitmaschine-compat-inhalt {
  position: relative;
  width: 70vw;
    max-width: 800px;
  height: 70vh;
    height: 70svh;
    max-height: 800px;
  margin: auto;
  padding: 4rem 2rem;
  display: flex;
  flex-direction: column;
  align-items:center;
  justify-content: flex-start;
  overflow-y: auto;
  overflow-x: hidden;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  text-align: center;
}

.zeitmaschine-compat-inhalt > * {
  margin: 1rem 0;
}

.zeitmaschine-compat-message-h1 {
  color: var(--overlay-nav-elemente-color-lightbg);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
}

.zeitmaschine-compat-inhalt .overlay-content-title-h2 {
  margin: 0;
  text-align: center;
}

.zeitmaschine-compat-message ul {
  font-size: 1.2rem;
  list-style: none;
}

.zeitmaschine-compat-message ul li {
  margin: 0.2rem 0;
}

.zeitmaschine-loader {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  z-index: 4500;
  pointer-events: none;
  --loader-progress: 0%;
}

.zeitmaschine-loader[hidden] {
  display: none;
}

.zeitmaschine-loader-inhalt {
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  position: relative;
  text-align: center;
  background: rgba(0, 0, 0, 0.35);
}

.zeitmaschine-loader-copy {
  position: fixed;
  left: 50%;
  top: clamp(1.25rem, 4.5vh, 3rem);
  transform: translateX(-50%);
  width: min(92vw, 760px);
  z-index: 2;
}

.zeitmaschine-loader-text,
.zeitmaschine-loader-percent {
  margin: 0;
  margin-top: 10vh;
  text-align: center;
    font-size: clamp(1.5rem, 4vw, 2.1rem);
    color: var(--farbe-schrift-auf-dunkel);
}

.zeitmaschine-loader-percent {
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
}

.zeitmaschine-loader-logo-stage {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(85vw, 800px);
  max-width: 95vw;
  aspect-ratio: 3509 / 1690;
  overflow: hidden;
  line-height: 0;
  isolation: isolate;
  z-index: 1;
}

.zeitmaschine-loader-logo {
  position: absolute;
  display: block;
  max-width: none;
  height: 100%;
  top: 0;
}

.zeitmaschine-loader-logo-loading {
  left: 0;
  top: 0;
  width: 100%;
  height: auto;
  z-index: 0;
}

.zeitmaschine-loader-logo-rot {
  left: 0;
  width: 100%;
  z-index: 1;
  top: 0;
  height: auto;
  clip-path: inset(0 calc(100% - var(--loader-progress)) 0 0);
  transition: clip-path 180ms linear;
}

body.is-zeitmaschine-unsupported .zeitmaschine-compat-message {
  display: flex;
}

body.is-zeitmaschine-unsupported .zeitmaschine-loader {
  display: none;
}

html.is-zeitmaschine-booting,
body.is-zeitmaschine-booting {
  overflow: hidden;
  overscroll-behavior: none;
}

body.is-zeitmaschine-unsupported #zeitmaschine {
  display: none;
}


/* ======= CONTAINER - Ausgangshöhen / Variablen ======= */

/* === Container für die Zeitmaschine-Sections === */
.zeitmaschine-sections-container {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: calc(4vh + 2vw) 0 calc(6vh + 2vw) 0;
  padding: calc(4svh + 2vw) 0 calc(6svh + 2vw) 0;
  --zeitmaschine-total-height: 90svh;
  --zeitmaschine-jahr-height: 8vh;
  --zeitmaschine-jahr-height: 8svh;
  --sections-expanded-height: 32vh;
  --sections-expanded-height: 32svh;
  --sections-collapsed-height: calc((var(--zeitmaschine-total-height) - var(--zeitmaschine-jahr-height)) / 5);
  --sections-rest-height: calc((var(--zeitmaschine-total-height) - var(--zeitmaschine-jahr-height) - var(--sections-expanded-height)) / 4);
  --zeitmaschine-card-width: 240px;
  --zeitmaschine-title-card-width: calc(var(--zeitmaschine-card-width) + 20ch);
  --zeitmaschine-card-gap: 0.5rem;
  --zeitmaschine-card-pad-top: 0.5rem;
  --zeitmaschine-card-pad-bottom: 1rem;
  --zeitmaschine-card-pad-x: calc(50% - (var(--zeitmaschine-card-width) / 2));
}

.zeitmaschine-sections-container::after,
.zeitmaschine-compat-message::after {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4%;
    height: 40svh;
    margin-bottom:-1px; /* Hack, damit kein winziger heller Rand zwischen Zeitmaschine-Section und Kontakt entsteht */
  pointer-events: none;
}

.zeitmaschine-sections-container::before,
.zeitmaschine-compat-message::before {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 40vh;
  height: 40svh;
  pointer-events:none;
}

/* ======= SECTIONS - Rotation, z-index, statische Höhe und z-index für #jahr ======= */

.zeitmaschine-sections-container>section {
  position: relative;
  transform-origin: center center; /* Rotationspunkt */
}

.zeitmaschine-sections-container>section:nth-of-type(odd) {
  transform: rotate(-1.5deg);
}

.zeitmaschine-sections-container>section:nth-of-type(even) {
  transform: rotate(1.5deg);
}

#jahr {/* ! GSAP ! zeitmaschine-carousel-sync.js */
  flex: 0 0 var(--zeitmaschine-jahr-height);
  height: var(--zeitmaschine-jahr-height);
  margin: 0;
  margin-bottom:1.2rem;
  transform: rotate(-0.5deg);
}

/* ======= SECTIONS - Dynamische Höhen je nach status-mehr / status-weniger ======= */

:is(#diskographie, #chronik, #bilder, #videos, #fangeschichten) {
  /* ! GSAP ! zeitmaschine-carousel-sync.js */
  flex: 0 0 var(--sections-collapsed-height);
  height: var(--sections-collapsed-height);
  transition: height 1s ease, flex-basis 1s ease;
  /* Animation status-mehr/status-weniger Höhen-Änderung */
}

/* wenn eins der Kinder status-mehr hat, dann collapsed-height = rest-height, 
CSS Variable wird neu gesetzt => dynamische Anpassung der Höhe rein mit CSS, ohne JS */
@supports selector(.zeitmaschine-sections-container:has(*)) {
  .zeitmaschine-sections-container:has(> :is(#diskographie, #chronik, #bilder, #videos, #fangeschichten).status-mehr) {
    /* ! GSAP ! zeitmaschine-carousel-sync.js */
    --sections-collapsed-height: var(--sections-rest-height);
  }
}

@supports not selector(.zeitmaschine-sections-container:has(*)) {
  .zeitmaschine-sections-container {
    --sections-collapsed-height: calc((var(--zeitmaschine-total-height) - var(--zeitmaschine-jahr-height)) / 5);
  }
}

:is(#diskographie, #chronik, #bilder, #videos, #fangeschichten).status-mehr {
  /* ! GSAP ! zeitmaschine-carousel-sync.js */
  flex-basis: var(--sections-expanded-height);
  height: var(--sections-expanded-height);
}

:is(#diskographie, #chronik, #bilder, #videos, #fangeschichten).status-weniger {
  /* ! GSAP ! zeitmaschine-carousel-sync.js */
  flex-basis: var(--sections-collapsed-height);
  height: var(--sections-collapsed-height);
}



/* ======= SCROLL-CONTAINER - Carousels als Content-Listen / Flex-Container  ======= */

/* === horizontal scroll, keine Scrollbar  === */
/* ! GSAP ! zeitmaschine-carousel-sync.js */
.diskographie-scroll,
.videos-scroll,
.chronik-scroll,
.fangeschichten-scroll,
.bilder-scroll {
  display: flex;
  flex-wrap: nowrap;
  height: 100%;
  align-items: stretch;
  gap: var(--zeitmaschine-card-gap);
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  touch-action: pan-x;
  overscroll-behavior-x: contain;
  padding: var(--zeitmaschine-card-pad-top) var(--zeitmaschine-card-pad-x) var(--zeitmaschine-card-pad-bottom);
  scroll-snap-type: x mandatory;
  user-select: none;
  -webkit-user-select: none;
}

.jahre-scroll::-webkit-scrollbar,
.diskographie-scroll::-webkit-scrollbar,
.videos-scroll::-webkit-scrollbar,
.chronik-scroll::-webkit-scrollbar,
.fangeschichten-scroll::-webkit-scrollbar,
.bilder-scroll::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}


/* === Sonderfall Jahre-Leiste (ist echtes ul) === */

.jahre-scroll {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
  touch-action: pan-x;
  scroll-snap-type: x mandatory;
  list-style: none;
  gap: var(--zeitmaschine-card-gap);
  --jahr-item-width: 5.2rem;
  margin: 0;
  height:100%;
  padding: var(--zeitmaschine-card-pad-top) calc(50% - (var(--jahr-item-width) / 2)) var(--zeitmaschine-card-pad-top);
  user-select: none;
  -webkit-user-select: none;
}

.jahre-scroll li {
  flex: 0 0 var(--jahr-item-width);
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  scroll-snap-align: center;
}

.jahre-scroll li.is-active:not(.jahre-start) {
  /* padding remains on button in li.is-active:not(.jahre-start) > button */
  margin-top: 0.3rem;
  font-size: 3.5rem;
}

.jahre-scroll li.is-active:not(.jahre-start)>button {
  padding: 0.2rem 1rem;
}

.jahre-scroll li.jahre-start {
  margin-top: 0.65rem;
}


.jahre-scroll li>button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  cursor: pointer;
}

/* nicht aktive Jahre in der Zeitleiste verschwinden bei status-weniger */
.jahre-scroll li>button {
  padding: 0.35rem 0.6rem;
  text-align: center;
  background: transparent;
  border-radius: 10px;
  border: 0;
  font: inherit;
  color: inherit;
}

/* ======= CARDS ======= */

/* === Titel-Karten === */

.section-title-card {/* ! GSAP ! zeitmaschine-carousel-sync.js */
  height: 100%;
  max-height: 100%;
  display: flex;
  flex: 0 0 var(--zeitmaschine-title-card-width);
  margin-left: calc(70% - var(--zeitmaschine-title-card-width)); /* Hack zum rechts statt mittig snappen der Titel-Karten */
  align-items:center;
  justify-content: flex-end;
  overflow:auto;
  text-align: right !important;
  overflow: visible;
  scroll-snap-align: center;
}

.section-title-stylewrapper {
  display: flex;
  justify-content: flex-end;
  padding: 0.75rem;
  margin-left: auto;
  width: 100%;
}

.section-title-h2 {
  margin: 0;
  padding-right:1vw;
}

/* === Alle Karten === */

/* ! GSAP ! zeitmaschine-carousel-sync.js */
.album-card,
.video-card,
.chronik-card,
.fangeschichten-card,
.bilder-card {
  flex: 0 0 var(--zeitmaschine-card-width);
  height: 100%;
  max-height: 100%;
  position: relative;
  overflow: hidden;
  scroll-snap-align: center;
  cursor: pointer;
  border-radius: 10px;
}

/* ! GSAP ! zeitmaschine-carousel-sync.js */
.status-mehr .album-card,
.status-mehr .video-card,
.status-mehr .chronik-card,
.status-mehr .fangeschichten-card,
.status-mehr .bilder-card {
  border-radius: 5px;
}

.status-weniger .album-card,
.status-weniger .video-card,
.status-weniger .chronik-card,
.status-weniger .fangeschichten-card,
.status-weniger .bilder-card {
  border-radius: 5px;
}

/* Die kleinen Jahreszahlen auf jeder Karte */

.status-weniger .album-card::after,
.status-weniger .video-card::after,
.status-weniger .bilder-card::after {
  position: absolute;
  padding: 0.3rem 0.7rem;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.1rem;
  border-radius: 0.25rem;
  line-height: 1;
  pointer-events: none;
}

.status-weniger .album-card::after,
.status-weniger .bilder-card::after {
  left: 0rem;
  bottom: 0rem;
}

.status-weniger .video-card::after {
  top: 0;
  left: 0;
  padding: 0.8rem 0 0 0.9rem;
}

.status-weniger .album-card::after {
  content: attr(data-album-jahr);
}

.status-weniger .video-card::after {
  content: attr(data-video-jahr);
}

.status-weniger .bilder-card::after {
  content: attr(data-bilder-jahr);
}

/*.status-weniger .chronik-card::after {
  content: attr(data-chronik-jahr);
}

.status-weniger .fangeschichten-card::after {
  content: attr(data-fangeschichten-jahr);
}*/

.status-mehr .album-card::after,
.status-mehr .bilder-card::after {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 1.3rem 1.3rem;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.1rem;
  border-radius: 0.25rem;
  line-height: 1;
  pointer-events: none;
  font-size: 0.9rem;
  color: #fedcb5; /* selber Farbraum wie #DFB47F */
}
.status-mehr .album-card::after {
  content: attr(data-album-jahr);
  filter: drop-shadow(0 0 2px rgba(0, 0, 0, 1));
}
.status-mehr .bilder-card::after {
  content: attr(data-bilder-jahr);
  filter: drop-shadow(0 0 2px rgba(0, 0, 0, 1));
}

/* ======= CARDS - spezifische ======= */

/* === Alben und Bilder === */

/* Styles Album-/Bilder-Thumbs in Section Leiste */
.album-cover,
.bilder-thumb {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform-origin: center center;
  transition: transform 0.25s ease;
}

section.status-mehr .album-cover,
section.status-mehr .bilder-thumb {
  transform: scale(0.9);
}
section.status-weniger .album-cover,
section.status-weniger .bilder-thumb {
  transform: scale(1);
}

/* === album-meta/bilder-meta an-aus je nach mehr-weniger === */

section.status-mehr .bilder-meta {
  display: block;
}

section.status-mehr .album-meta,
section.status-weniger .album-meta,
section.status-weniger .bilder-meta {
  display: none;
}


/* === Videos === */                                                                 /* === !!! === noch nicht übertragen - Styles Video-Thumbs in Section Leiste */

section.status-weniger .video-thumb-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 0 0.6rem;
  transition: padding 0.25s ease;
  cursor: pointer;
}

section.status-mehr .video-thumb-wrap {
  position: relative;
  padding: 0.6rem;
  transition: padding 0.25s ease;
  cursor: pointer;
}

.video-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.video-thumb-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.video-thumb-play svg {
  width: 3.25rem;
  height: auto;
  /*filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.35));*/
}


/* === Fangeschichten === */
/* ! #fangeschichten GSAP ! zeitmaschine-carousel-sync.js */

#fangeschichten.status-weniger .fangeschichten-storyhighlight {
  display: none;
}

#fangeschichten.status-mehr .fangeschichten-storyhighlight {
  display: block;
}



/* =========================================================
   07) OVERLAY-SYSTEM - Alle Container und Bedien-Funktionen
   ========================================================= */

/* ======= EBENE 0 - Haupt-Overlay-Container mit Dialog-Box und Schließen-Button ======= */

.content-overlay {
  position: fixed;
  inset: 0;
  display: none;
}

.content-overlay.is-open {
  display: block;
}

.content-overlay-backdrop {
  /* Voller Viewport transparent mit Abdunkelung Hintergrund */
  position: absolute;
  inset: 0;
}

.content-overlay-dialog {/* Dialog-Box für Inhalte */
  position: absolute;
  width: 97vw;
  max-width: 1000px;
  height: 95vh;
  height: 95svh;
  max-height: 1000px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  overflow: hidden;
  border-radius: 12px;
}

.content-overlay-close { /* Button - komplettes Overlay schließen */
  position: absolute;
  right: 0.5rem;
  top: 0.3rem;
  width: 3rem;
  height: 3rem;
  background: transparent;
  font-size: 2rem;
  line-height: 1;
  border:0; /* wichtig, weil button default border hat */
  cursor: pointer;
}

/* ======= EBENE 1 - Wrapper mit Context-Label oben, Frame für dynamischen Content und Nav-Layer darin ======= */

.content-overlay-inner {/* wrapper */
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 0;
}

/* zeigt oben an, in welcher Section man sich befindet, z.B. "Diskographie" oder "Videos" 
per zeitmaschine-overlay.js */
.content-overlay-context-label {
  display:flex;
  align-items:center;
  justify-content:center;
  height: 6vh;/*  Gegenstück zu content-overlay-dynframe height                                                            Styles Overlay-Context-Label ab hier */
  padding-top: 1.6vh; /* Pendant zu overlay-nav-year nach unten */
}

/* der feststehende Rahmen, in den der dynamische Content geladen wird */
.content-overlay-dynframe { 
  min-height: 0;
  flex: 1;
  display: flex;
  margin-bottom: 7vh; /* oberer Abstand unter content-overlay-context-label height */
}

 /* === Overlay-Navigation - statisch für alle Inhalte === */
 /* zeitmaschine-overlay.js knipst Elemente nur an und aus, z.B. keine Nav-Flächen bei Videos */
.overlay-nav-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.overlay-nav-zone,
.overlay-nav-arrow {
  position: absolute;
  border: 0;
  padding: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  pointer-events: auto;
}

.overlay-nav-zone {
  top: 0;
  bottom: 0;
  width: 5.5vw;
  z-index: 1;
  background: transparent;
  color: transparent;
}
    .overlay-nav-zone-prev {
      left: 0;
    }
    .overlay-nav-zone-next {
      right: 0;
    }

.overlay-nav-arrow {
  display: inline-flex;
  top: auto;
  bottom: 1.2vh; /*  overlay-nav-year / overlay-nav-center-button - override ui-layout */
  width: 3rem;
  height: 3rem;
  align-items: center;
  justify-content: center;
  background: transparent;
  font-size: 3rem;
  line-height: 1;
}
    .overlay-nav-arrow-prev {
      left: 0.35rem;
    }
    .overlay-nav-arrow-next {
      right: 0.35rem;
    }


.overlay-nav-arrow:focus-visible {
  outline-offset: 2px;
  border-radius: 999px;
}

.overlay-nav-year {
  position: absolute;
  left: 50%;
  bottom: 2.0vh;
  transform: translateX(-50%);
  z-index: 2;
  pointer-events: none;
  margin: 0;
}

/* .overlay-nav-center-button siehe Album-Cover-ZOOMer, weil er nur dort vorkommt */



/* ======= EBENE 2 - Funktions-Rahmen für dynamischen Content ======= */

/* Rahmen mit Swipe-Funktion, wird je Card-Aufruf neu gerendert, 
um Listener/Scroll-Zustände zu clearen, per zeitmaschine-overlay.js */
.overlay-dynframe-swiper {
  position: relative;
  flex: 1;
  min-height: 100%;
  touch-action: pan-y;
}

/* weiterer Rahmen mit Scroll-Funktionen, um Swiper und Scroll-Zustände sauber zu trennen */
.overlay-dynframe-scrollcontainer {
  position: relative;
  z-index: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: auto;
}

/* vertikale Zentrierung für Inhalte, die weniger Höhe als der Container haben */
.overlay-dynframe-scrollcontainer>.overlay-dyncontent-root {
  margin-top: auto;
  /* Fallback */
  margin-bottom: auto;
  /* Fallback */
  margin-block: auto;
}


/* ======= EBENE 3 - Dynamische Inhalte aus den Templates ======= */

.overlay-dyncontent-root {
  width: 100%;
  padding: 0 9vw; /* Padding Gesamt-Inhalt */
}


/* === Basis für Videos + Bilder vor den spezifischen Grid-Overrides === */
.overlay-template-videos .overlay-dyncontent-root,
.overlay-template-bilder .overlay-dyncontent-root,
.overlay-template-diskographie-coverzoom .overlay-dyncontent-root {
  height: 100%;
  min-height: 0;
  text-align: center;
}

.overlay-dyncontent-empty {
  margin: 0;
}

/* === GALLERY-STAGE - global für Bilder, Videos und Album-Cover-ZOOMer === */
/* spezifische Setups jeweils dort */

.overlay-gallery-stage {
  display: block;
  min-height: 0;
  overflow: hidden;
}

.overlay-template-videos .overlay-gallery-stage,
.overlay-template-bilder .overlay-gallery-stage,
.overlay-template-diskographie-coverzoom .overlay-gallery-stage {
  min-height: 0;
}

.overlay-gallery-meta {
  margin-top: 0.3rem;
}

/* === globale Styles ===                                       mehr globale Styles */

.overlay-content-title-h2 {
  font-size: 1.5rem;
  line-height: 1.2;
  font-weight: 600;
  margin: 1rem 0 0.5rem 0;
  display: flex;
  justify-content: center;
  align-items:flex-end;
}

.overlay-template-fangeschichten .overlay-content-title-h2,
.overlay-template-chronik .overlay-content-title-h2 {
  margin: 2.5rem 0;
  text-align: center;
}

/* =========================================================
   08) OVERLAY-INHALTE aus den Templates - 1 DISKOGRAPHIE
   ========================================================= */

/* ======= ALBUM - Infoheader ======= */

/* .overlay-content-title-h2 siehe globale Styles */

.overlay-album-info {
  margin-bottom: 2.5rem;/*                                        Abstand zwischen Infoheader und Album-Grid */
  text-align: center;
}

/* ===== ALBUM - Grid für Spaltendarstellung ===== */

.overlay-album-layoutgrid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.overlay-album-media-column {
  display: grid;
  gap: 0.45rem;
  /* vertikaler Abstand zwischen Album-Cover und Switch-Button */
  justify-items: center;
  margin-bottom: 1.2rem;
}

.overlay-album-details-column {
  display: grid;
  gap: 0.75rem;
  /* vertikaler Abstand zwischen Album-Details und Tracklist */
  align-content: start;
  padding: 0 1rem;
}

@media (orientation: landscape) {
  .overlay-album-layoutgrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    column-gap: 0.2rem;
  }

  .overlay-album-media-column {
    justify-items: center;
  }
}


/* ===== ALBUM - MEDIA COLUMN  ===== */

/* === Album-Cover-Switcher - Umschalten zwischen Vorder- und Rückseite des Albums === */

/* Grid-Container mit Vorder- und Rückseite des Albums, die per zeitmaschine-overlay.js umgeschaltet werden  */
.overlay-album-covers {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  /* spielt keine Rolle da Cover (Kinder) mit Switcher direkt übereinander */
  width: min(90%, 19rem);
  margin: 0;
}

@media (orientation: landscape) {
  .overlay-album-covers {
    width: min(90%, 25rem);
  }
}

.overlay-album-covers.is-switchable {
  position: relative;
}

.overlay-album-covers.is-switchable [data-slot="album-cover-front"],
.overlay-album-covers.is-switchable [data-slot="album-cover-back"] {
  grid-area: 1 / 1;
  transition: opacity 220ms ease;
}

.overlay-album-covers.is-switchable [data-slot="album-cover-front"] {
  opacity: 1;
  pointer-events: auto;
}

.overlay-album-covers.is-switchable [data-slot="album-cover-back"] {
  opacity: 0;
  pointer-events: none;
}

.overlay-album-covers.is-switchable.is-back-visible [data-slot="album-cover-front"] {
  opacity: 0;
  pointer-events: none;
}

.overlay-album-covers.is-switchable.is-back-visible [data-slot="album-cover-back"] {
  opacity: 1;
  pointer-events: auto;
}

/* Button zum Umschalten zwischen Vorder- und Rückseite des Albums */
.overlay-album-switch-button {
  cursor: pointer;
  margin: 0;
  /*                                                             Styles Overlay-Album-Switch-Button ab hier */
}



.overlay-album-layoutgrid{
  margin-bottom: 4rem;
}



/* === Album-Cover-ZOOMer - Coverbilder groß anzeigen === */

.overlay-album-figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid #ddd;
  /*                                                       Styles Overlay-Album-Figure ab hier */
  background: #f7f7f7;
}

.overlay-album-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.overlay-album-figure.is-clickable {
  cursor: zoom-in;
}

.overlay-album-figure.is-clickable img,
.overlay-album-figure.is-clickable:hover,
.overlay-album-figure.is-clickable:hover img {
  cursor: zoom-in;
}

/* Spezifikation der globalen Gallery Stage */
.overlay-gallery-stage.is-return-to-album,
.overlay-gallery-stage.is-return-to-album img {
  cursor: zoom-out;
  height: 100%;
}

/* "Zurück zum Album" Button,
liegt auf Ebene 1 in der Overlay-Navigation ( innerhalb .overlay-nav-layer), 
aber kommt nur hier im Album-Cover-ZOOMer vor, daher hier */
.overlay-nav-center-button {
  position: absolute;
  left: 50%;
  bottom: 0.32rem;
  transform: translateX(-50%);
  z-index: 2;
  white-space: nowrap;
  pointer-events: auto;
}


/* ===== ALBUM - DETAILS COLUMN  ===== */

/* === STREAM- und KAUFLINKS mit Überschriften === */

.overlay-album-details-column h3 {
  margin: 0;
  padding: 0 0 0.5rem 0;
  font-size: 1.2rem;
  line-height: 1.2;
  text-align: center;
}

.overlay-album-linklist { /* ul */
  margin: 0 0 1rem 0;
  padding: 0;
  list-style: none;
  /* min-width: calc(20ch + 0.75rem);  Breite der Buttons x2 + gap-Breite */
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 14ch));
  row-gap: 1rem;
  column-gap: 1.1rem;
  justify-content: center;
}

.overlay-album-linklist li {
  width: 100%;
  min-width: 0;
  justify-self: center;
}

.overlay-album-linklist:has(> li:not([hidden])):not(:has(> li:not([hidden]) ~ li:not([hidden]))) > li:not([hidden]) {
  grid-column: 1 / -1;
  width: auto;
}

.overlay-album-linklist:has(> li:not([hidden])):not(:has(> li:not([hidden]) ~ li:not([hidden]))) > li:not([hidden]) a {
  min-width: 15ch;
}

.overlay-album-linklist a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  padding: 0.35rem 0.7rem;
  background: transparent;
  text-decoration: none;
  line-height: 1.2;
  white-space: nowrap;
}


.overlay-album-mehrinfo-wrapper h3 {
  padding: 1rem 0 1rem 0;
}

.overlay-album-trackliste.overlay-chronik-tourinfos {
  margin-top:0;
}



/* =========================================================
   09) OVERLAY-INHALTE aus den Templates - 2 VIDEOS
   ========================================================= */

/* .overlay-content-title-h2 siehe globale Styles */

.overlay-gallery-stage iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  max-height: 100%;
  box-sizing: border-box;
  border: 0;
}

.overlay-consent {
  margin-top: auto;
  margin-bottom: auto;
  padding: 0 5vw;
  width: auto;
  height: 100%;
  /*aspect-ratio:unset;*/
  overflow: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

/* sonst überschreibt display:flex die hidden-Funktion! */
.overlay-consent:not([hidden]) {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.overlay-consent h3 {
  padding: 0 0 1.5rem 0;
}

/* In kleinen/hoch gezoomten Viewports nicht mittig klemmen:
   Inhalt startet oben und bleibt innerhalb der Consent-Box scrollbar. */
.overlay-consent:not([hidden]) {
  justify-content: flex-start;
}

@media (min-height: 52rem) {
  .overlay-consent:not([hidden]) {
    justify-content: center;
  }
}

.overlay-template-videos .overlay-nav-zone {
  width: 5vw;
  max-width: 5vw;
}

/* nur wenn ein Video sichtbar ist: Stage auf Mitte zentrieren */
.overlay-template-videos .overlay-gallery-stage:has(> iframe:not([hidden])) {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  overflow: visible;
}

/* Video selbst, not hidden zwingend, damit consent angezeigt wird */
.overlay-template-videos iframe:not([hidden]) {
  width: min(100%, calc(68svh * (16 / 9)));
  aspect-ratio: 16 / 9;
  max-height: min(100%, 68svh);
  box-sizing: border-box;
  display: block;
}

/* Bild in der Gallery-Stage: Rahmen direkt am Medium statt am Stage-Container */
.overlay-template-bilder .overlay-gallery-stage > img,
.overlay-template-diskographie-coverzoom .overlay-gallery-stage > img {
  box-sizing: border-box;
  display: block;
}



/* =========================================================
   10) OVERLAY-INHALTE aus den Templates - 3 CHRONIK 
   ========================================================= */

/* === CHRONIK - Columns-Layout === */

.overlay-chronik-layout>* { /* alle direkten Kinder des chronik-layout-Wrappers */
  break-inside: avoid;
  -webkit-break-inside: avoid;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1rem;
}

.overlay-chronik-tourinfos,
.overlay-chronik-spotlight {
  max-width: 600px !important;
}

.overlay-chronik-spotlight {
  margin-bottom: 3rem;
}

.overlay-chronik-info-spotlight-wrapper {
  margin-bottom: 3rem;
}

.overlay-chronik-info-spotlight-wrapper > .overlay-chronik-spotlight {
  margin: 0 0 2.5rem 3rem;
  float: right;
  width: 50%;
  min-width: 200px;
  max-width: 400px;
}

@media (max-width: 600px) {
  .overlay-chronik-info-spotlight-wrapper > .overlay-chronik-spotlight {
    margin: 0 0 2.5rem 0;
    float: none;
    width: 100%;
    min-width: unset;
    max-width: unset;
  }
}

/* wenn chronik-layout-Wrapper hat sichtbares Kind u. 1 sichtbares Geschwister => für alle Kinder keine max-width */
.overlay-chronik-layout:has(> :not([hidden]) ~ :not([hidden]))>* {
  max-width: none;
  /* wichtig, damit columns nicht durch max-width eingeschränkt werden */
}

/*.overlay-chronik-layout:has(> .overlay-chronik-info-spotlight-wrapper ~ :not([hidden])) .overlay-chronik-spotlight {
  float:none;
  width: 100%;
  margin:0 0 2rem 0;
}*/

/* wenn chronik-layout-Wrapper hat sichtbares Kind u. 1 sichtbares Geschwister => 2 Spalten */
.overlay-chronik-layout:has(> :not([hidden]) ~ :not([hidden])) {
  column-count: 2;
  column-width: 250px;
  column-gap: 2rem;
}

.overlay-chronik-layout:has(> .overlay-chronik-tourinfos:not([hidden])):has(> .overlay-chronik-spotlight:not([hidden])),
.overlay-chronik-layout:has(> .overlay-chronik-tourinfos:not([hidden])):has(> .overlay-chronik-info-spotlight-wrapper > .overlay-chronik-spotlight:not([hidden])),
.overlay-chronik-layout:has(> .overlay-chronik-info-spotlight-wrapper ~ :not([hidden])) {
  column-count: 1;
  column-width: 800px;
}

.overlay-chronik-artikelgruppe {
  clear: both;
}


/* Columns-Layout innerhalb der Artikelgruppe */

.overlay-chronik-artikelgruppe {
  margin: 0 auto;
  margin-top: 2rem;
  margin-bottom: 3rem;
}

.overlay-chronik-artikelgruppe:has(> :not([hidden]) ~ :not([hidden])) {
  columns: 2;
  column-width: 150px;
  column-gap: 1.5rem;
}

.overlay-chronik-artikelgruppe>* {
  break-inside: avoid;
  margin-bottom: 0.5rem;
}


/* === CHRONIK - Artikel-Styles === */

/* .overlay-content-title-h2 siehe globale Styles */


.overlay-chronik-artikelfeld {
  margin-bottom: 2rem;
}

.overlay-chronik-artikelfeld p {
  margin-bottom: 0.5rem;
}

.overlay-chronik-infotext {
  margin-bottom: 2rem;
}


.overlay-chronik-spotlight {
  text-align: center;
}
.overlay-chronik-infotext,
.overlay-chronik-artikelfeld,
.overlay-chronik-tourinfos {
  white-space: pre-line;
  text-align: left;
  /* übernimmt Zeilenumbrüche aus der Kirby-Eingabemaske */
}

.overlay-chronik-tourliste li {
  overflow-wrap: break-word;
}

.overlay-chronik-spotlight,
.overlay-chronik-tourinfos {
  padding: 2.2rem 1.7rem 2.7rem 1.8rem;
  margin-top: 1rem;
  -webkit-transform: rotate(2deg) translateZ(0);
    transform: rotate(2deg) translateZ(0);
    will-change: transform;
  border-radius: 8px;
}

.overlay-chronik-tourinfos h3,
.overlay-chronik-tourinfos p {
  text-align: center;
  margin-bottom: 1rem;
}

.overlay-chronik-tourliste { /* ul */
  list-style: none;
  text-align: left;
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
}



/* =========================================================
   11) OVERLAY-INHALTE aus den Templates - 4 FANGESCHICHTEN
   ========================================================= */

.overlay-template-fangeschichten .overlay-dyncontent-root {
  max-width: 800px;
  margin: 0 auto;
}

.overlay-fangeschichten-story {
  margin: 1em 0;
  text-align: left;
  white-space: pre-line;/* übernimmt Zeilenumbrüche aus der Kirby-Eingabemaske */
}

/* =========================================================
   12) OVERLAY-INHALTE aus den Templates - 5 BILDER
   ========================================================= */

.overlay-template-videos .overlay-dyncontent-root,
.overlay-template-bilder .overlay-dyncontent-root,
.overlay-template-diskographie-coverzoom .overlay-dyncontent-root {
  /* damit lange Bilder kein Scrollen verursachen */
  display: grid;
  grid-template-columns: 1fr;
  height: 100%;
}

.overlay-template-diskographie-coverzoom .overlay-dyncontent-root {
  grid-template-rows: minmax(0, 1fr);
}

.overlay-template-bilder .overlay-gallery-stage,
.overlay-template-diskographie-coverzoom .overlay-gallery-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.overlay-template-diskographie-coverzoom .overlay-gallery-stage {
  height: 100%;
}

.overlay-template-bilder .overlay-gallery-stage>img,
.overlay-template-diskographie-coverzoom .overlay-gallery-stage>img {
  width: auto;
  height: auto;
  max-width: 100%;
  /*max-height: min(100%, 68vh);
  max-height: min(100%, 68svh);*/
  max-height: 100%;
  object-fit: contain;
}

.overlay-template-diskographie-coverzoom .overlay-gallery-stage>img {
  max-height: 100%;
}

.overlay-template-albumzoom .overlay-gallery-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  overflow: hidden;
}

.overlay-template-albumzoom .overlay-gallery-stage>img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  box-sizing: border-box;
  object-fit: contain;
}



/* =========================================================
  14) SCROLL- und LINK-HACKS
  ========================================================= */

/* === aktives INHALTE-OVERLAY blockt Scrollen auf der Gesamt-Seite darunter === */
html.is-overlay-open,
body.is-overlay-open {
  overflow: hidden;
}

/* === gesture lock overlay über der Zeitmaschine für vertikales Seiten-Scroll === */

/* Unsichtbares Overlay über der gesamten Zeitmaschine (ohne offenes Inhalts-Overlay)
Hack um vertical scroll der gesamten Seite zu gewährleisten, während man in der Zeitmaschine ist -
also um nicht in den horizontalen Scroll-Sections hängen zu bleiben. */
.zeitmaschine-gesture-overlay {
  position: absolute;
  inset: 0;
  z-index: 20;
  background: transparent;
  pointer-events: none;
  touch-action: pan-y;
}


/* === Nur auf dem Overlay kann vertikal gescrollt werden, also damit auf der gesamten Seite === */
/* zeitmschine-section-status.js
Wenn .zeitmaschine-sections-container die Klasse .is-gesture-locked hat (passiert bei vertical scroll),
bekommt .zeitmaschine-gesture-overlay pointer-events: auto. */

@media (hover: none),
(pointer: coarse) {
  .zeitmaschine-sections-container.is-gesture-locked .zeitmaschine-gesture-overlay {
    pointer-events: auto;
  }
}

/* === Zeitmaschine SECTIONS - links innerhalb status-weniger sections unterdrücken 
(nur Aktivierung der section per tap/Klick) === */

section.status-weniger a,
section.status-weniger button,
section.status-weniger input,
section.status-weniger select,
section.status-weniger textarea,
section.status-weniger iframe,
section.status-weniger [role="button"] {
  pointer-events: none;
}

section.status-mehr a,
section.status-mehr button,
section.status-mehr input,
section.status-mehr select,
section.status-mehr textarea,
section.status-mehr iframe,
section.status-mehr [role="button"] {
  pointer-events: auto;
}


/* =========================================================
  15) Accessibility: sr-only, Skip-Link, Fokus-Stile, Medienabfragen
  ========================================================= */

/* Visuell versteckt, aber für Screenreader und SEO im DOM enthalten. 
h1 in der Info - Section
aria-description zur Zeitmaschine #zeitmaschine-description */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: 0;
  left: 0;
  transform: translateY(-120%);
  padding: 0.5rem 0.75rem;
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
}

:where(a, button, input, select, textarea, [role="button"], [tabindex]):focus-visible {
  outline-offset: 2px;
}

.card-overlay-link:focus-visible {
  outline-offset: -3px;
  border-radius: inherit;
}


@media (prefers-contrast: more) { /* ! GSAP ! zeitmaschine-carousel-sync.js*/ /*   style prefers-contrast */
  :is(.section-title-card, .album-card, .video-card, .chronik-card, .fangeschichten-card, .bilder-card) {
    border-width: 2px;
  }

  :is(.content-overlay-close, .overlay-nav-arrow) {
    border-width: 2px;
  }
}

@media (forced-colors: active) {
  .content-overlay-backdrop {
    background: Canvas;
  }

  :where(a, button, input, select, textarea, [role="button"], [tabindex]):focus-visible {
    outline-color: Highlight;
  }
}

.hero-fallback {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .hero-logo-link {
    position: static;
    top: auto;
    left: auto;
    z-index: auto;
    transform: none;
  }

  .hero-video {
    display: none;
  }

  .hero-fallback {
    display: block;
  }

  html:focus-within {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  :is(#diskographie, #chronik, #bilder, #videos, #fangeschichten) {
    /* ! GSAP ! zeitmaschine-carousel-sync.js */
    transition: none;
  }
}


/* =========================================================
  C SEITEN (alle Nicht-index.html-Seiten)
  =========================================================   ================================================================================================================ */

/* 
  =========================================================
  1) SEITEN: Impressum
  ========================================================= */


.impressum {
  position: relative;
  display: flex;
  flex-direction: column;
  background-image: url("../bgs/texturen/pankow-textur-dunkelgrau.jpg");
  background-repeat: repeat-y;
  background-size: 100% auto;
  background-position: center top;
  text-align: center;
  color: var(--overlay-nav-elemente-color-darkbg);
  height: fit-content;
  padding: calc(6svh + 2vw) 0 calc(3svh + 2vw) 0;/* Original padding: calc(4svh + 2vw) 0 calc(6svh + 2vw) 0; */
  justify-content: center;
  align-items: center;
  text-align: center;
}

.impressum::before,
.impressum::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: 100% auto;
  z-index: 1;
}

.impressum::before {
  top: 0;
  min-height: 40vh;
  min-height: 40svh;
  background-image: url("../bgs/texturen/pankow-textur-dunkelgrau-rand-oben.png");
  background-image: image-set(
      url("../bgs/texturen/pankow-textur-dunkelgrau-rand-oben.avif") type("image/avif"),
      url("../bgs/texturen/pankow-textur-dunkelgrau-rand-oben.png") type("image/png"));
  background-position: center top;
}

.impressum::after {
  bottom: -1px;
  min-height: 40vh;
  min-height: 40svh;
  background-image: url("../bgs/texturen/pankow-textur-dunkelgrau-rand-unten.png");
  background-image: image-set(
      url("../bgs/texturen/pankow-textur-dunkelgrau-rand-unten.avif") type("image/avif"),
      url("../bgs/texturen/pankow-textur-dunkelgrau-rand-unten.png") type("image/png"));
  background-position: center bottom;
}

.impressumtext {
  /*background: #f3f3f0;*/
  /* oberer Rand als png mit Transparenz wegen flexibler Höhe u. daher Position */
  background-image: url("../bgs/texturen/pankow-textur-beige-rand-oben.png");
  /* Fallback */
  background-image: image-set(url("../bgs/texturen/pankow-textur-beige-rand-oben.avif") type("image/avif"),
      url("../bgs/texturen/pankow-textur-beige-rand-oben.png") type("image/png"));
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-position: center top;
  padding-top: 1rem;
}

.impressum h1 {
  position: relative;
  z-index: 2;
  text-align: center;
  font-size: clamp(2rem, 5vw, 3rem);
  text-transform: uppercase;
  max-width: 800px;
  padding: 2rem;
}

.impressumtext h2 {
  /* wie h2-startseite */
  margin: 2rem 0 1rem 0;
  color: var(--farbe-headline);
  font-size: clamp(1.2rem, 2.2vw, 2rem);
  text-transform: uppercase;
}

.impressumtext h2,
.impressumtext h3 {
  padding: 2rem 0 0.5rem 0;
  font-size: clamp(1.2rem, 2vw, 2rem);
}

.impressumtext ul {
  padding-left: 0.5rem;
  margin: 1rem;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.impressum-homebutton {
  text-align: center;
  margin: 5rem 0 3rem 0 !important;

}
.impressum-homebutton-a {
  display: inline-block;
  padding: 0.75rem 1.1rem;
  text-decoration: none;
  color: var(--farbe-link);
  font-size: 2rem;
}

.impressum-homebutton-a:hover,
.impressum-homebutton-a:focus-visible {
  color: var(--farbe-fokus);
}


/* 
  =========================================================
  2) SEITEN: OVERLAY PHYSISCH - GLOBAL
  ========================================================= */

.overlay-physisch {
  position: relative;
  top: 0;
  left: 0;
  background-image: url("../bgs/texturen/pankow-textur-dunkelgrau.jpg");
  background-repeat: repeat-y;
  background-size: 100% auto;
  background-position: center top;
  text-align: center;
  width: 100vw;
  min-height: 100vh;
  min-height: 100svh;
  z-index: 0;
}

.overlay-physisch .overlay-album-mehrinfo-wrapper {
  text-align: left;
}

.overlay-physisch-wrapper {
  position:relative;
  width: 100%;
  margin: 0 auto;
  z-index: 10;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.overlay-physisch-logo {
  position:fixed;
  top: 0;
  left: 0;
  min-width: 150px;
  max-width: 30vw;
  height: auto;
  margin: 1.5rem 0 0.5rem 0;
  z-index:1;
}

.overlay-physisch-header h1 {
  color: var(--overlay-nav-elemente-color-darkbg);
}


.overlay-physisch .content-dialog {
  width: 97vw;
  max-width: 1000px;
  height: 95vh;
  height: 95svh;
  max-height: 1000px;
  overflow: hidden;
  margin: 0;
  border-radius: 12px;
  background-image: url("../bgs/overlay/pankow-textur-overlay-hell.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: right top;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.overlay-physisch .content-dialog.overlay-overview-dark-shell {
  background-image: url("../bgs/overlay/pankow-textur-overlay-dunkel.jpg");
  background-position: center bottom;
}

.overlay-physisch-footer {
  text-align: center;
  margin: 2rem;
}



/* Auf physischen Detailseiten sind die Pfeile Links: nie unterstreichen, bei Hover/Fokus nur Farbe wechseln. */
.overlay-physisch .overlay-nav-arrow {
  text-decoration: none;
}

.overlay-physisch .overlay-nav-arrow:hover,
.overlay-physisch .overlay-nav-arrow:focus-visible {
  color: var(--farbe-fokus);
  text-decoration: none !important;
}

.overlay-physisch .overlay-nav-arrow:focus-visible {
  outline: 3px solid #0b57d0;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.55);
  outline-offset: 2px;
  border-radius: 999px;
}

/* Nur Video-Detailseiten: Text-Links farblich wie gewuenscht, ohne globale Auswirkung. */
.overlay-physisch[data-detail-page="videos"] a {
  color: var(--farbe-link-auf-dunkel);
  text-decoration: none;
}

.overlay-physisch[data-detail-page="videos"] a:hover,
.overlay-physisch[data-detail-page="videos"] a:focus-visible {
  color: var(--farbe-fokus);
  text-decoration: underline;
}

.overlay-fallback-hinweis {
  /* p auf Video-Seiten */
  margin: 3rem;
}

/* 
  =========================================================
  3) SEITEN: OVERLAY PHYSISCH - ALBEN
  ========================================================= */

.album-uebersicht > * {
  margin-bottom: 1.5rem;
}

.album-uebersicht ul {
  font-size: 1.6rem;
  line-height: 1.2;
  list-style: none;
}

.overlay-videos-uebersicht-content.album-uebersicht p,
.overlay-bilder-uebersicht-content.album-uebersicht p {
  color: var(--farbe-schrift-auf-dunkel);
}

.overlay-template-videos .overlay-dyncontent-root.overlay-videos-uebersicht-content,
.overlay-template-bilder .overlay-dyncontent-root.overlay-bilder-uebersicht-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.overlay-videos-uebersicht-content a,
.overlay-bilder-uebersicht-content a,
.overlay-videos-uebersicht-content h1,
.overlay-bilder-uebersicht-content h1 {
  color: var(--overlay-nav-elemente-color-darkbg);
}

.overlay-template-fangeschichten .overlay-dyncontent-root.overlay-stories-uebersicht-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-top: auto;
  margin-bottom: auto;
  margin-left: auto;
  margin-right: auto;
}

.album-cover-lightbox {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(3vh + 3vw);
  background: rgba(0, 0, 0, 0.88);
  cursor: zoom-out;
}

.album-cover-lightbox[hidden] {
  display: none;
}

.album-cover-lightbox-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  cursor: zoom-out;
}

.album-cover-lightbox-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  border: 0;
  background: transparent;
  color: var(--farbe-schrift-auf-dunkel);
  font-size: 2.5rem;
  line-height: 1;
  cursor: pointer;
}

body.album-cover-lightbox-open {
  overflow: hidden;
}


/*
*,
*::before,
*::after {
  background-image: none !important;
}*/