/*ALT*/

:root{
  --gap: 15px;
  --margin: 15px;
  --sans: 'neue-haas-unica', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  --serif: 'Times Ten', 'Times New Roman', Times, serif;

  /* Size relationship: serif a bit bigger */
  --sans-sm: 15px;
  --sans-lg: 30px;
  --serif-scale: 1.1;
  --serif-sm: calc(var(--sans-sm) * var(--serif-scale)); /* 16.5px */
  --serif-lg: calc(var(--sans-lg) * var(--serif-scale)); /* 33px */
}

/* Basic reset */
*{box-sizing:border-box}
html,body{}
body{
  margin:0;
  font-family: var(--sans);
  font-size: var(--sans-sm);
  line-height:1.4;
	transition: all 0.1s ease;
	hyphens: auto;
		background-color: #f9f3f3;
	-webkit-font-smoothing:antialiased;

}

a{
	color: #000;
	text-decoration: none;
	transition: all 0.1s ease;

}

a:hover{opacity: 0.5; transition: all 0.1s ease;}

h1, h2, h3, h4, h5, h6{
	font-weight: normal;
}

.serif{font-family: var(--serif);  font-size: var(--serif-sm);}
.sans{font-family: var(--sans);font-weight: 500; font-size: var(--sans-sm);}
.sans-thin{font-family: var(--sans);font-weight: 300; font-size: var(--sans-sm);letter-spacing: 0.02em; line-height: 1.3;}
.size-sm{font-size: var(--serif-sm);}
.size-lg{font-size: var(--serif-lg);}

.prose.large p{
	line-height: 1.1;
}
.page-template-page-categories,
.page-template-page-bloecke{
	background-color: #f9f3f3;
}

.category main,
.single-projekt main,
.page-template-page-bloecke main{
	margin-bottom: 25vh;
}

.page-template-page-categories{
	margin-top: 60px;
	margin-top: 0px;
}

.bma-header, .bma-footer{
  position: fixed; left: 18px; right: var(--margin);
  z-index: 1000;
}

.bma-header{
  top:15px;;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gap);
  align-items: start;
}

.bma-header-left{
  grid-column: 1 / span 3;
	line-height: 1;
}

.bma-header-left a{
	font-size: 30px;
	line-height: 1;
}

.title-2{
	position: fixed;
	transform: rotate(90deg);
	right: -15px;
	top:50px;
}

.title-3{
	position: fixed;
	transform: rotate(180deg);
	right: 20px;
	bottom:10px;
}


.bma-header-left a{ text-decoration:none; color:inherit; line-height: 1;}

/* menu starts at column 4 */
.bma-header-nav{
  grid-column: 4 / span 6; /* room for menu; adjust as needed */
	margin-top: 12px;
}
.bma-menu{ list-style:none; padding:0; margin:0; display:flex; gap: var(--gap); flex-wrap:wrap; line-height: 1; }
.bma-menu ul{ plist-style: none; margin: 0; padding: 0;}
.bma-menu li{ position:relative; list-style: none; display: inline-block;}
.bma-menu a{ text-decoration:none; color:inherit; font-weight: 100!important; font-size: 19px;}
.bma-menu .sub-menu{
  position:absolute; top: 100%; left:0; 
  display:none; min-width:220px;
}
.bma-menu li:hover > .sub-menu{ display:block; }

.bma-header-right{
  grid-column: 12 / span 1;
  justify-self: end;
}
.bma-small-logo{ max-height: 28px; height: auto; width: auto; display:block; }

/* Footer bottom left */
.bma-footer{
  bottom: var(--margin);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gap);
}
.bma-footer-nav{ grid-column: 10 / span 3; display: none;}
.bma-footer-menu{ list-style:none; padding:0; margin:0; display:flex; gap: var(--gap); }
.bma-footer-menu a{ text-decoration:none; color:inherit; font-size: 12px; font-weight: 100;}

/* Main content with margins */
.bma-main{margin-left: 20px; margin-right: 20px; }
.single-projekt .bma-main{ padding-top: 0px;}
/* Grid helpers */
.grid{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gap);
}
[class*="col-start-"]{}
[class*="span-"]{}

.col-start-5{ grid-column-start: 5; }
.col-start-4{ grid-column-start: 4; }
.col-start-3{ grid-column-start: 3; }
.col-start-2{ grid-column-start: 2; }
.col-start-1{ grid-column-start: 1; }
.span-1{ grid-column-end: span 1; }
.span-2{ grid-column-end: span 2; }
.span-3{ grid-column-end: span 3; }
.span-4{ grid-column-end: span 4; }
.span-5{ grid-column-end: span 5; }
.span-6{ grid-column-end: span 6; }
.span-7{ grid-column-end: span 7; }
.span-8{ grid-column-end: span 8; }
.span-9{ grid-column-end: span 9; }
.span-10{ grid-column-end: span 10; }
.span-11{ grid-column-end: span 11; }
.span-12{ grid-column-end: span 12; }
/* =========================
   Hero (front page) — iOS safe
   ========================= */

.hero-fullscreen{
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

/* Poster layer (always visible first) */
.hero-poster{
  position: absolute;
  inset: 0;
  z-index: 1;
  background-size: cover;
  background-position: center;
}

/* Video layer */
.hero-media{
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;

  pointer-events: none;

  /* CRUCIAL: invisible but paintable */
  opacity: 0;
}

/* Reveal video only once actually playing */
.hero-fullscreen.is-playing .hero-media{
  opacity: 1;
}

/* Fade poster away once video plays */
.hero-fullscreen.is-playing .hero-poster{
  opacity: 0;
  pointer-events: none;
}

/* Center logo */
.hero-center-logo{
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.center-logo{
  max-width: 12vmin;
  height: auto;
}

/* Full hero link */
.hero-link{
  position: absolute;
  inset: 0;
  z-index: 5;
}

/* Optional: if you want the text hidden and only show the icon:
.hero-video-cta{ font-size:0; }
.hero-video-cta::before{ margin-right:0; }
*/

.projekt-hero {align-items: center;}
.project-hero-img-wrap{  }
.projekt-hero-img{ width:calc(100% + 20px); height:auto; object-fit: cover;  height: 100vh}

.projekt-title{ margin-top: var(--gap); }

.projekt-content{
  margin-top: 20px;
}

.page-content{
	margin-top: calc(50vh - 100px);
  margin-top: 60px;
}

.projekt-content p{
  font-size: 22px;
}

.page-content li{
	padding-inline-start:0px;
}

.page-template-page-bloecke  .page-content div{
	margin-bottom: 3rem;
}

.page-template-page-bloecke  .page-content div.link-block{
	
	margin-bottom: 0;
}

.projekt-content p:first-of-type{margin-top: 0;}
.bma-figure{ margin:0 0 8px 0; }
.bma-figure img{max-width: 100%; height: auto;}
.bma-credit{ font-size: 0.65em; opacity: .7; margin-top:2px; }

.image-row{ display:grid; gap: var(--gap); grid-auto-flow: column; }
.image-row .bma-figure{ margin:0; }
.image-row.count-2{ grid-template-columns: repeat(2, 1fr); }
.image-row.count-3{ grid-template-columns: repeat(3, 1fr); }
.image-row.count-4{ grid-template-columns: repeat(4, 1fr); }

.two-col{ display:grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); }

.backlink{
	margin-top:3rem ;
		font-size:;
	position: relative;
	display: inline-block
}

.bma-link{
	position: relative;
}

.backlink:after,
.bma-link:after{
	position: absolute;
	right: -70px;
	top:0px;
	width: 50px;
	height: 50px;
	background-image: url('../img/arrow.svg');
	display: block;
	content: '';
	background-repeat: no-repeat;
	background-position: center;
	transform: rotate(180deg);
		transition: all 0.1s ease;

}

.bma-link:after{
	transform: none;
	top:-5px;
}

.backlink:hover::after,
.bma-link:hover::after{
	right: -60px;
	transition: all 0.1s ease;
}

.large{
	hyphens: none;
}

/* Larger variant for text blocks */
.prose.large, .two-col.large {
  font-size: calc(var(--serif-lg));
  line-height: 1.3;
}


/* Category overview */
.category-title{ margin: 0 }
.category-title h1{
	margin-top: 100px;
	line-height: 1;
		font-size:30px;
}
.category-grid .category-item{ margin-bottom: var(--gap); }
.thumb-wrap{ position:relative; width:100%; overflow:hidden; }
.ratio-3-4{ padding-top: calc(3 / 4 * 100%); } /* height/width * 100% */
.ratio-2-3{ padding-top: calc(2 / 3 * 100%); } /* height/width * 100% */
.thumb-wrap .thumb{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }

/* Thumbnail focus (ACF-driven via class on .thumb-wrap) */
.thumb-wrap.thumb-focus-center .thumb    { object-position: 50% 50%; }
.thumb-wrap.thumb-focus-top .thumb       { object-position: 50% 0%; }
.thumb-wrap.thumb-focus-top-left .thumb  { object-position: 0% 0%; }
.thumb-wrap.thumb-focus-top-right .thumb { object-position: 100% 0%; }
.thumb-wrap.thumb-focus-left .thumb  { object-position: 0% 50%; }
.thumb-wrap.thumb-focus-right .thumb { object-position: 100% 50%; }

/* Thumbnail focus (ACF-driven via class on .thumb-wrap) */
.thumb-wrap.thumb-focus-center .thumb        { object-position: 50% 50%; }

.thumb-wrap.thumb-focus-top .thumb           { object-position: 50% 0%; }
.thumb-wrap.thumb-focus-top-left .thumb      { object-position: 0% 0%; }
.thumb-wrap.thumb-focus-top-right .thumb     { object-position: 100% 0%; }

.thumb-wrap.thumb-focus-center-left .thumb   { object-position: 0% 50%; }
.thumb-wrap.thumb-focus-center-right .thumb  { object-position: 100% 50%; }

.thumb-wrap.thumb-focus-bottom .thumb        { object-position: 50% 100%; }
.thumb-wrap.thumb-focus-bottom-left .thumb   { object-position: 0% 100%; }
.thumb-wrap.thumb-focus-bottom-right .thumb  { object-position: 100% 100%; }

.bma-cat-list{
	list-style: none;
	padding-left:0px;
	margin-block-start: 0em;
	margin-block-end: 0em;
    padding-inline-start: 0px;
	grid-template-columns:repeat(10, 1fr);
		height:100vh;
	align-items: center;
}

.bma-cat-item{
		grid-column:  span 2;

}

.bma-cat-list li{
	list-style: none;
	line-height: 1.1;
}

.page-template-page-categories .bma-main{
	margin-top: 100px;
	margin-top: 0px;
	height: 100vh;
}

.page-template-page-contact .bma-main{
	margin-top: -5vh;
	height: 100vh;
	
}

.page-template-page-contact .page-content{
	height: 100vh;
	margin-top: 0px;
	align-items: center;
	align-content: center;
}

.page-template-page-contact .page-content p {
}

.page-template-page-contact  .page-content div:not(.large) p {
	font-size: 17px;
}

.page-template-page-contact .contact_wrap{
	display: none;
}

.category-list{height: 100vh;}

.page-template-page-categories .bma-menu li a,
.page-template-page-bloecke .bma-menu li a,
.category .bma-menu li a,
.single-projekt .bma-menu li a{
	opacity: 0.5;
}

.page-template-page-categories .bma-menu li a:hover,
.page-template-page-bloecke .bma-menu li a:hover,
.category .bma-menu li a:hover,
.single-projekt .bma-menu li a:hover{
	opacity: 1;
}

.page-template-page-categories .bma-menu li.current-menu-item a,
.page-template-page-bloecke .bma-menu li.current-menu-item a,
.category .bma-menu #menu-item-203 a,
.single-projekt #menu-item-203 a{
	opacity: 1;
}

.page-template-page-categories .bma-menu li.current-menu-item a:hover,
.page-template-page-bloecke .bma-menu li.current-menu-item a:hover,
.category .bma-menu #menu-item-203 a:hover,
.single-projekt #menu-item-203 a:hover{
	opacity: 0.5;
}


.page-template-front-page .bma-main{
	padding: 0px;
	margin: 0px;
}

.page-template-front-page .bma-header-right{
	display: none;
}

.contact_wrap {grid-column: 4 / span 3; z-index: 99999999999; position: relative;}
.contact_wrap p {display: inline-block; margin: 0; margin-right: 20px;}
.contact_wrap a{display: inline-block; margin-right: 20px;}


/* .archive .contact_wrap, */
.page-template-page-bloecke .contact_wrap,
.projekt-template-default .contact_wrap,
.page-template-default .contact_wrap{
	grid-column: 4 / span 7;
	position: relative;
}

.single-projekt .bma-footer,
.page-template-page-bloecke .bma-footer,
.projekt-template-default .bma-footerp,
.page-template-default .bma-footer,
.category .bma-footer{
	position: relative;
	width: calc(100% - 18px);
}

/* .archive .contact_wrap p, */
.single-projekt .contact_wrap a,
.page-template-page-bloecke .contact_wrap a,
.projekt-template-default .contact_wrap a,
.page-template-default .contact_wrap a{
	display: block;
}



.category-list a{
	font-size: 20px;
}

.mobile-cat{
	display: none;
}

.bma-cat-title{
		grid-column: span 10;

}

.bma-cat-link{
	width: 100%;
	grid-template-columns:repeat(10, 1fr);
	align-items: center;
}


.bma-cat-thumb-wrap{
	grid-column: span 10;
}
.bma-cat-thumb{
	padding-top:calc(3 / 4 * 100%);
	padding-top:calc(3 / 2 * 100%);
	    position: relative;
    width: 100%;
    overflow: hidden;
	display: block;
	
}

.bma-cat-thumb img{
	    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-overview-title{
	margin-top: 6px;
	font-size: 18px;
}

	.projekt-title h1{margin-top: 6px; line-height: 1; margin-bottom: 6px;}
.project-fact-list{
	list-style: none;
	margin-block-start:0px;
	padding-inline-start:0px;
	
}

.project-facts{
	position: absolute;
	bottom: 0px;
}


 .page-content .prose ul {
	 margin-block-start: 0em;
	     padding-inline-start: 0px;


}	

.fact-bez{
	min-width: 150px;
	display: inline-block;
}
.projekt-title{ margin-top: 0px;}


.custom-head-bar {
  position: fixed;
	top:0px;
	left: 0px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  /* wichtig: KEINE harte Hintergrundfarbe direkt auf dem Element */
  background: transparent;
  overflow: visible;
	display: block;
	z-index: -1;
	height: 60px;
	width: 100%;
}

/* Der eigentliche helle Balken */
.custom-head-bar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.45);  /* heller Balken */
  pointer-events: none;
}

/* Weiches Ausfaden nach unten */
.custom-head-bar::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;

  /* Verlauf etwas unterhalb des Elements beginnen */
  top: 60px;
  height: 20px;

  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.45) 0%,   /* oben: gleiche Farbe wie Balken */
    rgba(255, 255, 255, 0) 100%     /* unten transparent */
  );
  pointer-events: none;
}


#Ehemalige{
	hyphens: none;
}

#Partner .people-item-position{
	margin-top: 10px;
}



.people-block {
  margin-bottom: 3rem;
}

.people-block-headline {
  margin-bottom: 1.5rem;
	font-size: 18px;
	font-weight: 500;
	font-family: 'neue-haas-unica', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

.people-block-grid {
  display: grid;
  gap: 1.5rem;
}

.boxes-grid{
  display:grid;
  grid-template-columns:repeat(5, minmax(0, 1fr));
  gap:20px;
}



.standard-page h1{
	font-size: 17px;
	font-weight: 500;
	font-family: var(--sans);
}

.standard-page h1 strong{
	font-size: 17px;
	font-weight: 800;
	font-family: var(--sans);
}

.standard-page strong{
	font-weight: 100;
	text-transform: uppercase;
	
}





@media (max-width: 900px){
  .boxes-grid{ grid-template-columns:1fr; }
}



/* Optional: card feel (adjust to your system) */
.box-item{
 /*  padding-left:15px; */
	/* background-color: #f6f6f6; */
/* 	border-left: 0.1rem solid #c3c3c3; */
	
}

.box-item p{ 
	/*	border-left: 0.1rem solid #c3c3c3;
	padding-left: 15px; */
font-family: var(--sans);font-weight: 300; font-size: var(--sans-sm);letter-spacing: 0.02em;
line-height: 1.2;
	

}
.box-item-headline{ margin:0 0 8px 0; 
	padding-left: 0px;
}

.box-item-text > *:first-child{ margin-top:0; }
.box-item-text > *:last-child{ margin-bottom:0; }

.box-item-image{
	width: 100%;
	height: auto;
}


/* Zwei nebeneinander */
.people-two .people-block-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Bis zu vier nebeneinander (bricht automatisch, wenn weniger) */
.people-four .people-block-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.people-item-figure {
  margin: 0 0 0.75rem;
}

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

.people-item-name {
  margin: 0 0 ;
	line-height: 1
}

.people-item-position {
  margin: 0;
  font-size: 0.9rem;
}

.people-item-position p{
	margin-top: 0px;
}
.people-item-position ul{
	padding-inline-start:0px;
	list-style: none;
	font-family: var(--sans);font-weight: 300; font-size: var(--sans-sm);letter-spacing: 0.02em;

}

.people-item-position ul li{
	margin-bottom: 15px;
	position: relative;
}

.people-item-position ul li:before{
	content: '––';
	position: absolute;
	left: -20px; 
	
	display: none;
}


.page-template-default{
	margin-top: 120px;
	
}

/* Default spacing for a single link block */
.link-block{
  margin-top: 24px;
}

/* If a link block follows another link block → no spacing */
.link-block + .link-block{
  margin-top: -20px;
}


/* A11y helper */
.sr-only{
  position:absolute !important;
  width:1px;height:1px;
  padding:0;margin:-1px;
  overflow:hidden;clip:rect(0,0,0,0);
  white-space:nowrap;border:0;
}

/* Burger button (only visible on mobile breakpoint where nav becomes off-canvas) */
.bma-burger{
  display:none; /* default hidden on desktop */
  position:fixed;
  top: calc(50% - 22px);
  right: 0px;
  z-index: 2000; /* above nav panel */
  width: 36px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

/* 3 lines */
.bma-burger-lines{
  position:absolute;
  left: 10px;
  right: 10px;
  top: 50%;
  height: 2px;
  transform: translateY(-50%);
  background: #000;
  transition: background 180ms ease;
}
.bma-burger-lines::before,
.bma-burger-lines::after{
  content:"";
  position:absolute;
  left:0; right:0;
  height:2px;
  background:#000;
  transition: transform 220ms ease, top 220ms ease, bottom 220ms ease, opacity 180ms ease;
}
.bma-burger-lines::before{ top: -8px; }
.bma-burger-lines::after{ top: 8px; }

/* Active state: burger -> X */
.bma-burger.is-open .bma-burger-lines{
  background: transparent;
}
.bma-burger.is-open .bma-burger-lines::before{
  top: 0;
  transform: rotate(45deg);
}
.bma-burger.is-open .bma-burger-lines::after{
  top: 0;
  transform: rotate(-45deg);
}

/* Mobile: turn your nav into an off-canvas panel with animation */
@media (max-width: 900px){
	
	
	
	 h2.size-lg.boxes-block-headline {
		font-size: 30px;
		 hyphens: none;
		 word-break: keep-all;
		 line-height: 1.1;
	}
	
	
	/* Zwei nebeneinander */
.people-two .people-block-grid {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}
	
	.bma-menu a{font-size: 20px!important;}	
	
  .bma-burger{ display:block; }

  /* your nav already becomes fixed in your CSS;
     we add transition + open state */
  .bma-header-nav{
    transition: right 260ms ease;
    will-change: right;
  }

  /* open state */
  body.nav-open .bma-header-nav{
    right: 0 !important;
  }

  /* optional: prevent background scroll when menu is open */
  body.nav-open{
    overflow: hidden;
    touch-action: none;
  }

  /* optional: close menu when clicking links (you already style menu items) */
  .bma-header-nav a{ -webkit-tap-highlight-color: transparent; }
}

.bma-menu li .sub-menu li {
		display: block;
		margin-top: 5px;
	}





/* MALTES */

.page-id-26  p:not(.large) p{
	font-size: 19px;
}




/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  .bma-burger-lines,
  .bma-burger-lines::before,
  .bma-burger-lines::after,
  .bma-header-nav{
    transition: none !important;
  }
}






/* Simple responsiveness */
@media (max-width: 1200px){
	
	
	.category-list a,
	.font-sm,
	.bma-menu a{
		font-size: 17px;
	}	
}

/* Simple responsiveness */
@media (max-width: 900px)


{
  .bma-header, .bma-footer{ left:10px; right:10px; }
  :root{ --margin: 10px; --gap: 16px; }
  .projekt-title{ padding-left: 0; margin-left: 0; }
  .col-start-4,
	.prose, .people-block, .link-block, .boxes-block
	
	
	{ grid-column-start: 1; 
	grid-column-end: span 8;}
  .span-8{ grid-column-end: span 6; }
  .two-col{ grid-template-columns: 1fr; }
	.page-template-page-bloecke .page-content div{
		margin-bottom: 0rem;
	}
	
	
	
	
	.bma-header-left a{
		font-size: 18px;
	}
	
	/* .title{
		transform: rotate(-90deg);
		left: -20px;
		bottom: 35px;
		position: fixed;
	} 
	
	.title-2{
		transform: rotate(0); 
		left: 10px;
		top: 10px;
		position: fixed;
		right: auto; 
	}
	
	.title-3{
		transform: rotate(90deg);
		top: 60px;
		right: -35px;
		position: fixed;
		bottom: auto;
	} */
	
	
	.title-2{
		top:35px;
		right:-10px;
	}
	
	.bma-header-nav{
		    margin-top: 12px;
		position: fixed;
		right: 10px;
		bottom: 1px;
		width: auto;
		text-align: right;
		display: inline-block;
		
		height: 100%;
		background-color: #fff;
		display: flex;
		align-content: center;
		align-items: center;
		width: 100%;
		text-align: center;
		right: -150%;
	}
	
	.bma-menu{display: block; margin: 0 auto; text-align: left;}
	.bma-menu li{display: block; margin-bottom:5px;}
	.contact_wrap{display: none;}
	.bma-main{margin: 40px 45px 10px 40px}
	.page-template-page-categories .bma-main,
	.category .bma-main{
		margin: 120px 40px 40px 40px;
	}
	
	
	.category-list div{
		grid-column-end:12;
		grid-column-start: 1;
	}
	
	  .grid{ grid-template-columns: repeat(4, 1fr); }
	.bma-cat-list.grid{ grid-template-columns: repeat(4, 1fr);
		height: auto;
				
	}
	
	.bma-cat-thumb{padding-top: calc(3 / 2 * 100%)}
	.category-title h1{
		margin-top: 0px;
		/* font-size: 18px; */
	}
	
	.category-item{
		grid-column-end: auto;
		grid-column-start: auto;
		grid-column: span 4; 
		margin-bottom: 0px;
	}
	.category-grid .category-item,
	.project-overview-title{
		margin-bottom: 0px;
	}
	
	.projekt-title h1{
		margin-top: 40px;
	}
	.project-intro-text{
		margin-top: 40px;
	}
	
	.project-fact-list{
		margin-top: 40px;
	}
	
	
	.single-projekt .bma-main{
		margin-left: 0px;
		margin-right: 0px;
		margin-top: 0px;
	}
	
	.backlink:after,
	.bma-link:after{
		    top: -5px;
    width: 40px;
    height: 40px;
		right: -60px;
	}
	
	.backlink:hover::after,
	.bma-link:hover::after{
		right: -50px;
	}
	
	.projekt-hero,
  .projekt-hero-inner,
  .projekt-hero-content,
  .projekt-hero-top {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-template-areas:
      "image"
      "title";
  }
	
	.hero-media{
  pointer-events: none;
}
	
	.hero-video { pointer-events: none; }
.hero-video-cta { position:absolute; inset:0; z-index:6; }
.hero-link { position:absolute; inset:0; z-index:5; }
.hero-center-logo { position:absolute; inset:0; z-index:4; pointer-events:none; }
	
	
	.hero-video-cta{
  position:absolute;
  inset:0;
  z-index:6;
  display:flex;
  align-items:center;
  justify-content:center;
  background:transparent;
  border:0;
  color:#fff;
  font:inherit;
  opacity:.9;
}

.hero-video-cta::before{
  content:"▶︎";
  font-size:28px;
  margin-right:10px;
}

.hero-video-cta[hidden]{ display:none; }

  .project-hero-img-wrap{ grid-area: image;grid-column-end:span 1; overflow: hidden; max-height: 60vh;} 
  .projekt-title{ grid-area: title; }

	.projekt-hero-img{
		width: 100%;
		object-fit: scale-down;
		height: auto;
	}
	
	
	
	.project-facts{
		position: relative;
	}
	
	.size-lg{
		font-size: 20px;
		word-break: break-all;
	}

	.projekt-content{
		padding: 40px;
	}
	
	.projekt-title,
	.project-intro{
		padding-left: 40px;
		padding-right: 40px;
	}
	
	.single .projekt-backlink{
		padding-left: 40px;
	}
	
	.projekt-content .span-5,
	.projekt-content .span-8{
		
		grid-column-end:span 9;
	}

	.bma-cat-item{
		grid-column:  span 4;
	}
	
	.page-template-page-bloecke main{
		margin-bottom: 20vh!important;
	}
	
	.category-list{
		height: auto;
	}
	.page-template-page-categories .bma-main{
		margin-bottom: 30vh;
		height: auto;
	}
	
	.category-list a{
		gap:5px;
	}
	
	.people-four .people-block-grid{
		grid-template-columns:repeat(2, minmax(0, 1fr));
	}
	
	.blender{
background: linear-gradient(rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);	
		position: fixed;
		bottom: 0px;
		left: 0px;
		height: 12vh;
		width: 100%;
		z-index: 1;
		display: none;
		pointer-events: none;
		content: '.';
	}
	
	.page-template-page-bloecke .blender{
		background: linear-gradient(to bottom, rgba(236,236,236,0) 0%,rgba(236,236,236,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */

	}
	
	.fact-bez{
		min-width: 90px;
	}
	

	
	.project-fact-item  {
		line-height: 1.2;
	}
	
	.project-fact-item span {
		font-size: 15px;
		line-height: 1.2;
	}
	
	.prose.large{
		font-size: 30px;
	}
	
	.mobile-cat{display: inline;}
	
	.bma-menu .sub-menu{
		display: block;
		position: relative;
		padding-left:10px;
		margin-top: 5px;
	}
	
	
	.page-template-front-page .bma-burger{
		}
		}
	
	/* .bma-menu .sub-menu a{
		font-size: 14px!important;
	} */

}

