/* ==========================================
   Css für transform-art.de
========================================== */

:root {
  --bg: #2c2c2c;
  --panel: #ffffff;
  --text: #111111;
  --muted: #555555;
  --line: rgba(255, 255, 255, 0.35);
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: #fff;
  background: var(--bg) url("../images/ta-hintergrund/bg_ritter.jpg") repeat;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
a:hover, a:focus-visible { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

/* Startseite */
.home-main { max-width: none; padding: 0; }
.start-stage-original {
  min-height: calc(100vh - 4rem);
  padding-top: 2cm;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.start-image-map {
  position: relative;
  width: min(92vw, 622px);
  margin: 0 auto;
}
.start-image { width: 100%; height: auto; display: block; }
.start-hotspot {
  position: absolute;
  z-index: 20;
  display: block;
  background: rgba(255,255,255,0);
  outline-offset: 2px;
}
.start-hotspot span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.start-hotspot:hover, .start-hotspot:focus-visible {
  outline: 2px solid rgba(180,0,130,.75);
  background: rgba(255,255,255,.12);
}
.hotspot-freie { left: 78%; top: 45%; width: 18%; height: 8%; }
.hotspot-transformationen { left: 72%; top: 58%; width: 25%; height: 8%; }
.hotspot-religion { left: 58%; top: 70%; width: 32%; height: 8%; }
.hotspot-wandlungen { left: 45%; top: 79%; width: 25%; height: 8%; }
.hotspot-mail { left: 28%; top: 55%; width: 28%; height: 7%; }
.start-meta-links {
  width: min(92vw, 622px);
  margin: 2.1rem auto 0;
  padding: .75rem 0;
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,.25);
  border-bottom: 1px solid rgba(255,255,255,.25);
}
.site-footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1.5rem 2.5rem;
  color: rgba(255,255,255,.78);
  font-size: .9rem;
  text-align: center;
  border-top: 1px solid var(--line);
}
.home-footer { max-width: none; }

/* Unterseiten: feststehende Kopfzeile */
.fixed-head {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(44,44,44,.97) url("../images/ta-hintergrund/bg_ritter.jpg") repeat;
  box-shadow: 0 6px 18px rgba(0,0,0,.30);
}
.site-header {
  max-width: var(--max);
  margin: 0 auto;
  padding: .75rem 1.5rem .35rem;
  text-align: center;
}
.brand {
  display: inline-block;
  padding: .55rem 1.5rem;
  color: #111;
  background: rgba(255,255,255,.9);
  letter-spacing: .06em;
}
.brand-title { display: block; font-size: clamp(1.15rem,1.6vw,1.6rem); font-weight: normal; }
.brand-artist { display: block; margin-top: .2rem; font-size: clamp(.86rem,1vw,1rem); }
.desktop-nav {
  max-width: var(--max);
  margin: 0 auto .4rem;
  padding: 0 1.5rem;
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  font-size: .98rem;
}
.desktop-nav a { padding: .25rem 0; border-bottom: 1px solid transparent; }
.desktop-nav a[aria-current="page"], .desktop-nav a:hover, .desktop-nav a:focus-visible { border-bottom-color: currentColor; text-decoration: none; }
.mobile-nav { display: none; }
.page-title {
  max-width: var(--max);
  margin: 0 auto .6rem;
  padding: 0 1.5rem;
  text-align: center;
}
.page-title h1 { margin: 0; font-size: clamp(1.25rem,2vw,1.65rem); font-weight: normal; letter-spacing: .04em; }
.page-title p { display: none; }
.subpage main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 13.5rem 1.5rem 3rem;
}
.exhibition-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 560px));
  justify-content: center;
  gap: clamp(2rem,4vw,4.5rem);
}
.exhibit {
  position: relative;
  min-width: 0;
  color: var(--text);
  background: var(--panel);
  padding: clamp(1.25rem,2.4vw,2.3rem) clamp(1.25rem,2.4vw,2.3rem) 3.8rem;
  border: 1px solid rgba(255,255,255,.65);
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
}
.text-exhibit h2, .work h2 { margin: 0 0 1rem; font-weight: normal; line-height: 1.25; letter-spacing: .035em; }
.text-exhibit p { margin: 0; font-size: 1.02rem; }
.work figure { margin: 0; display: flex; flex-direction: column; align-items: center; text-align: center; }
.work img { width: auto; max-width: 100%; max-height: 58vh; margin: 0 auto 1.25rem; object-fit: contain; }
.work h2 { font-size: 1.28rem; }
.work-meta { color: var(--muted); font-size: .98rem; }
.sold { display: inline-block; width: .72em; height: .72em; margin-left: .35em; border-radius: 50%; background: #b60000; vertical-align: baseline; }

/* ==========================================
   Reine Textseiten (Impressum / Datenschutz)
========================================== */

.text-page {
    max-width: 1200px;      /* angenehme Lesebreite */
    margin: 0 auto;         /* mittig */
    padding: 2rem;}
		
.text-page .text-exhibit {
    background: #ffffff;
		color: #000000;
    padding: 2.5rem 3rem;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);}

.text-page .text-exhibit * {
    color: #000000;}
	
	.text-page .text-exhibit a {
    color: #7a0048;
    text-decoration: underline;
}

.text-page h1,
.text-page h2 {margin-top: 0;}

.text-page p,
.text-page li {line-height: 1.7;}

.text-page ul {padding-left: 1.4rem;}

/* Smartphone */

@media (max-width: 900px) {
    .text-page {padding: 1rem;}
    .text-page .text-exhibit {padding: 1.5rem;}
}


/* Pfeilnavigation unten links/rechts  ------------------------------ */
.station-nav {
  position: absolute;
  left: 1.75rem;
  right: 1.75rem;
  bottom: .55rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  line-height: 1;
  pointer-events: none;
}
.station-prev, .station-next {
  min-width: 2rem;
  min-height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #111;
  font-size: 1.8rem;
  font-weight: 600;
  text-decoration: none;
  pointer-events: auto;
}
.station-prev:hover, .station-next:hover, .station-prev:focus-visible, .station-next:focus-visible { text-decoration: none; outline: 1px solid #111; }
.station-disabled { visibility: hidden; }

@media (max-width: 980px) {
  .start-stage-original { padding-top: 1.2cm; }
  .site-header, .desktop-nav, .page-title { display: none; }
  .mobile-nav {
    display: block;
    max-width: var(--max);
    margin: 0 auto;
    padding: .35rem 1rem;
    position: relative;
    z-index: 1001;
  }
  .mobile-toggle { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .mobile-button { display: inline-flex; align-items: center; gap: .65rem; padding: .75rem .95rem; color: #111; background: rgba(255,255,255,.94); cursor: pointer; user-select: none; }
  .hamburger, .hamburger::before, .hamburger::after { display: block; width: 1.35rem; height: 2px; background: #111; content: ""; }
  .hamburger { position: relative; }
  .hamburger::before { position: absolute; top: -.42rem; }
  .hamburger::after { position: absolute; top: .42rem; }
  .mobile-menu { display: none; margin-top: .4rem; padding: .65rem 0; color: #111; background: rgba(255,255,255,.96); }
  .mobile-menu a { display: block; padding: .75rem 1rem; }
  .mobile-toggle:checked ~ .mobile-menu { display: block; }
  .subpage main { padding: 1.5rem 0 3rem; }
  .exhibition-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 1rem;
    gap: 0;
    justify-content: flex-start;
    padding: 0 1rem 1.2rem;
    -webkit-overflow-scrolling: touch;
  }
  .exhibit {
    flex: 0 0 calc(100vw - 2rem);
    max-width: calc(100vw - 2rem);
    min-height: min(72vh, 720px);
    margin-right: 1rem;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-bottom: 3.4rem;
  }
  .work img { max-height: 52vh; }
  .station-nav { left: 1rem; right: 1rem; bottom: .5rem; }
}

@media (max-width: 520px) {
  .text-exhibit p { font-size: .96rem; }
  .work h2 { font-size: 1.15rem; }
  .work-meta { font-size: .92rem; }
}


/* ==========================================
   Korrekturstand v11: explizite Regeln
========================================== */
.start-stage-original {
  padding-top: 2cm !important;
}
.start-image-map {
  position: relative !important;
  width: min(92vw, 622px) !important;
  margin: 0 auto !important;
}
.start-meta-links {
  width: min(92vw, 622px) !important;
  margin: 2.1rem auto 0 !important;
  justify-content: center !important;
  text-align: center !important;
}
.fixed-head {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 99999 !important;
}
.subpage main {
  padding-top: 13.5rem !important;
}
.station-nav {
  position: absolute !important;
  left: 1.75rem !important;
  right: 1.75rem !important;
  bottom: 0.65rem !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: initial !important;
}
.station-prev,
.station-next {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 2rem !important;
  min-width: 2rem !important;
  height: 2rem !important;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 1.8rem !important;
  line-height: 1 !important;
}
@media (max-width: 980px) {
  .fixed-head { position: fixed !important; top: 0 !important; }
  .subpage main { padding-top: 4.6rem !important; }
  .station-nav { left: 1rem !important; right: 1rem !important; bottom: .6rem !important; }
}
