/**
 * =============================================================================
 * Anpassungen in diese Datei
 * ==========================================================================
 */
 :root{
  --bg:#fbfaf7;
  --surface:#ffffff;
  --surface-2:#f4f3ee;
  --text:#111111;
  --muted:#6a6a6a;
  --line:rgba(0,0,0,.08);
  --brand:#1f3fb7;
  --brand-2:#1633a6;
  --shadow: 0 10px 30px rgba(0,0,0,.10);
  --radius: 22px;
  --text:#111111;
 
}

.widget-explanation {
    width: calc(100% - 30px);
    display: inline-block;
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom:0 !important;
    background: none;
    border: 0px !important;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    border-radius: 0;
    box-sizing: border-box;
    color: rgba(85, 85, 85, 1);
}
.ce_form .formv2 {
    padding: 10px 10px 18px 10px;
    background-color: #f6f6f6;
    }
form.formv2 .formbody {
    overflow: hidden;
    padding: 10px 10px 18px 10px;
    background-color: #f6f6f6;
    margin-right: 0px !important;
    margin-left: 0px !important;
    border: 0px solid #f6f6f6;
}    

.ios .jarallax {
    background-size: cover;
    background-attachment: scroll;
}



.mainmenu ul li span.new {
    font-size: 0.9em;
    font-weight: bold;
    margin-left: 5px;
    background: red;
    color: #fff;
    border-radius: 2px;
    padding-left: 4px;
    padding-right: 4px;
    float: right;
}

.submenulr ul li span.new,
.customNavi-lr span.new {
    display: none;
}

.navititle {
    display: block;
    font-weight: normal;
    font-size: 12px;
}


/* fuer alle Geraete-Klassen */

.image_container .caption {
    display: block;
    width: 100%;
    padding: 6px 8px;
    background-color: rgba(255, 255, 255, .95);
    font-size: .8em;
    line-height: 1.5;
    box-sizing: border-box;
}
.image_container .caption {
    position: static !important;
    width: 100% !important;
}

.figure.effectlily .figcaption > div.link {
    height: 100%;
    margin-top: 0;
}

.figure.effectlily .figcaption > div.link a {
    font-size: 0;
}
    .ce_ctstabs ul.nav li a {
      padding:8px 12px;
  border:1px solid rgba(0,0,0,.08);
    background: rgba(0,0,0,.02);
  border-radius:0px;
  color: var(--text); cursor:pointer;
    transition: background .25s ease, color .25s ease, transform .18s ease;
    margin-bottom:5px;
}
.ce_ctstabs ul.nav li.active a {
    color: rgba(31, 63, 183, 1);
    text-decoration: none;
     background:#6b86e0;
  border-color: transparent;
    border-color: rgba(110, 160, 255, .35);
    color:#fff;
}
.ce_ctstabs ul.nav li a .content {
    padding: 6px 10px;
}

/**
 * =============================================================================
 * Timeline nicht aktiv
 * ==========================================================================
 */

.inner-timeline {
	display:flex;
	cursor: grab;
}
.inner-timeline .element {
	width: 200px;
    height: 200px;
    text-align: center;
    border: black 2px solid;
    border-radius: 50%;
    min-width: 200px;
    margin-left:80px;
    margin-right:80px;
    display:flex;
    justify-content: center;
    align-items: center;
    scroll-snap-align: center;
    background-color:white;
}

.inner-timeline {
	overflow-x: scroll;
}

.outer-element p{
	text-align: center;
	margin-top:20px;
	-webkit-user-select: none; /* Safari */
	-ms-user-select: none; /* IE 10 and IE 11 */
	 user-select: none; /* Standard syntax */
}


	/* width */
	.inner-timeline::-webkit-scrollbar {
	  height: 20px;
	  padding-left:40%;
	  padding-right:40%;
	  display:none;
	}
	
	/* Track */
	.inner-timeline::-webkit-scrollbar-track {
	  background: transparent; 
	}
	 
	/* Handle */
	.inner-timeline::-webkit-scrollbar-thumb {
	  background: #888; 
	  
	}
	
	/* Handle on hover */
	.inner-timeline::-webkit-scrollbar-thumb:hover {
	  background: #555; 
	  width:30% !important;
	  height:30%;
	}
	.inner-timeline .first {
	margin-left:1500px;
}
.inner-timeline .last {
	margin-right:1500px;
}
.inner-timeline .year {
	font-weight:bold;
	font-size: x-large;
}
.outer-timeline {
	margin-top:20px;
}
.inner-timeline {
	z-index:-1;
}
.outer-timeline .mask-left {
	position:absolute;
	left:0px;
	width: 20%;
	height: 100%;
	top:0px;
	background: linear-gradient(90deg, #FFFFFF, transparent);
}


.outer-timeline .mask-right {
	position:absolute;
	right:0px;
	width: 20%;
	height: 100%;
	top:0px;
	background: linear-gradient(270deg, #FFFFFF, transparent);
}
.outer-timeline {
	position: relative;
}
.outer-timeline .active{
	scroll-snap-type: x mandatory;
	scroll-snap-stop: normal;
}

.inner-timeline {
	background-image: url( '/files/theme/img/pattern/Pfad-timeline.svg' );
	background-position:50% 30%;;
}

/**
 * =============================================================================
 * Anpassungen lt. neuem Theme - Ausstellungen
 * ==========================================================================
 */
.exhibition-card{
  display:grid;
  grid-template-columns: 1fr;
  gap: 28px;                 /* mehr Luft */
  padding: 40px 48px;      /* großzügiger */
  margin-bottom: 20px;         /* Abstand zwischen Ausstellungen */
  max-width: 1100px;         /* breiter */
  border: 1px solid rgba(0,0,0,.08); 
  background: #fff;
}

.exhibition-media img{
  width:100%;
  height:auto;
  border-radius: 12px;
  display:block;
}

.exhibition-range{
  margin:0 0 8px 0;
  font-size: 18px;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity:.75;
}

.exhibition-title{
  margin:0 0 8px 0;
  font-size: 24px;
  line-height: 1.2;
}

.exhibition-title a{
  text-decoration:none;
}

.exhibition-place{
  margin:0 0 12px 0;
  font-size: 18px;
  opacity:.85;
}

.exhibition-address{
  opacity:.75;
}

.exhibition-teaser{
  font-size: 18px;
  line-height: 1.55;
  opacity:.92;
}

.exhibition-more{
  margin:14px 0 0 0;
}

.exhibition-morelink{
  display:inline-flex; align-items:center; justify-content:center;
  padding:10px 14px; border-radius:16px;
  border:1px solid rgba(0,0,0,.08);
  background: rgba(0,0,0,.02);
  border-radius:0px;
  color: var(--text); cursor:pointer;
  transition: transform .18s ease, background .25s ease, border-color .25s ease;
}
/**
 * =============================================================================
 * Anpassungen lt. neuem Theme 
 * ==========================================================================
 */
.portfolio-wrapper{
  display:block;
} 
 
h3 {
  margin-bottom: 4px;
}

h3 + p {
  margin-top: 0 !important;
  margin-bottom: 20px;
}

.mainmenu ul>li strong {
background:  rgba(31, 63, 183, .10) !important;
  color: #111;
}

a{color:inherit; text-decoration:none}
img{max-width:100%; display:block}

a { color: #1f3fb7;
}
.rebecca {
    padding-left: 15px 20px 15px 20px;
}

.lead {
    margin: 0;
    color: #6a6a6a;
    font-size: clamp(16px, 1.35vw, 20px);
    max-width: 720px;
    line-height: 1.6;
}

.full-left{
    margin-left:-20px;
}
.two-box-wrapper{
  display:flex;
  gap:0px;
  margin:30px 0;
}

.two-box{
  flex:1;
  background:#fff;
  border:1px solid #ddd;
  overflow:hidden;
}
.presse-box-wrapper{
  display:flex;
  gap:20px;
  margin:30px 0;
}

.presse-box{
  flex:1;
  background:#fff;
  border:1px solid #ddd;
  overflow:hidden;
}

.text-box{
  padding:25px;
}

.image-box{
  padding:0;
}

.image-box img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}
.split{
    display:grid;
    grid-template-columns:1.05fr .95fr;
    gap:18px;
    margin:40px 0;
}

.split-box{
    background:#fff;
    border:1px solid #ddd;
    padding:25px;
}

.image-box{
    padding:0;
    overflow:hidden;
}

.image-box img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}
.bio-images .bio-img  {
    width:50%;
    margin-left:auto;
    margin-right:auto;
}


.button{
  display:inline-flex; align-items:center; justify-content:center;
  padding:10px 14px;
  border:1px solid rgba(0,0,0,.08);
  background: rgba(0,0,0,.02);
  border-radius:0px;
  color: var(--text); cursor:pointer;
  transition: transform .18s ease, background .25s ease, border-color .25s ease;
}
.button:hover{transform:translateY(-1px); background: rgba(0,0,0,.04);}
.button.primary{
  background:#6b86e0;
  border-color: transparent;
  color:#ffffff;
}
.button.primary:hover{
  background:#5c77d8;
}
.hero-copy{padding:28px; display:flex; flex-direction:column; gap:12px;}
.kicker{color: var(--brand-2); letter-spacing:.08em; text-transform:uppercase; font-size:12px; margin-bottom:20px;}
h1{margin:0; font-size: clamp(30px, 3.2vw, 44px);}
.lead{margin:0; color: var(--muted); font-size: clamp(16px, 1.35vw, 20px); max-width: 720px; line-height:1.6;}
.hero-ctas{display:flex; gap:10px; flex-wrap:wrap; margin-top:8px;}

.news-headline-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.news-headline-row .exhibition-title {
  margin: 0;
  flex: 1;
}

.news-pdf-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border: 1px solid #cfcfcf;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}
/**
 * =============================================================================
 * MediaQueries
 * ==========================================================================
 */


/* fuer tablets und groessere Displays*/
@media only screen and (min-width: 768px) {

  

    header .bxsmall .bx-viewport {
        border: 10px solid #e5e8ee;
    }
.vertical.showcase.nav li a .content span {
  font-weight: 700;
  text-transform: uppercase;
}
.ce_ctstabs.hovershowcase ul.nav li.active a .content {
    color: #fff;
}
.ce_ctstabs.hovershowcase ul.nav li:hover a .content {
    color: rgba(255,255,255,0.4);
  }

}



/* fuer desktop */
@media only screen and (min-width: 1025px) {

  
}

/* fuer Smartphones */
@media only screen and (max-width: 767px) {
    .center .image_container {
        display: flex;
        justify-content: center;
    }
}

@media (max-width: 992px) {
		.inner-timeline::-webkit-scrollbar {
			height: 10px;
			display:none;
		}
}



@media (min-width: 1000px){
  .exhibition-card{
    grid-template-columns: 520px minmax(0, 1fr);
  }
}

/**
 * =============================================================================
 * Zusätzliche MediaQueries für two-box, presse-box und split
 * ==========================================================================
 */

/* Tablet quer / kleiner Desktop */
@media only screen and (max-width: 1024px) {
  .two-box-wrapper,
  .presse-box-wrapper {
    flex-direction: column; /* 👈 entscheidend */
    gap: 16px;
  }

  .split {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .text-box,
  .split-box {
    padding: 22px;
  }
}

/* Tablet hochkant / große Smartphones */
@media only screen and (max-width: 767px) {
  .two-box-wrapper,
  .presse-box-wrapper {
    flex-direction: column;
    gap: 20px;
    margin: 24px 0;
  }

  .two-box,
  .presse-box {
    width: 100%;
  }

  .split {
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 24px 0;
  }

  .text-box,
  .split-box {
    padding: 20px;
  }

  .image-box img {
    height: auto;
    object-fit: cover;
  }

  .news-headline-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .news-pdf-badge {
    white-space: normal;
  }
}

/* Kleine Smartphones */
@media only screen and (max-width: 480px) {
  .two-box-wrapper,
  .presse-box-wrapper,
  .split {
    margin: 20px 0;
  }

  .text-box,
  .split-box {
    padding: 16px;
  }

  .hero-copy {
    padding: 20px;
  }

  h1 {
    line-height: 1.15;
  }

  .lead {
    font-size: 16px;
    line-height: 1.5;
  }
}
@media (max-width:600px){
  .hero-ctas{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px;
  }

  .hero-ctas .button:nth-child(3){
    grid-column:1 / -1;
  }
}
@media (max-width:767px){

  .ce_ctstabs ul.nav{
    border-top:1px solid rgba(0,0,0,.08);
  }

  .ce_ctstabs ul.nav li{
    border-bottom:1px solid rgba(0,0,0,.08);
  }

  .ce_ctstabs ul.nav li a{
    display:block;
    width:100%;
  }
  .ce_ctstabs ul.nav li a{
  padding:12px 14px;
}


  .ce_ctstabs ul.nav{
    border-bottom:1px solid #1f3fb7;
    padding-bottom:4px;
  }
.bio-images .bio-img{
    width:100%;
    margin-left:0;
    margin-right:0;
    
}

}