/*
Theme Name: Ferienhaus Marlen
Theme URI: https://ferienhaus-marlen.de
Author: Bjoern Koerdel, flexx-hosting.de
Author URI: https://flexx-hosting.de
Description: 
Version: 1.0
Tags: 
/*
@charset "UTF-8";
/* CSS Document */
/* quattrocento-regular - latin */
@font-face {
    font-display: swap;
    font-family: 'Quattrocento';
    font-style: normal;
    font-weight: 400;
    src: url('assets/fonts/quattrocento-v23-latin-regular.woff2') format('woff2'),
       url('assets/fonts/quattrocento-v23-latin-regular.ttf') format('truetype');
}
/* quattrocento-700 - latin */
@font-face {
    font-display: swap;
    font-family: 'Quattrocento';
    font-style: normal;
    font-weight: 700;
    src: url('assets/fonts/quattrocento-v23-latin-700.woff2') format('woff2'),
       url('assets/fonts/quattrocento-v23-latin-700.ttf') format('truetype');
}
/* quattrocento-sans-regular - latin */
@font-face {
    font-display: swap;
    font-family: 'Quattrocento Sans';
    font-style: normal;
    font-weight: 400;
    src: url('assets/fonts/quattrocento-sans-v21-latin-regular.woff2') format('woff2'),
       url('assets/fonts/quattrocento-sans-v21-latin-regular.ttf') format('truetype');
}
/* quattrocento-sans-700 - latin */
@font-face {
    font-display: swap;
    font-family: 'Quattrocento Sans';
    font-style: normal;
    font-weight: 700;
    src: url('assets/fonts/quattrocento-sans-v21-latin-700.woff2') format('woff2'),
       url('assets/fonts/quattrocento-sans-v21-latin-700.ttf') format('truetype');
}
:root {
    --trans: rgba(255,255,255,0);
    --white: rgba(255,255,255,1);
    --white95: rgba(255,255,255,.95);
    --white90: rgba(255,255,255,.9);
    --white80: rgba(255,255,255,.8);
    --white70: rgba(255,255,255,.7);
    --white60: rgba(255,255,255,.6);
    --white50: rgba(255,255,255,.5);
    --white40: rgba(255,255,255,.4);
    --white30: rgba(255,255,255,.3);
    --white20: rgba(255,255,255,.2);
    --white10: rgba(255,255,255,.1);
    --white5: rgba(255,255,255,.05);
    --white-hover: rgba(255,255,255,.3);
    --black: rgba(0,0,0,1);
    --black95: rgba(0,0,0,.95);
    --black90: rgba(0,0,0,.9);
    --black80: rgba(0,0,0,.8);
    --black70: rgba(0,0,0,.7);
    --black60: rgba(0,0,0,.6);
    --black50: rgba(0,0,0,.5);
    --black40: rgba(0,0,0,.4);
    --black30: rgba(0,0,0,.3);
    --black20: rgba(0,0,0,.2);
    --black10: rgba(0,0,0,.1);
    --black-hover: rgba(0,0,0,.3);
    --gray: rgba(226,226,226,1);
    --gray95: rgba(226,226,226,.95);
    --gray90: rgba(226,226,226,.9);
    --gray80: rgba(226,226,226,.8);
    --gray70: rgba(226,226,226,.7);
    --gray60: rgba(226,226,226,.6);
    --gray50: rgba(226,226,226,.5);
    --gray40: rgba(226,226,226,.4);
    --gray30: rgba(226,226,226,.3);
    --gray20: rgba(226,226,226,.2);
    --gray10: rgba(226,226,226,.1);
    --gray-hover-light: rgba(242,242,242,1);
    --gray-hover-dark: rgba(205,205,205,1);
    --green1: rgba(109,138,97,1);
    --green: rgba(197,202,185,1);
    --beige: rgba(253,251,249,1);
    --brown1: rgba(227,203,163,1);
    --brown: rgba(162,139,107,1);
    --blue1: rgba(17,46,78,1);
    --blue1-95: rgba(17,46,78,.95);
    --blue1-90: rgba(17,46,78,.9);
    --blue1-80: rgba(17,46,78,.8);
    --blue1-70: rgba(17,46,78,.7);
    --blue1-60: rgba(17,46,78,.6);
    --blue1-50: rgba(17,46,78,.5);
    --blue1-40: rgba(17,46,78,.4);
    --blue1-30: rgba(17,46,78,.3);
    --blue1-20: rgba(17,46,78,.2);
    --blue1-10: rgba(17,46,78,.1);
    --blue2: rgba(23,64,109,1);
    --blue2-95: rgba(23,64,109,.95);
    --blue2-90: rgba(23,64,109,.9);
    --blue2-80: rgba(23,64,109,.8);
    --blue2-70: rgba(23,64,109,.7);
    --blue2-60: rgba(23,64,109,.6);
    --blue2-50: rgba(23,64,109,.5);
    --blue2-40: rgba(23,64,109,.4);
    --blue2-30: rgba(23,64,109,.3);
    --blue2-20: rgba(23,64,109,.2);
    --blue2-10: rgba(23,64,109,.1);
    --blue3: rgba(35,83,136,1);
    --blue3-95: rgba(35,83,136,.95);
    --blue3-90: rgba(35,83,136,.9);
    --blue3-80: rgba(35,83,136,.8);
    --blue3-70: rgba(35,83,136,.7);
    --blue3-60: rgba(35,83,136,.6);
    --blue3-50: rgba(35,83,136,.5);
    --blue3-40: rgba(35,83,136,.4);
    --blue3-30: rgba(35,83,136,.3);
    --blue3-20: rgba(35,83,136,.2);
    --blue3-10: rgba(35,83,136,.1);
    --blue4: rgba(57,119,188,1);
    --blue4-95: rgba(57,119,188,.95);
    --blue4-90: rgba(57,119,188,.9);
    --blue4-80: rgba(57,119,188,.8);
    --blue4-70: rgba(57,119,188,.7);
    --blue4-60: rgba(57,119,188,.6);
    --blue4-50: rgba(57,119,188,.5);
    --blue4-40: rgba(57,119,188,.4);
    --blue4-30: rgba(57,119,188,.3);
    --blue4-20: rgba(57,119,188,.2);
    --blue4-10: rgba(57,119,188,.1);
    --blue5: rgba(0,133,183,1);
    --blue5-95: rgba(0,133,183,.95);
    --blue5-90: rgba(0,133,183,.9);
    --blue5-80: rgba(0,133,183,.8);
    --blue5-70: rgba(0,133,183,.7);
    --blue5-60: rgba(0,133,183,.6);
    --blue5-50: rgba(0,133,183,.5);
    --blue5-40: rgba(0,133,183,.4);
    --blue5-30: rgba(0,133,183,.3);
    --blue5-20: rgba(0,133,183,.2);
    --blue5-10: rgba(0,133,183,.1);
    --blue6: rgba(0,157,217,1);
    --blue6-95: rgba(0,157,217,.95);
    --blue6-90: rgba(0,157,217,.9);
    --blue6-80: rgba(0,157,217,.8);
    --blue6-70: rgba(0,157,217,.7);
    --blue6-60: rgba(0,157,217,.6);
    --blue6-50: rgba(0,157,217,.5);
    --blue6-40: rgba(0,157,217,.4);
    --blue6-30: rgba(0,157,217,.3);
    --blue6-20: rgba(0,157,217,.2);
    --blue6-10: rgba(0,157,217,.1);











    --turq: rgba(62,217,200,1);
    --turq95: rgba(62,217,200,.95);
    --turq90: rgba(62,217,200,.9);
    --turq80: rgba(62,217,200,.8);
    --turq70: rgba(62,217,200,.7);
    --turq60: rgba(62,217,200,.6);
    --turq50: rgba(62,217,200,.5);
    --turq40: rgba(62,217,200,.4);
    --turq30: rgba(62,217,200,.3);
    --turq20: rgba(62,217,200,.2);
    --turq10: rgba(62,217,200,.1);
    --turq-hover-light: rgba(71,250,231,1);
    --turq-hover-dark: rgba(48,148,137,1);


    --emphasis: rgba(150,0,0,1);
    --emphasis-hover: rgba(125,0,0,1);


    --font-lg: 1.4rem;
    --line-lg: 2.2rem;
    --font-md: 1.2rem;
    --line-md: 2.0rem;
    --font-sm: 1.0rem;
    --line-sm: 1.8rem;
    --font-xs: 0.8rem;
    --line-xs: 1.6rem;

    --headline-lg: 3.8rem;
    --headline-line-lg: 4.0rem;
    --headline-md: 2.6rem;
    --headline-line-md: 2.8rem;
    --headline-sm: 1.6rem;
    --headline-line-sm: 1.8rem;
    --headline-xs: 0.8rem;
    --headline-line-xs: 1.0rem;
   

    
    --transition-normal: all ease 0.2s;
    --mp-lg: 150px;
    --mp-md: 100px;
    --mp-sm: 50px;
    --mp-xs: 20px;
    --spacer-lg: 20px;
    --spacer-md: 15px;
    --spacer-sm: 10px;
    --spacer-xs: 5px;
    --spacer-xxs: 3px;
    --padding-color-container-lg: 150px 0;
    --padding-color-container-md: 100px 0;
    --padding-color-container-sm: 50px 0;
    --padding-color-container-xs: 20px 0;
}
/* =============================================
### GENERAL-SETTINGS
================================================ */
*,
*:before,
*:after {
    box-sizing:border-box;
    -ms-box-sizing:border-box;
    -moz-box-sizing:border-box; 
    -webkit-box-sizing:border-box; 
    -o-box-sizing:border-box;
}
html,
body {
  height:100%;
}
html {
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: var(--black);
}
body {
    margin:0;
    padding:0;
    font-display: swap;
    font-family: 'Quattrocento';
    font-style: normal;
    font-weight: 400;
    font-size:var(--font-lg);
    line-height:var(--line-lg);
    color:var(--black70);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
}
.clear {
    clear: both;
}
header,
header.shrink {
    position: fixed;
    width: 100%;
    height: auto;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: var(--white90);
}
header.front-page {
    background-color: var(--trans);
}
header.front-page.shrink {
    background-color: var(--white90);
}
header img.logo,
header.front-page img.logo {
    display: none;
    width: auto ;
    max-height: 70px;
    margin:0 auto;
    box-sizing:border-box;
    -ms-box-sizing:border-box;
    -moz-box-sizing:border-box; 
    -webkit-box-sizing:border-box; 
    -o-box-sizing:border-box;
    border:none;
}
header img.logo {
    display: block;
}
header.shrink img.logo {
    display: block;
}
/* =============================================
### COLORS / BACKGROUNDS / BORDER / STYLING
================================================ */
/* BACKGROUNDS */
.bg_white,
.bg_black,
.bg_trans,
.bg_blue1,
.bg_blue2,
.bg_blue3,
.bg_gray,
.bg_green,
.bg_beige,
.bg_symbol1,
footer .bg_footer {
    -moz-hyphens: auto;
    -o-hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
    hyphenate-limit-chars: auto 5;
    hyphenate-limit-lines: 2;
}
.bg_white {
    background-color:var(--white);
    color: var(--black);
}
.bg_black {
    background-color:var(--black);
    color: var(--white);
}
.bg_blue1 {
    background-color: var(--blue1);
    color: var(--white);
}
.bg_blue2 {
    background-color: var(--blue2);
    color: var(--white);
}
.bg_blue3 {
    background-color: var(--blue3);
    color: var(--white);
}
.bg_gray {
    background-color: var(--gray);
    color: var(--black);
}
.bg_green {
    background-color:var(--green);
    color: var(--white);
}
.bg_beige {
    background-color:var(--beige);
    color: var(--white);
}
.bg_symbol1 {
     background-image: url(assets/images/layout/logo-background-1.png);
    background-position: right top;
    background-size: auto 30%;
    background-repeat: no-repeat;
}
footer .bg_footer {
    background: rgba(241,229,209,1);
    color: var(--black80);
}


/* VIDEO ELEMENT  */
.container-video {
    position: relative;
    width: 100%;
    height: 100%;
}

.container-video video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}
.container-video img.background-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

/* DEIN CENTER-OVERLAY (unverändert) */
.container-video .overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.container-video .overlay img {
    max-width: 100%;
    height: auto;
}

/* NEU: TOP-OVERLAY (oben, 100% Breite, Verhältnis bleibt) */
.container-video .overlay-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1;           /* liegt über Video, unter Center-Logo */
    pointer-events: none; /* optional */
}

.container-video .overlay-top picture,
.container-video .overlay-top img {
    display: block;
    width: 100%;
    height: auto;
}


/* STYLING */
.vertical-align-middle {
    display: flex; 
    display: -webkit-flex;
}
.vertical-align-middle.left{
    justify-content: flex-start;
}
.vertical-align-middle.center{
    justify-content: center;
}
.vertical-align-middle.right{
    justify-content: flex-end;
}
.vertical-align-middle span,
.vertical-align-middle div.align {
    margin: auto 0;
}
.transition {
    -webkit-transition: var(--transition-normal);
    -moz-transition: var(--transition-normal);
    -o-transition: var(--transition-normal);
    -ms-transition: var(--transition-normal);
    transition: var(--transition-normal);
}
.shadow {
    position: relative;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.shadow:before {
    position: absolute;
    z-index: -1;
    display: block;
    background: rgba(0, 0, 0, 0.7);
    -webkit-box-shadow: 0 0 30px 0px rgba(0, 0, 0, 0.7);
    -moz-box-shadow: 0 0 30px 0px rgba(0, 0, 0, 0.7);
    box-shadow: 0 0 30px 0px rgba(0, 0, 0, 0.7);
    content: "";
    right: 20px;
    bottom: 0;
    left: 20px;
    height: 30px;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
}
/*
.border,
.border-no-padding,
.border-no-p {
    border:1px solid var(--black10) !important;
    padding:20px !important;
}
.border-no-padding,
.border-no-p {
    padding:0px !important;
}
*/
/* =============================================
### DIRECTION / PADDING / MARGIN
================================================ */
.al {
    text-align: left !important;
}
.ac {
    text-align: center !important;
}
.ar {
    text-align: right !important;
}
.aj {
    text-align: justify !important;
}
.padding-color-container-lg {
    padding: var(--padding-color-container-lg) !important;
}
.padding-color-container-md {
    padding: var(--padding-color-container-md) !important;
}
.padding-color-container-sm {
    padding: var(--padding-color-container-sm) !important;
}
.padding-color-container-xs {
    padding: var(--padding-color-container-xs) !important;
}
.no-padding,
.no-p {
    padding:0;
}
.p-lg {
    padding: var(--mp-lg);
}
.pt-lg {
    padding-top: var(--mp-lg);
}
.pr-lg {
    padding-right: var(--mp-lg);
}
.pb-lg {
    padding-bottom: var(--mp-lg);
}
.pl-lg {
    padding-left: var(--mp-lg);
}
.p-md {
    padding: var(--mp-md);
}
.pt-md {
    padding-top: var(--mp-md);
}
.pr-md {
    padding-right: var(--mp-md);
}
.pb-md {
    padding-bottom: var(--mp-md);
}
.pl-md {
    padding-left: var(--mp-md);
}
.p-sm {
    padding: var(--mp-sm);
}
.pt-sm {
    padding-top: var(--mp-sm);
}
.pr-sm {
    padding-right: var(--mp-sm);
}
.pb-sm {
    padding-bottom: var(--mp-sm);
}
.pl-sm {
    padding-left: var(--mp-sm);
}
.p-xs {
    padding: var(--mp-xs);
}
.pt-xs {
    padding-top: var(--mp-xs);
}
.pr-xs {
    padding-right: var(--mp-xs);
}
.pb-xs {
    padding-bottom: var(--mp-xs);
}
.pl-xs {
    padding-left: var(--mp-xs);
}

.m-lg {
    margin: var(--mp-lg);
}
.mt-lg {
    margin-top: var(--mp-lg);
}
.mr-lg {
    margin-right: var(--mp-lg);
}
.mb-lg {
    margin-bottom: var(--mp-lg);
}
.ml-lg {
    margin-left: var(--mp-lg);
}
.m-md {
    margin: var(--mp-md);
}
.mt-md {
    margin-top: var(--mp-md);
}
.mr-md {
    margin-right: var(--mp-md);
}
.mb-md {
    margin-bottom: var(--mp-md);
}
.ml-md {
    margin-left: var(--mp-md);
}
.m-sm {
    margin: var(--mp-sm);
}
.mt-sm {
    margin-top: var(--mp-sm);
}
.mr-sm {
    margin-right: var(--mp-sm);
}
.mb-sm {
    margin-bottom: var(--mp-sm);
}
.ml-sm {
    margin-left: var(--mp-sm);
}
.m-xs {
    margin: var(--mp-xs);
}
.mt-xs {
    margin-top: var(--mp-xs);
}
.mr-xs {
    margin-right: var(--mp-xs);
}
.mb-xs {
    margin-bottom: var(--mp-xs);
}
.ml-xs {
    margin-left: var(--mp-xs);
}
/* =============================================
### TEXT / HYPERLINKS
================================================ */
/* TEXT-ALIGNMENT */
.text-align-right {
    text-align: right;
}
.text-align-center {
    text-align: center;
}
.text-align-left {
    text-align: left;
}
/* HEADLINES */
h1,
h2,
h3,
h4,
h5 {
    font-display: swap;
    font-family: 'Quattrocento Sans';
    font-style: normal;
    font-weight: 700;
    text-decoration:none;
    text-transform: uppercase;
    font-size:var(--headline-lg);
    line-height:var(--headline-line-lg);
    border:none;
    display: block;
    color: var(--black);
    margin:0 0 20px;
}
h3 {
    font-weight: 400;
    font-size: var(--headline-sm);
    line-height: var(--headline-line-sm);
    color: var(--brown);
}

h5 {
    font-weight: 700;
    font-size: var(--headline-sm);
    line-height: var(--headline-line-sm);
    text-transform: none;
    color: var(--brown);
}
[class*="bg_blue"] h1,
[class*="bg_blue"] h3,
[class*="bg_blue"] h5 {
    color:var(--white);
}



/* FONT */
.font-size-small {
    font-size: var(--text-font-size-small);
    line-height: var(--text-font-line-height-small);
}
.font-size-xs {
    font-size: var(--text-font-size-xs);
    line-height: var(--text-font-line-height-xs);
}
.font.weight-bold {
    font-weight: bold;
}
.font.uppercase {
    text-transform: uppercase;
}
/* BLOCKS UND ABSÄTZE  */
p {
    margin-block-start: 0 !important;
    margin-block-end: 0 !important;
}
/* HYPERLINKS */
a.light_a,
a.light_a:hover,
a.light_a:visited,
a.light_a:active {
    color: var(--black);
    margin:0px !important;
    padding:0px !important;
    background:none !important;
    text-decoration: none !important;
    -webkit-user-select: none !important;
    -webkit-touch-callout: none !important;
    -webkit-transition: var(--transition-normal);
    -moz-transition: var(--transition-normal);
    -o-transition: var(--transition-normal);
    -ms-transition: var(--transition-normal);
    transition: var(--transition-normal);
}
.bg_blue a.light_a,
.bg_blue a.light_a:hover,
.bg_blue a.light_a:visited,
.bg_blue a.light_a:active {
    color: var(--white);
}

a,
a:visited,
a:focus,
a:active {
    text-decoration: none;
    background: none;
    color: var(--black70);
    padding:0;
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    -ms-transition: all 0.2s ease;
    transition: all 0.2s ease;
    -webkit-transition: var(--transition-normal);
    -moz-transition: var(--transition-normal);
    -o-transition: var(--transition-normal);
    -ms-transition: var(--transition-normal);
    transition: var(--transition-normal);
}
a:hover {
    text-decoration: none;
    background: none var(--black10);
    color: var(--black70);
    padding:0 5px;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    -ms-transition: all 0.2s ease;
    transition: all 0.2s ease;
}
a[href^="tel"] {
  color: inherit; /* Inherit text color of parent element. */
  text-decoration: none; /* Remove underline. */
  /* Additional css `propery: value;` pairs here */
}




/* HYPERLINK-EFFECTS */



/* =============================================
### ELEMENTS / BUTTON / SPACER / CONTAINER / IMAGES
================================================ */



/* BUTTON-SETTINGS */






/* CONTAINER */







.

/*  SYMBOLS */
.symbol-lg i {
    font-size: var(--font-size-headline-xlarge);
    line-height: var(--line-height-headline-xlarge);
    color: var(--black30);
    margin:40px 10px;
}


/* TAGS */
.tag {
    font-size: var(--text-font-size-xs) !important;
    line-height: var(--text-font-line-height-xs) !important;
    padding:0 0 10px !important;
}
.tag.white {
    color: var(--white);
}
.tag.black {
    color: var(--black);
}


/* SPACER */
hr {
    width: 100%;
    height: 1px;
    border: none;
    padding:0;
    margin:0;
}
hr.line {
    border:1px dotted var(--black20);
    margin:25px 0;
}
hr.content-spacer {
    border:none;
    height:100px;
}
hr.lg {
    margin-top: var(--mp-lg);
    margin-bottom: var(--mp-lg);
}
hr.md {
    margin-top: var(--mp-md);
    margin-bottom: var(--mp-md);
}
hr.sm {
    margin-top: var(--mp-sm);
    margin-bottom: var(--mp-sm);
}
hr.xs {
    margin-top: var(--mp-xs);
    margin-bottom: var(--mp-xs);
}
hr.xxs {
    margin-top: var(--mp-xxs);
    margin-bottom: var(--mp-xxs);
}

.spacer-content-header {
    width: 100%;
    height: 140px;
}
.spacer-lg {
    margin-right: var(--spacer-lg);
    margin-left: var(--spacer-lg);
}
.spacer-md {
    margin-right: var(--spacer-md);
    margin-left: var(--spacer-md);
}
.spacer-sm {
    margin-right: var(--spacer-sm);
    margin-left: var(--spacer-sm);
}
.spacer-xs {
    margin-right: var(--spacer-xs);
    margin-left: var(--spacer-xs);
}

/* IMAGES */
.img-responsive,
.img-responsive-100,
.img-responsive-90,
.img-responsive-80,
.img-responsive-70,
.img-responsive-60,
.img-responsive-50,
.img-responsive-40,
.img-responsive-30,
img.thumbs,
img.button_jetzt_buchen {
    display: block;
    width: auto ;
    height: auto;
    margin:0 auto;
    box-sizing:border-box;
    -ms-box-sizing:border-box;
    -moz-box-sizing:border-box; 
    -webkit-box-sizing:border-box; 
    -o-box-sizing:border-box;
    border:none;
}
.img-responsive {
    width: 100%;
}
.img-responsive-100 {
    max-width: 100%;
}
.img-responsive-90 {
    max-width: 90%;
}
.img-responsive-80 {
    max-width: 80%;
}
.img-responsive-70 {
    max-width: 70%;
}
.img-responsive-60 {
    max-width: 60%;
}
.img-responsive-50 {
    max-width: 50%;
}
.img-responsive-40 {
    max-width: 40%;
}
.img-responsive-30 {
    max-width: 30%;
}
img.filter-grayscale {
    -webkit-filter: grayscale(1);
    filter: grayscale(1);
    opacity: 0.4;
    filter: alpha(opacity=40);
    -webkit-transition: var(--transition-normal);
    -moz-transition: var(--transition-normal);
    -o-transition: var(--transition-normal);
    -ms-transition: var(--transition-normal);
    transition: var(--transition-normal);
}
img.filter-grayscale:hover {
    -webkit-filter: grayscale(0);
    filter: grayscale(0);
    opacity: 1;
    filter: alpha(opacity=1);
}
img.fill,
img.fit {
    width:100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}
img.scaled-image {
    width: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}
img.scaled-image.leistungen {
    height: 350px;
}
img.scaled-image.team {
    height: 450px;
    object-position: center top;
}



/* GALLERY  */
#swipebox-overlay {
    z-index: 999999999!important;
}
.gallery-item {
    margin: 0 !important;
    padding: 0 0 6px 15px!important;
    box-sizing:border-box;
    -ms-box-sizing:border-box;
    -moz-box-sizing:border-box; 
    -webkit-box-sizing:border-box; 
    -o-box-sizing:border-box;
}
img.attachment-thumbnail.size-thumbnail,
img.attachment-medium.size-medium,
img.attachment-large.size-large,
img.attachment-large.size-full,
img.attachment-320px_500px.size-320px_500px,
img.attachment-640px_480px.size-640px_480px,
img.attachment-800px_350px.size-800px_350px,
img.attachment-800px_450px.size-800px_450px,
img.attachment-800px_500px.size-800px_500px,
img.attachment-800px_600px.size-800px_600px,
img.attachment-fix_width_800px_flex_height.size-fix_width_800px_flex_height,
img.attachment-crop_800px_350px.size-crop_800px_350px,
img.attachment-crop_460px_460px.size-crop_460px_460px,
img.attachment-slider_image.size-slider_image,
img.attachment-xs.size-xs,
img.attachment-sm.size-sm,
img.attachment-md.size-md,
img.attachment-lg.size-lg {
    width:100%;
    height:auto;
    border:none !important;
}
.gallery-item a,
.gallery-item a:hover,
.gallery-item a:visited,
.gallery-item a:active {
    color: var(--trans);
    margin:0px !important;
    padding:0px !important;
    background:none !important;
    text-decoration: none !important;
    -webkit-user-select: none !important;
    -webkit-touch-callout: none !important;
    -webkit-transition: var(--transition-normal);
    -moz-transition: var(--transition-normal);
    -o-transition: var(--transition-normal);
    -ms-transition: var(--transition-normal);
    transition: var(--transition-normal);
}
.gallery-item a:hover {
    opacity: 0.8;
    filter: alpha(opacity=80);
    -webkit-transition: var(--transition-normal);
    -moz-transition: var(--transition-normal);
    -o-transition: var(--transition-normal);
    -ms-transition: var(--transition-normal);
    transition: var(--transition-normal);
}
/* MAP ===== */
.leaflet-map.leaflet-container {
    height: 550px !important;
}
/* Kontaktformular ===== */
.input_field,
.input_area,
#input_button {
    width:100%;
    height:auto;
    padding:15px 15px;
    margin-bottom:15px;
    background-color:var(--gray);
    font-size: var(--text-font-size);
    line-height: var(--text-font-line-height);
    border:none;
    color:var(--black);
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    transition: all 0.5s ease;
}
.input_area {
    height:300px;
}
.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder{
    color:var(--black30);
}
#input_button {
    width:100%;
    background-color: var(--blue3);
    color:var(--white);
    text-align: center;
    float:left;
}
#input_button:hover,
#input_button:focus {
    width:100%;
    background-color: var(--blue2);
    color:var(--white);
    outline-width: 0 !important;
}
#input_button i {
    margin-right:20px;
}

  


/* custom checkbox styling for contact form 7 checkbox */
span.wpcf7-list-item {
    display: inline-block;
    margin: 0;
}
.wpcf7 .wpcf7-list-item {
    display: block;
    margin-bottom: 10px;
}
.wpcf7-checkbox label {
    position: relative;
    cursor: pointer;
}
.wpcf7-checkbox input[type=checkbox] {
    /*position: relative;*/
    position: absolute;
    visibility: hidden;
    width: 30px;
    height: 30px;
    top: 0;
    left: 0;
}
.wpcf7-checkbox input[type=checkbox] + span {
    /* border: 3px solid red; */
}
.wpcf7-checkbox input[type=checkbox] + span:before {
    display: block;
    position: absolute;
    content: '';
    border-radius: 0;
    height: 30px;
    width: 30px;
    top: 0px;
    left: 0px;
    border: none;
    background-color: var(--gray);
}
.wpcf7-checkbox input[type=checkbox] + span:after {
    display: block;
    position: absolute;
    content: "\2713";
    height: 30px;
    width: 30px;
    top: 0;
    left: 0;
    visibility: hidden;
    font-size: 18px;
    text-align: center;
    line-height: 30px;
}
.wpcf7-checkbox input[type=checkbox]:checked + span:before {
    background: transparent;
}
.wpcf7-checkbox input[type=checkbox]:checked + span:after {
    visibility: visible;
}
.wpcf7-list-item-label {
    margin-left: 40px;
    display: inline-block;
}

#checkbox_datenschutz .wpcf7-list-item-label {
    color: var(--trans);
}
.wpcf7-checkbox input[type=checkbox] + span:before, .wpcf7-checkbox input[type=checkbox] + span:after {
    color: #111;
}
.fhhp label,
.fhhp input {
    color: var(--trans);
    border: none;
    background: none var(--trans);
    font-size: 1px;
    width: 1px;
    height: 1px;
}

.row.haftung {
    margin: 20px 0;
    color: var(--black);
}

.wpcf7 img.ajax-loader {
    width: auto;
    max-width: 100%;
    height: auto;
    border: none;
}
/* =============================================
### TABLEPRESS
================================================ */



/* =============================================
   ### AMPEL / TRAFFIC LIGHT – PREMIUM CARD
================================================ */
.kapazitaet-ampel {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    text-align: center;
    padding: 42px 34px 34px;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.10),
        0 6px 18px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(4px);
}

/* farbiger Balken oben */
.kapazitaet-ampel::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    z-index: 3;
}

/* dekorativer Glow im Hintergrund */
.kapazitaet-ampel::before {
    content: "";
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 280px;
    height: 280px;
    border-radius: 50%;
    opacity: 0.16;
    filter: blur(30px);
    pointer-events: none;
}

/* kleines Label oben */
.ampel-label {
    position: relative;
    z-index: 2;
    display: none;
    /*
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.7);
    color: rgba(0, 0, 0, 0.55);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
    */
}
.ampel-label h3 {
    color: var(--black50);
}

/* große Headline */
.ampel-headline {
    position: relative;
    z-index: 2;
    margin: 0;
    font-size: 3rem;
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--black);
}

/* Einleitung */
.ampel-einleitung {
    position: relative;
    z-index: 2;
    color: var(--black);
    max-width: 760px;
    margin: 0;
}

/* "Ampelgehäuse" */
.ampel-punkte {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border-radius: 999px;
    background: linear-gradient(180deg, #2e3338 0%, #171a1d 100%);
    box-shadow:
        inset 0 2px 4px rgba(255, 255, 255, 0.08),
        inset 0 -2px 4px rgba(0, 0, 0, 0.35),
        0 12px 24px rgba(0, 0, 0, 0.18);
}

.ampel-punkt {
    position: relative;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    opacity: 0.22;
    transform: scale(1);
    transition: all 0.3s ease;
    box-shadow:
        inset 0 2px 4px rgba(255, 255, 255, 0.18),
        inset 0 -3px 6px rgba(0, 0, 0, 0.35);
}

.ampel-punkt.gruen {
    background: #2dbd59;
}

.ampel-punkt.rot {
    background: #e14848;
}

.ampel-punkt.aktiv {
    opacity: 1;
    transform: scale(1.12);
}

.ampel-punkt.gruen.aktiv {
    box-shadow:
        0 0 0 4px rgba(45, 189, 89, 0.18),
        0 0 18px rgba(45, 189, 89, 0.55),
        inset 0 2px 4px rgba(255, 255, 255, 0.22),
        inset 0 -3px 6px rgba(0, 0, 0, 0.28);
}

.ampel-punkt.rot.aktiv {
    box-shadow:
        0 0 0 4px rgba(225, 72, 72, 0.18),
        0 0 18px rgba(225, 72, 72, 0.55),
        inset 0 2px 4px rgba(255, 255, 255, 0.22),
        inset 0 -3px 6px rgba(0, 0, 0, 0.28);
}

/* Status-Badge vorläufig ausblenden */
.ampel-text {
    display: none;
}

.ampel-status-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 1.6rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

.ampel-status-label {
    display: inline-block;
}

/* verfügbar */
.status-gruen {
    background: linear-gradient(180deg, #f8fffa 0%, #eef9f1 100%);
    color: #176b2d;
    border-color: rgba(45, 189, 89, 0.20);
}

.status-gruen::before {
    background: radial-gradient(circle, rgba(45, 189, 89, 0.55) 0%, rgba(45, 189, 89, 0) 72%);
}

.status-gruen::after {
    background: linear-gradient(90deg, #2dbd59 0%, #69d98a 100%);
}

/* nicht verfügbar */
.status-rot {
    background: linear-gradient(180deg, #fff8f8 0%, #fdf0f0 100%);
    color: #9f2424;
    border-color: rgba(225, 72, 72, 0.20);
}

.status-rot::before {
    background: radial-gradient(circle, rgba(225, 72, 72, 0.50) 0%, rgba(225, 72, 72, 0) 72%);
}

.status-rot::after {
    background: linear-gradient(90deg, #e14848 0%, #f07a7a 100%);
}

/* Mobile */
@media (max-width: 767px) {
    .kapazitaet-ampel {
        padding: 34px 20px 24px;
        gap: 16px;
        border-radius: 20px;
    }

    .kapazitaet-ampel::after {
        height: 5px;
    }

    .ampel-label {
        font-size: 1rem;
        padding: 7px 12px;
    }

    .ampel-headline {
        font-size: 2.3rem;
    }

    .ampel-einleitung {
        font-size: 1.4rem;
        line-height: 1.55;
    }

    .ampel-punkte {
        gap: 12px;
        padding: 12px 16px;
    }

    .ampel-punkt {
        width: 20px;
        height: 20px;
    }
}



/* =============================================
###
================================================ */
@media (max-width: 767px) {
    body {
        font-size:var(--font-md);
        line-height:var(--line-md);
    }
    header,
    header.front-page,
    header.shrink,
    header.front-page.shrink {
        ;
    }
    
    header.front-page.shrink img.logo,
    
    header.shrink img.logo {
        max-height: 50px;
        display: unset;
        float: right;
    }
    .container-fluid-outer .container-video {
        display: none;
    }
    footer img.img-responsive-100 {
        display: unset;
    }
    .padding-color-container-lg {
        padding: var(--padding-color-container-md) !important;
    }
    h1,
    h2,
    h3,
    h4,
    h5 {
        font-size:var(--headline-md);
        line-height:var(--headline-line-md);
        border:none;
        display: block;
        color: var(--black);
        margin:0 0 20px;
    }
    h3 {
        font-weight: 400;
        font-size: var(--headline-xs);
        line-height: var(--headline-line-xs);
    }
    h5 {
        font-weight: 700;
        font-size: var(--headline-xs);
        line-height: var(--headline-line-xs);
        text-transform: none;
    }
    img.scaled-image.leistungen {
        height: 300px;
    }
    img.scaled-image.team {
        height: 300px;
    }
    .leaflet-map.leaflet-container {
        height: 300px !important;
    }
    .input_area {
        height:200px;
    }
    .spacer-content-header {
        height: 0px;
    }
}

/* =============================================
###
================================================ */
@media (min-width: 768px) {
    footer img.img-responsive-80 {
        display: unset;
    }

}


/* =============================================
###
================================================ */
@media (min-width: 992px) {
    footer img.img-responsive-100 {
        display: block;
    }
}

/* =============================================
###
================================================ */
@media (min-width: 1200px) {
    
}