/* libre-baskerville-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Libre Baskerville';
  font-style: normal;
  font-weight: 400;
  src: url('./fonts/libre-baskerville-v24-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* libre-baskerville-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Libre Baskerville';
  font-style: normal;
  font-weight: 700;
  src: url('./fonts/libre-baskerville-v24-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    line-height: 1.6;
    color: rgba(51, 51, 51, 0.68);
    background: url("images/frauenarztpraxis_boesking_garten.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

h1 {
    line-height: 1.2em;
   
    padding: 5px;
    border-radius: 8px;
}

h2 {
    color: #c84a83;
    margin-bottom: 0.7em;
}

.hero {
    position: relative;
    height: 71vh;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding-bottom: 40px;
}

.hero-center {
    position: static;
    transform: none;
    text-align: center;
}

.hero-center h1 {
    font-family: 'Libre Baskerville', serif;
    color: white;
    font-size: clamp(1.8rem, 5vw, 3rem);
    text-align: center;
}

.hero img {
    background-color: white;
    border-radius: 12px;
    padding: 1em;
}

.logo {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 250px;
    max-width: 50%;
}

.container {
    width: min(90%, 900px);
    margin: auto;
    padding: 10px 0;
}

.content {
    text-align: center;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    padding: 1em;
    margin-top: 9em;
    margin-bottom: 4em;
}

.content-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2em;
    flex-wrap: wrap;
}

.content-text {
    flex: 1 1 45%;
    text-align: left;
}

.content-image {
    flex: 1 1 45%;
    text-align: center;
}

.content-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
margin-top:2em;
}

.headline-p {
    color: rgba(51, 51, 51, 0.68);
    font-weight: bold;
}

.highlight {
    color: #c84a83;
}

footer {
    background: rgba(200, 74, 131, 0.9);
    color: white;
    text-align: center;
    padding: 15px;
}

footer a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

footer a:hover {
    opacity: 0.8;
}

@media (max-width: 1024px) {
    body {
        background-image: none;
        background-attachment: scroll;
    }

    .hero {
        background-image: url("images/frauenarztpraxis_boesking_garten.webp");
        justify-content: flex-start;
        padding-top: 100px;
        padding-bottom: 0;
        min-height: 60vh;
    }

    .hero-center {
        text-align: center;
        margin-top: 0;
    }

    

    .hero-center h1 {
        font-size: clamp(1.6rem, 6vw, 2.5rem);
    }

    .logo {
        position: absolute;
        top: 20px;
        left: 20px;
        width: 200px;
        max-width: 50%;
    }

    .container {
        width: 90%;
    }
}

@media (max-width: 768px) {
    body {
        background-attachment: scroll;
    }

    .hero {
        padding-top: 120px;
        min-height: 100vh;
    }

    .hero-center h1 {
        font-size: clamp(1.5rem, 7vw, 2rem);
margin-top: 7em;
    }

    .logo {
        width: 120px;
    }

    .content {
        margin-top: 4em;
    }

    .content-grid {
        flex-direction: column;
    }

    .content-text,
    .content-image {
        flex: 1 1 100%;
        text-align: center;
padding: 2em;
    }

    .content-image img {
        max-width: 80%;
    }
}
