/*
Theme Name: BRS Technik 2026
Author: Natascha Pawlik
Author URI: www.webherz-agentur.de
Version: 1.0
Date: März 2026
*/


/*
COLORING:
blau #004280
hellblau #00A6FF
beige #FFE6AA
gold #CCA034
*/


/* ------------------------------------------------------------------------------------------------------------------------------------------ ALLGEMEINES */
@font-face { font-family: "Mulish"; src: url("webfonts/Mulish-Regular.ttf") format("truetype"); }
@font-face { font-family: "Mulish Italic"; src: url("webfonts/Mulish-Italic.ttf") format("truetype"); }
@font-face { font-family: "Mulish Light"; src: url("webfonts/Mulish-Light.ttf") format("truetype"); }
@font-face { font-family: "Mulish Medium"; src: url("webfonts/Mulish-Medium.ttf") format("truetype"); }
@font-face { font-family: "Mulish SemiBold"; src: url("webfonts/Mulish-SemiBold.ttf") format("truetype"); }
@font-face { font-family: "Mulish Bold"; src: url("webfonts/Mulish-Bold.ttf") format("truetype"); }
@font-face { font-family: "Mulish ExtraBold"; src: url("webfonts/Mulish-ExtraBold.ttf") format("truetype"); }
@font-face { font-family: "WindSong"; src: url("webfonts/WindSong-Regular.ttf") format("truetype"); }
@font-face { font-family: "WindSong Medium"; src: url("webfonts/WindSong-Medium.ttf") format("truetype"); }

:root { font-size: 22px; }

* { padding: 0; margin: 0; -moz-box-sizing: border-box; -web-box-sizing: border-box; box-sizing: border-box; }

body { 
	font-family: "Mulish";
	font-weight: normal; 
	font-size: 1em;
	line-height: 1.5;
	color: #004280;
}
#pagewrapper { overflow: hidden; width: 100%; }

a { color: inherit; text-decoration: none; transition: all 300ms ease-in-out; border-bottom: 1px solid transparent; }

img { height: auto; max-width: 100%; border: none; }


/* ------------------------------------------------------------------------------------------------------------------------------------------ FONTS */
h1, h2, h3, h4, h5 { font-family: "Mulish Bold"; font-weight: normal; line-height: 1.3; margin-bottom: 0.75em; color: #004280; }
h1 { font-family: "Mulish ExtraBold"; font-size: 2.72rem; margin-bottom: 0; }
h2 { font-size: 2.27rem; }
h3 { font-size: 1.59rem; }
h4 { font-size: 1.14rem; }
h5 { font-size: 1rem; }


body.page-id-3 main p, body.page-id-326 main p, body.page-id-407 main p { margin: 0.5em 0 1.5em 0; }
body.page-id-3 h2, body.page-id-326 h2, body.page-id-407 h2 { margin: 0 }
body.page-id-3 h3, body.page-id-326 h3, body.page-id-407 h3 { margin: 0 0 0.25em 0 }
body.page-id-3 h4, body.page-id-326 h4, body.page-id-407 h4 { margin: 0; }

main .wp-block-heading.sitetitle { font-family: "Mulish ExtraBold"; font-size: 2.72rem; width: 1100px; margin: 0 auto 0.75em auto; text-shadow: 0 3px 6px rgba(0,0,0,0.5); }

p, ul { margin-bottom: 15px; color: #004280; }
main p a, main label a, main ul li a { color: #004280; border-bottom: 1px solid #004280; }
body.page-id-158 main p a { border-bottom: none; }
strong, b { font-family: "Mulish Bold"; font-weight: normal; }

main ul { margin-left: 2em; }
main ul.pp_ul { list-style-type: none; margin-left: 0; }
main ul.pp_ul li { position: relative; padding-left: 40px; margin-bottom: 10px; }
main ul.pp_ul li::before { content: '\f1d8'; font-family: "Font Awesome 5 Free"; font-weight: 900; color: #00A6FF; font-size: 25px; transform: rotate(54deg); position: absolute; left: 0; }

ul.pdfdownloads { display: grid; grid-template-columns: 31% 31% 31%; flex-wrap: wrap; justify-content: space-between; list-style-type: none; margin-left: 0; }
ul.pdfdownloads li { 
	font-family: "Mulish Bold"; 
	border: 1px solid #333; 
	padding: 1em 1em 1em 100px; 
	border-radius: 10px; 
	position: relative; 
	margin-bottom: 2em; 
	transition: all 300ms ease-in-out; 
	cursor: pointer; 
	display: flex; 
	display: -webkit-flex; 
	align-items: center; 
}
ul.pdfdownloads li a { border-bottom: 1px solid transparent; }
ul.pdfdownloads li::before { content: '\f1c1'; color: #CF0000; font-weight: normal; font-size: 60px; left: 22px; top: 50%; transform: translateY(-50%); font-family: "Font Awesome 5 Free"; position: absolute; }

p.spec { font-family: "WindSong Medium"; color: #CCA034; font-size: 2.8rem; transform: rotate(-8deg); margin: -1em 0 0.5em -2em; }
.wp-block-heading.spec strong, .wp-block-heading.spec b { font-family: "WindSong Medium"; color: #CCA034; font-size: 1em; }
body.home p.spec { margin: -1em 0 0.5em -2em; }



/* ------------------------------------------------------------------------------------------------------------------------------------------ BUTTONS */
.wp-block-buttons { margin: 2em 0 1em 0; }
.wp-block-buttons .wp-block-button { font-family: "Mulish Medium"; font-size: 0.8em; }
.wp-block-buttons .wp-block-button a { padding: 0.75em 1.5em; transition: all 300ms ease-in-out; }
main a.morelink { padding: 0.5em 1em; transition: all 300ms ease-in-out; border-radius: 10px; background: #FFE6AA; color: #004280; margin-top: 0.35em; display: inline-block; }



/* ------------------------------------------------------------------------------------------------------------------------------------------ NAVIGATION */
#topline { background: #9F0000; font-family: "Mulish Bold"; color: #fff !important; padding: 10px 30px 0 30px; position: fixed; top: 0; left: 0; right: 0; z-index: 9999; }
#topline p { margin-bottom: 9px; color: #fff !important; }
body.page-id-145 #topline, body.page-id-395 #topline { display: block; }
body.page-id-145 header, body.page-id-395 header { margin-top: 52px; }

ul.navigation, ul.navigation ul { list-style: none; margin-bottom: 0; }
ul.navigation li a { font-family: "Mulish Medium"; color: #fff; }
header { display: flex; display: -webkit-flex; align-items: center; justify-content: space-between; position: fixed; top: 0; left: 0; right: 0; z-index: 9999; transition: all 300ms ease-in-out; height: 100px; }
header #logocontainer { height: 100%; width: auto; margin-left: 30px; }
header #logocontainer a img { height: 100%; display: block; }
header nav { margin: 0 0 0 auto; }

/* Suchicon und -feld im Header */
header #search { margin: 0 50px 0 0; position: relative; }
header #search #searchform_container { position: absolute; top: 100%; right: -400px; transition: all 300ms ease-in-out; opacity: 0; margin-top: 1.25em; text-align: right; width: 400px; }
header #search #searchform_container.active { right: 0; opacity: 1; }
header #search #searchform_container input, #searchform_cntnr input { height: 43px; border: 1px solid #ccc; border-radius: 10px; background: #fff; width: 220px; }
header #search #searchform_container label.screen-reader-text { height: 0; width: 0; }
header #search #searchform_container input#s, #searchform_cntnr input#s_two { border-radius: 10px 0 0 10px; padding: 0 0.5em; font-family: "Mulish"; font-size: 0.8em; }
header #search #searchform_container input#s { margin-right: 85px; }
header #search #searchform_container input#s:focus-visible, #searchform_cntnr input#s_two:focus-visible { outline: none; box-shadow: none; }

header #search #searchform_container input#searchsubmit, #searchform_cntnr input#searchsubmit_two { 
	padding: 0.35em 0.75em; 
	transition: all 300ms ease-in-out; 
	font-family: "Mulish Medium"; 
	font-size: 16px; 
	margin-left: 0; 
	border-radius: 0px 10px 10px 0px; 
	background: #FFE6AA;
	color: #004280;
	position: absolute; right: 0; top: 0px;
	width: 85px;
}
#searchform_cntnr input#searchsubmit_two { bottom: 0; left: 215px; right: auto; }
form#searchform_two > div { position: relative; }

header #flags { margin: 0 30px 0 0; }

header.scrolled { background: linear-gradient(90deg,#00132D 0%, #004280 100%); height: 80px; padding: 0.5em 0; }

header nav#toplevel-menu ul { display: flex; display: -webkit-flex; align-items: stretch; }
header nav#toplevel-menu ul li { margin-right: 50px; }

header nav .current_page_item, header nav .current-page-ancestor { position: relative; }
header nav .current_page_item::after, header nav .current-page-ancestor::after { content: ''; position: absolute; bottom: -2px; left: 0; right: 0; height: 1px; background: #fff; }

/* Sprachumschalter */
ul#flags_nav > li { padding-right: 28px; position: relative; }
ul#flags_nav li a { width: 34px; height: 26px; display: block; }
ul#flags_nav li a img { width: 34px !important; height: 26px !important; }
ul#flags_nav li .sub-menu li { margin: 5px 0; }
ul#flags_nav li .sub-menu li a img { display: none; }
ul#flags_nav li.lang-item-de a { width: 34px; height:26px; background: url("img/flag_de.png") no-repeat top left; background-size: 100%; display: block; }
ul#flags_nav li.lang-item-en a { width: 34px; height:26px; background: url("img/flag_en.png") no-repeat top left; background-size: 100%; display: block; }
ul#flags_nav > li span.submenupointer { display: block; width: 28px; height: 100%; position: absolute; top: 0; right: 0; padding: 0 10px; color: #fff; transition: all 300ms ease; line-height: 26px; }
ul#flags_nav .sub-menu { position: absolute; top: 100%; left: 0; max-height: 0; opacity: 0; transition: all 300ms ease; }
ul#flags_nav > li span.submenupointer i { transition: all 300ms ease; }
ul#flags_nav > li.submenu-open span.submenupointer i { transform: rotate(-90deg); }
ul#flags_nav li.submenu-open .sub-menu { max-height: 300px; opacity: 1; }



/* ------------------------------------------------------------------------------------------------------------------------------------------ LAYOUT */
.wp-block-cover { color: #004280; padding: 0; }
.wp-block-columns { position: relative; }
.wp-block-column { position: relative; z-index: 99; }
main { position: relative; z-index: 5; }
main > .wp-block-cover { padding-top: 100px; }
main > .wp-block-columns { width: 100%; margin: 50px 0; padding: 2em 0; }
main > .wp-block-columns .wp-block-cover { padding: 0; } /* war 2em wofür war das? */
main > .wp-block-columns > .wp-block-column > .wp-block-columns, .wp-block-cover .wp-block-cover__inner-container { width: 80%; margin: 2em auto; max-width: 1640px; justify-content: space-between; }
.wp-block-columns .wp-block-columns.has-background { padding: 2em; border-radius: 30px; }

body.home .wp-block-cover.video_container { position: relative; }
/*body.home .wp-block-cover.video_container::after { content: url("img/vid_overlay.png"); position: absolute; bottom: -1px; left: 0; right: 0; z-index: 1; height: 160px; }*/
body.home .wp-block-cover.video_container .vid_overlay { background: url("img/vid_overlay.png") no-repeat top center; background-size: cover; position: absolute; bottom: 0; width: 100%; height: 160px; }

/* Suchergebnis-Seite */
body.search .search_header { background: #004280; display: flex; display: -webkit-flex; align-items: center; min-height: 480px; }
body.search .search_header .search_header_inner { width: 80%; max-width: 1640px; margin: 0 auto; }
body.search hr { margin: 3em 0; background: #ccc; border: none; height: 1px; }
body.search hr:last-of-type { display: none; }
body.search mark { background: #FFE6AA; }

/* Service & Preise-Seite */
body.page-id-60 main > .wp-block-columns .wp-block-column { margin: 0 auto; }
body.page-id-60 main .wp-block-cover__inner-container > .wp-block-columns { justify-content: space-between; }

footer { 
	width: 100%; 
	background-image: url("img/wolken-hintergrund.webp"); 
	background-color: #004280; 
	background-blend-mode: multiply; 
	background-size: cover; 
	background-repeat: no-repeat; 
	padding: 4.5em 0; 
	position: relative; 
	background-position: center center; 
	z-index: 0;
}
footer div#kontakt, footer div#contact { width: 80%; margin: 2em auto; max-width: 1640px; color: #fff !important; }
footer div#kontakt p, footer div#contact p { color: #fff; }
footer a { color: #fff; border-bottom: 1px solid transparent; }

#credits { background: #004280; background: linear-gradient(90deg,rgba(0, 66, 128, 1) 0%, rgba(0, 166, 255, 1) 100%); color: #fff !important; padding: 1.5em 0; font-size: 0.8em; }
#credits a { color: #fff; border-bottom: 1px solid transparent; }
#credits .inner { max-width: 1640px; width: 80%; margin: 0 auto; }
#credits .wbhrz-credits { text-align: right; color: #fff; display: inline-block; float: right; }



/* ------------------------------------------------------------------------------------------------------------------------------------------ DETAILS */
#partner .wp-block-cover { border-radius: 30px; overflow: hidden; background-blend-mode: multiply; }
.wp-block-image { position: relative; z-index: 0; }
.wp-block-image.is-style-rounded img { border-radius: 20px; overflow: hidden; }
.wp-block-image.rahmen { margin: 60px 0 0 60px; }
.wp-block-image.rahmen::before { content: ''; border: 3px solid #CCA034; width: 80%; height: 80%; position: absolute; z-index: -1; top: -60px; left: -60px; }

.eckelinks, .eckerechts { background-image: url("img/ecke.jpg"); background-size: 25vw; background-repeat: no-repeat; background-position: bottom left; }
.eckerechts { background-position: bottom right; background-size: 30vw;  }

/* Partner und Firmen LogoSlider */
.logoslider .wp-block-column {
	width: auto;
	display: flex;
	display: -webkit-flex;
	align-items: center;
}

.logo-slider img {
	height: 60px;
	width: auto;
	opacity: 1;
	transition: 0.3s;
}

#brs-funktion .wp-block-separator { width: 520px; height: 5px; background: #004280; margin: 2em auto; border: none; }

.wp-block-embed iframe { width: 100% !important; aspect-ratio: 16 / 9; height: auto; }

#schritte { position: relative; overflow: hidden; }
#schritte::after, #schritte::before { 
	content: ''; 
	background: url("img/pattern-background-clouds.webp") no-repeat top center; 
	position: absolute; 
	top: -20px; 
	left: 0; right: 0; bottom: auto; 
	transform: rotate(180deg); 
	width: 100%; 
	z-index: -1; 
	background-size: cover;
	height: 100%;
}
#schritte .wp-block-column.has-background { padding: 1.5em; border-radius: 30px; }

.wp-block-columns.paperplane, .wp-block-columns.paperplane .wp-block-columns { margin: 0 auto !important; padding: 0; }
.paperplane .pp_1 { position: absolute; right: 0; top: 0; }
.paperplane .pp_3 { position: absolute; right: 0; bottom: -5vh; z-index: 2; }

.notizzettel { position: relative; justify-content: space-between; }
.notizzettel .wp-block-column:nth-child(2) { width: 470px; position: relative; }
.notizzettel h3 { font-size: 1.4rem; margin-bottom: 1em;}
.notizzettel .wp-block-group.is-vertical { position: absolute; top: 3em; left: 0; padding: 2em; z-index: 2; width: 470px; }
.notizzettel .wp-block-group.is-nowrap p:first-of-type { width: 210px; }

.trennlinie { border-right: 1px solid #333; padding-right: 2em; }

.wp-block-table { border: 1px solid rgba(0, 66, 128, 1); }
.wp-block-table td, .wp-block-table th, .wp-block-table thead { border: none; }
table th:first-of-type { background: rgba(0, 19, 45, 0.9); }
table th { background: linear-gradient(90deg,rgba(0, 19, 45, 0.9) 0%, rgba(0, 66, 128, 0.9) 100%); color: #fff; }
table th:last-of-type { background: rgba(0, 66, 128, 0.9); }
table tr:nth-child(even) { background: rgba(255,230,170,0.4); }
table tr:nth-child(odd) { background: #fff; }

footer .kontaktarten { line-height: 40px; }

/* Goldstaub */
footer::before { content: url("img/goldstaub_footer.png"); position: absolute; top: -75%; left: 0; z-index: 0; }
.wp-block-columns.goldstaub::before { content: url("img/goldstaub_footer.png"); position: absolute; top: -10%; left: 0; z-index: 0; }
body.home .wp-block-columns.eckelinks::after, .wp-block-columns.goldstaub::after { content: url("img/goldstaub_1.png"); position: absolute; bottom: -20%; right: 0; z-index: -1; }
.wp-block-columns.goldstaub::after { z-index: 2; }
body.home .wp-block-columns.eckerechts::before { content: url("img/goldstaub_2.png"); position: absolute; top: 8%; right: 7%; z-index: 0; }

/* Kontaktformular & Serviceformular */
#wpforms-167 label, #wpforms-199 label { font-size: 1em; }
#wpforms-167 label.wpforms-field-sublabel, #wpforms-199 label.wpforms-field-sublabel { font-size: 14px; }
#wpforms-167 ul li::before, #wpforms-199 ul li::before { display: none; }
#wpforms-167 .wpforms-field-label, #wpforms-199 .wpforms-field-label { color: #004280; font-family: "Mulish Medium"; font-size: 0.8em; font-weight: normal; }
#wpforms-167 input, #wpforms-167 textarea, #wpforms-199 input, #wpforms-199 textarea { border-radius: 10px; border-color: #ccc; }
#wpforms-167 button.wpforms-submit, #wpforms-199 button.wpforms-submit { font-family: "Mulish Medium"; font-size: 19px; padding: 0.75em 1.5em; transition: all 300ms ease-in-out; height: auto; border-radius: 10px; line-height: 1.5; background: #00A6FF; }


/* ------------------------------------------------------------------------------------------------------------------------------------------ ANIMATIONS */
p.signed strong {
	position: relative;
}

p.signed strong::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: -8px; /* Abstand zur Buchstabenbasis */
	width: 0%;      /* Startbreite = 0, wächst später */
	height: 8px;    /* Höhe des SVG */
	background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 3.61"><path fill="%23fff" d="M1,3.61c-.47,0-.89-.34-.98-.82-.1-.54.26-1.07.8-1.17C5.18.81,19.47-.16,27.02.02c.55.01.99.47.98,1.02-.01.55-.47.99-1.02.98-7.45-.17-21.51.77-25.79,1.57-.06.01-.12.02-.19.02Z"/></svg>');
	background-size: 100% 100%;
	background-repeat: no-repeat;
	transition: width 0.7s ease-out;
}
p.signed.underline-animate strong::after {
	width: 100%; /* Linie wächst über die Textbreite */
}




/* ------------------------------------------------------------------------------------------------------------------------------------------ HOVER DESIGNS */
/* ------------------------------------------------------------------------------------------------------------------------------------------ SCREEN 851px and bigger */
@media only screen and (min-width:851px) {	
	.wp-block-buttons .wp-block-button a.wp-block-button__link:hover { background: #00A6FF !important; color: #fff !important; cursor: pointer; }	
	body.page-id-60 .wp-block-buttons .wp-block-button a.wp-block-button__link:hover, body.page-id-384 .wp-block-buttons .wp-block-button a.wp-block-button__link:hover { background: #004280 !important; color: #fff !important; cursor: pointer; }
	a.morelink:hover { background: #004280 !important; color: #fff !important; cursor: pointer; }
	ul.pdfdownloads li:hover { background: rgba(0,166,255,0.25); }	
	ul.pdfdownloads li:hover a { border-bottom: 1px solid transparent; color: #004280; }
	#wpforms-167 button.wpforms-submit:hover, #wpforms-199 button.wpforms-submit:hover, header #search #searchform_container input#searchsubmit:hover, #searchform_cntnr input#searchsubmit_two:hover { 
		background: #004280 !important; color: #fff !important; cursor: pointer; } 
	p a:hover, main label a:hover, main ul li a:hover { border-bottom: 1px solid #00A6FF; color: #00A6FF; }
	footer a:hover, #credits a:hover { border-bottom: 1px solid #fff; color: #fff; }
	body.page-id-158 main p a:hover { color: #004280; }
}



/* ------------------------------------------------------------------------------------------------------------------------------------------ SCREEN 1800px and smaller */
@media only screen and (max-width:1800px) {	
	body.page-id-60 main > .wp-block-cover { height: 616px; }	
}


/* ------------------------------------------------------------------------------------------------------------------------------------------ SCREEN 1440px and smaller */
@media only screen and (max-width:1440px) {	
	:root { font-size: 18px; }
	body.page-id-60 main .notizzettel .wp-block-column:nth-child(1) { flex-basis: 400px !important; }
	body.page-id-60 main .notizzettel .wp-block-column:nth-child(2) { flex-basis: 380px !important; }
	.notizzettel .wp-block-group.is-nowrap p:first-of-type { width: 160px; }
	header #search #searchform_container input#s { margin-right: 72px; }
}





/* ------------------------------------------------------------------------------------------------------------------------------------------ SCREEN 1280px and smaller */
@media only screen and (max-width:1280px) {	
	ul.pdfdownloads { grid-template-columns: 48% 48%; }
	ul.pdfdownloads li::before { font-size: 40px; }
}
	
	
/* ------------------------------------------------------------------------------------------------------------------------------------------ SCREEN 1234px and smaller */
@media only screen and (max-width:1234px) {	
	body.page-id-145 header, body.page-id-395 header { margin-top: 73px; }
}



/* ------------------------------------------------------------------------------------------------------------------------------------------ SCREEN 1150px and smaller */
@media only screen and (max-width:1150px) {	
	main > .wp-block-columns > .wp-block-column > .wp-block-columns, 
	.wp-block-cover .wp-block-cover__inner-container,
	body.search .search_header .search_header_inner,
	#credits .inner,
	footer div#kontakt { 
		width: 95%; }
	
	
	p.spec, body.home p.spec { margin-left: -15px; }
	
	main .wp-block-heading.sitetitle { width: auto; }
}



/* ------------------------------------------------------------------------------------------------------------------------------------------ SCREEN 1080px and smaller */
@media only screen and (max-width:1080px) {	
	header { height: 90px; }
	header nav#toplevel-menu ul li, header #search { margin-right: 30px; }	
}




/* ------------------------------------------------------------------------------------------------------------------------------------------ SCREEN 950px and smaller */
@media only screen and (max-width:950px) {		
	body.page-id-60 main .notizzettel .wp-block-column:nth-child(1) { flex-basis: 35% !important; }
}




/* ------------------------------------------------------------------------------------------------------------------------------------------ SCREEN 850px and smaller */
@media only screen and (max-width:850px) {	
		
	ul.pdfdownloads { grid-template-columns: 100%; }
	ul.pdfdownloads li { margin-bottom: 1em; }
	ul.pdfdownloads li::before { font-size: 40px; }
	
	/* Mobile Menü */
	header { height: 80px; padding: 0; justify-content: unset; }
	header #logocontainer { order: 2; margin: 0 20px 0 auto; height: auto; width: 140px;}
	header nav#toplevel-menu { order: 1; margin-left: 0px; }
	header div#search { order: 3; margin: 0 20px 0 0; }
	header div#flags { order: 4; margin: 0 30px 0 0; }
	
	button#menubtn { 
		height: 50px; 
		width: auto; 
		color: #fff; 
		background: transparent; 
		position: relative; 
		text-align: left; 
		padding: 0 15px 0 48px; 
		border: none; 
		outline: none; 
		font-size: 1.1em;
		margin: 15px; 
		text-align: center; 
	}
	button#menubtn i { position: absolute; left: 0; top: 0; opacity: 1; transition: all 300ms ease-in-out; line-height: 50px; padding: 0 15px; width: 52px; height: 52px; }
	button#menubtn i.fa-times, button#menubtn.active i.fa-bars  { opacity: 0; }
	header.scrolled button#menubtn { background: #00132D; }
	button#menubtn.active, header.scrolled button#menubtn.active { background: #004280; }
	button#menubtn.active i.fa-times { opacity: 1; }
	header nav#toplevel-menu ul { flex-direction: column; position: absolute; left: -400px; transition: all 300ms ease-in-out; }
	header nav#toplevel-menu.active ul { left: 0px; }
	
	header nav#toplevel-menu ul li.current_page_item::after, header nav#toplevel-menu ul li.current-page-ancestor::after { border-bottom: none; content: none; }
	header nav#toplevel-menu ul li.current_page_item > a, header nav#toplevel-menu ul li.current-page-ancestor > a { background: #00a6ff; }
	header nav#toplevel-menu ul li { }
	header nav#toplevel-menu ul li a { display: block; background: #004280; padding: 1em 1.5em; }
}

/* ------------------------------------------------------------------------------------------------------------------------------------------ SCREEN 843px and smaller */
@media only screen and (max-width:843px) {	
	html { -moz-hyphens: auto; -webkit-hyphens: auto; hyphens: auto; }
	body.page-id-145 header, body.page-id-395 header { margin-top: 145px; }
		
	main > .wp-block-columns > .wp-block-column > .wp-block-columns, 
	.wp-block-cover .wp-block-cover__inner-container,
	#credits .inner,
	body.search .search_header .search_header_inner,
	footer div#kontakt { 
		width: 85%; }
	
	section#topline { padding: 5px 20px; }
	section#topline .wp-block-group { flex-wrap: wrap; }
	section#topline .wp-block-group p { margin-bottom: 0; width: 100%; }
	
	header #search #searchform_container.active { right: -15vw; }
	
}



/* ------------------------------------------------------------------------------------------------------------------------------------------ SCREEN 781px and smaller */
@media only screen and (max-width:781px) {	
	body.page-id-60 main > .wp-block-cover { height: auto; }
	body.page-id-60 main .notizzettel .wp-block-column:nth-child(2) .wp-block-image img { width: 385px !important; margin: 0 auto; }
	body.page-id-60 main .notizzettel .wp-block-group.is-vertical { width: 385px; }
	
	button#menubtn { width: 50px; padding: 0; }
	button#menubtn span { display: none; }
	
	body.home .wp-block-cover.video_container .vid_overlay { height: 90px; }
	.paperplane, #schritte .wp-block-spacer, #schritte .wp-block-column.nomobile { display: none !important; }
	.eckelinks, .eckerechts { background: none; }
	
	#brs-funktion .wp-block-columns { display: grid; grid-template-columns: 50% 50%; }
	#brs-funktion .wp-block-separator { width: auto; }
	#schritte .wp-block-columns { margin: 0 auto; }
	#schritte .wp-block-column { margin: 1em 0; }
	
	.trennlinie { border-right: none; border-bottom: 1px solid #333; padding-right: none; padding-bottom: 2em; }
	
	p.spec, body.home p.spec { font-size: 2rem; }
	h1 { font-size: 2.5rem; }
	h2 { font-size: 2rem; }
	h3 { font-size: 1.5rem; }
	h4 { font-size: 1rem; }
	
	#credits .inner { text-align: center; }
	#credits .wbhrz-credits { text-align: center; float: none; }

	
}




/* ------------------------------------------------------------------------------------------------------------------------------------------ SCREEN 781px and smaller */
@media only screen and (max-width:550px) {	
	.notizzettel .wp-block-group.is-vertical { width: 100%; }
}





