/* 1. Reset & Grundeinstellungen */
* {
    margin: 0;
    padding: 0;
    scrollbar-color: var(--accent_color) transparent;
    /* text-transform: lowercase !important; */
}

/* Überschreibt die globale Regel für .close */
.close {
    text-transform: none !important;
    font-family: "urw-din";
  }

:root {
    --accent_color: rgb(190, 20, 20);
    --light_gray: rgb(200, 200, 200);
    -ms-overflow-style: none;
    /* Internet Explorer 10+ */
    /* Scrollbar in Firefox: Daumen und Schiene einfärben */
    scrollbar-width: thin;
    scrollbar-color: var(--accent_color) transparent;
    /* Firefox  */
    scrollbar-width: none;

    /* Base CSS variables for heights */
    --split-height-with-banner: 82.5dvh;
    --split-height-without-banner: 87.5dvh;

    /* Neu: aktive Split-Höhe */
    --split-height-active: var(--split-height-with-banner);
}

body.no-banner {
    --split-height-active: var(--split-height-without-banner);
}

body {
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: default;
    gap: 0;
    background-color: #FFFFFF;
}

::-webkit-scrollbar {
    background: transparent;
    width: 5px;
    height: 5px;
    display: none;
}

/* Scrollbar-Daumen in WebKit-Browsern einfärben */
::-webkit-scrollbar-thumb {
    background-color: var(--accent_color);
}

button {
    background-color: rgba(255, 255, 255, 0);
    border: none;
    font-family: urw-din;
    font-size: 12pt;
    text-align: left;
}

div {
    position: relative;
    box-sizing: border-box;
}

li {
    list-style-position: inside;
    list-style-type: "\231E     ";
    font-weight: normal !important;
}

a {
    color: black;
    text-decoration: none;
    user-select: none;
}

h1,h2,h3 {
    font-family: urw-din;
    line-height: 16pt;
    font-size: 12pt;
    font-weight: unset;
}

footer, header, main, section, article, nav, aside {
    all: unset;
}

/* 2. Layout-Komponenten */

.header {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    width: 100%;
    /* height: 5dvh; */
    font-family: urw-din;
    justify-content: space-between;
    align-items: center;
    padding: 1%;
    user-select: none;
    overflow: visible;
    position: sticky;
    top: 0;
    background-color: #FFFFFF;
    z-index: 1;
}

.header>.close {
    font-weight: bold;
}

#back {
    display: none;
}

#detail-content > .header {
    padding: 0;
    align-items: normal;
    background-color: #FFFFFF;
    z-index: 1;
}

#split {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    height: var(--split-height-with-banner);
    padding-left: 1%;
    padding-right: 1%;
}

/* When banner is removed, body gets this class */
body.no-banner #split {
    height: var(--split-height-without-banner);
}

#split>div,
p,
a {
    line-height: 16pt;
    font-size: 12pt;
}

.footer {
    font-family: "urw-din";
    font-size: 12pt;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-content: flex-start;
    width: 100%;
    /* height: 6dvh; */
    /* height: auto; */
    border-top: 0px solid black;
    /* padding-top: 1%; */
    padding-left: 1%;
    padding-right: 1%;
    padding-bottom: .5%;
}

#right-desktop {
background-color: #FFFFFF;
z-index: 1;
}

.footer>div {
    line-height: 16pt;
}

/* 3. Navigation & Filter */
#desktop-filters {
    overflow: visible;
    display: flex;
    flex-direction: row;
    gap: 24px;
    /* width: 100%; */
    width: 75%;
}

/* Alle Hauptfilter, die wir bewegen oder ausblenden */
#desktop-filters .filter[data-type="main"] {
  will-change: transform, opacity;
  /* backface-visibility hilft ganz gut bei kleinen Safari-Glitches */
  backface-visibility: hidden;
}
/* Und auch die Wrapper-Box, die wir verschieben */
.filter-wrapper {
  will-change: transform;
  backface-visibility: hidden;
  position: relative;
  display: flex;       /* sollte schon so sein */
  align-items: center; /* dito */
  gap: 8px;            /* dein Abstand */
  overflow-y: visible;   /* wichtig, damit X nicht abgeschnitten wird */
  width: 100%;
}

.filter-wrapper .close {
  position: absolute;
  left: -12px;         /* neg. Wert nach Bedarf anpassen */
  top: 50%;
  transform: translateY(-50%);
  margin: 0;           /* falls du zuvor margin-right hattest */
}

#mobile-filters {
    display: flex;
    flex-direction: column;
    /* gap: 2%; */
}

.filter {
    /* Grundstil */
    color: black;
    transition: color 0.3s ease;
    cursor: pointer;
}

.filter.active {
    color: var(--accent_color);
}

.filter-less-visible {
    color: rgb(174, 174, 174)
    /* color: black; */
}

/* 4. Content */
#center {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 50%;
    border-right: 0px solid black;
}

#content_wrapper {
    width: 100%;
    height: 100%;
    overflow-x: scroll;
    scrollbar-width: none;
}

.content {
    font-family: urw-din;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    /* gap: 2.5%; */
    position: relative;
    /* padding-bottom: 1rem; */
    z-index: 0;
    /* Niedrigerer z-index als .filter und .subfilters */
    gap: 0%;
    margin-bottom: 16pt;
}

.content>div {
    text-align: left;
}

.content.range { 
    color: var(--accent_color); 
}

.expired {
    display: none;
}

.date {
    width: 15%;
    overflow: hidden;
    flex-basis: 100%;
}

.location {
    width: auto;
    overflow: hidden;
    font-style: italic;
}

.title {
    width: auto;
   flex-basis: 100%;
    overflow: hidden;
}

.description {
    width: 65%;
    overflow: hidden;
    display: none;
}

.reference-links {
    font-weight: bold;
}

.reference-link {
    color: black;
    text-decoration:underline;
}

.reference-link:hover {
    color: var(--accent_color);
    text-decoration:underline;
}

/* 5. Overlays & Modals */
#cookieOverlay {
    font-family: urw-din;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: white;
    padding: 20px;
    box-shadow: -0px 0 30px rgba(126, 126, 126, 0.5);
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
    border-top: 1px solid black;
    z-index: 999;
    display: flex; 
    flex-direction: column;
    gap: 16pt;
    justify-content: center;
    text-align: center;
}

#cookieButtons {
    display: flex;
    justify-content: center;
    gap: 16pt;
}

#acceptCookies {
    margin: 0 !important;
}

#declineCookies {
    margin: 0 !important;
}


#acceptCookies:hover {
    color: var(--accent_color);
}

#declineCookies:hover {
    color: var(--accent_color);
}

.banner-wrapper {
    display: flex;
    flex-direction: row-reverse;
    /* align-items: center; */
    justify-content: space-between;
    height: 5dvh;
    width: 100%;
    border-top: 1px solid black;
    border-bottom: 1px solid black;
    overflow: visible;
    position: relative;
    box-sizing: border-box;
    background-color: #FFFFFF;
}

.banner-fixed {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}

.banner-img {
    height: 5vh;
    object-fit: cover;
    display: none;
}

.banner-loop {
    flex: 1;
    align-self: center;
    overflow: hidden;
    position: relative;
}

.banner-track {
    display: flex;
    width: max-content;
    animation: scroll-left 60s linear infinite;
}

.banner-wrapper:hover .banner-track {
    animation-play-state: paused;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.banner-segment {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
    white-space: nowrap;
}

.banner-title {
    font-family: urw-din, sans-serif;
    font-size: 12pt;
    font-weight: bold;
    padding-left: 10vw;
}

.banner-text {
    font-family: urw-din, sans-serif;
    font-size: 12pt;
}

.banner-wrapper>.close {
    font-weight: bold;
    padding-right: 1%;
    padding-left: 1%;
    border-right: 1px solid black;
}

#overlay {
    position: fixed;
    top: 0;
    right: -60%;
    /* Start außerhalb des Sichtfelds */
    width: 50%;
    height: 100%;
    background-color: rgb(255, 255, 255);
    transition: right 0.25s ease-in-out;
    z-index: 999;
    box-shadow: none;
    overflow-x: hidden;
    border-left: 1px solid black;
}

#overlay.active {
    right: 0;
    box-shadow: -5px 0 30px rgba(126, 126, 126, 0.5);
}

#filterOverlay {
    position: fixed;
    top: 100%;
    width: 100%;
    height: 60dvh;
    background-color: #fff;
    transition: all 0.3s 0.1s ease-in-out;
    z-index: 10000;
    overflow: hidden;
    box-shadow: none;
    padding-left: 2%;
    padding-top: 0%;
    padding-right: 2%;
    overflow: hidden;
    line-height: 16pt;
    overflow-y: scroll;
    border-top: 1px solid black;
}

#filterOverlay.active {
    right: 0;
    top: 40%;
    box-shadow: -5px 0 30px rgba(126, 126, 126, 0.5);
}


.subfilters {
    position: relative;
    display: flex;
    flex-direction: row;
    gap: 24px;
    z-index: 2;
    line-height: 8pt;
}

.subfilters-wrapper {
  position: relative;
  overflow: auto; /* oder overflow-x: auto; */
  width: 100%;
}

.impressumModal-desktop,
.impressumModal-mobile>div {
    font-family: urw-din;
}

.impressumModal-desktop {
    position: fixed;
    background-color: white;
    overflow: auto;
    z-index: 2000;
    width: 50vw;
    height: 100vh;
    top: 100vh;
    transition: all .3s ease;
    box-shadow: none;
    padding-left: 1%;
    padding-right: 1%;
    /* text-align: justify; */
    border-right: 1px solid black;
}

.impressumModal-desktop.active {
    top: 0;
    box-shadow: 5px 0 30px rgba(126, 126, 126, 0.5);
}

.impressumModal-desktop>.header {
    font-weight: bold;
    padding-left: 0;
}

.impressum-content {
    padding-bottom: 16pt;
    overflow-x: hidden;
    overflow-y: scroll;
}

.blur-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(5px);
    z-index: 998;
    transition: opacity 0.3s ease-in-out;
}


/* 6. Utilities */

.loader {
    position: absolute;
    top: 30vh;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    aspect-ratio: 4;
    background: radial-gradient(circle closest-side,#000 90%,#0000) 0/calc(100%/3) 100% space;
    clip-path: inset(0 100% 0 0);
    animation: l1 1s steps(4) infinite;
}
  
@keyframes l1 {to{clip-path: inset(0 -34% 0 0)}}

.highlight {
    color: var(--accent_color);
    /* font-style: italic; */
    font-weight: bold;
}

.sticky-container {
    position: sticky;
    top: 0;
    z-index: 19;
    height: 10dvh;
}

.a_link {
    font-family: urw-din;
    color: black;
    text-decoration:underline;
}

.a_link:hover {
    color: var(--accent_color);
}

#header-main {
    width: 100%;
    height: 5dvh;
}

.name {
    font-size: 12pt;
    font-weight: bold;
    /* text-indent: -5px; */
    white-space: nowrap;
    /* padding-right: 5vw; */
}


.filter[data-type="main"] {
    position: relative;
    transition: transform 0.3s ease-in-out;
    overflow: visible;
    z-index: 1;
    /* Füge einen z-index hinzu */
}

#desktop-search {
    font-family: inherit;
    border: #FFFFFF;
    outline: none;
    font-size: inherit;
    background: transparent;
    width: auto;
    color: var(--accent_color);
    padding-right: 5vw;
    display: flex;
    align-items: center;
}

input,
select,
textarea {
    color: var(--accent_color);
}

input::placeholder {
    color: black;
}

#desktop-group-left {
    display: flex;
    /* justify-content: space-between; */
    flex-direction: row;
    flex: 1;
    align-items: center;
    flex-wrap: nowrap;
    width: 50%;
    position: relative;
}

#desktop-group-right {
    display: flex;
    width: 50%;
    align-items: center;
    flex-direction: row;
    padding-left: 1%;
    z-index: 1;
    background-color: #FFFFFF;
    gap: 24px;
}

#detail-header-wrapper {
display: flex;
flex-direction: column;
justify-content: flex-start;
}

#date-header {
    display: none;
}

#header-main>.name {
    padding-right: 0;
    width: 10%;
    user-select: none;
}

#name-main {
    padding-right: 24px;
 }

 #name-main > a:hover {
    color: var(--accent_color);
 }

#desktop-about {
    cursor: pointer;
}

#desktop-about:hover {
    color: var(--accent_color);
}

.close {
    cursor: pointer;
}

.close:hover {
    color: var(--accent_color);
    /* font-style: italic; */
}

#overlay>.header {
    padding-left: 2%;
    padding-right: 2%;
}

#bio_content {
    font-family: "urw-din";
    padding-left: 2%;
    padding-right: 2%;
    /* text-align: justify; */
    padding-bottom: 16pt;
    overflow-x: scroll
}

#content-container {
    height: 100%;
    width: 50%;
    padding-left: 1%;
}

.arrow {
    left: 50%;
    position: relative;
    display: none;
}

#arrow_up {
    transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
    border: solid var(--accent_color);
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
    visibility: hidden;
}

#arrow_down {
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    border: solid var(--accent_color);
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
    visibility: visible;
}

.entry-thumbnail {
    display: none;
}

#detail-content {
    font-family: "urw-din";
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    height: 100%;
    justify-content: space-between;
    align-items: left;
    flex-basis: 100%;
    gap: 16pt;
    margin-bottom: 16pt;
}

.gallery {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16pt;
    width: 100%;
    overflow-y: visible;
    min-height: 30dvh;
    position: relative;
}

/* Hide empty galleries */
.gallery:empty {
    display: none;
}

/* Gallery placeholder styles */
.gallery-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gallery-placeholder .loader {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
}

/* Single image gallery styles */

.gallery.single-image img {
    width: auto;
    max-height: 50vh;
    object-fit: contain;
}

/* Image gallery specific styles */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16pt;
    align-items: start;
}

.image-gallery.single-image {
    justify-items: start;
    grid-template-columns: repeat(1, 1fr);
}

.image-gallery.all-landscape {
    grid-template-columns: repeat(3, 1fr);
}

.image-gallery.all-portrait {
    grid-template-columns: repeat(4, 1fr);
}

.detail-image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.detail-image.landscape {
    aspect-ratio: 4/3;
}

.detail-image.portrait {
    aspect-ratio: 3/4;
    height: 100%;
}

/* Mixed gallery specific styles */
.image-gallery:not(.all-landscape):not(.all-portrait) .detail-image.landscape {
    grid-column: span 2;
}

.image-gallery:not(.all-landscape):not(.all-portrait) .detail-image.portrait {
    grid-column: span 1;
}

/* Mobile styles for image gallery */
@media screen and (max-width: 990px) and (pointer: coarse) {
    .image-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 16pt;
    }

    .image-gallery.all-landscape,
    .image-gallery.all-portrait {
        grid-template-columns: repeat(2, 1fr);
    }

    .image-gallery:not(.all-landscape):not(.all-portrait) .detail-image.landscape {
        grid-column: span 2;
    }

    .image-gallery:not(.all-landscape):not(.all-portrait) .detail-image.portrait {
        grid-column: span 1;
    }
}

.detail-video {
    width: 100%;
    height: auto;
    padding-bottom: 16pt;

}

.pdf-container {
    width: 100%;
    height: auto;
    /* border: 1px solid black; */
}

canvas {
    display: block;
    /* margin-bottom: 10px; */
    width: 100%;
}

.press-gallery {
    display: grid;
    /* More columns for smaller thumbnails */
    /* grid-template-columns: repeat(5, 1fr); */
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    gap: 16pt;
    width: 100%;
    overflow-y: auto;
    padding-top: 2%;
    padding-bottom: 2%;
    align-items: end;
}

.press-gallery img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.external-link {
    display: flex;
    width: 100%;
}

.external-link-item {
    margin-bottom: 16pt;
}

.detail-image.single-image {
    aspect-ratio:unset;
    height: unset;
    width: auto;
    max-height: 50%;
}

.gallery.all-landscape img{
    height: auto;
}

#name_detail {
    width: 100%;
    font-size: 12pt;
    font-weight: bold;
    font-family: urw-din;
    text-align: left;
    line-height: 16pt !important;
    height: auto !important;
}

.description_long {
    width: 100%;
    align-self: center;
    text-align: left;
    font-family: urw-din;
}

#hover-image {
    height: 25%;
    /* box-shadow: -5px 0 30px rgba(126, 126, 126, 0.5); */
}

#left {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    user-select: none;
    width: 50%;
    border-right: 0px solid black;
}

#left>div {
height: 16pt;
white-space: nowrap;}

.right {
    width: 50%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    user-select: none;
    /* padding-left: 1%; */
    /* background-color: #FFFFFF; */
}

#socials-links {
    display: flex;
    flex-direction: row;
    gap: 24px;
}

.right>div {
    height: 16pt;
}

.impressum {
    font-family: "urw-din";
    font-weight: bold;
    flex-basis: 100%;
}

#cookieImpressum {
    font-weight: normal !important;
    text-decoration: underline !important;
    flex-basis: unset !important;
    margin: 0 !important;
}

.socials {
    font-family: "urw-din";
    font-weight: bold;
    flex-basis: 100%;
}

#icons {
    display: flex;
    gap: 5%;
    width: auto;
    height: auto;
    display: none;
}

#Ebene_1 {
    fill: var(--accent_color);
}

.Layer_1 {
    width: 15px;
    height: 15px;
}

.Layer_1:hover {
    color: var(--accent_color);
    cursor: pointer;
}

.filter:focus {
    outline: none;
}

#mobile-menu-button{
    display: none;
    box-shadow: 0px 5px 7.5px rgba(126, 126, 126, 0.5);
}

/* 7. Media Queries */

/* Start: Media Query für schmale Desktops */

@media screen and (pointer: fine) {
    .filter:hover, .subfilter:hover {
        color: var(--accent_color);
    }
    
    .image-nav-btn.prev:hover, .image-nav-btn.next:hover {
    color: var(--accent_color) !important;
    }
}

.subfilters-fade-right {
    display: none;
}
.subfilters-fade-left {
    display: none;
}

#indexOverlay #name-main {
    display: flex !important;
}

#indexOverlay #header-main {
    height: 5dvh !important;
}

#indexOverlay #desktop-group-left {
       flex-direction: row !important;
}

/* @media screen and (max-width: 1150px) and (pointer: fine) {
    #name-main {
       display: none;
    }
    .filter-wrapper > .close{
        display: none;
    }
    .subfilters-fade-right {
    display: none;
    }
    .subfilters-fade-left {
        display: unset;
    }
} */

@media screen and (max-width: 1000px) and (pointer: fine) {
   :root {
        --split-height-with-banner: 84dvh;
        --split-height-without-banner: 85dvh;
    }

    .sticky-container {
    height: 13dvh; /* +3dvh */
    }

    #header-main {
       height: 8dvh; /* +3dvh */
       align-items: flex-start; /* Ausrichtung oben */
    }
    
    #desktop-group-left {
       flex-direction: column; /* Vertikal statt wrap */
       align-items: flex-start; /* Linksbündig */
       justify-content: space-between; /* Verteilt den Platz */
       /* height: 100%; */
    }
    
    #name-main {
       width: auto; /* Automatische Breite statt 100% */
    }
    
    #desktop-filters {
       width: 100%;
    }
    
    /* Desktop-group-right bleibt unverändert */
    #desktop-group-right {
       align-self: flex-start; /* Am oberen Rand ausrichten */
       align-items: start;
       height: 100%; /* Volle Höhe für Ausrichtung */
    }

    #header-main {
        padding-bottom: 0%;
    }
    
    .filter-wrapper > .close{
        display: none;
    }
    
    /* .subfilters-fade-left {
        display: unset;
    } */
}

@media screen and (max-width: 700px) and (pointer: fine) {
    #desktop-search {
       display: none;
    }
}

/* Ende: Media Query für schmale Desktops */

/* Start: Media Query für mobile Geräte */
@media screen and (max-width: 990px) and (pointer: coarse) {
/* @media screen and (max-width: 760px)  { */

#date-header {
    display: unset;
}
    #mobile-menu-button{
        display: unset;
        position: fixed;
        top: 95%;
        left: 50%;
        transform: translate(-50%, -50%);
        border: 1px solid black;
        border-radius: 50px;
        background-color: white;
        padding: 2%;
        padding-left: 5%;
        padding-right: 5%;
        font-family: urw-din;
        z-index: 996;
        transition: top 0.3s ease;
    }

    #mobile-menu-button.active{
        top: 100%;
    }

    .banner-track {
        padding: 1%;
        align-items: center;
    }

    .banner-wrapper>.close {
        padding-right: 3%;
        padding-left: 3%;
        align-self: center;
    }

    button {
        color: black;
    }

    body {
        position: relative;
        font-size: 12pt;
        overflow: scroll !important;
        justify-content: flex-start;
        height: 100% !important;
    }

    #content-container {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    #desktop-group {
        display: none;
    }

    .banner-wrapper {
        /* position: sticky; */
        top: 0;
    }

    .header {
        /* position: sticky; */
        top: 0;
        flex-wrap: nowrap;
        width: 100%;
        /* height: 5dvh; */
        align-items:center;
        background-color: #FFFFFF;
        z-index: 10;
        justify-content: space-between;
        padding: 2%;
        /* box-shadow: 0px 0 30px -0px var(--accent_color); */
    }

    .close {
        font-size: 12pt;
    }

    #filterOverlay>.header {
        width: 100%;
        padding-left: 0;
        padding-right: 0;
    }

    #desktop-group-right {
        display: none;
    }

    #desktop-about {
        display: none;
    }

    #desktop-filters {
        display: none;
    }

    #desktop-group-left {
        width: 100vw;

    }

    .detail-wrapper {
        padding: 1%;
    }

    button {
        font-size: 32pt;
    }

    #overlay {
        top: 100%;
        width: 100%;
        height: 100%;
        right: 0;
        background-color: rgb(255, 255, 255);
        transition: top 0.3s ease-in-out;
        z-index: 999;
        box-shadow: none;
        overflow-x: scroll;
    }

    #overlay.active {
        top: 0;
    }

    #mobile-group {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        /* height: 100%; */
    }

    #mobile-filters {
        /* padding-top: 5%; */
        display: flex;
        flex-direction: column;
        /* justify-content: space-between; */
        height: 20%;
        line-height: 16pt;
    }

    .filter {
        transition: transform 0.3s ease, color 0.3s ease;
    }

    .filter.active {
        margin-bottom: 0% !important;
        background-color: rgba(255, 255, 255, 0.8);
        backdrop-filter: blur(1px);
    }

    #mobile-filters>div,
    button {
        font-family: urw-din;
        font-size: 12pt;
    }

    .subfilter.active {
        /* padding-left: 10%; */
        padding-bottom: 16pt;
    }

    .subfilters {
        margin-top: 16pt !important;
        font-family: urw-din;
        background-color: none;
        backdrop-filter: none;
        gap: 0;
    }

    #mobile-about.active {
        color: var(--accent_color);
    }

    #mobile-about {
        padding-top: 8pt;
    }

    #mobile-search {
        font-family: urw-din;
        font-size: 12pt;
        background: transparent;
        width: auto;
        border: #FFFFFF;
        outline: none;
        color: var(--accent_color);
    }

    #content_wrapper {
        overflow: visible;
    }

    #split {
        height: auto !important;
        overflow: visible;
        padding-left: 2%;
        padding-right: 2%;
    }

    .arrow {
        display: none;
    }

    #center {
        width: 100%;
        border-right: none;
        height: auto;
        overflow: visible !important;
    }

    .content {
        font-family: urw-din;
        width: auto;
        flex-direction: row;
    }

    .description {
        width: 50%;
        text-align: left;
        display: none;
    }

    .date {
        width: auto;
        overflow: hidden;
        flex-basis: 100%;
    }

    .location {
        width: auto;
    }

    .entry-thumbnail {
        display: flex;
        object-fit: cover;
        width: 10%;
        height: 10vw;
        display: none;
    }

    .footer {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        width: 100%;
        height: 5dvh;
        align-self: center;
        text-align: left;
        margin-top: 50%;
        display: none;
    }

    #left {
        width: 100%;
        border-right: none;
        height: auto;
    }

    .right {
        width: 100%;
        justify-content: space-between;
        flex-direction: row;
        column-gap: 0vw;
        padding-left: 0%;
        padding-bottom: 2%;
        padding-right: 2.5%;

    }

    .right>div,
    a {
        font-family: urw-din;
        line-height: 16pt;
        flex-basis: 100%;
    }

    .impressum {
        flex-basis: 100%;
        margin-top: 16pt;
    }

    .socials {
        flex-basis: 100%;
    }

    .description_long {
        font-size: 12pt;
    }

    #detail-content {
        padding-left: 2%;
        padding-right: 2%;
        padding-bottom: 16pt;
    }

    #back {
        display: unset;
        padding-left: 5vw;
    }

    .impressumModal-mobile {
        position: fixed;
        background-color: white;
        overflow-x: hidden;
        overflow-y: scroll;
        z-index: 999;
        width: 100%;
        height: 100%;
        top: 100%;
        transition: top 0.3s ease-in-out;
        /* scrollbar-width: none; */
        /* text-align: justify; */
        }

    .impressumModal-mobile.active {
        top: 0;
    }

    .impressumModal-mobile>.header {
        font-weight: bold;
    }

    .impressum-content {
        padding-left: 2%;
        padding-right: 2%;
    }

    #mobile-filters > div, input, button:not(.close) {
        margin-bottom: 16pt;
    }

    #detail-content > .header {
        padding: 0%;
        padding-top: 2%;
        padding-bottom: 2%;
        align-items: flex-start;
        height: auto;
    }
    
    .hamburger {
        display: none;
    }

    #load-more-btn {
        text-decoration: underline;
    }

    .gallery.single-image img {
    width: 100%;
    height: auto;
    max-height: unset;
    object-fit: contain;
    }

}

/* Ende: Media Query für mobile Geräte */

