@font-face {
    font-family: 'Montserrat';
    src: url('/assets/fonts/Montserrat/Montserrat-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/assets/fonts/Montserrat/Montserrat-Bold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

html, body {
  height: 100%;
  margin: 0;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;  
}

.header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 120px;
    background-color: white;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    z-index: 1000;
}

.logo_head {
    height: auto;
    max-width: 180px;   /* feste Max-Breite */
    width: 100%;  
    object-fit: contain;
    padding: 10px;
}

.hero-section {
    position: relative;
    margin-top: 120px;
    width: 100%;
    height: clamp(200px, 30vh, 400px); 
    overflow: hidden;
    flex-direction: column;
    flex-wrap: wrap;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: right;
    background-color: #fecf52 ;
}

.hero-text h1 {
    max-width: 50%;
    position: absolute;
    top: 50%;
    left: 5%;
    transform: translateY(-50%);
    letter-spacing: 1px;
    color: rgb(0, 0, 0);
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.5rem, 4vw, 3rem);
    font-weight: 300;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.4);
}

.leistungen-box {
    border: 1px solid #000000;
    padding: 30px;
    max-width: 700px;
    margin: 40px auto 0 auto;
    background-color: #f9f7f5;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.4);
    font-family: 'Montserrat', sans-serif;
    text-align: center;
}

.leistungen-box h3 {
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(0.9rem, 3vw, 2rem);
    margin-bottom: 20px;
    letter-spacing: 1px;
    color: #000000;
}

.leistungen-box ul {
    list-style-type: none;  
    padding-left: 0;      
    line-height: 1.8;
    font-size: clamp(1rem, 1.5vw, 1rem);
}

.leistungen-box li {
    margin-bottom: 2px; 
}

.terminvereinbarung-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 40px auto 0 auto;
    font-family: 'Montserrat', sans-serif;
}

.icon-container {
    flex: 0 1 auto;
    min-width: 100px; 
    text-align: center;
}

.icon-container img {
    width: 60px; 
    height: 60px;
    transition: transform 0.3s;
}

.icon-container img:hover {
    transform: scale(1.1); 
}

.icon-container p {
    margin-top: 8px;
    font-size: 14px;
    color: #000000;
}

.icon-circle {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background-color: #fecf52; 
    border-radius: 50%;
    width: 60px;
    height: 60px;
    padding: 10px;
    margin-top: 4px;
    transition: transform 0.3s;
}

.icon-circle img {
    width: 30px;
    height: 30px;
}

.icon-circle:hover {
  transform: scale(1.1);
}

.main-content {
    margin-top: 45px;
    font-family: 'Montserrat', sans-serif;
}

.main-content h3 {
    font-size: 30px;
    font-weight: bold;
    margin-top: 55px;
    margin-bottom: 15px;
}

.ueber-mich-container {
    margin-top: 40px;
    display: flex; 
    flex-direction: row;
    align-items: center; 
    gap: 20px; 
    flex-wrap: wrap;
    background-color: #1c1c1cee;
    color: white;
}

.ueber-mich-linie {
    width: 25%;           
    height: 1px;
    background-color: #ccc;  
    border: none;            
    margin: 10px 0 30px 0;   
}

.ueber-mich-bild img {
    max-width: 350px; 
    height: auto; 
    display: block;
}

.ueber-mich-text {
    flex: 1; 
    font-size: (0.8rem, 2.5vw, 1.5rem);
    margin: 0 50px 30px 50px ;
    line-height: 1.5;
}

.ueber-mich-text p {
    text-align: justify;
    text-align-last: left; /
}

.ueber-mich-text .link{
    color: white;
}

.kontakt {
    margin: 40px auto;
    padding: 0 20px;
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
    color: #000000;
    text-align: center;
}

.kontakt a {
    color: #007bff;
    text-decoration: none;
    word-break: break-word;
}    

.kontakt a:hover {
    text-decoration: underline;
}

.kontakt-links {
    margin-top: 20px;
    line-height: 2;
}

.maps-icon {
    margin: 40px auto 40px auto;
}

.maps-icon-img {
    width: 48px;
    height: 48px;
    transition: transform 0.3s;
}

.maps-icon-img:hover {
    transform: scale(1.1); 
}

.maps-icon p {
    margin-top: 8px;
    font-size: 14px;
    color: #000000;
}



@media (max-width: 1700px){
    .hero-text h1{
        max-width: 40%; 
    }
}

@media (max-width: 100px){
    .ueber-mich-text{
        margin-left: 10px ;
    }
}

@media screen and (max-width: 800px) {
    .main-content h3 {
        font-size: 1.4rem;
    }

    .main-content li {
        font-size: 1rem;
    }

    .hero-section {
        height: 25vh;
    }

    .ueber-mich-container {
        flex-direction: column;
        text-align: center; 
    }

    .ueber-mich-bild img {
        padding-top: 20px;
        width: 90vw;
    }

    .ueber-mich-linie {
        margin: 10px auto 30px auto;  
    }

    .kontakt-container {
        font-size: 0.95rem;
    }

    .maps-icon-img {
        width: 40px;
        height: 40px;
    }

    .maps-icon p, .icon-container p {
        font-size: 12px;
    }
}


@media (max-width: 720px) {
    .logo_head{
        max-height: 80px;
    }

    .header {
    height: 80px;
  }

  .page-wrapper,
  .hero-section {
    margin-top: 80px;
  }
        
    .leistungen-box {
        border: 1px solid #000000;
        padding: 30px;
        max-width: 700px;
        margin: 40px 10px 0 10px;
    }

    .hero-section {
        height: 20vh; 
        margin-top: 10vh;
    }

    .hero-image {
        height: 100%;    
        max-height: none; 
    }

    .hero-text h1{
            max-width: 30%;
            top: 40%;  
    }

    .leistungen-box{
        margin-top: 40px;
    }

    .ueber-mich-bild img {
            width: 60vw;
        }
}


@media (max-width: 660px){
    .hero-text h1{  
        max-width: 30%;  
    }

    .hero-section{
        margin-top: 9vh;
    }
}


@media (max-width: 495px) {
  .hero-section {
    height: auto;
    position: relative;
  }

  .hero-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: top center;
  }

  .hero-text {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    text-align: center;
    z-index: 2;
  }

  .hero-text h1 {
    font-size: clamp(1.2rem, 6vw, 2rem);
    max-width: 100%;
    margin: 0 auto;
  }
}









/* ===== DATENSCHUTZSEITE ===== */

.datenschutz-container {
    padding: 140px 20px 60px 20px; 
    max-width: 900px;
    margin: 0 auto;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: #1c1c1c;
}

.datenschutz-container h2,
.datenschutz-container h3,
.datenschutz-container h4 {
    margin-top: 2em;
    margin-bottom: 0.5em;
    font-weight: bold;
    color: #000;
}

.datenschutz-container p,
.datenschutz-container li {
    margin-bottom: 1em;
}

.datenschutz-container ul {
    margin-left: 1.2em;
    list-style-type: disc;
}

.datenschutz-container a {
    color: #007bff;
    text-decoration: none;
    word-break: break-word;
}

.datenschutz-container a:hover {
    text-decoration: underline;
}

@media (max-width: 720px) {
    .datenschutz-container{
        padding:70px 20px 60px 20px
    }
}

@media (max-width: 495px) {
    .datenschutz-überschrift{
        font-size: 20px;
        padding-top: 10px;
    }

    .wp-block-heading{
        font-size: 18px;
    }
}


/* ===== Impressum ===== */
.impressum-container {
  padding: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
  color: #1a1a1a;
}

.impressum-container h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #000;
}

.impressum-container p {
  margin-bottom: 16px;
  font-size: (1rem, 3vw, 2rem);
}

.page-wrapper {
  min-height: calc(100vh - 120px); 
  padding: 140px 20px 60px 20px; 
  max-width: 900px;
  margin: 0 auto;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: #000000;
  box-sizing: border-box;
  
}





.site-footer {
    background-color: #f9f7f5;
    padding: 30px 20px;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: #1c1c1c;
    margin-top: 60px;
}

.footer-links {
    margin-bottom: 10px;
     display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px 30px;
}

.footer-links a {
    margin: 0 10px;
    color: #007bff;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-copy {
    font-size: 13px;
    color: #555;
}
