
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

// <weight>: Use a value from 100 to 900
// <uniquifier>: Use a unique and descriptive class name

.montserrat-<uniquifier> {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}



* {
  margin: 0;
  padding: 0;
	  font-family: "Montserrat", sans-serif;
}

html {  scroll-padding-top: 200px;}



#pageid1 footer {
  margin-top: 00px !important;
  padding-top: 00px !important;
}
#pageid1 #c205 {min-height: 70vh;}
#pageid1 #c205 h1 {padding-top: 60px;}
#pageid1 #c205 .gallery-item picture {
	width: 90%; padding-top: 8vh;}




.headerimage-inner .slick-dotted.slick-slider {
  margin-bottom: 0px; 
}
#footer .textmedia-gallery img {
    height: 70px;
    width: auto;
    display: block;
    margin: 0;
	margin-bottom: 10px;
}

.hellgrau {background: #e5e5e5;}


main p {margin-bottom: 0.2rem;}


.bibliothek {background: #c4d3ea;}
.museum {background: #c8e5e6;}

.spruchfooter p {font-weight: 600; font-size: 2.5rem;}

.breadcrumps p {text-transform: uppercase;}
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #000;
    color: #fff;
    padding: 8px 16px;
    z-index: 1000;
    text-decoration: none;
    font-weight: bold;
}

/* Nur sichtbar, wenn per Tastatur fokussiert */
.skip-link:focus {
    top: 10px;
}



footer p strong,
footer  p i
 {
    color: #fff;
	font-size: 1.5rem;
	font-weight: normal;
	font-style: normal;
	
}



.filelink-list span:before {
  font-family: 'Font Awesome\ 5 Free';
  content: '\f1c1';
  margin: 0 5px 0 0px;
  color: #79ac2b;
  font-size: 30px;
  font-weight: 900;
}



.news-archiv .news-img-wrap img {
  filter: grayscale(100%);
}



.slick-slide figure .caption {
  padding-top: 0.25rem;
  font-size: 5rem;
  word-wrap: break-word;
  opacity: 0.8;
  position: absolute;
  z-index: 10000;
  border: 2;
  top: 35%;
  text-align: center;
  margin: 0 auto;
  width: 100%;
	color:#fff;
	font-weight: bold;
}



main a {
  color:#0b0c0c ;
  text-decoration: none;
}


.frame-custom-22 .gallery-item img {  width: 80%;}
.frame-custom-23 .gallery-item img {  width: 60%;}
.frame-custom-24 .gallery-item img {  width: 40%;}
.frame-custom-25 .gallery-item img {  width: 20%;}
.frame-custom-26 .gallery-item img {  width: 10%;}

.frame-custom-27 .gallery-item img {  width: 80%;float: left;}
.frame-custom-28 .gallery-item img {  width: 60%;float: left;}
.frame-custom-29 .gallery-item img {  width: 40%; float: left;}
.frame-custom-30 .gallery-item img {  width: 20%;float: left;}
.frame-custom-31 .gallery-item img {  width: 10%;float: left;}



.frame a[class=""], .frame a:not([class]) {
  color: #303030;
}

.container .row .col .row .container {padding:0;}
.container .row .col .row .container .row {padding:0; margin:0;}
.container .row .col .row .container .row .col {padding:0; margin:0;}


.kopfbereich {background:#e5e5e5;}
.mobilehead {display: none;}
.kopfbereich .logo {  margin-top: 0.4%;   }
.kopfbereich .menu { }
.kopfbereich .headerright {float: right; padding-top: 22px;direction: ltr;   }
.kopfbereich  .textmedia  {gap:0;}
.kopfbereich .frame {padding: 0; }
.kopfbereich .row {--bs-gutter-x: 0px;}
.kopfbereich {  z-index: 100;  position: fixed;   width: 100%;  transform: none; position: sticky;  top: 0;  
  padding-top: 8px;}
.kopfbereich .rechterbereich {float: right; margin-left: 10px; padding-top: 0.2%;}
.kopfbereich .sprachenbereich {float: right; margin-left: 10px;}
footer {
  margin-top: 50px;
  padding-top: 60px;

  background-color: #e5e5e5;
}



/* 1) Flex-Header */
.header-row{
  display:flex;
  align-items:center;
  width:100%;
  gap: 0;              /* kein extra Abstand zwischen Blöcken */
}
.header-row{
  position: relative;
  z-index: 5000;
  overflow: visible;   /* wichtig: darf nicht hidden sein */
}

.header-menu.menu{
  position: relative;
  z-index: 6000;
  overflow: visible;   /* wichtig */
}

.logomenu {padding-bottom: 20px;}
.header-logo { flex: 0 0 150px; display:flex; align-items:center; }
.header-logo img { max-width:200px; width:100%; height:60px; display:block; }

.logosmenu {
  display: flex;
  justify-content: flex-end; /* rechtsbündig */
  align-items: center;
  gap: 20px;                 /* Abstand zwischen Logos */
}

.logosmenu img {
  height: 40px;              /* FIX: 40px Höhe */
  width: auto;
  display: block;
}

/* 4) Menü nimmt den Rest und startet links (nicht zentriert) */
.header-menu{
  flex: 1 1 auto;
  display:flex;
  justify-content:flex-start;
  align-items:center;
  min-width: 0;        /* verhindert komische Überläufe */
}

/* 5) Menü-UL resetten (hier entsteht oft der große Abstand) */
.header-menu ul.navilo{
  margin: 0;
  padding: 0;
  list-style: none;
  display:flex;
  align-items:center;
  gap: 40px;           /* Abstand zwischen Menüpunkten (anpassen) */
}

/* falls irgendwo margins auf li/a sind */
.header-menu ul.navilo > li{
  margin: 0;
  padding: 0;
}

/* 6) Social immer ganz rechts */
.header-social{
  flex: 0 0 auto;
  margin-left: auto;
  display:flex;
  align-items:center;
}

/* Optional: auf kleineren Screens untereinander */
@media (max-width: 768px){
  .header-row{ flex-direction:column; align-items:stretch; }
  .header-logo{ flex: 0 0 auto; max-width: 200px; margin-right: 0; }
  .header-menu{ justify-content:center; }
  .header-social{ margin-left: 0; justify-content:center; }
}

.kopfbereichr + main {
  padding-top: 80px;
}


.tx-powermail   .col-sm-2 {    width: 100%;  }



/* Außenbereich: Hintergrund + Luft */
.headerimage-outer{
  background: #e5e5e5;   /* hellgrau */
  padding: 10px 0 60px;
}

.headerimage-inner{
  width: 80%;
  margin: 0 auto;
  max-width: 1800px;

  border-radius: 0;
  overflow: hidden;

  /* Schatten nur unten, schmal */
  box-shadow:
    0 18px 22px -14px rgba(0,0,0,0.35);
}
/* TYPO3-Wrapper sollen die Höhe nicht sprengen */
.headerimage-inner .frame,
.headerimage-inner .frame-container,
.headerimage-inner .frame-inner,
.headerimage-inner .textmedia,
.headerimage-inner .textmedia-item,
.headerimage-inner .gallery-row,
.headerimage-inner figure,
.headerimage-inner picture{
  display: block;
  width: 100%;
  max-height: 550px;
}

/* Das Bild: maximal 550px hoch, dynamisch zuschneiden */
.headerimage-inner img{
  display: block;
  width: 100%;
  height: 550px;        /* feste Höhe für sauberen Look */
  max-height: 550px;
  object-fit: cover;    /* crop statt verzerren */
}

/* Handy: 100% */
@media (max-width: 768px){
  .headerimage-outer{ padding: 24px 0; }
  .headerimage-inner{ width: 100%; }
}

/* Große Desktops / 4K: 60% */
@media (min-width: 2000px){
  .headerimage-inner{ width: 60%; }
}


.powermail_tab_navigation .pull-right {float: right;}
.powermail_tab_navigation .pull-left {float: left;}
.btn-group {width: 100%;}
 legend {
    font-size: 1.5rem;
    margin-top: 40px;
  }

.powermail_fieldset .col-md-6 {    width: 100%; }


.carousel-item-bodytext a {background-color:#216096; color:#fff !important; ; padding: 6px 14px; border-radius: 4px;}
.carousel-item-bodytext a:hover {background-color:#009770 !important; }
/*###SUCHE*/

.kopfbereich .submitbutt {float: left;}

.slick-slide img {
    display: block;
    width: 100%;
	margin: 0 auto;
}

.slider {
	display: table !important;
	table-layout: fixed !important;
	width: 100% !important;
	position: relative;
	background: #888;
}
.slick-prev, .slick-next {z-index: 100000;}
slider .container {max-width: inherit !important; width: 100% !important;}
slider .container .col, slider .container, 
slider .container .row {padding: 0; margin:0;}
slider h2 {display: none !important;}

 .slick-prev {left: 25px !important;}
.slick-next {right: 25px !important;}

.slick-next::before,
.slick-prev::before {color:#0089cc;font-size: 2.5rem;}

ul.slick-dots {
    bottom: 3% !important;
}

span.resetbutt a {max-width: 180px !important;}
/*###SUCHE*/

.copyright p {font-size: 0.8rem;}

.rootline p {margin-bottom: 0; padding: 8px 0;  text-transform: uppercase; font-size: 1rem;}






span.submitbutt input{
  box-sizing: border-box !important;
  display: inline-block!important;
  font-size: .888em!important;
  padding: 0.85em 0.2rem !important;
  line-height: 1em!important;
  color: #262626!important;
  background-color: #fff !important;
  border: 2px solid #262626!important;
  border-radius: 1.5em !important;
  text-decoration: none !important;
  text-align: center !important;
  margin: 0 !important;
  font-weight: 400 !important;
  cursor: pointer !important;
  -webkit-transition: all .15s !important;
  transition: all .15s !important;
  margin-left: 10px !important;
  max-width: 120px !important;
  min-width: 100px !important;
}



.t3s-slickslider .slick-slide {
  padding: 0.1%;
}



/*++++++ Back to top btn Ende ++++*/


.frame-background-primary h2 {color:#fff !important;}


/* =========================
   Headline H2 – Kunsthaus Style
   ========================= */


h1 {
  font-family: inherit;
  font-size: clamp(2.2rem, 3.2vw, 3.2rem);
  font-weight: 600;
  text-transform: uppercase;
  color: #222;


  margin: 0 0 1.2rem 0;
  padding-bottom: 0.75rem;

  position: relative;
  color: #222;
}

/* Unterstrich */
h1::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;

  width: 120px;                  /* Länge der Linie */
  height: 4px;                   /* Stärke der Linie */
  background: #222;
}

h2 {
  font-family: inherit;
  font-size: clamp(1.8rem, 2.2vw, 2.2rem);
  font-weight: 400;
  text-transform: uppercase;
  color: #222;
  margin: 0 0 1.2rem 0;
  padding-bottom: 0.75rem;
  position: relative;
  color: #222;
}

.kopfbereich .textmedia,
.footertext .textmedia {gap:0;}

.logoimage .gallery-item figure {max-width: 65%;margin: 0 auto;}


.hunderter .megazeil,
.hunderter .ce-outer,
.hunderter .ce-row,
.hunderter .ce-gallery,
.hunderter .ce-textpic,
.hunderter .image { width: 100% !important;}
.hunderter .container {padding: 0 !important;}
.hunderter .frame {width: 100%; height: auto; margin: 0;
padding: 0;}

.hunderter .ce-gallery[data-ce-columns="3"] .ce-column {
    width: 33.33333% !important;}

.hunderter {max-width: 100% !important; padding: 0 !important; z-index: 0;}
.hunderter .ce-gallery img {padding: 0;width: 100%; }
.hunderter .ce-column {padding: 0 !important ;}
.hunderter .textmedia {gap:0;}
.hunderter hr {height: 0; padding: 2% 0; background:none !important;}
.hunderter .frame-container-default {
  max-width: 100%; padding: 0; margin:0;
}


.headerimage {position: relative; width: 100%; overflow: hidden; margin-bottom: 0.5%;}
.headerimage .carousel-image picture {width: 100%;}
.headerimage .carousel .carousel-content-inner,
.headerimage  .frame-container {min-width: 100% !important; max-width: inherit !important; padding: 0; margin:0; }

#pageid1 .headerimage .carousel .carousel-content-inner {min-height: 60vh;}

.headerimage .carousel .carousel-content {  height: inherit;}
.headerimage .carousel-item-type-image .carousel-image img {	width: 100%;}
.headerimage .frame {padding: 0;}
.headerimage .carousel .item {height: auto;}


.headerimage .carousel-image {
  display: block;
	z-index: 1;
  width: 100%;
}

.frame-custom-10 .image {max-width: 50%;}
.frame-custom-11 .image {max-width: 65%;}
.frame-custom-12 .image {max-width: 80%;}


.frame-space-before-extra-small {margin-top:0.5%;display: block;}
.frame-space-before-small {margin-top:3%!important;display: block;}
.frame-space-before-medium {margin-top:6% !important;display: block;}
.frame-space-before-large {margin-top:9%;display: block;}

.frame-space-after-extra-small {margin-bottom:0.5%;display: block;}
.frame-space-after-small {margin-bottom:3%;display: block;}
.frame-space-after-medium {margin-bottom:6%;display: block;}
.frame-space-after-large {margin-bottom:9%; display: block;}

.textmedia, .textpic {
		grid-column-gap: rem;
	gap: 0rem 2rem;
}





/* Optional: Pfeile im Slider auch dunkler (besser lesbar) */
.slick-next::before,
.slick-prev::before{
  color: var(--stwv-blue) !important;
}

