/* author: ideenwerft GmbH */

@charset "UTF-8";

@import url("fonts.css"); 

/* .... VARIABLES .... */
:root {
	--primary-clr: #1f6a8e;
	--secondary-clr: #003b56;
    --cta-clr: #799c27;
	--darker-primary-clr: #095279;
    --darker-cta-clr: #5d7b16;    
}


/* .... BASICS .... */
body {
    overflow-x: hidden;
  	font-size: 1rem;
    font-family: Trebuchet MS, Arial, Verdana, Sans-Serif;
    color: #555;
    background: #fff;
}
body > header,
body > footer {
    background: #003b56;
}
header > .container {
    position: relative;
    padding: 0;
}
.content .inner {
	padding: 60px 0 90px;
    background: #fff;
}
.content aside {
    background: rgba(0,0,0,0.05);
}

@media (max-width: 991px) {
    .container {
        max-width: 100%;
    }
}
@media (min-width: 575px) {
    body {
        background: #003b56;
    }
    body > header,
    body > footer {
        background: transparent;
    }
    header > .container {
        padding: 0 15px;
    }
}
@media (min-width: 768px) {
    .content .inner {
        padding: 0px 0 0px 0;
    }
    .content aside {
        padding: 40px 15px 40px 30px;
    }
    .content main {
        padding: 40px 30px 40px 40px;
    }
}
@media (min-width: 576px) {
    .content > .inner > .row {
        margin-left: 0;
        margin-right: 0;
    }
}
@media (min-width: 1200px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl {
        max-width: 1200px;
    }
}
@media (min-width: 1350px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl {
        max-width: 1300px;
    }
}

/* .... TEXT .... */
h1, h2, h3 {
	font-family: "Trebuchet MS", Arial, Verdana, Sans-Serif;
	font-weight: 400;
	color: var(--primary-clr);
}
h1 {
	font-size: 1.8rem;
    margin-bottom: 1.7rem;
    hyphens: auto;
    -webkit-hyphens: auto;
    text-transform: uppercase;
    font-weight: normal;

}
.pid3529 h1 {
    margin-top: 27px;
}
.pid3529 h1 + h2 {
    position: absolute;
    top: 0px;
    left: 16px;
    margin: 0;
    font-size: 24px;
    text-transform: uppercase;
    line-height: 1em;
}
@media (min-width: 768px) {
    .pid3529 h1 + h2 {
        top: 40px;
        left: 40px;
    }
}

h2 {
	font-size: 1.55rem;
	margin-bottom: 1.6rem;
	margin-top: 2rem;
}
h1 + h2 {
    margin-top: -1.2rem;
    margin-bottom: 3rem;
    font-size: 1.2rem;
    text-align: center;
}
h3 {
	font-size: 1.4rem;
	margin-bottom: 1.25rem;
}
h4 {
    margin: 5px 0 10px;
    font-size: 1.2rem;
}

aside h4 {
    display: inline-block;
    margin-top: 0;
    background: var(--primary-clr);
    color: #fff;
    padding: 4px 20px 3px 10px;
    font-size: 15px;
    text-transform: uppercase;
    font-weight: normal;
}

h5 {
    font-size: 14px;
}

p {
    margin-bottom: 1rem;
    line-height: 1.5rem;
}
main ul, 
main ol {
    padding: 0 0 0 20px;
}
.content .ce-textpic.ce-right .ce-gallery + .ce-bodytext p {
    max-width: inherit;
}
a {
	color: var(--cta-clr);
    font-weight: 600;
}
a:hover {
	text-decoration: none;
	color: var(--darker-cta-clr);
}
b, strong {
    font-weight: 600;
}
ul.check-list {
    margin: 0 0 20px 0;
	padding: 0 0 0 5px;
}
.pid3529 ul.check-list {
    width: 50%;
    float: left;
}

ul.check-list + ul.check-list {
    width: 40%;
}

ul.check-list li {
    position: relative;
    list-style: none;
    margin-bottom: 5px;
    padding-left: 25px;
}
ul.check-list li::before {
    content: "\f00c";
    position: absolute;
    top: .2em;
    left: 0;
    height: auto;
    width: auto;
    margin-right: .5em;
    font-family: 'Font Awesome 5 Pro';
    font-weight: 900;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    color: #44AB07;
    background: none;
}


ul.check-list + p {
    clear: both;
}

@media (min-width: 768px) {
    h1 {
        font-size: 1.8rem;
    }
}
/* .... BUTTONS .... */
.button,
.btn,
input[type=submit]{
	padding: 3px 13px;
	background: var(--cta-clr);
	display: inline-block;
	color: #fff;
}
.button:hover,
.btn:hover,
.button:focus,
.btn:focus {
	background: var(--darker-cta-clr);
    color: #fff;
}

/* .... OTHER .... */
img {
  	max-width: 100%;
  	height: auto; 
}
@media (max-width: 758px) {
    .ce-right.ce-intext .ce-gallery {
        max-width: 45%;
    }
}


/* ---------- HEADER -------------------*/

/* .... top .... */
.header-top {
    padding: 8px 0;
    background: var(--darker-primary-clr);
    font-size: 0.95rem;
    color: #fff;
}
.header-top .container {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
}
.header-top a,
.header-top a:link, 
.header-top a:visited {
    color: #fff;
    display: inline-block;
    margin-left: 20px;
    white-space:nowrap;
}
.header-top a:hover, 
.header-top a:focus {
    color: #eee;
}
.header-top a i {
    margin-right: 8px;
}
@media (max-width:767px){
    .header-top .container {
        max-width: 100%;
        justify-content: center;
    }
}

/* ... badge .... */
.badge {
    position: absolute;
    top: 70px;
    right: 5px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    width: 150px;
    height: 150px;
    border-radius: 100%;
    border: 5px rgba(255,255,255,0.6);
    border-style: dashed;
    transform: scale(0.8) rotate(8deg);
    background: var(--cta-clr);
    color: #fff;
    font-size: 15px;
}
.badge span,
.badge strong {
    display: block;
    text-align: center;
}
.badge strong {
    font-size: 23px;
    padding: 6px 0;
}
.badge span:last-child {
    padding-bottom: 15px;
}

@media (min-width: 400px) {
    .badge {
        top: 80px;
    }
}
@media (min-width: 400px) {
    .badge {
        top: 110px;
    }
}
@media (min-width: 768px) {
    .badge {
        top: 20px;
        right: 0;
        transform: rotate(8deg);
    }
}
@media (min-width: 992px) {
    .badge {
        top: 20px;
        right: 0;
    }
}
@media (min-width: 1200px) {
    .badge {
        top: 30px;
        right: 50px;
    }
}

/* .... NAVIGATION .... */

header .navbar {
    background: #1f6a8e;
    padding: 0 20px;
}
@media (min-width: 768px) {
    .navbar {
        padding: 10px 0;
        text-align: center;
    }
}
@media (min-width: 992px) {
    .navbar {
        flex-direction: row;
        justify-content: space-between;   
        padding-bottom: 20px;
    }
    .navbar ul.nav {
        margin-top: 0 !important;
    }
}
@media (min-width: 1200px) {
    .navbar {
        flex-direction: row;
        justify-content: space-between;
        flex-flow: wrap;
        padding-bottom: 0;
    }
}

.navbar a:link, 
.navbar a:visited {
    color: #fff;
    text-decoration: none;
    opacity: 0.9;
	font-weight: 400;
}
.navbar a:hover, 
.navbar a:focus {
    opacity: 1;
}
.navbar li.active > a:link,
.navbar li.active > a:visited {
    opacity: 1;
}
.navbar-toggler i.fa {
    font-weight: 400;
    font-size: 1.7rem;
    color: #fff;
}

/* 1. ebene */
.navbar ul.nav > li > a.nav-link {
    display: inline-block;
    position: relative;
}
.navbar .home {
    display: none;
}
.dropdown-toggle {
    color: var(--primary-clr);
}
.dropdown-toggle::after {
    margin-left: 0.8em !important;
    display: inline-block;
    vertical-align: .255em;
    content: "";
    border-top: 0.5em solid;
    border-right: .5em solid transparent;
    border-left: .5em solid transparent;
}
footer .dropdown-toggle::after {
    display: none;
}
/* 2. Ebene */
.navbar ul.nav > li > .dropdown-menu li.active a {
    font-weight: 600;
}

@media (max-width:787px) {
    .navbar-nav .dropdown-menu {
        border: none;
        text-align: center;
        font-size: 1.1rem;
        margin-top: 0;
        padding-top: 0;
    }
    .navbar-nav .dropdown-menu a {
        padding: 4px 0;
        display: block;
    }
}

@media (min-width: 768px) {
    .navbar {
        font-size: 1rem;
    }
    .navbar .header-flex {
        width: 100%;
    }
    .navbar ul.nav {
        margin-top: 15px;
    }
	.navbar ul.nav > li {
		margin-right: 10px;
	}
    .navbar ul.nav > li > .dropdown-toggle {    
        display: none;
    }
    .dropdown-toggle::after {
        border: none;
    }
    .navbar ul.nav > li > a.nav-link {
        display: block;
        padding: 5px 5px;
        font-size: 1.1rem;
    }
    .navbar ul.nav > li > a:after, 
    .navbar ul.nav > li.active > a:after {
        content: '';
        height: 4px;
        background: #fff;
        position: absolute;
        bottom: -0px;
        margin: 0 auto;
        left: 0;
        right: 0;
        width: 0;
        -o-transition: .5s;
        -ms-transition: .5s;
        -moz-transition: .5s;
        -webkit-transition: .5s;
        transition: .5s;
    }
    .navbar ul.nav > li:hover > a:after, 
    .navbar ul.nav > li.active > a:after {
        width: calc(100% - 1rem);
    }
    /* 2. Ebene */
    .navbar ul.nav > li > .dropdown-menu {
        border: none;
        background: var(--primary-clr);
        margin-top: 0;
        border-radius: 0;
        padding: 0;        
    }
    .navbar ul.nav > li:hover > .dropdown-menu {
        display: block;
        top: 100%;
    }
    .navbar ul.nav > li > .dropdown-menu a {
        display: block;
        padding: 7px 15px;
        background: var(--primary-clr);
        border-bottom: 1px solid #eee;
        white-space: nowrap;
    }
    .navbar ul.nav > li > .dropdown-menu li:last-child a {
        border-bottom: none;
    }
    .navbar ul.nav > li > .dropdown-menu li:hover a,
    .navbar ul.nav > li > .dropdown-menu li.active a {
        background:#084663;
    }
    /* start */
    .navbar .home {
        display: inline-block;
    }
}

@media (min-width: 992px) {    
    .navbar ul.nav > li > a.nav-link {
        padding: 5px 10px;
        font-size: 1.15rem;
    }
}
@media (min-width: 1200px) { 
    .navbar ul.nav > li > a.nav-link {
        padding: 5px 10px;
        font-size: 1.1rem;
    }
}
@media (min-width: 1500px) { 
    .navbar ul.nav > li > a.nav-link {
        padding: 10px 15px;
    }
}


/* .... KEYVISUAL .... */
.dce-keyvisual-slider img {
    width: 100%;
}
.dce-keyvisual-slider .slick-dots {
    bottom: 10px;
    text-align: right;
    right: 20px;
}
.dce-keyvisual-slider.slick-dotted.slick-slider {
    margin-bottom: 0;
}
.dce-keyvisual-slider .slick-dots li button:before {
    font-size: 15px;
    opacity: .6;
    color: #fff;
    text-shadow: 0px 0 3px #000;
}
.dce-keyvisual-slider .slick-dots li.slick-active button:before {
    opacity:1;
    color: #fff;
}
@media (max-width: 767px) {
    .dce-keyvisual-slider .slick-dots {
        display: none !important;
    }
}


#keyvisual {
    position: relative;
    overflow: hidden;
}
#keyvisual .keyv-leistungen {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
}
#keyvisual .keyv-leistungen span {
    display: block;
    margin: 0 0 1px;
}
#keyvisual .keyv-leistungen span a {
    display: inline-block;
    padding: 3px 15px 2px 15px;
    background: var(--secondary-clr);
    text-transform: uppercase;
    color: var(--cta-clr);
    font-size: 1rem;
	font-weight: 400;
}

@media (min-width:768px) {
    #keyvisual .keyv-leistungen {
        grid-template-columns: repeat(3,minmax(0,1fr));
    }
    #keyvisual .keyv-leistungen span a {
        padding: 3px 25px 2px 30px;
    }
}
@media (min-width:992px) {
    #keyvisual .keyv-leistungen {
        position: absolute;
        z-index: 30;
        left: 0;
        top: 0;
        bottom: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        width: auto;
    }
    #keyvisual .keyv-leistungen span {
        margin: 0 0 3px;
    }
	#keyvisual .keyv-leistungen span a {
        font-size: 1.1rem;
    }
}
@media (min-width:1200px) {
    #keyvisual .keyv-leistungen span {
        margin: 0 0 5px;
    }
    #keyvisual .keyv-leistungen span a {
        padding: 5px 25px 4px 25px;
        font-size: 1.2rem;
    }
}

/* .... ASIDE .... */
aside {
    font-size: 0.9em;
}

/* .... CONTENT .... */

aside .ce-gallery[data-ce-columns="3"] {
	display: grid;
	grid-template-columns: repeat(3,minmax(0,1fr));
	width: 100%;
}
aside .ce-gallery[data-ce-columns="3"] .ce-row {
	display: grid;
	grid-template-columns: repeat(3,minmax(0,1fr));
	grid-gap: 5px;
	margin-bottom: 5px;
	margin-right: 5px;
}
aside .ce-gallery[data-ce-columns="3"] .ce-row .ce-column {
	float: none;
	margin: 0;
}
aside .ce-gallery figure,
aside .ce-gallery img {
	width: 100%;
}
@media (min-width: 1200px) {
	aside .ce-gallery[data-ce-columns="3"] {
		display: block;
	}
	aside .ce-gallery[data-ce-columns="3"] .ce-row {
		margin-right: 0;
	}
}

/* google maps */
.dce-gmaps {
	margin: 0;
}
.dce-gmaps .text-wrap {
    padding: 10px;
}
.dce-gmaps .text-wrap > p {
    font-size: 0.8rem;
    line-height: 1.3em;
    margin-bottom: 5px;
}
.dce-gmaps .text-wrap button {
	font-size: 0.9rem;
	padding: 2px 10px;
	margin-top: 10px;
}

/* dce teaser */
.dce-teaser .liste {
    border-bottom: 1px solid #ccc;
}
.dce-teaser .liste:last-child {
    border-bottom: none;
}
.dce-teaser h3 {
    margin-bottom: 0.7rem;
}
@media (min-width:768px) {
    .dce-teaser .liste .col-md-5 {
        max-width: 35%;
        flex: 0 0 35%;
        -ms-flex: 0 0 30%;
    }
    .dce-teaser .liste .col-md-7 {
        max-width: 65%;
        flex: 0 0 65%;
        -ms-flex: 0 0 65%;
    }
    .dce-teaser .liste .text-wrap {
        padding: 0;
    }
}
@media (min-width: 992px) {
    
}


/* dce bildkacheln */
.dce-image-tiles .text-wrap {
    padding: 1rem;
}
.dce-image-tiles .tile:hover .text-wrap {
    background: rgba(0,0,0,.5);
}
.dce-image-tiles .tile .hover-content p {
    padding-top: 12px;
    line-height: 1.3em;
}

/* dce 2-click youtube */
.dce-youtube.fullwidth-video {
    margin: inherit;
}
.dce-youtube .iframewrap { 
    padding-top: 0;
}


/* .... POWERMAIL .... */
.tx-powermail h3,
.tx-powermail legend {
    display: none;
}
main .tx-powermail div.powermail_fieldwrap {
    padding-left: 0;
    padding-right: 0;
}
.tx-powermail .powermail_fieldset .parsley-errors-list,
.tx-powermail .powermail_fieldset div.parsley-error,
.tx-powermail .powermail_fieldset .powermail_field_error_container .parsley-errors-list{
    background: transparent;
    border: none;
}
.tx-powermail .powermail_fieldset .parsley-errors-list>li {
    padding: 0;
}
@media (max-width:991px) {
    .tx-powermail .container-fluid {
        padding: 0;
    }
    main .tx-powermail div.powermail_fieldwrap {
        display: block;
    }
    main .powermail_fieldwrap > label.col-sm-2 {
        width: 100%;
        max-width: inherit;
    }
    main .powermail_fieldwrap > .col-sm-10 {
        max-width: inherit;
    }
    .powermail_fieldwrap_datenschutz label.control-label {
        display: none;
    }
}



/* .... FOOTER .... */
footer {
    padding: 20px 0;
    color: #fff;
}
footer .container {
    display: flex;
    flex-direction: column-reverse;
}
footer a:link, 
footer a:visited {
    color: #fff;
}
footer a:hover, 
footer a:focus {
    opacity: 0.6;
}
footer .musthave {
    display: flex;
    list-style: none;
    padding: 0;
}
footer .musthave li {
    margin-right: 15px;
}

@media (min-width:768px) {
    footer .container {
        flex-direction: row;
        justify-content: space-between;
    }
    footer .musthave li {
        margin-right: 0;
        margin-left: 15px;
    }
}


/* .... PRINT STYLES .... */
@media print {
    .header-top,
    .footnavi,
    .musthave {
        display: none;
    }
}