:root {
    --heimgruen: rgb(59,118,100);
    --heimgruen-heller: rgb(66, 132, 112);
    --heimtextgrau: rgb(33,33,32);
    --heimmittelgrau: rgb(129,128,130);
    --heimhellgrau1: rgb(220,223,222);
    --heimhellgrau2: rgb(224,227,226);
    --heimhellgrau3: rgb(241,241,244);
    --heimdunkelgrau: rgb(20,23,22);
    --swiper-pagination-color: rgb(59,118,100);
    --swiper-theme-color: rgb(66, 132, 112);
    
    --maxbreite: 1600px;
    --satzspiegeleinzug: 6em;
    --satzspiegeleinzugschmal: 1em;
}

html * {
    font-weight: 300;
    letter-spacing: 0.03em;
    
}

html {
    width: 100%;
    overflow-x: hidden;
}

.fullpage {
    overflow-x: hidden;
}

b {
    font-weight: 600;
}

h1 {
    text-align: center;
}

.links {
    text-align: left;
}

.weiss {
    color: #ffffff;
}

.heimgruen {
    color: var(--heimgruen);
    font-weight: inherit;
}

.heimgrau {
    color: var(--heimtextgrau);
}

.heimhellgrau {
    background-color: var(--heimhellgrau3);
}

.heimhellgrau2 {
    background-color: var(--heimhellgrau2);
}

.heimmittelgrau {
    background-color: var(--heimmittelgrau);
}

.header.heim {
    background-color: var(--heimhellgrau3);
    /* padding-top: 0.5em;*/
    position: static;
    /*margin-top: 7.5em;*/
    margin-top: 150px;
    height: auto;
    z-index: 0;
    text-align: center;
    background-color: var(--heimhellgrau3);
    padding: 1em;
    font-size: 85%;
    font-weight: 500;
}

.header.heim ul.menu {
    margin-top: 5px;
    float: none;
    display: inline-block;
    text-align: center;
}

.header.heim li a {
    color: var(--heimtextgrau);
    border-right: 1px solid var(--heimtextgrau);
    padding: 5px 20px;
    text-transform: uppercase;
}

.header.heim li a.highlight {
    color: red;
}

.header.heim li:last-child a {
    border-right: 0px solid transparent;
}

.datenschutz,
.impressum,
.jobs {
    color: var(--heimdunkelgrau);
    margin-top: 150px;
    padding-top: 0;
}

.datenschutz h2 {
    color: var(--heimgruen);
}


/* neue Formate */

.top {
    position: fixed;
    top: 0;
    width: 100%;
    max-width: 1600px;   /* maximale Menubreite */
    /* background-color: var(--body-bg-color);*/
    background-color: #ffffff;
    /*box-shadow: rgba(0, 0, 0, 0.02) 0px 10px 10px 0px;
    z-index: 10;*/
}

.toplogo {
    padding: 1em 1em 0.5em var(--satzspiegeleinzug);
    width: calc(330px + var(--satzspiegeleinzug));
    max-width: 80vw;
}

@media (min-width: 1280px) {
    .toplogo {
        padding: 1em 1em 0.5em var(--satzspiegeleinzug);
        width: calc(400px + var(--satzspiegeleinzug));
        max-width: 80vw;
    }
}

.toplogo .logo,
.toplogo .logo img {
    margin: 0;
    padding: 0;
}

/*body {
    margin: 0 auto;   /* zentriert */
    /*padding: 0;
    height: 100%;
    font-family: 'TT Norms Pro';
    font-weight: 400;
    /*font-size: 100%;*/
    /*max-width: var(--maxbreite);
    color: var(dunkelgrau2);
} */


.kontakticons {
    position: fixed;
    top: 1em;
    right: calc((100vw - var(--maxbreite)) / 2);
    width: calc(( var(--maxbreite) - 440px ) - ( var(--satzspiegeleinzug) * 2));
    max-width: 600px;
    padding-right: var(--satzspiegeleinzug);
    z-index: 20;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr;
    grid-gap: 0px 0.1em;
    grid-template-areas: "whatsapp telefon email";
}

.kontakticons2 {
    /*position: fixed;*/
    position: absolute;
    top: 1em;
    right: calc((100vw - var(--maxbreite)) / 2);
    /*width: calc(( var(--maxbreite) - 440px ) - ( var(--satzspiegeleinzug) * 2));*/
    width: calc(( var(--maxbreite) - 840px ) - ( var(--satzspiegeleinzug) * 2));
    /*max-width: 600px;*/
    max-width: 300px;
    padding-right: var(--satzspiegeleinzug);
    z-index: 20;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    grid-gap: 0px 0.1em;
    grid-template-areas: "email";
}

@media (max-width: 1600px) {      /* hier maxbreite einsetzen, weil das in media queries nicht geht */
    .kontakticons,
    .kontakticons2 {
        right: var(--satzspiegeleinzug);
        width: calc(( 100vw - 360px ) - ( var(--satzspiegeleinzug) * 2));
        padding-right: 0;
    }
}

/* Kontakticons ab 1024px bzw. 56em */

.kontakticons div,
.kontakticons2 div {
    text-align: center;
    font-size: 14px;
    width: 1fr;
    padding:0;
}

.kontakticons div,
.kontakticons2 b {
    font-weight: 500;
}

.kontakticon {
    width: 100%;
    height: 2.2em;
    margin-bottom: 0.5em;
}

.kontakticon img {
    width: 2.2em;
}

/* bis hierher */

#slidermodul,
.detail.introbild {
    padding: 0;
}

.detail.introbild {
    margin-top: 0;
}

.swiper-container,
.detail.introbild {
    height: 55vh;
    max-height: 600px;
    width: 100%;
}

.swiper-container.footerslider,
.detail.introbild {
    height: 85vh;
    max-height: 800px;
}

.detail.introbild div {
    width: 100%;
    height: 100%;
}

.slideinfo {
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: flex-end;
    align-content: normal;
    padding: 2em 0;
}

.slideinfo .sliderinfobox {
    display: block;
    flex-grow: 0;
    flex-shrink: 1;
    flex-basis: 70ch;
    align-self: auto;
    order: 0;
    background-color: var(--heimgruen);
    opacity: 0;
    padding: 2em 3em;
    animation: einblend70 1.5s;
    animation-fill-mode: forwards;
    margin-bottom: 2.75rem;
}

@keyframes einblend70 {
    0%   {opacity: 0;}
    60%  {opacity: 0;}
    100% {opacity: 0.85;}
}

.sliderinfobox * {
    text-align: left;
    color: #ffffff;
    font-size: 90%;
}

.slideinfo h2 {
    text-transform: none;
    font-weight: 600;
    font-size: 100%;
    margin-top: 0.2em;
    margin-bottom: 0.2em;
}

.sliderinfobox ul {
    list-style-position: outside;
    margin: 0;
    padding: 0;
    margin-left: 1.2em;
    margin-bottom: 0.75em;
}

.sliderinfobox li {
    padding-top: 0.5em;
    line-height: 105%;
    font-size: 90%;
}

.sliderinfobox button {
    border-color: #ffffff;
    border-radius: 1px; 
    padding: 0.35em 1em; 
    font-size: 0.75em;
    margin: 2em 0 1em 1.4em;
}

.swiper-button-next,
.swiper-button-prev {
    padding: 15px 13px 15px 17px;
} 
.swiper-button-prev {
    padding: 15px 17px 15px 13px;
}

.produktueberblick {
     padding-bottom: 2em;
}

.produktkacheln {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: space-between;
	align-items: stretch;
	align-content: stretch;
}

.produktkacheln.sechs {
	flex-wrap: wrap;
    margin-bottom: 3em;
}

.produktkacheln.drei div,
.produktkacheln.sechs div {
    margin-top: 2em;
    width: 28%;
    text-transform: uppercase;
}

.produktkacheln.drei div p,
.produktkacheln.sechs div p {
    text-transform: none;
}

.produktkacheln.zwei {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: space-between;
	align-items: stretch;
	align-content: stretch;
}

.produktkacheln.zwei div {
    width: 48%;
    text-align: left;
}

.produktkacheln.zwei .miniswiper .swiper-container {
    height: 30vw;
    max-height: calc(var(--maxbreite) * 0.3);
    min-height: 8em;
}

.produktkacheln.zwei .miniswiper,
.produktkacheln.zwei .miniswiper div {
    width: 100%;
}

.produktkacheln.zwei div.infotext {
    width: 100%;
    display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	justify-content: space-between;
	align-items: stretch;
	align-content: stretch;
    padding: 2em;
    background-color: transparent;
}

.produktkacheln.zwei div.infotext div {
    width: 100%;
    margin: 0;
    padding: 0;
    flex-grow: 1;
}

.produktkacheln.zwei div.heimhellgrau {
    background-color: var(--heimhellgrau3);
}

.produktkacheln.zwei div.weissback,
.weissback {
    background-color: #ffffff;
}

.produktkacheln.zwei div p,
.produktkacheln.zwei div h4 {
    padding: 0.25em 0;
}

.produktkacheln.zwei div.infotext div.mehr,
.produktintro .subtext .mehr {
    text-align: center;
}

.produktkacheln.zwei div.infotext button,
.produktintro .subtext button {
    margin-top: 1em;
    text-align: center;
    background-color: var(--heimgruen);
    border-radius: 1px;
    border: 0px solid transparent;
    color: #ffffff;
    padding: 0.75em 3em; 
    font-size: 0.8em;
}

.produktkacheln.zwei div h4,
.produktkacheln.drei div h4,
.produktkacheln.sechs div h4 {
    text-transform: uppercase;
    font-weight: 600;
    padding: 0;
    margin: 0;
}

.produktkacheln.sechs div h4,
.produktkacheln.drei div h4 {
    padding: 1em;
    text-align: center;
}

.produktkacheln.sechs.optionen div h4,
.produktkacheln.drei.optionen div h4 {
    padding: 1em 0 0 0;
    text-align: left;
}

.produktkacheln.sechs div {
    text-align: left;
    background-color: transparent;
    margin-top: 2em;
    margin-bottom: 0em;
}

.subtext {
    padding: 2em; 
    margin-top: 1em;
    margin-bottom: 1.5em; 
    text-align: left;
}

.einleitung {
    padding: 2em; 
    margin-top: 2em;
    margin-bottom: 5em; 
    text-align: center;
}

.produktintro {
    padding: 2em 0 3em 0; 
    margin-bottom: 4em; 
    text-align: left;
}

.produktintro h1,
.produktintro hr,
.detailintro h1,
.detailintro hr{
    text-align: left;
    padding: 0;
    margin-bottom: 0;
}

.einleitung hr,
.produktintro hr,
.detailintro hr {
    background-color: var(--heimtextgrau);
    width: 9em;
    height: 4px;
    margin-bottom: 2.5em;
    border: 0px solid transparent;
}

.produktintro hr,
.detailintro hr {
    width: 6em;
    margin-left: var(--satzspiegelabstand);
}

.detailintro h1 {
    font-size: 2.1em;
    line-height: 115%;
    margin-top: 2.4em;
    margin-bottom: 0.7em;
}
.detailintro .abstandoben {
    padding-bottom: 3em; 
    padding-top: 1Sem;
}

.produktintro .abstandoben {
    padding-top: 2em;
}

.produktintro .abstandunten {
    padding-bottom: 2em;
}

.introbild {
    margin-top: 1em;
    margin-bottom: 1em;
}

.kontaktkacheln {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    align-content: flex-start;
    padding: 1em 2em 1em 2em; 
    margin: 0;
}

.kontaktkacheln div {
    display: block;
    flex-grow: 0;
    flex-shrink: 1;
    flex-basis: 30%;
    align-self: center;
    order: 0;
    color: var(--heimhellgrau2);
    text-align: left;
    padding: 0 3em;
    border-left: 1px solid var(--heimhellgrau2);
    border-right: 1px solid var(--heimhellgrau2);
    color: var(--heimhellgrau2);
    font-size: 80%;
    text-transform: uppercase;
}

.kontaktkacheln div:first-child,
.kontaktkacheln div:last-child {
    border: 0px solid transparent;
}

.kontaktkacheln h4 {
    font-weight: 600;
}

.kontaktkacheln .schalter {
    font-size: 65%;
    opacity: 0.8;
}

.jobs ul li,
.satzspiegel ul li {
    margin-left: -1em;
}


/* footer Override */

.footer {
    background-color: var(--heimtextgrau);
    /*padding: 4em inherit 4em inherit;*/
    padding-top: 4em;
    padding-bottom: 4em;
}

/* Dark-Modus-Umschalter
-------------------------------------------------*/
.theme-switch-wrapper {
  display: flex;
  align-items: center;
  margin-top: -0.7rem;
}
.theme-switch-wrapper .theme-switch {
  position: relative;
  display: inline-block;
  height: 0.7rem;
  width: 1.4rem;
}
.theme-switch-wrapper .theme-switch input {
  display: none;
}
.theme-switch-wrapper .slider {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  /*background-color: #ccc;*/
  background-color: var(--dunkelgrau2);
  cursor: pointer;
  transition: .4s;
}
.theme-switch-wrapper .slider::before {
  position: absolute;
  left: 0;
  bottom: 0;
  content: "";
  /*background-color: rgba(255,255,255,0.8);*/
  background-color: #999999;
  height: 0.7rem;
  width: 0.7rem;
  transition: .4s;
}
.theme-switch-wrapper input:checked + .slider {
  background-color: rgba(255, 255, 255, .85);
  /*background-color: var(--hellgrau1);*/
}
.theme-switch-wrapper input:checked + .slider::before {
  transform: translateX(0.7rem);
}
.theme-switch-wrapper .slider.round {
  border-radius: 0.7rem;
}
.theme-switch-wrapper .slider.round::before {
  border-radius: 50%;
}

/* konfigurator */

.konfigurator {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: normal;
    align-items: normal;
    align-content: normal;

    height: 82vh;
}
  
.bc {
    display: block;
    flex-grow: 1;
    flex-shrink: 0;
    flex-basis: auto;
    align-self: stretch;
    order: 0;
}
  
.bcpanel {
    display: block;
    flex-grow: 0;
    flex-shrink: 1;
    flex-basis: 30%;
    align-self: stretch;
    order: 0;
    background-color: var(--heimhellgrau3);
    padding: 2rem 1rem 1rem 1rem;
    /* box-shadow: 0 4px 4px -2px rgba(0, 0, 0, 0.5);*/
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.flexpanel {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: flex-start;
    align-content: stretch;
}

.flexpanel .tabs {
    flex-grow: 5;
    flex-shrink: 1;
    flex-basis: auto;
    overflow-y: auto;
}

.flexpanel .bcpreis {
    flex-grow: 0;
    flex-shrink: 1;
    flex-basis: auto;
}






/* Accordions */

.bcpanel input {
    position: absolute;
    opacity: 0;
    z-index: -1;
  }

  .tabs {
    overflow: hidden;
    /* box-shadow: 0 4px 4px -2px rgba(0, 0, 0, 0.5); */
  }
  
  .tab {
    width: 100%;
    color: var(--heimtextgrau);
    overflow: hidden;
  }

  /* .tab:last-child {
        border-bottom: 1px solid var(--heimtextgrau);
  } */

  .tab-label {
    display: flex;
    justify-content: space-between;
    padding: 0.7em 0;
    background: transparent;
    font-weight: 600;
    cursor: pointer;
    border-top: 1px solid var(--heimtextgrau);
    /* Icon */
  }
  .tab-label:hover {
    color: var(--heimgruen);
  }
  .tab-label::after {
    /*content: "❯";*/
    content: url(../svg/heim-acc-winkel.svg);
    padding: 0.05em;
    width: 1em;
    height: 1em;
    text-align: center;
    transition: all 0.25s;
  }
  .tab-content {
    max-height: 0;
    padding: 0;
    font-weight: 300;
    color: var(--heimtextgrau);
    background: transparent;
    transition: all 0.25s;
  }
  /* .tab-close {
    display: flex;
    justify-content: flex-end;
    padding: 1em;
    font-size: 0.75em;
    background: var(--heimgruen);
    cursor: pointer;
  }
  .tab-close:hover {
    background: var(--heimgruenheller);
  } */
  
  input:checked + .tab-label {
    background: transparent;
  }
  input:checked + .tab-label::after {
    transform: rotate(180deg);
  }
  input:checked ~ .tab-content {
    max-height: 100vh;
    padding: 0 0 1em 0;
  }

  .tab-content h5 {
      margin-top: 0.1rem;
      margin-bottom: 0;
  }

/*---- BC -----*/



.tab-label,
.tab-content p,
.tab-content h5,
.tab-content #rezept,
.tab-content label {
    font-size: 0.85rem;
}

button.bcanzahl {
    width: 18%;
    height: 6px;
    background-color: var(--heimhellgrau1);
    font-weight: 600;
    border: none;
    border-radius: 3px;
    margin: 0.5em 1em 0.5em 0;
    cursor: pointer;
    color: transparent;
    vertical-align: middle;
}

.bcanzahl:disabled {
    width: 18%;
    height: 2.4em;
    padding: 3px;
    border-radius: 4px;
    background-color: var(--heimgruen);
    color: #ffffff;
    border: 1px solid #000000;
    background-clip: content-box; /* support: IE9+ */
}

#hoehe {
    display: none;
}

button.bcfarbe,
button.bcboden,
button.bcgelaender {
    width: 4vw;
    height: 4vw;
    min-height: 28px;
    max-height: 42px;
    min-width: 28px;
    max-width: 42px;
    border: 1px solid transparent;
    border-radius: 0;
    margin: 3px 6px 3px 0;
    cursor: pointer;

    content: "&nbsp;";

    padding: 3px;
    background-clip: content-box; /* support: IE9+ */
}

button.bcboden,
button.bcgelaender {
    width: 7vw;
    height: 7vw;
    min-height: 52px;
    max-height: 88px;
    min-width: 52px;
    max-width: 88px;
}

#verzinkt {
    background-color: rgb(140,141,156);
    background-image: url(../images/verzinkt-muster.jpg);
    background-size: cover;
}

#db703 {
    background-color: rgb(43,43,44);
    background-image: url(../images/db703-muster.jpg);
    background-size: cover;
}

#ral7016 {
    background-color: rgb(56,62,66);
}

#ral8019 {
    background-color: rgb(61,54,53);
}

#ral5013 {
    background-color: rgb(25,49,83);
}

#ral3002 {
    background-color: rgb(155,35,33);
}

#ral3005 {
    background-color: rgb(89,25,31);
}

#ral6005 {
    background-color: rgb(17,66,50);
}

#ral9005 {
    background-color: rgb(14,14,16);
}

#ral7015 {
    background-color: rgb(79,83,88);
}

#ral7021 {
    background-color: rgb(47,50,52);
}

#ral7023 {
    background-color: rgb(128,128,118);
}

#ral7032 {
    background-color: rgb(181,176,161);
}

#ral7035 {
    background-color: rgb(197,199,196);
}

#ral9016 {
    background-color: rgb(241,241,234);
}


#wpcschwarz {
    background-color: rgb(44, 32, 15);
    background-image: url(../images/bodenschwarz-muster.jpg);
    background-size: cover;
}

#wpcbraun {
    background-color: rgb(43,43,44);
    background-image: url(../images/bodenbraun-muster.jpg);
    background-size: cover;
}


#stab {
    background-color: transparent;
    background-image: url(../images/stab2-muster.jpg);
    background-size: cover;
}

#vsg {
    background-color: transparent;
    background-image: url(../images/vsg2-muster.jpg);
    background-size: cover;
}




.bcpanel .tab-content input {
    position: static;
    opacity: 1;
    z-index: 1;
  }

.bcgelaender {
    width: 2em;
    height: 2em;
    border-radius: 0;
    border: 0px solid transparent;
    /* background: var(--heimhellgrau3);*/
}

#bcstab {
    background-image: url(../images/bcstab.png);
    background-size: contain;
}

#bcvsg {
    background-image: url(../images/bcvsg.png);
    background-size: contain;
}

.bcgelaender:checked {
    box-shadow: 0 0 0 3px var(--heimhellgrau3),
                0 0 0 4px black;
}

#bcboden {
    width: 2em;
    height: 2em;
    border-radius: 0;
    border: 0px solid transparent;
}

#bcbodenschwarz {
    background-image: url(../images/bcbodenschwarz.png);
    background-size: contain;
}

#bcbodenbraun {
    background-image: url(../images/bcbodenbraun.png);
    background-size: contain;
}

td.etage {
    text-align: right; 
    padding-left: 0; 
    padding-right: 2ch; 
    width: 8.2ch;
}



.bcpreis {
    
}

.bcpreis h2 { 
    font-size: 1.9rem;
    font-weight: 300;
    padding-bottom: 0;
    margin-bottom: 0;
    text-align: left;
}

.bcpreis h6 {
    font-size: 0.5rem;
    padding-top: 0;
    margin-top: -0.3rem;
}

#hoehe h5 {
    font-size: 0.75rem;
}

button.bcanfrage {
    background-color: var(--heimgruen);
    color: #ffffff;
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 1px;
    text-transform: none;
}


/* ---- Styling Checkboxen ----- */

.tab-content input[type="checkbox"],
.tab-content input[type="radio"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
    width:  1.25rem; 
    height: 1.25rem; 
    background: transparent; 
    border-radius: 1px;
    border: 1px solid var(--heimtextgrau);
    vertical-align: middle;
}

.tab-content h5 input[type="radio"] {
    width:  0.8rem; 
    height: 0.8rem;
    border-radius: 50%;
    vertical-align: text-bottom;
}
 
.tab-content input[type=checkbox]:checked {
    background: var(--heimgruen);
    /* background-image: url(haekchen.png);*/
    color: #ffffff;
}

.tab-content input[type=radio]:checked {
    background: var(--heimgruen);
    /* background-image: url(haekchen.png);*/
    color: #ffffff;
}

.tab-content label {
    vertical-align: middle;
}





/* .tab-content input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Create a custom checkbox */
/* .tab-content input.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 1rem;
    width: 1rem;
    background-color: transparent;
    border: 1px solid var(--heimtextgrau);
}

/* On mouse-over, add a grey background color */
/* .tab-content:hover input ~ .checkmark {
    background-color: var(--heimhellgrau2);
    background-color: yellow;
}

/* When the checkbox is checked, add a blue background */
/* .tab-content input:checked ~ .checkmark {
    background-color: var(--heimgruen);
    color: white;
}

/* Create the checkmark/indicator (hidden when not checked) */
/* .tab-content:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
/* .tab-content input:checked ~ .checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
/* .tab-content .checkmark:after {
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
} */


/* balkon-o-mat */

.kontaktformular {
    padding-bottom: 4rem;
    padding-top: 1rem;
}
  
.kontaktformular label,
.kontaktformular input,
.kontaktformular textarea {
    font-size: 0.85rem;
    font-weight: 400;
    font-family: "TT Norms Pro", sans-serif;
}

.kontaktformular label {
    font-weight: 600;
    padding-right: 1.2rem;
}

.kontaktformular h2 {
    text-align: left; 
    margin-top: 2rem; 
    text-transform: none;
}

.kontaktformular .copyright {
    float:left;
    font-size: 50%;
}

.pure-control-group {
    background-color: var(--heimhellgrau3); 
    padding: 0.5rem 1rem; 
    margin-bottom: 0.5rem;
}

.pure-control-group input,
.pure-control-group textarea {
    border: 1px solid transparent; 
    background-color: transparent;
}

.pure-control-group.absenden {
    text-align: right; 
    background-color: transparent; 
    padding-right: 0;
}

.error,
.success {
    padding: 0.5rem 1rem; 
    color: #ffffff;
    background-color: red;
}

.success {
    background-color: var(--heimgruen);
}


/* Kontaktformular responsive */

input[type=text], 
input,
select, 
textarea {
    width: 100%;
    /*padding: 12px;*/
    resize: vertical;
}
  
label {
    /*padding: 12px 12px 12px 0;*/
    display: inline-block;
}
  
/* input[type=submit] {
    background-color: #04AA6D;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    float: right;
}
  
input[type=submit]:hover {
    background-color: #45a049;
} */
  
/* .container {
    border-radius: 5px;
    background-color: #f2f2f2;
    padding: 20px;
  } */
  
.col-25 {
    float: left;
    width: 25%;
    margin-top: 6px;
}
  
.col-75 {
    float: left;
    width: 75%;
    margin-top: 6px;
}
  
/* Clear floats after the columns */
.row:after {
    content: "";
    display: table;
    clear: both;
}


/* BC Infopanel */

.bcinfopanel,
.bcinfobutton {
    position: absolute;
    top: 21rem;
    left: 0;
    width: 25ch;
    height: auto;
    margin: 0;
    margin-left: calc(8px + var(--satzspiegeleinzug));
    padding: 1.2rem;
    background-color: var(--heimhellgrau3);
    border: 2px solid #ffffff;
    border-radius: 2rem;
    border-top-left-radius: 0;
}

.bcinfopanel {
    box-shadow: 0 4px 14px 0 rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.bcinfobutton {
    width: calc(3ch - 4px);
    height: calc(3ch - 4px);
    padding: 0;
    margin: 2px;
    margin-left: calc(10px + var(--satzspiegeleinzug));
    border: 2px solid transparent;
    border-radius: 0;
    background-color: var(--heimgruen);
}

.bcinfobutton button {
    color: #ffffff;
    width: 100%;
    height: 100%;
    background-color: transparent;
    border: none;
    text-transform: none;
    font-weight: 600;
    padding: 0;
    cursor: pointer;
}

.bcinfopanel h2,
.bcinfopanel p {
    text-align: center;
    padding: 0 1.2rem;
    text-transform: none;
}

.bcinfopanel p {
    font-size: 0.85rem;
    font-weight: 500;
}

.bcinfopanel p.icontext {
    text-align: left; 
    padding-top: 0.5rem;
    width: 24ch;
}

.bcinfopanel img {
    width: 8ch; 
    display: inline-block; 
    padding-right: 1rem; 
    float: left;
}

/* Header Balkon-o-Mat */

h1.balkonomat {
    text-align: left; 
    font-size: 280%; 
    line-height: 90%; 
    font-weight: 500; 
    margin-bottom: 0; 
    margin-top: 1rem;
}

h1.balkonomat span.heimgruen {
    color: var(--heimgruen); 
    font-weight: 600;
}

h5.balkonomat {
    margin-top: 0.3rem;
    padding-top: 0;
}

img.balkonomat {
    margin: 0.5rem 0.5rem -0.1rem 0.3rem;
    width: 0.8rem;
}

img.hlogooben {
    margin: 0 0 0.9rem 0.5rem;
    width: 4%;

}


@media (max-width: 58em) {
    
    .toplogo {
        padding: 1em 1em 0.5em var(--satzspiegeleinzugschmal);
        width: calc(330px + var(--satzspiegeleinzugschmal));

        width: 100%;
    }

    .kontakticons,
    .kontakticons2 {
        right: var(--satzspiegeleinzugschmal);
        width: calc(( 100vw - 370px ) - ( var(--satzspiegeleinzugschmal) * 2));
    }
    
    .slideinfo h1,
    .slideinfo h2,
    .produktueberblick h4,
    .produktintro h4,
    .einleitung p,
    .produktintro p,
    .footer p{
        font-size: 85%;
    }

    .bckonfigurator {
        margin-bottom: 0; 
        background-color: rgb(241, 241, 244);
    }
    
    .slideinfo button {
        font-size: 70%;
    }
    
    .kontakticons div,
    .kontakticons2 div {
        font-size: 13px;
    }

    /* .kontakticon {                      /* testen wg.  .  */
        /* height: 1.8em;
        margin-bottom: 0.5em;
        font-size: 11px;
    } */

    .kontakticon img {
        width: 1.8em;
    }
    
    .kontakticons,
    .kontakticons2,
    .kontaktkacheln {
        padding: 1em 0.3em 1em 0.3em; 
    }
    
    .bcinfopanel,
    .bcinfobutton {
        top: 27rem;
        width: 30ch;
        margin-left: calc(8px + var(--satzspiegeleinzugschmal));
    }

    .bcinfobutton {
        width: calc(3ch - 4px);
    }

    .bcinfopanel p.icontext {
        width: 27ch;
    }

    h1.balkonomat {
        font-size: 240%;
    }

    .bcanzahl,
    .bcanzahl:disabled {
        width: 2rem;
    }

    .col-25, .col-75 {
        width: 100%;
        margin-top: 0;
    }
}


@media (max-width: 48em) {

    .toplogo {
        width: 100%;
        padding-right: 0;
    }

    .kontakticons,
    .kontakticons2 {
        position: static;
        background-color: var(--heimhellgrau2);
        width: 100vw;
        max-width: 100vw;
        padding: 1em 0.7em;
    }
    .header.heim {
        background-color: transparent;
        position: sticky;
        top: 0;
        z-index: 20;
        margin-top: 0;
        min-height: 113px;
    }
    .header.heim .menu {
        background-color: var(--body-bg-color);
        opacity: 0.9;
        width: 100%;
        margin-top: 0;
        position: absolute;
        top: 0;
        left: 0;
        border: 0px solid transparent;
    }
    .header.heim .menu li:first-child {
        margin-top: 2em;
    }
    .header.heim .menu li:last-child {
        padding-bottom: 1em;
    }
    .header.heim .menu-icon {
        z-index: 30;
    }
    
    .slideinfo .sliderinfobox {
        /*background-color: red;*/
    }
    
    .kontaktkacheln div {
        flex-basis: 90%;
        border-top: 1px solid var(--heimhellgrau2);
        border-bottom: 1px solid var(--heimhellgrau2);
        padding: 0.5em 1em;
        border-right: none;
        border-left: none;
    }
    
    /* .produktkacheln.sechs div{
        width: 48%;
    } */
    
    .produktkacheln.zwei div.infotext {
        padding: 0.75em; 
        /* font-size: 0.7em; */
    }
    
    .produktkacheln.zwei div.infotext button {
        padding: 0.5em 1.5em; 
        font-size: 0.7em;
    }
    
    .produktkacheln.sechs h4 {
        font-size: 0.7em;
    }
    
    .subtext {
        padding: 1em;
    }
    
    .footer p{
        font-size: 100%;
    }

    .konfigurator {
        margin-right: 0;
        margin-left: 0;
        padding-right: 0.5rem;
        padding-left: 0;
    }

    .bckonfigurator .abstandoben {
        padding-top: 0;
    }

    .produktintro.bckonfigurator {
        padding-top: 1rem;
    }

    .bc {
        flex-basis: 65%;
        flex-grow: 1;
        flex-shrink: 0;
    }

    .bcpanel {
        flex-basis: 35%;
        flex-grow: 0;
        flex-shrink: 1;
        padding: 2rem 0 1rem 0.5rem;
    }

    .bcpreis {
        width: 32vw;
    }

    .bcpreis h2 {
        font-size: 1.35rem;
    }
    
    h1.balkonomat {
        font-size: 200%;
    }

    h5.balkonomat {
        font-size:0.65rem;
    }

    .pure-control-group.absenden {
        text-align: left; 
        padding-left: 0;
        margin-left: 0;
    }

    .kontaktformular {
        overflow-x: hidden;
        overflow-y: visible;
    }

    .kontaktformular .copyright {
        float: right;
        font-size: 35%;
    }

    .bcanzahl,
    .bcanzahl:disabled {
        width: 2rem;
    }

    td.etage {
        text-align: right; 
        padding-left: 0; 
        padding-right: 0.8ch; 
        width: 7.2ch;
        font-size: 80%;
    }

    .tab-content label {
        font-size: 0.7rem;
        margin-top: 0;
        padding-top: 0;
    }

}

/*------ Tooltip -------- */

[data-customTooltip] {
  cursor: pointer;
  position: relative;
}

[data-customTooltip]::after {
  background-color: var(--heimgruen);
  /*font-family: "Roboto", sans-serif;
  font-weight: normal;*/
  color: var(--heimhellgrau3);
  font-size: 14px;
  padding: 8px 12px;
  height: fit-content;
  width: fit-content;
  border-radius: 6px;
  position: absolute;
  text-align: center;
  bottom: 0px;
  left: 50%;
  content: attr(data-customTooltip);
  transform: translate(-50%, 110%) scale(0);
  transform-origin: top;
  transition: 0.14s;
  box-shadow: 0 4px 14px 0 rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.05);
}

[data-customTooltip]:hover:after {
  display: block;
  transform: translate(-50%, 110%) scale(1);
}

