/* BASICS */

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-VariableFont_wdth,wght.ttf') format('truetype');
    font-weight: 100 900; /* Define el rango de pesos de Roboto */
    font-style: normal;
}

@font-face {
    font-family: 'Ubuntu';
    src: url('../fonts/Ubuntu-Light.ttf') format('truetype');
    font-weight: 300; /* Ligera */
    font-style: normal;
}

@font-face {
    font-family: 'Ubuntu';
    src: url('../fonts/Ubuntu-Regular.ttf') format('truetype');
    font-weight: 400; /* Regular */
    font-style: normal;
}

@font-face {
    font-family: 'Ubuntu';
    src: url('../fonts/Ubuntu-Medium.ttf') format('truetype');
    font-weight: 500; /* Media */
    font-style: normal;
}

@font-face {
    font-family: 'Ubuntu';
    src: url('../fonts/Ubuntu-Bold.ttf') format('truetype');
    font-weight: 700; /* Negrita */
    font-style: normal;
}


html {
    display: flex;
    align-items: center;
    scroll-behavior: smooth;
    font-size:16px;
    margin: 0rem;
    background-color: rgba(71,55,41,0.1);
    justify-content: center;
}
::selection {
    color: white; /* Color del texto seleccionado */
    background-color: #473729;/* Color de fondo del texto seleccionado */
}

body {
    background-color: #FFFFFF;
    position: relative;
    max-width: 1280px;
    margin: 0;


}
.wrap {
    padding: 0 30px;
}
a {
    text-decoration: none;
    color: #54595f;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
}
h2,h1 {
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 1.2em;
    letter-spacing: 0.5px;
    color: #473729;
    font-family: 'Ubuntu', sans-serif;
    margin: 0;
    

}

h3 {
    font-size: 1.3rem;
    font-weight: bold;
    letter-spacing: 0.08rem;
    color: #54595f;
    font-family: 'Ubuntu', sans-serif;}

h4 {
    font-size: 1.2rem;
    letter-spacing: 0.07rem;
    color: #ffffff;
    font-family: 'Ubuntu', sans-serif;
    font-weight: 300;
}

p,li, label{
    font-size:1.125rem;
    font-weight: 400;
    letter-spacing: 0.04rem;
    color: #7a7a7a;
    line-height: 1.8rem;
    margin: 0.3rem 0;
    font-family: 'Roboto', sans-serif;
}


/* HEADER */
.header {
    margin: 0;
    padding: 30px 0rem;;
    background-color: #ffffff;
}
.header-container {
    
    display: flex;
    flex-direction:  row;
    flex: 1;
    justify-content: space-between;
    align-items:flex-end;
    height: 270px;
    background-color: #92bf4b;
}


.header-contact-info{
    width: 100%;
    transition: width 0.3s ease, opacity 0.3s ease;
    overflow: hidden; 
}

.header-logo {
    position: absolute;
    left:0;
    top:0;
}
.header-logo img {
    
        width: 100%;
        max-width: 32rem;
        min-width: 13rem;
}


.contact-info-list {
    display: flex;
    flex-direction:  column;
    justify-content: flex-end;
    gap:0.3rem;
    list-style-type: none;
    margin: 0;

}

.contact-list-item {
    display: flex;
    flex-direction:  row;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    list-style-type: none;
    padding: 0rem 1rem;
}


.contact-info {
    letter-spacing: 0.03rem;
    font-size: 1rem;
    font-weight: 400;
    color:#ffffff;
}


/* CONTENT */

.row-section {

    display: grid;
    grid-template-columns: 4fr 6fr;
}
.row{
    display: flex;
    flex-direction: column;
    padding: 30px;
}
.green-container{
    background-color: #92bf4b;
}
.gray-container{
    background-color: #e0e0e0;

}

.second-section {
    margin-top: 2rem;
}

.spreichzeiten-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.spreichzeiten-container .contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}


.spreichzeiten-container p, .spreichzeiten-container h2, .spreichzeiten-container a {
    font-family: 'Roboto', sans-serif;
    color: #FFFFFF;
}

.spreichzeiten-container p, .spreichzeiten-container a {
    font-family: 'Roboto', sans-serif;
    color: #FFFFFF;
    font-size: 1.125rem;
}
.willkommen-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.willkommen-container p, .willkommen-container h2, .willkommen-container a {
    
}
.profesional-name {
    font-weight: bold;
    color:#473729;
}

.spreichzeiten-table {
display: flex;
flex-direction: column;

}



.spreichzeiten-table .table-list-item {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
    border-bottom: 1px solid #7A7A7A;
    padding: 1rem 0rem;
}

.spreichzeiten-table, .spreichzeiten-table {
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    letter-spacing: 0.1rem;
    color: #473729;
    font-weight: 400;
    padding-bottom: 1.5rem;
}

.spreichzeiten-table .table-list-content {
    text-align: right;
    color: #FFFFFF;
    font-weight: 600;


}
.spreichzeiten-table .table-list-title{
    color: #ffffff;
    font-weight: 600;
}
/* FOOTER */

.footer-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 1rem 2rem;
}

.second-row-footer  {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 0.5rem;
}
.first-row-footer  p{
    color: #7a7a7a;
}

.footer a:hover {
    color: #7a7a7a;
}
/* KARTE */


.karte-container {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}
.karte-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap:1rem;
    height: 100%;
    min-height: 60rem;
}

.iframe-container {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: flex-start;
    gap:2rem;
    height: 100%;
    width: 100%;
    min-height: 60rem;

}
.iframe-container iframe{
   
    height: 100%;
    width: 100%;
    min-height: 70rem;

}


.iframe-container img{
    width: 100%;

}
.map-loader {
border:none;
padding: 0.5rem 1rem;
margin-bottom: 1rem;
cursor:pointer;
}

.karte-title, .hinweis-karte {
    color: #ffffff;
}

/* Impressum */

.impressum-content {
    display: flex;
    max-width: 100%;

}

.impressum-content a{
    
        display: inline-block;  
        width: 100%;            
        word-wrap: break-word;  
        overflow-wrap: break-word;  
        white-space: normal;  
    
}

.impressum-content h2{
    
    font-size: 1.6rem;

}

.container-impressum {
    flex:1;
    width: 50%;
    background: #ededed;
    padding: 3rem;
    box-sizing: border-box;
}
.container-impressum a:hover {
    color:#54595f;
}
.container-haftungsausschluss {
    flex:1;
    width: 50%;
    background-color:#ededed;
    padding: 3rem;
}


/* COOKIES */

#cookie-banner {
    font-size: 1rem;
    font-family: 'Ubuntu', sans-serif;
}

#cookie-banner button{
    font-family: 'Ubuntu', sans-serif;
}


#cookie-banner button:hover {
    background-color: #92bf4b;
}

#close-banner img, #close-modal img {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

#cookie-banner, #cookie-preferences {
    position: relative;
}



/* FORM */

#ajax-contact-form {
    display: flex;
    flex-direction: column;
}

input::placeholder, textarea::placeholder {
   font-family: 'Roboto', sans-serif;
   font-size: 1rem;
   letter-spacing: .5px;
}
.form-field {
    width: 100%;
}
.form-label {
    display: none;
}
.form-data {
    width: 100%;
    font-family: 'Roboto', sans-serif;
    padding: 1rem 0;;

}
.form-input-wrapper input, .form-textarea-wrapper textarea {
    width: 95%;
    padding: 1rem 0 1rem 1rem;
    font-family: 'Roboto', sans-serif !important;
    font-size: 1rem;
    color: #7a7a7a;

}


.form-textarea-wrapper textarea {
    height: 10rem;
}

.form-input-wrapper label{
    font-family: 'Roboto', sans-serif;

   
}
.form-input-wrapper a {
    color:  #54595F;
    font-family: 'Roboto', sans-serif;

}


#datenschutz {
    width: 20px;
    margin: 0;
    padding-left: 0;
}
.submit-button {
    background-color: #54595F;
    color:#FFFFFF;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    letter-spacing: .2px;
    cursor: pointer;
    padding: 0.8rem 1.5rem;
    border:none;
}

.inline{
    line-height: 1.8rem;
    font-size: 1rem;
}
.inline span {
    display: none;
}
/* MEDIA QUERIES */
@media screen and (min-width: 1500px) {
}
 


@media screen and (max-width: 990px) {
   

    .impressum-content {
        display: flex;
        flex-direction: column;
    
    }
    .container-impressum {
        flex:1;
        width: 100%
    }
    .container-haftungsausschluss {
        flex:1;
        width: 100%
    }
   
}

@media screen and (max-width: 800px) {
    
    .row-section {
        display: flex;
        flex-direction: column;
    }

    
}

@media screen and (max-width: 700px) {
    

    html {
        margin: 0; 
    }

    

    .header-contact-info{
        width: 0; 
        opacity: 0;
    }

    .header-contact-info.active {
        position: absolute;
        right: 4.5rem;
        width: 100%; 
        opacity: 1; 
        z-index: 100;
        background-color: #ffffff;

    }

    
    
    .footer-content {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
    }
    .second-row-footer {
        justify-content: flex-start;
    }
    .header-logo img {
    
        max-width: 21.25rem;
    }
    .header-container { 
        height: 175px;
    }
}



@media screen and (max-width: 480px) {
    html {
        
        font-size: 14px;
    }
    
    
    #cookie-banner {
        left:1.2rem!important;
        width: 80%!important;
     }

     .header-logo img {
    
        max-width: 18rem;
    }
    .header-container { 
        height: 130px;
    }
   .karte-content   {
        min-height: 45rem;
    }
    .iframe-container {
       
        min-height: 45rem;
    }
    .karte-content iframe{
   
        min-height: 45rem!important;
    
    }
     
}