/* Selbstgehostete Webfonts: Montserrat (Fliesstext, Titel & Navigation) */
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/schriften/montserrat-300-700-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/schriften/montserrat-300-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
}

:root {
  color-scheme: light dark;

  /* Hellmodus (1:1 inti.art Gold für Titel/Signet, kontraststarke Links & Buttons) */
  --p-h: #f7f7f7;
  --f-h: #ffffff;
  --fs-h: #f2f2f2;
  --t-h: #333333;
  --ts-h: #0a0a0a;
  --l-h: #6c6c6c;
  --lu-h: #565656;
  --ln-h: #e0e0dc;
  --a-h: #d1a23e;
  --ah-h: #b88824;
  --link-h: #8a6412;
  --link-hover-h: #6e4f0d;
  --k-h: #d1a23e;
  --kt-h: #141414;
  --kh-h: #b88824;
  --schatten-h: 0 10px 28px rgba(0, 0, 0, 0.16), 0 2px 8px rgba(0, 0, 0, 0.08);
  --schatten-alpha-h: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.22));
  --kopf-bg-h: rgba(247, 247, 247, 0.94);

  /* Dunkelmodus (abgestimmt auf aktuar.xyz + inti.art Gold) */
  --p-d: #141414;
  --f-d: #1c1c1c;
  --fs-d: #222222;
  --t-d: #e5e5e2;
  --ts-d: #ffffff;
  --l-d: #a8a8a8;
  --lu-d: #b8b8b5;
  --ln-d: #2f2f2c;
  --a-d: #e0b451;
  --ah-d: #edc973;
  --link-d: #e0b451;
  --link-hover-d: #edc973;
  --k-d: #e0b451;
  --kt-d: #141414;
  --kh-d: #edc973;
  --schatten-d: 0 14px 36px rgba(0, 0, 0, 0.72), 0 0 0 1px rgba(255, 255, 255, 0.05);
  --schatten-alpha-d: drop-shadow(0 14px 26px rgba(0, 0, 0, 0.85));
  --kopf-bg-d: rgba(20, 20, 20, 0.94);

  --papier: var(--p-h);
  --flaeche: var(--f-h);
  --flaeche-sanft: var(--fs-h);
  --tinte: var(--t-h);
  --tinte-stark: var(--ts-h);
  --leise: var(--l-h);
  --leise-stark: var(--lu-h);
  --linie: var(--ln-h);
  --akzent: var(--a-h);
  --akzent-hover: var(--ah-h);
  --link-text: var(--link-h);
  --link-hover: var(--link-hover-h);
  --knopf-bg: var(--k-h);
  --knopf-text: var(--kt-h);
  --knopf-hover: var(--kh-h);
  --schatten-bild: var(--schatten-h);
  --schatten-alpha: var(--schatten-alpha-h);
  --kopf-bg: var(--kopf-bg-h);

  --schrift-text: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --schrift-titel: var(--schrift-text);

  --weit: 67.5rem;
  --weit-galerie-home: 58rem;
  --rand: clamp(1.25rem, 4vw, 2.5rem);
  --raum-20: clamp(0.75rem, 2vw, 1.5rem);
  --raum-30: clamp(1.5rem, 3vw, 2.5rem);
  --raum-40: clamp(2rem, 4.5vw, 3.75rem);
  --raum-50: clamp(3rem, 7vw, 5.5rem);

  accent-color: var(--akzent);
}

:root[data-theme="light"] {
  color-scheme: light;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --papier: var(--p-d);
  --flaeche: var(--f-d);
  --flaeche-sanft: var(--fs-d);
  --tinte: var(--t-d);
  --tinte-stark: var(--ts-d);
  --leise: var(--l-d);
  --leise-stark: var(--lu-d);
  --linie: var(--ln-d);
  --akzent: var(--a-d);
  --akzent-hover: var(--ah-d);
  --link-text: var(--link-d);
  --link-hover: var(--link-hover-d);
  --knopf-bg: var(--k-d);
  --knopf-text: var(--kt-d);
  --knopf-hover: var(--kh-d);
  --schatten-bild: var(--schatten-d);
  --schatten-alpha: var(--schatten-alpha-d);
  --kopf-bg: var(--kopf-bg-d);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --papier: var(--p-d);
    --flaeche: var(--f-d);
    --flaeche-sanft: var(--fs-d);
    --tinte: var(--t-d);
    --tinte-stark: var(--ts-d);
    --leise: var(--l-d);
    --leise-stark: var(--lu-d);
    --linie: var(--ln-d);
    --akzent: var(--a-d);
    --akzent-hover: var(--ah-d);
    --link-text: var(--link-d);
    --link-hover: var(--link-hover-d);
    --knopf-bg: var(--k-d);
    --knopf-text: var(--kt-d);
    --knopf-hover: var(--kh-d);
    --schatten-bild: var(--schatten-d);
    --schatten-alpha: var(--schatten-alpha-d);
    --kopf-bg: var(--kopf-bg-d);
  }
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  background: var(--papier);
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  min-block-size: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--papier);
  color: var(--tinte);
  font: 400 1rem/1.7 var(--schrift-text);
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

main {
  flex: 1 0 auto;
}

picture {
  display: block;
}

img, svg {
  display: block;
  max-inline-size: 100%;
  block-size: auto;
}

a {
  color: var(--link-text);
  text-decoration: none;
}

a:hover, a:focus-visible {
  color: var(--link-hover);
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

:focus-visible {
  outline: 2px solid var(--link-text);
  outline-offset: 3px;
}

.nur-screenreader {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.sprung {
  position: absolute;
  inset-inline-start: -9999px;
}

.sprung:focus {
  position: fixed;
  inset-block-start: 0.75rem;
  inset-inline-start: 0.75rem;
  z-index: 200;
  padding: 0.65rem 1rem;
  border-radius: 4px;
  background: var(--knopf-bg);
  color: var(--knopf-text);
  font-family: var(--schrift-titel);
  font-weight: 500;
  text-decoration: none;
}

h1, h2, h3, h4 {
  font-family: var(--schrift-titel);
  font-weight: 500;
  line-height: 1.2;
  color: var(--akzent);
  text-wrap: balance;
  margin-block: 0;
}

p {
  margin-block: 0;
  text-wrap: pretty;
}

.weit {
  inline-size: min(var(--weit), 100% - 2 * var(--rand));
  margin-inline: auto;
}

.weit-galerie-home {
  inline-size: min(var(--weit-galerie-home), 100% - 2 * var(--rand));
  margin-inline: auto;
}

.fliess > * + * {
  margin-block-start: 1.1rem;
}

.fliess strong, .fliess b {
  font-weight: 600;
  color: var(--tinte-stark);
}

.fliess a:not(.knopf),
.recht-inhalt a:not(.knopf) {
  text-decoration: underline;
  text-underline-offset: 0.22em;
  text-decoration-thickness: 1.5px;
}

.knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-block-size: 2.75rem;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  border: 1px solid transparent;
  background: var(--knopf-bg);
  color: var(--knopf-text);
  font-family: var(--schrift-titel);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
}

.knopf:hover, .knopf:focus-visible {
  background: var(--knopf-hover);
  color: var(--knopf-text);
  text-decoration: none;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-block-size: 2.75rem;
  font-family: var(--schrift-titel);
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--tinte);
  text-decoration: underline;
  text-underline-offset: 0.3em;
  text-decoration-thickness: 1.5px;
}

.text-link:hover, .text-link:focus-visible {
  color: var(--link-text);
}

/* Kopfzeile & Navigation */
.kopf {
  position: sticky;
  inset-block-start: 0;
  z-index: 60;
  background: var(--kopf-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-block-end: 1px solid transparent;
  padding-block: 0.85rem;
}

.kopf-innen {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.marke {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.marke:hover, .marke:focus-visible {
  text-decoration: none;
}

.logo {
  block-size: clamp(2.4rem, 2rem + 1.4vw, 3.5rem);
  inline-size: auto;
  object-fit: contain;
}

:root[data-theme="dark"] .logo,
:root[data-theme="dark"] .fuss-logo {
  filter: brightness(1.06);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .logo,
  :root:not([data-theme="light"]) .fuss-logo {
    filter: brightness(1.06);
  }
}

.kopf-rechts {
  display: flex;
  align-items: center;
  gap: 0.5rem 1.25rem;
}

.kopf-werkzeuge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-liste,
.untermenue {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-liste {
  display: flex;
  align-items: center;
  gap: 0.25rem 1.4rem;
}

.nav-liste > li > a,
.nav-gruppe-knopf {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-block-size: 2.5rem;
  padding: 0.35rem 0.15rem;
  border: 0;
  background: transparent;
  font-family: var(--schrift-titel);
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--leise);
  text-decoration: none;
  cursor: pointer;
}

.nav-liste > li > a:hover,
.nav-liste > li > a:focus-visible,
.nav-liste > li > a[aria-current="page"],
.nav-gruppe-knopf:hover,
.nav-gruppe-knopf:focus-visible,
.nav-gruppe.ist-aktiv > .nav-gruppe-knopf,
.nav-gruppe.ist-offen > .nav-gruppe-knopf {
  color: var(--tinte-stark);
  text-decoration: none;
}

.nav-liste > li > a[aria-current="page"],
.nav-gruppe.ist-aktiv > .nav-gruppe-knopf {
  font-weight: 500;
}

.pfeil-unten {
  flex-shrink: 0;
}

.nav-gruppe {
  position: relative;
}

.untermenue {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 0.75rem;
  padding: 0.15rem 0 0.35rem 0.75rem;
  border-inline-start: 2px solid var(--akzent);
}

.untermenue a {
  display: block;
  padding: 0.4rem 0.5rem;
  font-family: var(--schrift-titel);
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--leise);
  text-decoration: none;
}

.untermenue a:hover,
.untermenue a:focus-visible,
.untermenue a[aria-current="page"] {
  color: var(--tinte-stark);
  background: rgba(209, 162, 62, 0.08);
  text-decoration: none;
}

.untermenue a[aria-current="page"] {
  font-weight: 500;
  color: var(--link-text);
}

html[data-thema-bereit] .untermenue {
  display: none;
}

html[data-thema-bereit] .nav-gruppe.ist-offen > .untermenue {
  display: block;
}

@media (min-width: 60rem) {
  html[data-thema-bereit] .untermenue {
    position: absolute;
    inset-block-start: 100%;
    inset-inline-start: -0.75rem;
    min-inline-size: 16.5rem;
    padding: 0.5rem 0;
    background: var(--flaeche-sanft);
    border: 1px solid var(--linie);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
    z-index: 80;
  }

  html[data-thema-bereit] .untermenue a {
    padding: 0.55rem 1.15rem;
  }

  html:not([data-thema-bereit]) .nav-liste {
    flex-wrap: wrap;
  }

  html:not([data-thema-bereit]) .nav-gruppe {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.25rem 0.65rem;
  }

  html:not([data-thema-bereit]) .nav-gruppe-knopf .pfeil-unten {
    display: none;
  }
}

.nav-gruppe.ist-offen .pfeil-unten {
  transform: rotate(180deg);
}

/* Hell-/Dunkel-Schalter (identisch mit aktuar.xyz) */
.farbwahl,
.menue-knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-inline-size: 2.75rem;
  min-block-size: 2.75rem;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--leise);
  cursor: pointer;
}

.farbwahl:hover,
.farbwahl:focus-visible,
.menue-knopf:hover,
.menue-knopf:focus-visible {
  color: var(--tinte-stark);
}

html:not([data-thema-bereit]) .farbwahl {
  display: none;
}

html:not([data-thema-bereit]) .kopf {
  position: static;
}

.modus-zu-hell { display: none; }
.modus-zu-dunkel { display: inline-flex; }

:root[data-theme="dark"] .modus-zu-dunkel { display: none; }
:root[data-theme="dark"] .modus-zu-hell { display: inline-flex; }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .modus-zu-dunkel { display: none; }
  :root:not([data-theme="light"]) .modus-zu-hell { display: inline-flex; }
}

.menue-knopf {
  display: none;
}

.menue-icon-schliessen {
  display: none;
}

.kopf.menue-offen .menue-icon-oeffnen {
  display: none;
}

.kopf.menue-offen .menue-icon-schliessen {
  display: inline-flex;
}

@media (max-width: 59.999rem) {
  .menue-knopf {
    display: inline-flex;
  }

  html:not([data-thema-bereit]) .menue-knopf {
    display: none;
  }

  .kopf-innen {
    flex-wrap: wrap;
  }

  .kopf-rechts {
    display: contents;
  }

  .kopf-werkzeuge {
    order: 2;
  }

  .hauptnav {
    order: 3;
    flex-basis: 100%;
    padding-block: 0.75rem 0.5rem;
    border-block-start: 1px solid var(--linie);
  }

  html[data-thema-bereit] .hauptnav {
    display: none;
  }

  html[data-thema-bereit] .kopf.menue-offen .hauptnav {
    display: block;
  }

  .nav-liste {
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
  }

  .nav-liste > li > a,
  .nav-gruppe-knopf {
    inline-size: 100%;
    justify-content: space-between;
    padding: 0.55rem 0.25rem;
    font-size: 1rem;
  }

  .untermenue {
    position: static;
    box-shadow: none;
    border: 0;
    border-inline-start: 2px solid var(--akzent);
    background: transparent;
    padding: 0.15rem 0 0.35rem 0.75rem;
    margin-block-end: 0.35rem;
  }

  .untermenue a {
    padding: 0.45rem 0.5rem;
    font-size: 0.9375rem;
  }
}

/* Startseite – Hero (1:1 Übertragung des Revolution Sliders) */
.hero {
  padding-block: clamp(1.5rem, 4vw, 3.5rem) clamp(2.5rem, 6vw, 4.5rem);
}

.hero-raster {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 3.5rem);
}

@media (min-width: 54rem) {
  .hero-raster {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(2rem, 4vw, 4rem);
  }
}

.hero-text {
  display: grid;
  gap: 1.5rem;
  align-content: center;
}

.hero-titel {
  font-family: var(--schrift-titel);
  font-size: clamp(2.35rem, 1.35rem + 3vw, 4rem);
  font-weight: 500;
  line-height: 1.1;
  color: var(--akzent);
}

.hero-untertitel {
  font-family: var(--schrift-titel);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.75;
  letter-spacing: 0.04em;
  color: var(--leise-stark);
}

.hero-buehne {
  display: grid;
  justify-items: center;
  gap: 1rem;
}

.hero-slides {
  position: relative;
  inline-size: min(26.5rem, 100%);
  aspect-ratio: 459 / 468;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slide.ist-aktiv {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.hero-slide picture {
  display: flex;
  align-items: center;
  justify-content: center;
  inline-size: 100%;
  block-size: 100%;
}

.hero-bild {
  max-inline-size: 100%;
  max-block-size: 100%;
  inline-size: auto;
  block-size: auto;
  object-fit: contain;
  box-shadow: var(--schatten-bild);
}

.hero-punkte {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
}

.hero-punkt,
.hero-pause {
  display: inline-grid;
  place-items: center;
  inline-size: 1.5rem;
  block-size: 1.5rem;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--leise);
  cursor: pointer;
}

.hero-punkt::after {
  content: "";
  inline-size: 0.55rem;
  block-size: 0.55rem;
  border-radius: 50%;
  background: var(--leise);
  opacity: 0.55;
}

.hero-punkt:hover::after,
.hero-punkt:focus-visible::after {
  background: var(--tinte-stark);
  opacity: 1;
}

.hero-punkt.ist-aktiv::after {
  background: var(--akzent);
  opacity: 1;
}

.hero-pause {
  margin-inline-start: 0.2rem;
}

.hero-pause:hover,
.hero-pause:focus-visible {
  color: var(--tinte-stark);
}

.hero-play-icon {
  display: none;
}

[data-hero-slider].ist-pausiert .hero-pause-icon {
  display: none;
}

[data-hero-slider].ist-pausiert .hero-play-icon {
  display: block;
}

/* Unterseiten-Kopf (#Subheader 1:1) */
.unterkopf {
  padding-block: clamp(2.75rem, 6.5vw, 5rem) clamp(3rem, 7vw, 6rem);
  text-align: center;
}

.unterkopf-titel {
  font-family: var(--schrift-titel);
  font-size: clamp(1.875rem, 1.3rem + 1.8vw, 3.125rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0.02em;
  color: var(--akzent);
}

/* Sektionen & Galerien (Masonry 1:1) */
.sektion {
  padding-block-end: var(--raum-50);
}

.sektion-galerie-home {
  padding-block-start: 0.5rem;
}

.einleitung {
  max-inline-size: 65ch;
  margin-inline: auto;
  margin-block-end: var(--raum-30);
}

.einleitung-bild-wrap {
  display: flex;
  justify-content: center;
  margin-block: var(--raum-20) var(--raum-30);
}

.einzelbild-link {
  display: inline-block;
}

.einleitung-bild {
  inline-size: min(14rem, 72vw);
  block-size: auto;
}

/* Zero-JS CSS-Columns-Fallback für Masonry */
.galerie {
  --gal-gap: clamp(1.25rem, 2.5vw, 2.25rem);
  column-count: 1;
  column-gap: var(--gal-gap);
}

@media (min-width: 40rem) {
  .galerie-cols-2,
  .galerie-cols-3 {
    column-count: 2;
  }
}

@media (min-width: 64rem) {
  .galerie-cols-3 {
    column-count: 3;
  }
}

.galerie-gap-home {
  --gal-gap: clamp(1.75rem, 3.8vw, 3.5rem);
}

.galerie-gap-normal {
  --gal-gap: clamp(1.5rem, 2.8vw, 2.5rem);
}

.galerie-gap-wide {
  --gal-gap: clamp(1.75rem, 3.2vw, 2.75rem);
}

@media (min-width: 64rem) {
  .galerie-gap-wide {
    --gal-gap: clamp(2.25rem, 4.5vw, 4.25rem);
  }
}

.galerie:not(.ist-masonry) .werk {
  break-inside: avoid;
  margin-block-end: var(--gal-gap);
}

/* JS-gestützte zeilenweise Masonry-Spalten (exakte Elementor-Reihenfolge ohne CLS) */
.galerie.ist-masonry {
  column-count: auto;
  display: flex;
  align-items: flex-start;
  gap: var(--gal-gap);
}

.galerie-spalte {
  flex: 1 1 0;
  min-inline-size: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--gal-gap);
}

.werk {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  inline-size: 100%;
}

.werk-link {
  position: relative;
  display: inline-block;
  max-inline-size: 100%;
  overflow: hidden;
  box-shadow: var(--schatten-bild);
  text-decoration: none;
}

.werk.ist-alpha .werk-link {
  overflow: visible;
  box-shadow: none;
}

.werk.ist-alpha .werk-bild {
  filter: var(--schatten-alpha);
}

.werk-link:hover,
.werk-link:focus-visible {
  text-decoration: none;
}

.werk-bild {
  max-inline-size: 100%;
  block-size: auto;
}

.werk-legende {
  display: grid;
  justify-items: center;
  gap: 0.15rem;
  text-align: center;
  max-inline-size: 32ch;
}

.werk-titel {
  font-family: var(--schrift-titel);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--tinte-stark);
}

.werk-meta,
.werk-hinweis {
  font-family: var(--schrift-text);
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--leise);
}

/* Artist (3-Spalten-Editorial 1:1) */
.artist-raster {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--raum-30);
  align-items: center;
}

@media (min-width: 56rem) {
  .artist-raster {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
  }
}

.artist-kopf {
  display: grid;
  gap: 0.65rem;
  padding: 0;
}

.artist-eyebrow {
  font-family: var(--schrift-text);
  font-size: 0.9375rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--leise);
}

.artist-name {
  font-family: var(--schrift-titel);
  font-size: clamp(2.4rem, 1.8rem + 2.2vw, 4.0625rem);
  font-weight: 600;
  line-height: 1.08;
  color: var(--akzent);
}

.artist-linie {
  inline-size: 15%;
  min-inline-size: 3rem;
  block-size: 0;
  margin: 0.75rem 0 0;
  border: 0;
  border-block-start: 2px solid var(--akzent);
}

.artist-spalte {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 56rem) {
  .artist-spalte {
    padding: clamp(1rem, 2.5vw, 2.2rem);
  }
}

.artist-foto-wrap {
  overflow: hidden;
  box-shadow: var(--schatten-bild);
}

.artist-foto {
  inline-size: 100%;
  block-size: auto;
}

.artist-text {
  font-weight: 400;
  line-height: 1.8;
  color: var(--tinte);
}

/* Atelier */
.atelier-bild-wrap {
  display: flex;
  justify-content: center;
  margin-block-end: var(--raum-40);
}

.atelier-foto {
  inline-size: min(48rem, 100%);
  block-size: auto;
}

.atelier-raster {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--raum-30);
  align-items: start;
}

@media (min-width: 52rem) {
  .atelier-raster {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--raum-40);
  }
}

.atelier-karte-box {
  display: grid;
  background: var(--flaeche);
  border: 1px solid var(--linie);
  overflow: hidden;
}

.karte-grafik {
  border-block-end: 1px solid var(--linie);
}

.karte-svg {
  inline-size: 100%;
  block-size: auto;
}

.karte-boden { fill: var(--flaeche-sanft); }
.karte-wasser { fill: rgba(114, 152, 168, 0.24); }
.karte-nebenstrasse { stroke: var(--linie); stroke-width: 2; }
.karte-hauptstrasse { stroke: var(--leise); stroke-width: 5.5; stroke-linecap: round; opacity: 0.5; }
.karte-haltestelle { fill: var(--flaeche); stroke: var(--akzent); stroke-width: 2; }
.karte-pin-ring { fill: var(--akzent); opacity: 0.18; }
.karte-pin { fill: var(--akzent); }
.karte-pin-kern { fill: var(--flaeche); }
.karte-beschriftung {
  fill: var(--tinte);
  font-family: var(--schrift-titel);
  font-size: 15.5px;
  font-weight: 500;
}
.karte-beschriftung-klein {
  fill: var(--leise);
  font-family: var(--schrift-text);
  font-size: 13.5px;
}
.karte-beschriftung-wasser {
  fill: var(--leise);
  font-family: var(--schrift-titel);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  opacity: 0.78;
}

.karte-inhalt {
  display: grid;
  gap: 0.65rem;
  padding: clamp(1.15rem, 2.5vw, 1.65rem);
}

.karte-titel {
  font-family: var(--schrift-titel);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--tinte-stark);
}

.karte-adresse {
  font-size: 0.9rem;
  color: var(--tinte);
}

.karte-datenschutz {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--leise);
}

.karte-aktionen {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1.35rem;
  margin-block-start: 0.35rem;
}

.atelier-infos {
  line-height: 1.65;
}

.oeffnungszeiten-liste {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.4rem;
}

/* Angebot-Seiten (Split & Figur) */
.angebot-einleitung {
  max-inline-size: 65ch;
  margin-inline: auto;
  margin-block-end: var(--raum-30);
}

.angebot-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--raum-30);
  align-items: start;
}

@media (min-width: 49rem) {
  .angebot-split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--raum-40);
    align-items: center;
  }
}

.angebot-bild-wrap {
  display: flex;
  justify-content: center;
}

.angebot-bild {
  max-inline-size: min(28rem, 100%);
  block-size: auto;
  box-shadow: var(--schatten-bild);
}

.angebot-text {
  max-inline-size: 65ch;
  margin-inline: auto;
  margin-block-end: var(--raum-40);
}

.angebot-figur {
  margin: 0 auto;
  display: grid;
  justify-items: center;
  gap: 0.75rem;
  max-inline-size: 32rem;
}

.angebot-figur.ist-kompakt {
  max-inline-size: 20rem;
}

.angebot-figur-bild {
  inline-size: 100%;
  block-size: auto;
}

.angebot-caption {
  font-size: 0.875rem;
  color: var(--leise);
  text-align: center;
}

/* Kontakt */
.sektion-kontakt {
  padding-block: clamp(3rem, 8vw, 7rem) clamp(4rem, 10vw, 10rem);
}

.kontakt-spalte {
  max-inline-size: 34rem;
}

.kontakt-titel {
  font-size: clamp(2.1rem, 1.5rem + 2vw, 3.25rem);
  font-weight: 500;
  margin-block-end: 1.5rem;
}

/* Rechtliches (analog aktuar.xyz) */
.sektion-recht {
  padding-block: clamp(2.5rem, 6vw, 4.5rem) var(--raum-50);
}

.recht-inhalt {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.95rem;
}

.recht-inhalt h1 {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--leise);
}

.recht-inhalt h2 {
  font-size: clamp(1.85rem, 1.3rem + 1.8vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.12;
  padding-block-end: 1.15rem;
  border-block-end: 1px solid var(--linie);
  margin-block-start: var(--raum-30);
  hyphens: auto;
  -webkit-hyphens: auto;
}

.recht-inhalt h1 + h2 {
  margin-block-start: 0.35rem;
}

.recht-inhalt h3 {
  font-size: clamp(1.2rem, 1.05rem + 0.5vw, 1.5rem);
  font-weight: 500;
  color: var(--tinte-stark);
  padding-block-start: 1.25rem;
  border-block-start: 1px solid var(--linie);
  margin-block-start: 1rem;
}

.recht-inhalt h2 + h3 {
  border-block-start: 0;
  padding-block-start: 0.35rem;
  margin-block-start: 0.35rem;
}

.recht-inhalt p,
.recht-inhalt ul {
  max-inline-size: 64ch;
}

.recht-inhalt ul {
  margin-block: 0;
  padding-inline-start: 1.35rem;
}

.recht-inhalt code {
  font-size: 0.875em;
  padding: 0.1em 0.35em;
  border-radius: 3px;
  background: var(--flaeche-sanft);
}

/* Fehlerseite 404 */
.fehler-box {
  display: grid;
  justify-items: start;
  gap: 1.25rem;
  padding-block: var(--raum-50);
}

.fehler-box h1 {
  font-size: clamp(3rem, 2rem + 4vw, 5rem);
}

/* Fusszeile (1:1 inti.art + dezenter Nach-oben-Link) */
.fuss {
  padding-block: var(--raum-40) var(--raum-30);
  border-block-start: 1px solid var(--linie);
  text-align: center;
}

.fuss-innen {
  display: grid;
  justify-items: center;
  gap: 1.25rem;
}

.fuss-brand {
  display: inline-flex;
  justify-content: center;
}

.fuss-logo {
  inline-size: min(17rem, 72vw);
  block-size: auto;
}

.fuss-adresse {
  display: grid;
  justify-items: center;
  gap: 0.25rem;
  font-style: normal;
  font-size: clamp(0.75rem, 3.2vw, 0.875rem);
  line-height: 1.65;
  color: var(--tinte);
}

.fuss-zeile {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.15rem 0.42rem;
}

.fuss-zeile > span,
.fuss-adresse a {
  white-space: nowrap;
}

.fuss-adresse a {
  color: inherit;
}

.fuss-trenner {
  color: var(--leise);
}

.fuss-adresse a:hover,
.fuss-adresse a:focus-visible {
  color: var(--link-text);
}

.nach-oben {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-inline-size: 2.75rem;
  min-block-size: 2.75rem;
  border-radius: 4px;
  color: var(--leise);
  text-decoration: none;
}

.nach-oben:hover,
.nach-oben:focus-visible {
  color: var(--link-text);
  text-decoration: none;
}

.fuss-unten {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-block-start: var(--raum-30);
  padding-block-start: 1.15rem;
  border-block-start: 1px solid var(--linie);
  font-size: 0.85rem;
  color: var(--leise);
}

.fuss-jahr {
  font-variant-numeric: tabular-nums;
}

.fuss-recht {
  color: var(--leise);
  text-decoration: none;
}

.fuss-recht:hover,
.fuss-recht:focus-visible,
.fuss-recht[aria-current="page"] {
  color: var(--tinte-stark);
  text-decoration: underline;
  text-underline-offset: 0.3em;
}

/* Lightbox (<dialog>) */
.lightbox {
  padding: 0;
  border: 0;
  max-inline-size: 100vw;
  max-block-size: 100dvh;
  inline-size: 100vw;
  block-size: 100dvh;
  background: transparent;
  color: #f5f5f5;
}

.lightbox:modal {
  overscroll-behavior: contain;
}

.lightbox::backdrop {
  background: #0b0b0b;
  overflow: hidden;
  overscroll-behavior: contain;
}

.lightbox [hidden] {
  display: none;
}

.lightbox-rahmen {
  display: grid;
  grid-template-rows: auto 1fr;
  inline-size: 100%;
  block-size: 100%;
  padding: clamp(0.75rem, 2vw, 1.5rem);
  pointer-events: none;
}

.lightbox-leiste {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  pointer-events: auto;
}

.lightbox-zaehler {
  font-family: var(--schrift-titel);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.72);
  font-variant-numeric: tabular-nums;
}

.lightbox-knopf,
.lightbox-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-inline-size: 2.75rem;
  min-block-size: 2.75rem;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  cursor: pointer;
  pointer-events: auto;
}

.lightbox-knopf:hover,
.lightbox-knopf:focus-visible,
.lightbox-nav:hover,
.lightbox-nav:focus-visible {
  background: rgba(209, 162, 62, 0.85);
  color: #141414;
}

.lightbox-buehne {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(0.5rem, 2vw, 1.5rem);
  min-block-size: 0;
}

.lightbox-figur {
  margin: 0;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 0.85rem;
  max-block-size: 100%;
  pointer-events: auto;
}

.lightbox-bild {
  max-inline-size: min(82vw, 72rem);
  max-block-size: calc(100dvh - 15rem);
  inline-size: auto;
  block-size: auto;
  object-fit: contain;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.65);
}

.lightbox-bild.ist-alpha {
  box-shadow: none;
  filter: drop-shadow(0 16px 40px rgba(0, 0, 0, 0.85));
}

.lightbox-info {
  display: grid;
  justify-items: center;
  gap: 0.25rem;
  text-align: center;
  max-inline-size: 46ch;
}

.lightbox-titel {
  font-family: var(--schrift-titel);
  font-size: 1.05rem;
  font-weight: 500;
  color: #e2b85c;
}

.lightbox-beschreibung {
  font-size: 0.875rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
  white-space: pre-line;
}

.lightbox-anfrage {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-block-size: 2.75rem;
  margin-block-start: 0.35rem;
  padding: 0.5rem 1.1rem;
  border-radius: 4px;
  border: 1px solid rgba(226, 184, 92, 0.55);
  color: #e2b85c;
  font-family: var(--schrift-titel);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
}

.lightbox-anfrage:hover,
.lightbox-anfrage:focus-visible {
  background: #e0b451;
  border-color: #e0b451;
  color: #141414;
  text-decoration: none;
}

@media (max-width: 40rem) {
  .lightbox-buehne {
    grid-template-columns: minmax(0, 1fr);
    position: relative;
  }

  .lightbox-bild {
    max-inline-size: 94vw;
    max-block-size: calc(100dvh - 13.5rem);
  }

  .lightbox-nav {
    position: fixed;
    inset-block-start: 50%;
    transform: translateY(-50%);
    z-index: 10;
  }

  .lightbox-zurueck { inset-inline-start: 0.65rem; }
  .lightbox-weiter { inset-inline-end: 0.65rem; }
}

/* Bewegung & Übergänge */
@media (prefers-reduced-motion: no-preference) {
  a,
  .knopf,
  .farbwahl,
  .menue-knopf,
  .nav-gruppe-knopf,
  .pfeil-unten,
  .hero-punkt,
  .hero-pause,
  .nach-oben,
  .lightbox-knopf,
  .lightbox-nav {
    transition: color 180ms ease, background-color 180ms ease, transform 180ms ease, opacity 180ms ease;
  }

  .hero-slide {
    transition: opacity 900ms ease, visibility 900ms ease;
  }

  .werk-bild {
    transition: transform 600ms ease;
  }

  .werk-link:hover .werk-bild,
  .werk-link:focus-visible .werk-bild {
    transform: scale(1.025);
  }

  .artist-foto {
    transition: transform 350ms ease;
  }

  .artist-foto-wrap:hover .artist-foto {
    transform: scale(1.03);
  }

  .nach-oben:hover {
    transform: translateY(-2px);
  }
}

/* Barrierefreiheit: Forced Colors */
@media (forced-colors: active) {
  .knopf { border-color: ButtonText; }
  :focus-visible { outline-color: Highlight; }
  .untermenue, .atelier-karte-box, .recht-inhalt h2, .recht-inhalt h3 { border-color: CanvasText; }
}

/* Druckansicht (wie aktuar.xyz immer im sauberen Hellmodus) */
@media print {
  :root,
  :root[data-theme="dark"],
  :root:not([data-theme="light"]) {
    color-scheme: light;
    --papier: var(--p-h);
    --flaeche: var(--f-h);
    --flaeche-sanft: var(--fs-h);
    --tinte: #000000;
    --tinte-stark: #000000;
    --leise: #444444;
    --linie: #cccccc;
    --akzent: #8a6412;
  }

  .sprung,
  .hauptnav,
  .farbwahl,
  .menue-knopf,
  .nach-oben,
  .hero-punkte,
  .lightbox {
    display: none;
  }

  body, .kopf, .fuss {
    background: #ffffff;
    color: #000000;
  }
}
