/*
@import url('https://fonts.googleapis.com/css2?family=Work+Sans&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Work+Sans:ital@1&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Asap:ital,wght@0,100..900;1,100..900&display=swap');
*/
@font-face {
  font-family: 'Source Sans 3';
  font-style: italic;
  font-weight: 200;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/sourcesans3/v18/nwpDtKy2OAdR1K-IwhWudF-R3woAa8opPOrG97lwqDlO9C4.ttf) format('truetype');
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/sourcesans3/v18/nwpDtKy2OAdR1K-IwhWudF-R3woAa8opPOrG97lwqOdO9C4.ttf) format('truetype');
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/sourcesans3/v18/nwpDtKy2OAdR1K-IwhWudF-R3woAa8opPOrG97lwqLlO9C4.ttf) format('truetype');
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/sourcesans3/v18/nwpDtKy2OAdR1K-IwhWudF-R3woAa8opPOrG97lwqItO9C4.ttf) format('truetype');
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/sourcesans3/v18/nwpDtKy2OAdR1K-IwhWudF-R3woAa8opPOrG97lwqGdJ9C4.ttf) format('truetype');
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/sourcesans3/v18/nwpDtKy2OAdR1K-IwhWudF-R3woAa8opPOrG97lwqF5J9C4.ttf) format('truetype');
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: italic;
  font-weight: 800;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/sourcesans3/v18/nwpDtKy2OAdR1K-IwhWudF-R3woAa8opPOrG97lwqDlJ9C4.ttf) format('truetype');
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: italic;
  font-weight: 900;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/sourcesans3/v18/nwpDtKy2OAdR1K-IwhWudF-R3woAa8opPOrG97lwqBBJ9C4.ttf) format('truetype');
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 200;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/sourcesans3/v18/nwpBtKy2OAdR1K-IwhWudF-R9QMylBJAV3Bo8Kw461EN.ttf) format('truetype');
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/sourcesans3/v18/nwpBtKy2OAdR1K-IwhWudF-R9QMylBJAV3Bo8Kzm61EN.ttf) format('truetype');
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/sourcesans3/v18/nwpBtKy2OAdR1K-IwhWudF-R9QMylBJAV3Bo8Ky461EN.ttf) format('truetype');
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/sourcesans3/v18/nwpBtKy2OAdR1K-IwhWudF-R9QMylBJAV3Bo8KyK61EN.ttf) format('truetype');
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/sourcesans3/v18/nwpBtKy2OAdR1K-IwhWudF-R9QMylBJAV3Bo8Kxm7FEN.ttf) format('truetype');
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/sourcesans3/v18/nwpBtKy2OAdR1K-IwhWudF-R9QMylBJAV3Bo8Kxf7FEN.ttf) format('truetype');
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/sourcesans3/v18/nwpBtKy2OAdR1K-IwhWudF-R9QMylBJAV3Bo8Kw47FEN.ttf) format('truetype');
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/sourcesans3/v18/nwpBtKy2OAdR1K-IwhWudF-R9QMylBJAV3Bo8KwR7FEN.ttf) format('truetype');
}
/* ---------------------------------------------------------------------------------------------------- */
/* Allgemeine Styles */
/* ---------------------------------------------------------------------------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Source Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 100;
  font-size: 24px;
  line-height: 1.5;
  font-style: normal;
  text-decoration: none;
}
html,
body {
  height: 100%;
  margin: 0;
}
body {
  background-color: #f7ebdd;
}
body.home {
  background-color: #f7ebdd;
}
body {
  font-family: Arial, sans-serif;
  font-size: 24px;
}
h1,
h2,
h3,
h4 {
  font-weight: 700;
  font-size: 40px;
  line-height: 1;
  text-transform: lowercase;
  color: #a70335;
}
a {
  text-decoration: none;
  color: #e94f35;
  font-weight: 700;
  transition: 0.5s;
}
a:hover {
  color: #ee7763;
  text-decoration: underline;
}
.text-block .link-prefix::before {
  content: "";
  display: inline-block;
  margin-right: 0.2em;
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 10px solid currentColor;
}
.text-block .link-prefix {
  font-weight: 700;
  white-space: nowrap;
}
strong {
  color: #e94f35;
  font-weight: 700;
}
#page_content {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 100vw;
}
#edit_page {
  display: block;
  position: fixed;
  bottom: calc(50vh - 20px);
  right: -2px;
  height: 40px;
  width: 40px;
  border-top-left-radius: 50%;
  border-bottom-left-radius: 50%;
  border: 2px solid white;
  background: #006e9f;
  color: white;
  padding-left: 11px;
  font-size: 24px;
  filter: drop-shadow(0px 2px 2px #000000);
  transition: 0.5s;
}
#edit_page:hover {
  background: #00b1ff;
  height: 60px;
  width: 60px;
  padding-left: 14px;
  font-size: 35px;
  bottom: calc(50vh - 30px);
}
.container_header,
.container_main,
.container_footer {
  width: 90vw;
  max-width: 1400px;
  margin: 0 auto;
}
.container_footer {
  color: white;
}
.container_footer .copyright {
  font-size: 0.7em;
}
.container_fullwidth {
  width: 100vw;
  margin: 20px auto;
}
.container_fullwidth img {
  width: 100%;
}
#parallax-container {
  position: relative;
  width: 100vw;
  height: 80vh;
  overflow: hidden;
}
#parallax-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 110%;
  height: 110%;
  background-size: cover;
  background-position: center;
  transition: transform 0.05s ease;
}
/* ---------------------------------------------------------------------------------------------------- */
/* Page loading */
/* ---------------------------------------------------------------------------------------------------- */
#pageloading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #a70335;
  /* Stelle sicher, dass @primary-color im CSS-Setup definiert ist */
  z-index: 9999999999999999;
  transition: opacity 0.5s;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Spinner */
#pageloading::before {
  content: "";
  width: 50px;
  height: 50px;
  border: 3px solid rgba(247, 235, 221, 0.3);
  border-top: 3px solid #f7ebdd;
  border-bottom: 3px solid #f7ebdd;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
/* Animation für den Spinner */
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
/* ---------------------------------------------------------------------------------------------------- */
/* Header */
/* ---------------------------------------------------------------------------------------------------- */
header {
  background-color: transparent;
  padding: 0px 0px;
  position: fixed;
  z-index: 99999;
  top: 0;
  width: 100vw;
  transition: 0.5s;
  min-height: 45px;
  /* Logo */
  /* Hamburger Button */
  /* Hamburger zu Kreuz Animation */
}
header .container_header {
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  align-items: flex-start;
}
header .logo {
  background: transparent;
  margin-top: -1px;
  padding: 0;
  display: inline-block;
  transition: 0.5s;
}
header .logo img {
  max-width: 75vw;
  height: 100px;
  margin-top: 18px;
  transition: 0.5s;
  width: auto;
}
header .logo img.brush {
  max-width: 75vw;
  height: 190px;
  transition: 0.5s;
  margin-top: 0px;
}
@media (max-width: 600px) {
  header .logo img.brush {
    height: 32vw;
  }
}
header .hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  position: absolute;
  top: 4px;
  right: 10px;
  z-index: 1001;
  /* Höher als der mobile-nav */
  transition: 0.5s ease;
}
header .hamburger div {
  width: 40px;
  height: 4px;
  background-color: black;
  margin: 4px 0;
  transition: transform 0.3s ease, background-color 0.3s ease;
}
header .hamburger.open div:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}
header .hamburger.open div:nth-child(2) {
  opacity: 0;
}
header .hamburger.open div:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}
header.small,
header.subpage {
  padding: 0px;
  background-color: rgba(247, 235, 221, 0.75);
}
header.small .logo,
header.subpage .logo {
  background: transparent;
  height: 0px;
  margin-top: 0;
  padding-top: 0;
  padding: 0;
}
header.small .logo img,
header.subpage .logo img {
  height: 43px;
  margin-top: 3px;
  width: auto;
}
header.small .hamburger,
header.subpage .hamburger {
  top: 4px;
}
header.small nav,
header.subpage nav {
  margin-top: 0px;
}
body.home header.small {
  background-color: rgba(247, 235, 221, 0.75);
}
/* ---------------------------------------------------------------------------------------------------- */
/* Main */
/* ---------------------------------------------------------------------------------------------------- */
main {
  flex-grow: 1;
  padding-top: 175px;
  padding-top: 190px;
}
main #contentviewport {
  opacity: 0;
  transition: opacity 0.5s;
}
main p {
  margin-bottom: 30px;
}
/* ---------------------------------------------------------------------------------------------------- */
/* Footer */
/* ---------------------------------------------------------------------------------------------------- */
footer {
  background-color: transparent;
  /* Grau für den Footer */
  text-align: center;
  padding: 10px 20px;
  position: relative;
  width: 100%;
  bottom: 0;
  min-height: 100px;
}
footer .logobar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
footer .logobar img {
  max-height: 60px;
  width: auto;
  margin-bottom: 20px;
}
footer .logobar img.sw {
  max-height: 30px;
}
/* ---------------------------------------------------------------------------------------------------- */
/* Navigation */
/* ---------------------------------------------------------------------------------------------------- */
nav {
  margin-top: 50px;
  display: flex;
  transition: 0.5s;
}
nav ul {
  list-style-type: none;
  display: flex;
  gap: 20px;
  /* Abstand zwischen den Menüeinträgen */
}
nav ul li {
  position: relative;
  /* Notwendig für die Positionierung der Dropdowns */
  display: inline-block;
}
nav ul li a {
  color: #000;
  /* Textfarbe der Links */
  font-weight: 600;
  padding: 5px 10px;
  display: block;
  text-transform: lowercase;
  border-bottom: 2px solid transparent;
  text-decoration: none;
}
nav ul li a:hover {
  text-decoration: none;
  color: #000;
  border-bottom: 2px solid black;
}
/* Dropdown Menu */
nav ul li ul {
  display: block;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #a70335;
  /* Hintergrundfarbe des Dropdowns */
  padding: 0;
  list-style-type: none;
  margin: 0;
  border-radius: 5px;
  overflow: hidden;
  max-height: 0;
  /* Initial verstecken */
  opacity: 0;
  /* Initial verstecken */
  transition: max-height 1s ease, opacity 0.5s ease;
  min-width: 100%;
}
nav ul li:hover ul {
  max-height: 300px;
  opacity: 1;
}
nav ul li ul li {
  display: block;
}
nav ul li ul li a {
  padding: 10px;
  color: #000;
  font-size: 15px;
}
nav ul li ul li a:hover {
  color: #000;
  background-color: #a70335;
}
/* ---------------------------------------------------------------------------------------------------- */
/* Mobile Navigation */
/* ---------------------------------------------------------------------------------------------------- */
.mobile-nav {
  display: none;
  display: flex;
  position: fixed;
  top: 0;
  top: -101vh;
  right: 0;
  right: -101vw;
  width: 100%;
  height: 100%;
  background-color: #e94f35;
  /* Halbtransparenter Hintergrund */
  flex-direction: column;
  padding: 20px;
  align-items: center;
  /* Zentriert die Inhalte horizontal */
  justify-content: center;
  transition: opacity 0.3s ease, visibility 0.3s ease, right 0.5s ease, top 0.5s ease;
  z-index: 1000;
  /* Unter dem Hamburger Button */
}
.mobile-nav img {
  width: 150px;
}
.mobile-nav .menu-container {
  background-color: #a70335;
  /* Hintergrundfarbe der Box für das Menü */
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
  /* Schatten für die Box */
}
.mobile-nav a {
  text-decoration: none;
  color: #000;
  font-size: 20px;
  display: block;
  padding: 5px;
  border-radius: 5px;
}
.mobile-nav a.sub {
  font-size: 15px;
}
/* ---------------------------------------------------------------------------------------------------- */
/* Content-Blocks */
/* ---------------------------------------------------------------------------------------------------- */
.content-block {
  padding: 20px 0;
  position: relative;
}
/* --------------------------------------------------------------------- Titel-Block ------------------ */
.title-block {
  margin-top: 50px;
}
/* --------------------------------------------------------------------- Image-Block ------------------ */
.image-block img {
  max-width: 100%;
  height: auto;
}
/* --------------------------------------------------------------------- Image-Text-Block ------------------ */
.image-text-block {
  display: flex;
  gap: 2rem;
  margin-bottom: 40px;
}
.image-text-block .col {
  flex: 1 1 50%;
}
.image-text-block.normal .col:first-child {
  order: 0;
}
.image-text-block.normal .col:last-child {
  order: 1;
}
.image-text-block.reversed .col:first-child {
  order: 1;
}
.image-text-block.reversed .col:last-child {
  order: 0;
}
img {
  width: 100%;
}
.title {
  font-weight: 600;
  font-size: 1.8em;
  margin-bottom: 20px;
}
/* Optional: Responsive */
@media (max-width: 768px) {
  .image-text-block {
    flex-direction: column !important;
  }
  .image-text-block.reversed .col:first-child {
    order: 0;
  }
  .image-text-block.reversed .col:last-child {
    order: 1;
  }
}
/* --------------------------------------------------------------------- Text-Block ------------------ */
/* --------------------------------------------------------------------- Map-Block ------------------ */
.map-block .address {
  position: absolute;
  bottom: 33px;
  font-weight: 800;
  padding: 0px 10px;
  background: #ffffff;
  left: 15px;
  z-index: 9999;
}
/* --------------------------------------------------------------------- Audio-Block ------------------ */
.audio-block audio {
  width: 100%;
}
.audio-block .audio-player {
  position: relative;
  height: 80px;
  width: 100%;
  background: #a70335;
  color: white;
  font-size: 0.75em;
  overflow: hidden;
}
.audio-block .audio-player .timeline {
  background: #2a010d;
  width: 100%;
  position: relative;
  cursor: pointer;
  height: 20px;
}
.audio-block .audio-player .timeline .progress {
  background: #a70335;
  width: 0%;
  height: 100%;
  transition: 0.25s;
}
.audio-block .audio-player .controls {
  display: flex;
  justify-content: flex-start;
  align-items: stretch;
  padding: 0 20px;
  height: 60px;
}
.audio-block .audio-player .controls > * {
  display: flex;
  justify-content: center;
  align-items: center;
}
.audio-block .audio-player .controls .toggle-play.play {
  cursor: pointer;
  position: relative;
  left: 0;
  height: 0;
  width: 0;
  border: 7px solid #0000;
  border-left: 13px solid white;
}
.audio-block .audio-player .controls .toggle-play.play:hover {
  transform: scale(1.1);
}
.audio-block .audio-player .controls .toggle-play.pause {
  height: 15px;
  width: 20px;
  cursor: pointer;
  position: relative;
}
.audio-block .audio-player .controls .toggle-play.pause:before {
  position: absolute;
  top: 0;
  left: 0px;
  background: white;
  content: "";
  height: 15px;
  width: 3px;
}
.audio-block .audio-player .controls .toggle-play.pause:after {
  position: absolute;
  top: 0;
  right: 8px;
  background: white;
  content: "";
  height: 15px;
  width: 3px;
}
.audio-block .audio-player .controls .toggle-play.pause:hover {
  transform: scale(1.1);
}
.audio-block .audio-player .controls .name {
  font-weight: 800;
}
.audio-block .audio-player .controls .time {
  display: flex;
  padding: 0 20px;
}
.audio-block .audio-player .controls .time .length,
.audio-block .audio-player .controls .time .current {
  font-weight: 200;
}
.audio-block .audio-player .controls .time > * {
  padding: 2px;
}
.audio-block .audio-player .controls .volume-container {
  cursor: pointer;
  position: absolute;
  right: 20px;
  top: 16px;
  z-index: 2;
}
.audio-block .audio-player .controls .volume-container .volume-button {
  height: 26px;
  width: 26px;
  margin-left: 15px;
  display: flex;
  align-items: center;
}
.audio-block .audio-player .controls .volume-container .volume-button .volume {
  transform: scale(0.7);
}
.audio-block .audio-player .controls .volume-container .volume-slider {
  position: absolute;
  left: 0px;
  top: 4px;
  z-index: -1;
  width: 0;
  height: 18px;
  background: #2a010d;
  box-shadow: 0 0 20px #000a;
  transition: 0.25s;
}
.audio-block .audio-player .controls .volume-container .volume-slider .volume-percentage {
  background: #a70335;
  height: 100%;
  width: 75%;
}
.audio-block .audio-player .controls .volume-container:hover .volume-slider {
  left: -120px;
  width: 120px;
}
.audio-block .audio-player .speaker {
  vertical-align: middle;
  box-sizing: border-box;
  display: inline-block;
  background: currentColor;
  background-clip: content-box;
  width: 1em;
  height: 1em;
  border: 0.333em solid transparent;
  border-right-color: currentColor;
  position: relative;
  left: -0.337em;
}
.audio-block .audio-player .speaker.-on:before,
.audio-block .audio-player .speaker.-on:after {
  content: '';
  background: currentColor;
  width: 0.1em;
  position: absolute;
}
.audio-block .audio-player .speaker.-on:before {
  height: 0.333em;
  right: -0.533em;
}
.audio-block .audio-player .speaker.-on:after {
  height: 0.667em;
  right: -0.733em;
  top: -50%;
}
.audio-block .audio-player .speaker.-off:before,
.audio-block .audio-player .speaker.-off:after {
  content: '';
  background: currentColor;
  width: 0.1em;
  position: absolute;
  height: 1.2em;
  margin-top: -0.333em;
  top: -0.1em;
  left: 0.1em;
  transform: translateX(0.333em) rotate(-45deg);
}
.audio-block .audio-player .speaker.-off:before {
  background: #04233D;
  left: 0.2em;
}
/* --------------------------------------------------------------------- Galerie-Block ------------------ */
.gallery-block {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.gallery-block .gallery-item img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  /* Sorgt dafür, dass die Bilder innerhalb des Rahmens zugeschnitten werden */
}
.gallery-block .gallery-item {
  line-height: 0;
}
.gallery-block .gallery-item a.glightbox {
  line-height: 0;
}
/* --------------------------------------------------------------------- Video-Block ------------------ */
.video-block .youtube-player-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  /* 16:9 Aspect Ratio */
}
.video-block #youtube-player {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.video-block .video-player-h-container {
  position: relative;
  /* Position für responsive Breite */
  width: 100%;
  /* Breite 100% */
  height: 0px;
  /* Höhe wird durch das Padding bestimmt */
  padding-bottom: 56.25%;
  /* 16:9 Aspect Ratio */
  overflow: hidden;
  /* Verhindert Überlauf */
}
.video-block .video-player-h-container iframe,
.video-block .video-player-container .youtube-player {
  position: absolute;
  /* Absolute Positionierung innerhalb des Containers */
  top: 0;
  left: 0;
  width: 100%;
  /* Breite 100% des Containers */
  height: 100%;
  /* Höhe 100% des Containers */
}
/* --------------------------------------------------------------------- Galerie-Block ------------------ */
/* --------------------------------------------------------------------- painting-Block ------------------ */
.paintings_single .painting-block img {
  width: 100%;
}
.price {
  text-align: right;
  font-weight: 600;
}
.paintings_selection {
  margin-top: 50px;
  display: inline-block;
  border-top: 1px solid black;
  text-align: left;
  position: relative;
  padding-right: 25px;
  font-family: Arial;
  min-width: 200px;
  /* Style the arrow inside the select element: */
  /* Point the arrow upwards when the select box is open (active): */
  /* style the items (options), including the selected item: */
  /* Style items (options): */
  /* Hide the items when the select box is closed: */
}
.paintings_selection select {
  display: none;
  /*hide original SELECT element: */
}
.paintings_selection .select-selected {
  background-color: rgba(247, 235, 221, 0.9);
}
.paintings_selection .select-selected:after {
  content: "";
  position: absolute;
  top: 18px;
  right: 17px;
  width: 8px;
  height: 8px;
  border-right: 2px solid #000;
  border-bottom: 2px solid #000;
  transform: rotate(45deg);
}
.paintings_selection .select-selected.select-arrow-active:after {
  transform: rotate(225deg);
  top: 20px;
}
.paintings_selection .select-items div,
.paintings_selection .select-selected {
  color: #000000;
  padding: 8px 16px;
  border-color: transparent transparent rgba(0, 0, 0, 0.1) transparent;
  cursor: pointer;
}
.paintings_selection .select-items {
  position: absolute;
  background-color: rgba(247, 235, 221, 0.9);
  top: 100%;
  left: 0;
  right: 0;
  z-index: 99;
}
.paintings_selection .select-hide {
  display: none;
}
.paintings_selection .select-items div:hover,
.paintings_selection .same-as-selected {
  background-color: rgba(0, 0, 0, 0.1);
}
.paintings-block {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0px;
  max-width: 1400px;
  margin: 0 auto;
}
.paintings-block .painting-block {
  background: transparent;
  color: black;
  padding: 10px 15px 10px;
  margin-bottom: 10px;
  text-decoration: none;
  transition: 0.5s;
  /* Bild */
  /* Overlay */
  /* Rahmen-Layer */
}
.paintings-block .painting-block:hover {
  background: transparent;
}
.paintings-block .painting-block .image-container {
  position: relative;
  width: 400px;
  height: 400px;
}
.paintings-block .painting-block .image-container img,
.paintings-block .painting-block .image-container .overlay,
.paintings-block .painting-block .image-container .masked-border {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  top: 0;
  left: 0;
}
.paintings-block .painting-block .image-container img {
  object-fit: cover;
  z-index: 1;
}
.paintings-block .painting-block .overlay {
  background-color: rgba(255, 255, 255, 0.8);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #000;
  font-size: 20px;
  font-weight: 500;
  opacity: 0;
  z-index: 2;
  transition: opacity 0.4s ease;
  pointer-events: none;
  line-height: 0.8;
}
.paintings-block .painting-block .overlay .paintingtitle {
  font-weight: bold;
  line-height: 0.8;
}
.paintings-block .painting-block .overlay .paintingmore {
  font-weight: normal;
  line-height: 0.8;
}
.paintings-block .painting-block .overlay .paintingmore::after {
  content: '';
  position: absolute;
  width: 40px;
  height: 16px;
  background-image: url('../assets/pfeil.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.paintings-block .painting-block .image-container:hover .overlay {
  opacity: 1;
}
.paintings-block .painting-block .masked-border {
  z-index: 0;
  background-color: #8b5e3c;
}
.paintings-block {
  display: grid;
  gap: 0rem;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .paintings-block {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1200px) {
  .paintings-block {
    grid-template-columns: repeat(3, 1fr);
  }
}
.paintings-block a {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: block;
}
.paintings-block a .painting-block {
  width: 100%;
  height: 100%;
  position: relative;
}
.paintings-block a .painting-block .image-container {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.paintings-block a .painting-block .image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.paintings-block a .painting-block .image-container .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
/* ---------------------------------------------------------------------------------------------------- */
/* Responsive Design */
/* ---------------------------------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  nav ul {
    display: none;
  }
  header .hamburger {
    display: flex;
  }
  .gallery-block {
    grid-template-columns: repeat(2, 1fr);
    /* Zwei Spalten bei mittleren Größen */
  }
  header.small .logo,
  header.subpage .logo {
    display: block;
    top: 0px;
    position: absolute;
  }
  header .logo {
    display: block;
    top: 0px;
    position: absolute;
  }
  .frontpage header .logo {
    height: 190px;
  }
  header .logo img {
    height: 100px;
    margin-top: 0px;
  }
  top: 22px;
  position: absolute;
}
@media (max-width: 768px) {
  .mobile-nav {
    display: flex;
    /* Zeigt mobile Navigation an */
  }
  .gallery-block {
    grid-template-columns: 1fr;
    /* Eine Spalte bei kleinen Größen */
  }
  footer .logobar {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    flex-direction: column-reverse;
    align-content: flex-start;
  }
}
