/* author: ideenwerft GmbH */

@charset "UTF-8";

@import url("fonts.css"); 

/* .... VARIABLES .... */
:root {
	--primary-clr: #C2053A;
	--darker-primary-clr: #a5002f;
    --cta-clr: #F77B34;
    --darker-cta-clr: #c95714;
    --font-bodytext: 'Open Sans', Helvetica, Arial, sans-serif;
    --font-headlines: 'Lato', Helvetica, Arial, sans-serif;
}


/* .... BASICS .... */
body {
    overflow-x: hidden;
	font-family: var(--font-bodytext);
  	font-size: 1rem;
  	color: #444;
}
main {
	padding: 60px 0 90px;
}
@media (min-width: 768px) {
    main {
        padding: 5rem 0 7rem;
    }
}
.fullwidth {
    padding: 5rem 0;
    background: #f3f3f3;
}
main > div:last-child > .fullwidth {
    margin-bottom: -7rem;
}


/* .... TEXT .... */
h1, h2, h3 {
	font-family: var(--font-headlines);
    font-weight: 300;
	color: var(--primary-clr);
}
h1 {
    margin-left: -2px;
	font-size: 2.5rem;
    margin-bottom: 1.9rem;
    hyphens: auto;
    -webkit-hyphens: auto;
}
.pid4327 h1 {
    margin-left: 0;
    margin-bottom: 0;
    font-size: 1rem;
    color: #666;
    font-weight: 400;
    text-transform: uppercase;
}
h2 {
	font-size: 2.2rem;
    margin-top: 2rem;
    margin-bottom: 1.4rem;
}
.pid4327 h1 + h2 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-top: 0;
    margin-left: -2px;
    hyphens: auto;
    -webkit-hyphens: auto;
}
.ce-bodytext > h2:first-child {
    margin-top: 0;
}
/*
h1 + h2 {
    margin-top: -1.2rem;
    margin-bottom: 3rem;
    color: #999;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 1.2rem;
    text-align: center;
}
*/
h3 {
	font-size: 1.4rem;
    margin-top: 1.8rem;
	margin-bottom: 1.25rem;
}
h4 {
	font-size: 1.2rem;
	margin-bottom: 0.9rem;
}
p {
    margin-bottom: 1.3rem;
    line-height: 1.55em;
}
main h1,
main h2,
main h3,
main h4,
main p, 
main ul, 
main ol,
.dce-accordion,
.frame-type-text,
.frame-type-textpic {
    max-width: 1000px;
    /*margin-left: auto;
    margin-right: auto;*/
}
main .ce-textpic.ce-right .ce-gallery + .ce-bodytext p {
    max-width: inherit;
}
main a {
	color: var(--cta-clr);
    font-weight: 600;
}
a:hover {
	text-decoration: none;
	color: var(--darker-cta-clr);
}

a.phone::before,
a.mail::before {
    font-family: "Font Awesome 5 Pro";
    position: relative;
    display: inline-block;
    color: var(--primary-clr);
    font-weight: 600;
    font-size: 0.9em;
    margin-right: 10px;
}
a.phone::before {
    content: "\f8d3";
}
a.mail::before {
    content: "\f1d8";
}

b, strong {
    font-weight: 600;
}

main ol {
    margin-left: -20px;
}
main ol li::marker {
    color: var(--primary-clr);
    font-size: 1rem;
    font-weight: 600;
}
main ol li {
    margin-bottom: 0.7rem;
    font-size: 1rem;
}
main ol li p {
    margin-bottom: 0;
}
main .dce-accordion ol {
    margin-left: 1rem;
    margin-bottom: 2rem;
}
main .dce-accordion ol li::marker {
    color: var(--primary-clr);
    font-size: 1.1rem;
    font-weight: 600;
}
main .dce-accordion ol li {
    margin-bottom: 0.7rem;
    font-size: 1rem;
}

blockquote {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}
blockquote p:first-child::before,
blockquote p:nth-last-child(2)::after {
    content: "\f10d";
    font-family: "Font Awesome 5 Pro";
    position: relative;
    display: inline-block;
    color: var(--primary-clr);
    font-weight: 600;
    font-size: 0.9em;
    margin-right: 10px;
}
blockquote p:nth-last-child(2)::after {
    content: "\f10d";
    margin-right: 0;
    margin-left: 10px;
}
blockquote p:not(:last-child) {
    font-style: italic;
    font-size: 1.2rem;
}
blockquote p:last-child {
    font-style: normal;
    margin-bottom: 0;
    font-size: 0.9rem;
    opacity: 0.7;
}


@media (min-width: 768px) {
    h1 {
        font-size: 2.7rem;
        margin-bottom: 2rem;
    }
}
/* .... BUTTONS .... */
.button,
.btn,
input[type=submit]{
	padding: 7px 20px;
    margin-top: 10px;
	background: var(--cta-clr);
	display: inline-block;
	color: #fff;
    border: none;
    border-radius: 10px 0 10px 0;
}
.button:hover,
.btn:hover,
.button:focus,
.btn:focus {
	background: var(--darker-cta-clr);
    color: #fff;
}

/* .... OTHER .... */
img {
  	max-width: 100%;
  	height: auto; 
}
.ce-border img {
    border: none;
    border-radius: 50%;
}
@media (max-width: 758px) {
    .ce-right.ce-intext .ce-gallery {
        max-width: 45%;
    }
}


/* .... HEADER .... */

body > header .navbar {
    padding: 1rem 0;
}
/* .... 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;
    }
}



/* .... NAVIGATION .... */
a.nav-link {
    color: #666;
}

#mainnavi ul.navbar-nav > li > a {
    text-transform: uppercase;
}

@media (min-width:992px) {
    #mainnavi {
        justify-content: flex-end;
    }
}



/* .... STARTSEITE .... */
@media (min-width:768px) {
    .pid4327 main.container > div:first-child > .row > div:first-child {
        -ms-flex: 0 0 58.333333%;
        flex: 0 0 58.333333%;
        max-width: 58.333333%;
    }
    .pid4327 main.container > div:first-child > .row > div:last-child {
        -ms-flex: 0 0 41.666667%;
        flex: 0 0 41.666667%;
        max-width: 41.666667%;
    }
}

/* teaser bubbles */
@media (max-width:991px) {
    .dce-teaser .row > div {
        margin-bottom: 6rem;
    }
}
@media (min-width:768px) and (max-width:991px) {
    .dce-teaser .row > div:nth-child(3) {
        flex-grow: 1;
        width: 100%;
        max-width: 100%;
    }
}
.dce-teaser  {
    margin: 5rem 0 7rem;
}
.dce-teaser .box {
    position: relative;
    overflow: visible;
    margin: 0 auto;
    max-width: 300px;
}
.dce-teaser .box img {
    border-radius: 100%;
    border: 8px solid var(--primary-clr);
    -webkit-filter: brightness(0.9);
    filter: brightness(0.9);
    transition: all 1s;
}
.dce-teaser .box:hover img {
    -webkit-filter: brightness(0.6);
    filter: brightness(0.6);
}
.dce-teaser .box header {
    position: absolute;
    bottom: -4.5rem;
    left: 0;
    right: 0;
    text-align: center;
}
.dce-teaser .box header h3 {
    font-size: 1.6rem;
}
.dce-teaser .box a:hover header h3 {
    font-weight: 400;
}
.dce-teaser .box .text-wrap {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    color: #fff;
    font-weight: 600;
    font-size: 1.3rem;
    text-align: center;
    text-shadow: 0 0 4px #444;
}
.dce-teaser .box .text-wrap p {
    margin-top: 5px;
    margin-bottom: 5px;
    line-height: 1.3em;
}
.dce-teaser .box .text-wrap p:last-child {
    display: none;
    height: 0;
    overflow: hidden;
    transition: all 1s;
}
.dce-teaser .box:hover .text-wrap p:last-child {
    display: block;
    height: auto;
}

/* accordion */
.dce-accordion .card-header h5 button {
    background: var(--cta-clr);
    color: #fff;
    padding: 0.5rem 1.5rem;
    font-size: 1.2rem;
}
.dce-accordion .card-header h5 button:hover, 
.dce-accordion .card-header h5 button:focus, 
.dce-accordion .card-header h5 button[aria-expanded="true"] {
    background: var(--darker-cta-clr);
}
.dce-accordion .card-body {
    padding: 2rem 1.5rem;
    background: #f3f3f3;
    color: #333;
}


/* .... 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 .... */
body > footer {
    border-top: 10px solid var(--primary-clr);
    font-size: 0.95em;
}
body > footer > .container {
    padding-top: 3rem;
    padding-bottom: 3rem;
}
footer .row > div {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
footer .row > div p {
    margin-bottom: 0.3rem;
}
footer .row > div p:last-child,
footer .row > div ul {
    margin-bottom: 0;
}
footer a {
	color: #444;
}
footer a:hover {
	color: var(--darker-cta-clr);
}

/* copy und musthaves */
.musthavecopy {
    padding: 15px 0;
    background: var(--primary-clr);
    color: #fff;
}
.musthavecopy .container {
    display: flex;
    flex-direction: column-reverse;
}
ul.musthave {
    display: flex;
    padding-left: 0;
    list-style: none;
    margin-bottom: 0;
}
ul.musthave li {
    margin-right: 15px;
}
.musthavecopy a:link, 
.musthavecopy a:visited {
    color: #fff;
}
.musthavecopy a:hover, 
.musthavecopy a:focus {
    color: #fff;
    opacity: 0.7;
}

@media (min-width: 768px) {
    .musthavecopy .container {
        flex-direction: row;
        justify-content: space-between;
    }
    ul.musthave {
        margin-right: 0;
        margin-left: 15px;
    }
}

/* .... PRINT STYLES .... */
@media print {
    .header-top,
    .footnavi,
    .musthave {
        display: none;
    }
}