/* Atelier ReGitt – Stil. Maße und Farben stammen von der bisherigen Seite (gemessen 2026-10-26, siehe SPEC Abschnitt 4). */
/* Vollkorn (SIL Open Font License 1.1, Lizenztext in /schrift/OFL.txt): lateinische Teilmenge, nur die Beschriftung auf dem Hero */
@font-face {
  font-family: Vollkorn; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/schrift/vollkorn-latin-400.woff2) format("woff2");
}

:root {
  --schwarz: #000;
  --navy: #193f52;
  --orange: #ba5205;
  --flaeche: #fcfcfc;
  --text: #666;
  --breite: 1080px;
  --rand: 35px;
  --serif: Vollkorn, Georgia, "Times New Roman", serif;
  /* Beschriftung auf dem Hero: Orange gegenüber dem Logo aufgehellt, damit sie auf Navy lesbar ist (etwa 4,2:1 statt 2:1) */
  --folie-text: #e8873a;
  --folie-grund: #193f52;
}

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

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--schwarz);
  color: #333;
  font: 13px/1.5 "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
}

img, svg { max-width: 100%; }
img { height: auto; }

a { color: var(--navy); text-decoration: none; }
a:hover, a:focus-visible { color: var(--orange); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

.nur-lesen {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap; border: 0;
}

.sprunglink {
  position: absolute; left: -9999px; top: 0; z-index: 200; padding: 12px 16px;
  background: #f1f1f1; color: #1a1a1a; font-weight: 700;
}
.sprunglink:focus { left: 6px; top: 6px; }

.rahmen { width: min(var(--breite), 100% - 2 * var(--rand)); margin-inline: auto; }

/* ---------- Kopf und Navigation ---------- */
.kopf { background: #fff; }
.logo { display: block; }
.logo img { display: block; width: 100%; height: auto; }

.hauptnav { background: var(--schwarz); position: sticky; top: 0; z-index: 50; }
.hauptnav .rahmen { width: min(var(--breite), 100% - 2 * var(--rand)); }
.menue-knopf, .menue-kopf { display: none; }

/* rechts 59 px frei: so viel Platz belegte auf der alten Seite das Suchfeld, die Einträge behalten ihre Lage */
.menue { list-style: none; margin: 0; padding: 0 59px 0 0; text-align: right; font-size: 0; }
.menue > li { display: inline-block; position: relative; font-size: 20px; line-height: 30px; }
.menue a {
  display: block; padding: 20px 35px; line-height: 20px; font-weight: 700; color: #e2e2e2;
}
.menue a:hover, .menue a:focus-visible { color: #fff; }
.menue > li:hover > a, .menue > li:focus-within > a { background: var(--navy); color: #fff; }
/* Bereich der aktuellen Seite: Hauptpunkt (auch auf Unterseiten und Angeboten) wie beim Überfahren, aktueller Unterpunkt ebenso */
.menue > li.aktiv > a, .untermenue a[aria-current] { background: var(--navy); color: #fff; }
.menue-bereich { display: none; }
.menue a:focus-visible { outline-offset: -3px; outline-color: #fff; }

.unter-knopf { display: none; }
.untermenue {
  list-style: none; margin: 0; padding: 0; position: absolute; left: 0; top: 100%; z-index: 60;
  background: #464646; box-shadow: 0 1px 2px rgba(0, 0, 0, .15); text-align: left;
  visibility: hidden; opacity: 0; transition: opacity .25s ease;
}
.untermenue li { display: block; font-size: 20px; line-height: 30px; }
.untermenue a { width: 200px; padding: 15px 20px; }
.untermenue a:hover, .untermenue a:focus-visible { background: var(--navy); color: #fff; }
.menue > li:hover > .untermenue, .menue > li:focus-within > .untermenue { visibility: visible; opacity: 1; }

/* ---------- Hero ---------- */
.hero { position: relative; background: #eee; }
.hero-bahn {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  width: 100%; aspect-ratio: 1080 / 400; max-height: 400px;
}
.hero-bahn::-webkit-scrollbar { display: none; }
.folie { flex: 0 0 100%; position: relative; overflow: hidden; scroll-snap-align: start; }
.folie-bild { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.folie-bild-2 { object-position: 53% 42%; }
.folie-buehne {
  position: absolute; top: 0; bottom: 0; left: 50%; width: min(100%, var(--breite)); translate: -50% 0;
  display: grid; place-items: center; pointer-events: none;
}
.folie-text {
  width: 86.11%; margin: 0; text-align: center; color: var(--folie-text);
  background: color-mix(in srgb, var(--folie-grund) 95%, transparent);
  font: 400 min(47px, 4.35vw) / 1.5 var(--serif);
}
.hero-pfeil {
  display: none; position: absolute; top: 50%; translate: 0 -50%; width: 32px; height: 32px; padding: 0; border: 0;
  background: none; color: #fff; opacity: .8; cursor: pointer;
}
.js .hero-pfeil { display: block; }
.hero-pfeil:hover { opacity: 1; }
.hero-pfeil svg { display: block; width: 32px; height: 32px; }
.hero-zurueck { left: 15px; }
.hero-weiter { right: 15px; }

/* ---------- Inhalt und Seitenleiste ---------- */
.haupt { background: var(--flaeche); padding: var(--rand) 0; }
.haupt-spalten { display: flex; justify-content: space-between; align-items: flex-start; }
.inhalt { flex: 0 0 71.287%; min-width: 0; color: var(--text); font-size: 13px; line-height: 1.6; }
.seitenleiste { flex: 0 0 23.759%; min-width: 0; }

.ohne-seitenleiste .inhalt { flex-basis: 100%; }
.seitentitel { margin: 0 0 20px; font-size: 20px; line-height: 27px; font-weight: 500; color: #3b3b3b; }
.bild-breit { margin: 0 0 1em; }
.bild-breit img { display: block; width: 100%; height: auto; }
.inhalt ul:not([class]) { margin: 0 0 1em; padding-left: 40px; }
.inhalt h2 { margin: 1.8em 0 .6em; font-size: 16px; line-height: 1.4; font-weight: 700; color: #3b3b3b; }
.inhalt h3 { margin: 1.4em 0 .5em; font-size: 14px; line-height: 1.4; font-weight: 700; color: #3b3b3b; }
.preise { border-collapse: collapse; margin: 0 0 1em; }
.preise th, .preise td { padding: 0 0 13px; font-weight: 400; text-align: left; vertical-align: top; }
.preise td { padding-left: 14px; }

/* Beitrag einer Sammlung: Bild 720×380 (mittig beschnitten), Titel, Text, Vorher/Nachher */
.beitrag-bild { max-width: 720px; aspect-ratio: 720 / 380; margin: 0 0 20px; overflow: hidden; }
.beitrag-bild img { display: block; width: 100%; height: 100%; object-fit: cover; }
.beitragsnav { display: flex; justify-content: space-between; gap: 12px; margin: 40px 0; padding-top: 20px; border-top: 1px solid #eee; }
.beitragsnav a {
  display: inline-block; padding: 6px 10px; border: 1px solid; border-color: #d2d2d2 #c3c3c3 #9f9f9f; border-radius: 3px;
  background: linear-gradient(to top, #dfdfdf, #fff); color: var(--navy); font-size: 11px; line-height: 16.5px; font-weight: 700;
}
.beitragsnav a:hover, .beitragsnav a:focus-visible { border-color: #dadada #cfcfcf #a8a8a8; background: linear-gradient(to top, #ebebeb, #fff); color: var(--navy); }
.beitragsnav-weiter { margin-left: auto; text-align: right; }
.beitragsnav-zurueck .meta-nav { margin-right: 7px; }
.beitragsnav-weiter .meta-nav { margin-left: 7px; }

/* Übersicht der Angebote: alle Karten als Raster, Quadratbilder 135 px (am Handy zwei Spalten, siehe unten) */
.uebersicht { display: grid; grid-template-columns: repeat(auto-fill, 135px); gap: 20px 15px; margin: 0; padding: 0; list-style: none; }
.karte { display: block; color: #474747; }
.karte:hover, .karte:focus-visible { color: #474747; }
.karte-bild { position: relative; display: block; width: 135px; height: 135px; overflow: hidden; }
.karte-foto { display: block; width: 100%; height: 100%; object-fit: cover; }
.karte-ueberlagerung { position: absolute; inset: 0; background: #3279bb; opacity: 0; transition: opacity .35s; }
.karte:hover .karte-ueberlagerung, .karte:focus-visible .karte-ueberlagerung { opacity: .5; }
.karte-titel { display: block; margin-top: 10px; font-size: 15px; line-height: 24px; font-weight: 500; text-align: center; }

/* Künstlerinnen-Übersicht und Biografien */
.kuenstler-paar { display: flex; justify-content: space-between; margin-bottom: 13px; }
.kuenstler { flex: 0 0 43.89%; min-width: 0; }
.kuenstler-name {
  margin: 0; padding-top: 20px; font-size: 26px; line-height: 36px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase;
  text-align: center; color: #444;
}
.kuenstler-name::after { content: ""; display: block; margin: 20px 60px 0; border-top: .8px solid #eee; }
.kuenstler a { display: block; margin-top: 76px; }
.kuenstler img { display: block; width: 100%; height: auto; }
.medien-text { display: grid; grid-template-columns: 28% 1fr; align-items: center; margin: 0 0 25px; }
.medien-text-bild { margin: 0; }
.medien-text-bild img { display: block; width: 100%; height: auto; }
.medien-text-inhalt { padding: 0 8%; }
.inhalt .medien-text-inhalt p { margin: 16px 0; }
.medien-text-inhalt .text-sehr-gross { margin: 36px 0; font-size: 36px; line-height: 1.6; font-weight: 400; }

/* Kontaktseite: drei Knöpfe */
.knopfreihe { display: flex; justify-content: space-between; gap: 26px; margin: 83px 0 50.6px; }
.knopfreihe > div { display: flex; flex: 1 1 0; justify-content: center; }
.knopf {
  display: inline-flex; align-items: center; gap: 16px; padding: 16.9px 33.8px; border: .8px solid #fff; border-radius: .25px; color: #fff;
  font-size: 16.9px; line-height: 16.9px; text-shadow: 0 1px 0 rgb(0 0 0 / .05);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .2), 0 1px 2px rgb(0 0 0 / .067);
}
.knopf { white-space: nowrap; }
.knopf:hover, .knopf:focus-visible { color: #fff; }
.knopf svg { flex: none; width: 22px; height: 22px; margin: -2.2px 0 -4.4px -16px; fill: #fff; }
.knopf-orange { background: linear-gradient(to top, #883c04, #ba5205); }
.knopf-orange:hover { background: linear-gradient(to top, #924004, #c45605); }
.knopf-navy { background: linear-gradient(to top, #0d212b, #193f52); }
.knopf-navy:hover { background: linear-gradient(to top, #0f2733, #1b455a); }
.knopf-schwarz { background: #000; }
.knopf-schwarz:hover { background: #050505; }
.mail-ohne-skript { margin: 25px 0 0; text-align: center; }

/* Galerie: Kacheln 244×164 (weiß, Bild eingepasst), drei Spalten, mittig */
.galerie-raster { display: grid; grid-template-columns: repeat(auto-fill, 244px); justify-content: center; margin: 0; padding: 0; list-style: none; }
.galerie-raster li { padding: 2px; }
.galerie-kachel { display: block; width: 240px; height: 160px; background: #fff; }
.galerie-foto { display: block; width: 100%; height: 100%; object-fit: contain; }

/* Lightbox: weißer Rahmen auf 70 % Schwarz, Bild, Titel, Zähler und Knöpfe (wird von app.js als <dialog> angelegt) */
.lightbox { max-width: none; max-height: none; padding: 0; border: 0; background: transparent; overflow: visible; }
.lightbox::backdrop { background: rgb(0 0 0 / .7); }
.lightbox-rahmen { margin: 0; padding: 15px 15px 8px; background: #fff; color: #333; }
/* Breite = echte Breite der größten Variante (--bild-breite, setzt app.js), nie größer als das Fenster: kleine Quellen werden nicht aufgeblasen */
.lightbox-bild {
  display: block; width: auto; height: auto; max-width: min(var(--bild-breite, 100%), calc(100vw - 60px)); max-height: calc(100vh - 130px);
  margin: 0 auto;
}
.lightbox-leiste { display: flex; align-items: center; gap: 14px; min-height: 40px; padding-top: 8px; font-size: 13px; line-height: 20px; }
.lightbox-titel { font-weight: 700; }
.lightbox-zaehler { color: #666; }
.lightbox-knoepfe { display: flex; gap: 6px; margin-left: auto; }
.lightbox-knopf {
  display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 1px solid #c3c3c3; border-radius: 3px;
  background: linear-gradient(to top, #dfdfdf, #fff); color: var(--navy); cursor: pointer;
}
.lightbox-knopf:hover, .lightbox-knopf:focus-visible { background: linear-gradient(to top, #ebebeb, #fff); }
.lightbox-knopf svg { width: 14px; height: 14px; }
html.lightbox-offen { overflow: hidden; }
.inhalt p { margin: 0 0 1em; }
.inhalt h1.text-gross { margin: 0 0 16px; }
.text-gross { font-size: 16px; line-height: 1.6; }
.trenner { box-sizing: content-box; height: 1px; margin: 6.5px 0 19.5px; border: 0; border-top: 1.6px solid #808080; background: #ccc; }
.spalten { display: flex; gap: 26px; margin: 0 0 25px; padding-bottom: 36px; }
.spalten > * { flex: 1 1 0; margin: 0 !important; font-size: 18px; line-height: 1.6; }
.spalten + p { margin-top: 0; }
.inhalt > :last-child { margin-bottom: 0; }
.inhalt > .medien-text:last-child { margin-bottom: 25px; }

.widget { margin: 0 0 40px; color: #5e5e5e; }
.widget:last-child { margin-bottom: 0; }
.widget-titel { margin: 0 0 15px; font-size: 15px; line-height: 1.5; font-weight: 700; color: #3b3b3b; }
.adressen p { margin: 0 0 1.5em; }
.adressen p:last-child { margin: 0; }
.widget-zeile { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 0 5px; min-height: 37.5px; }
.widget-zeile .widget-titel { margin: 0 -1px 0 0; line-height: 25.6px; }

.symbol {
  display: flex; align-items: center; justify-content: center; width: 25.6px; height: 25.6px;
  border: 1px solid; border-radius: 3px; color: #fff;
}
.symbol svg { width: 12px; height: 12px; fill: #fff; }
.symbol:hover, .symbol:focus-visible { color: #fff; filter: brightness(1.1); }
.symbol-facebook { background: linear-gradient(to top, #597ac7, #6483cb); border-color: #466bc1; }
.symbol-mail { background: linear-gradient(to top, #34aadc, #41afde); border-color: #249ed2; }
.symbol-telefon { background: linear-gradient(to top, #4cd964, #59dc6f); border-color: #37d552; }

/* ---------- Fuß ---------- */
.fuss { background: var(--schwarz); padding: 30px 0; color: #b9b9b9; }
.fuss-spalten { width: min(var(--breite), 100% - 60px); display: grid; grid-template-columns: repeat(3, 1fr); }
.fuss section { padding: 0 15px; }
.fuss-titel { margin: 0 0 20px; font-size: 14px; line-height: 21px; font-weight: 700; color: #e2e2e2; }
.fuss p { margin: 0 0 1.5em; }
.fuss p:last-child { margin: 0; }
.fuss-liste { list-style: none; margin: 0; padding: 0; }
.fuss-liste a { display: block; margin-bottom: 3px; padding-bottom: 3px; border-bottom: 1px solid #b9b9b9; color: #ccc; }
.fuss-liste a:hover, .fuss-liste a:focus-visible { color: #fff; }

.nach-oben {
  position: fixed; right: 20px; bottom: 20px; padding: 20px; border-radius: 3px; background: var(--schwarz); z-index: 150;
  opacity: 0; scale: 0; transition: opacity .2s ease, scale .2s ease;
}
.nach-oben svg { display: block; width: 18px; height: 18px; }
.nach-oben.sichtbar { opacity: .2; scale: 1; }
.nach-oben.sichtbar:hover, .nach-oben.sichtbar:focus-visible { opacity: .8; }

/* ---------- Schmale Fenster ---------- */
@media (max-width: 980px) {
  .hauptnav { position: static; }
  .menue { padding-right: 0; text-align: left; font-size: 0; }
  .menue > li { display: block; font-size: 17px; }
  .menue a { padding: 18px 22px; font-weight: 400; color: #fff; }
  .menue > li:hover > a, .menue > li:focus-within > a { background: none; }
  .menue > li.aktiv > a, .untermenue a[aria-current] { background: none; color: var(--folie-text); font-weight: 700; }
  .js .menue-bereich { display: block; margin-right: auto; font-weight: 400; color: #fff; }
  .untermenue {
    position: static; visibility: visible; opacity: 1; background: none; box-shadow: none; padding-left: 22px;
  }
  .untermenue li { font-size: 16px; }
  .untermenue a { width: auto; padding: 14px 22px; color: #d0d0d0; }

  .js .menue-knopf {
    display: flex; align-items: center; justify-content: flex-end; gap: 8px; width: calc(100% + 2 * var(--rand));
    margin-inline: calc(-1 * var(--rand)); padding: 20px var(--rand); border: 0; background: none; color: #e2e2e2;
    font: 700 20px/22px "Helvetica Neue", Helvetica, Arial, sans-serif; cursor: pointer;
  }
  .js .menue-knopf svg { width: 18px; height: 18px; fill: #e2e2e2; }
  .js .menue-box { display: none; }
  .js .menue-box.offen {
    display: block; position: fixed; inset: 0; z-index: 300; overflow-y: auto; background: #222; color: #fff;
  }
  .js .menue-kopf {
    display: flex; align-items: center; justify-content: center; position: relative; min-height: 53px; background: #111;
    font-size: 20px; line-height: 1; color: #fff;
  }
  .js .menue-zu {
    position: absolute; right: 8px; top: 50%; translate: 0 -50%; display: grid; place-items: center; width: 44px; height: 44px;
    border: 0; background: none; color: #fff; cursor: pointer;
  }
  .js .menue-box .menue {
    margin: 12px; border: 1px solid #333; border-radius: 8px; background: #212121; padding: 0 4px;
  }
  .js .menue > li { position: relative; border-top: 1px solid #333; margin: 0 10px; }
  .js .menue > li:first-child { border-top: 0; }
  .js .hat-unter > a { padding-right: 56px; }
  .js .unter-knopf {
    display: grid; place-items: center; position: absolute; right: 0; top: 0; width: 52px; height: 57px;
    border: 0; background: none; color: #fff; cursor: pointer;
  }
  .js .unter-knopf svg { transition: rotate .2s ease; }
  .js .hat-unter.offen .unter-knopf svg { rotate: 90deg; }
  .js .untermenue { display: none; }
  .js .hat-unter.offen .untermenue { display: block; }
  html.menue-offen, html.menue-offen body { overflow: hidden; }
}

@media (max-width: 700px) {
  .hero-pfeil { display: none; }
}

@media (max-width: 680px) {
  /* Lesbar am Handy: Fließtext 16 px statt 13 px, Tipp-Flächen mindestens 44 px, keine doppelten Adressen (stehen im Fuß) */
  .inhalt, .widget { font-size: 16px; }
  .fuss { font-size: 15px; }
  .fuss-titel { font-size: 16px; }
  .text-gross { font-size: 18px; }
  .inhalt h2 { font-size: 19px; }
  .inhalt h3 { font-size: 17px; }
  .widget-adressen { display: none; }
  .widget { margin-bottom: 16px; }
  .widget-zeile { align-items: center; gap: 0 10px; }
  .widget-zeile .widget-titel { min-width: 7.5em; line-height: 44px; }
  .symbol { width: 44px; height: 44px; }
  .symbol svg { width: 18px; height: 18px; }
  .fuss section p { margin: 0; }
  .fuss-liste a { padding: 10px 0; }
  .beitragsnav a { padding: 10px 14px; font-size: 13px; }
  .lightbox-knopf { width: 44px; height: 44px; }
  .uebersicht { grid-template-columns: repeat(2, 1fr); }
  .karte-bild { width: 100%; height: auto; aspect-ratio: 1; }
  .kopf { padding-bottom: 30px; }
  .galerie-raster { grid-template-columns: repeat(2, 1fr); }
  .galerie-kachel { width: auto; height: auto; aspect-ratio: 3 / 2; }
  .lightbox-rahmen { padding: 8px 8px 4px; }
  .lightbox-bild { max-width: min(var(--bild-breite, 100%), calc(100vw - 32px)); max-height: calc(100vh - 110px); }
  .lightbox-leiste { flex-wrap: wrap; gap: 4px 12px; }
  .kuenstler-paar { display: block; }
  .kuenstler { margin-bottom: 35px; }
  .knopfreihe { display: block; margin-top: 40px; }
  .knopfreihe > div { margin-bottom: 20px; }
  .knopf { display: flex; width: 100%; white-space: normal; }
  .haupt-spalten { display: block; }
  .seitenleiste { margin-top: 35px; }
  .fuss-spalten { display: block; }
  .fuss section { padding: 0 0 25px; margin: 0 0 25px; }
  .fuss section:last-child { margin-bottom: 0; }
  .spalten { display: block; padding-bottom: 0; }
  .spalten > * { margin-bottom: 18px !important; }
}

@media (max-width: 600px) {
  .medien-text { display: block; }
  .medien-text-bild { margin-bottom: 20px; }
  .medien-text-inhalt { padding: 0; }
  .hero-bahn { aspect-ratio: 375 / 252; max-height: none; }
  .folie-text { width: calc(100% - 40px); font-size: clamp(26px, 10.5vw, 47px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
