/* lexend-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: 'Lexend';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/lexend-v23-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* lexend-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: 'Lexend';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/lexend-v23-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }


/* BASE */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

img {
    width: 100%;
}

html {
    font-family: 'Lexend', system-ui, sans-serif;
    line-height: 1.5;
}

.container {
    max-width: 1200px;
    margin-inline: auto;
}

/* TYPO */
h1 {
    font-size: 3rem;
    padding-block: 1rem;
}

h2 {
    font-size: 2.4rem;
    padding-block: .75rem;
}

h3 {
    font-size: 1.8rem;
    padding-block: .5rem;
}

p {
    margin-bottom: .25rem;
}

address {
    font-style: normal;
    margin-bottom: 1rem;
}

:focus {
    outline: 5px solid red;
}

.skip-link {
    position: absolute;
    top: -9999px;
    left: 1rem;
    padding: .5rem;
    background-color: #1f598c;
    color: #fff; 
}

.skip-link:focus {
    top: 1rem;
}


/* HEADER */

.siteheader {
    background-color: #ffffff;
    border-bottom: 4px solid #1F598C;
    padding: 1rem;
}

.siteheader-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#logo {
    width: 20rem;
}

.sitenavigation ul {
    display: flex;
    list-style-type: none;
}

.sitenavigation a {
    color: #1f598c;
    text-decoration: none;
    padding: 1rem;
    font-weight: 700;
}

/* SECTIONS */
section {
    padding: 3rem 1rem 4rem 1rem;
}

/* HERO SECTION */

.hero {
    height: 50vh;
    background-image: url("../images/beisser_praxis_dark.jpg");
    background-size: cover;
    background-position: center bottom;
}

.hero-container {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;

}

.hero-container h1 {
    font-size: 4rem;
    color: #ffffff;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.5)
}

.hero-container p {
    font-size: 2rem;
    color: #ffffff;
}

/* INTRO */
.intro p {
    max-width: 75ch;
}

/* LEISTUNGEN */

.leistungen {
    background-color: #e4f5ff;
}

.card-wrapper {
    display: flex;
    gap: 2rem;
    margin-top: 1rem;
    list-style-type: none;
}

.card {
    background-color: #ffffff;
    border: 1px solid #ccc;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    display: grid;
}

.card img {
    order: -1;
}

.card .text-wrapper {
    padding: .5rem 1rem 2rem 1rem;
}

/* KONTAKT -- kontakt.html */

.kontakt {
    background-color: #e4f5ff;
}

.kontakt-container {
    display: flex;
}

.kontakt-box {
    flex-basis: 40%;
    flex-grow: 1;
}

.map-box {
    flex-basis: 60%;
    flex-grow: 1;
}

/* FOOTER */

.sitefooter {
    padding: 3rem 1rem;
    background-color: #1f598c;

}

.sitefooter-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.sitefooter p,
.sitefooter a {
    color: #ffffff;
}

.sitefooter-navigation ul {
    list-style-type: none;
}
