/*
Welcome to Custom CSS!

To learn how this works, see http://wp.me/PEmnE-Bt
*/
/* Navigation */
.main-navigation {
	background-color: #ffffff;
}

.header-top, .header-top a, .header-top a:visited, .header-top a:focus, .menu-toggle, .menu-toggle:hover, .menu-toggle:focus {
	color: #54838F;
	font-size: 10pt;
	font-weight: bold;
}

.site-top-content span.site-top-content-2,.menu-toggle, .menu-toggle:hover, .menu-toggle:focus {
	color: #CE7721;
	font-size: 10pt;
	font-weight: bold;
}

.header-top a:hover {
	color: #CE7721;
	background-color: #ffffff;
}

.main-navigation li:hover, .main-navigation li:focus, .main-navigation a:hover, .main-navigation a:focus, .main-navigation ul ul, .main-navigation ul ul ul ul, .main-navigation ul ul ul ul ul ul, .main-navigation ul ul ul ul ul ul ul ul, .main-navigation ul ul ul ul ul ul ul ul ul ul, .main-navigation ul ul ul a:hover, .main-navigation ul ul ul a:focus, .main-navigation ul ul ul li:hover, .main-navigation ul ul ul li:focus, .main-navigation ul ul ul ul ul a:hover, .main-navigation ul ul ul ul ul a:focus, .main-navigation ul ul ul ul ul li:hover, .main-navigation ul ul ul ul ul li:focus, .main-navigation ul ul ul ul ul ul ul a:hover, .main-navigation ul ul ul ul ul ul ul a:focus, .main-navigation ul ul ul ul ul ul ul li:hover, .main-navigation ul ul ul ul ul ul ul li:focus, .main-navigation ul ul ul ul ul ul ul ul ul a:hover, .main-navigation ul ul ul ul ul ul ul ul ul a:focus, .main-navigation ul ul ul ul ul ul ul ul ul li:hover, .main-navigation ul ul ul ul ul ul ul ul ul li:focus, .main-navigation ul ul ul ul ul ul ul ul ul ul ul a:hover, .main-navigation ul ul ul ul ul ul ul ul ul ul ul a:focus, .main-navigation ul ul ul ul ul ul ul ul ul ul ul li:hover, .main-navigation ul ul ul ul ul ul ul ul ul ul ul li:focus, .main-navigation ul, .main-navigation ul li.current_page_item>a, .main-navigation ul li.current-menu-item>a, .main-navigation ul li.current_page_ancestor>a {
	background-color: #ffffff;
}

@media screen and (min-width: 769px) {
	.wrap {
		max-width: 1800px;
	}
}

.has-top-content .site-top-content, .has-top-content .main-navigation+.site-top-content, .main-navigation a {
	padding: 1em;
	margin: 0;
}

#masthead .wrap {
	margin-left: 10px;
	margin-right: 10px;
	position: relative;
}

.main-navigation ul.nav-menu {
	text-align: left;
}

.main-navigation {
	vertical-align: center;
}

@media screen and (min-width: 60em) {
	.has-top-content .main-navigation ul.nav-menu {
		width: 100%;
		display: table;
	}
}

/* Aiko Schriftzug*/
.site-top-content span.site-top-content-1 span.site-top-content-2 {
	padding: 10px;
	text-align: right;
}

span.site-top-content-1 {
	color: #54838F;
	font-size: 13pt;
	font-style: montserrat;
	letter-spacing: .1em;
}

.site-top-content span.site-top-content-2 {
	margin-left: 0;
}

/* Startseite */
.header-top .wrap {
	padding: 15px;
}

.lodestar-front-page .custom-header-image {
	margin: 0;
}

.lodestar-front-page .custom-header-image {
	height: calc(100vh - 200px);
}

.lodestar-intro {
	padding: 30px;
}

/* Header Image */
body:not(.no-header-image) .custom-header-image:before, .lodestar-front-page .custom-header-image:before {
	background: rgba(0,0,0,0);
}

.lodestar-front-page {
	padding: 0;
}

@media screen and (min-width: 30em) {
	.custom-header-image {
		padding: 0;
	}
}

/* Header Zweiter Abschnitt */
@media screen and (max-width: 1040px) {
	.lodestar-panel {
		display: none;
	}
}

/* Intro Text */
.lodestar-intro .entry-content {
	font-size: 1rem;
	opacity: 1;
}

/* Headlines */
.site-content {
	padding: 10px;
}

.entry-content h1, .entry-content h2, .panel-content .entry-title, .entry-meta {
	color: #88BEC8;
	opacity: 1.9;
	font-size: 32px;
	margin-bottom: 0;
}

.entry-header .entry-title {
	color: #DD992D;
	font: bodoni moda;
	font-size: 16px;
	padding-top: 10px;
	margin-bottom: 0;
}

.entry-content h3 {
	color: #54838F;
	font-size: 22px;
	padding: 0;
	margin-bottom: 10px;
}

.entry-content h4 {
	color: #337180;
	font-size: 18px;
	padding: 0;
	margin-bottom: 0;
}

.entry-content h5 {
	color: #CE7721;
	font-size: 14px;
	padding: 0;
	margin-bottom: 0;
}

.entry-content h6 {
	color: #D7C38B;
	padding: 0;
	margin-bottom: 0;
	font-size: 20px;
	padding: 0;
	margin-bottom: 0;
}

/* Text */
p {
	text-align: left;
	margin-top: 5px;
	font-size: 18px;
	font: open sans;
}

/* Footer */
.site-footer .widget-area {
	padding-bottom: 0;
	padding-top: 2em;
}

.site-info .wrap {
	padding-bottom: .5em;
	padding-top: .5em;
	font-size: 6px;
}

.site-info, .site-info a, .site-info:visited {
	color: #0b394b;
	background: #fff;
}

/* --- WICHTIGE KORREKTUR FÜR RESPONSIVES HEADERBILD --- */

/* Sorgt dafür, dass der Container auf allen Geräten korrekt skaliert wird */
.custom-header-image {
    background-size: 100% !important; /* DAS ist der Schlüssel, um das Bild vollständig zu sehen */
    background-repeat: no-repeat !important; 
    background-position: center center !important;
    
    /* Bricht die starre Höhenvorgabe auf mobilen Geräten */
    height: auto !important; 
    min-height: 450px !important; /* Definieren Sie die gewünschte Mindesthöhe hier */
    padding: 0 !important;
}

/* Optional: Korrektur für große Bildschirme, falls dort die Höhe groß bleiben soll */
@media screen and (min-width: 769px) {
    .lodestar-front-page .custom-header-image {
        height: calc(100vh - 250px) !important; /* Nur auf großen Screens die hohe Ansicht */
        background-size: cover !important; /* Auf Desktop wieder auf 'cover' wechseln */
    }
}