/* Schriftarten */
@font-face {
    font-family: 'Quicksand-Regular';
    src: url('../fonts/Quicksand-Medium.ttf') format('truetype');
}

@font-face {
    font-family: 'Quicksand-Bold';
    src: url('../fonts/Quicksand-Bold.ttf') format('truetype');
}

@font-face {
    font-family: 'Quicksand-SemiBold';
    src: url('../fonts/Quicksand-SemiBold.ttf') format('truetype');
}

@font-face {
    font-family: 'Quicksand-Medium';
    src: url('../fonts/Quicksand-Medium.ttf') format('truetype');
}

:root {
    --bs-darkblue: #0c294e;
    --bs-blue: #397FF8;
    --bs-lightblue: #f3fbff;
    --bs-black: #222;
    --nav-height: 120px;
    --tech-height: 70vh;
    --bs-body-bg: transparent;
    --bs-emphasis-color: #fff;
    --bs-primary-bg-subtle: transparent;
}

body {
    font-family: 'Quicksand-Medium';
    font-size: 1.125rem;
    line-height: 33px;
    color: var(--bs-darkblue);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 10rem;
}

section {
    margin-bottom: 12rem;
    margin-top: 8rem;
}

.sticky {
    position: sticky;
}

.p-right {
    padding-right: 8rem;
}

.runde-ecken {
    border-radius: 30px;
    width: 400px;
    height: auto;
}

.section-blau {
    background-color: var(--bs-lightblue);
    height: auto;
    padding: 100px 0px 100px 0px;
    margin-bottom: 0px;
}

/* Container */
.container-header {
    padding-left: 4rem;
    padding-right: 4rem;
}

/* Schriften */
h1 {
    font-family: 'Quicksand-Bold';
    font-size: 3rem;
    color: var(--bs-darkblue);
}

h2 {
    font-family: 'Quicksand-Bold';
    font-size: 2.25rem;
    color: var(--bs-darkblue);
    margin-bottom: 20px;
}

h3 {
    font-family: 'Quicksand-Bold';
    font-size: 1.75rem;
    color: var(--bs-darkblue);
}

h4 {
    font-family: 'Quicksand-Bold';
    font-size: 1.25rem;
    color: var(--bs-darkblue);
    margin-bottom: 2rem;
}

.font-kontakt {
    font-size: 1.25rem;
    font-family: 'Quicksand-Bold';
    color: var(--bs-darkblue);
}

.display-4 {
    font-size: 1.75rem;
    font-family: 'Quicksand-Bold';
}

.display-5 {
    font-size: 1.75rem;
    font-family: 'Quicksand-Medium';
}

.text-muted {
    color: #646464;
    font-size: 1.25rem;
}

.linie {
    width: 200px;
    height: 2px;
    background-color: var(--bs-blue);
    margin-bottom: 40px;
}

.linie-mittig {
    width: 400px;
    height: 2px;
    background-color: var(--bs-blue);
    margin: 8px auto 16px auto;
}

.font-semibold {
    font-family: 'Quicksand-SemiBold';
}

.font-bold {
    font-family: 'Quicksand-Bold';
    color: var(--bs-darkblue);
}

.headline-text {
    font-size: 3rem;
    font-family: 'Quicksand-Bold';
}

/* Buttons */
.btn-blue {
    background: linear-gradient(to right, #5c96f9, #397FF8);
    color: var(--bs-white);
    border-radius: 30px;
    font-family: 'Quicksand-Bold';
    cursor: pointer;
    padding: 10px 16px 10px 16px;
    min-width: 200px;
    transition: none;
}

.btn-blue:hover {
    background: var(--bs-blue);
    text-decoration: none;
    color: var(--bs-white);
}


.btn-blue:active{
    background: linear-gradient(to right, #5c96f9, #397FF8);
    color: var(--bs-white) !important;
    box-shadow: none;
    outline: none;
}

a {
    font-family: 'Quicksand-Bold';
    color: var(--bs-blue);
    text-decoration: none;
}

a:hover {
    color: var(--bs-blue);
    text-decoration: underline;
}

.logo {
    width: 60px;
}

/* Navigation */
.meta-nav {
    background-color: var(--bs-white);
    box-shadow: rgba(100, 100, 111, 0.2) 0px -2px 13px 0px;
    padding: 0.5rem 0;
    height: 50px;
    z-index: 4;
}

.meta-nav a,
.contact-header-kontakt a {
    color: var(--bs-darkblue);
    font-family: 'Quicksand-SemiBold';
    font-size: 1.125rem;
}

.meta-nav a:hover,
.contact-header-kontakt a:hover {
    color: var(--bs-blue);
}

.route a {
    color: var(--bs-blue);
    font-size: 1.25rem;
}

.nav-link {
    font-family: 'Quicksand-SemiBold';
    font-size: 1.25rem;
    color: var(--bs-darkblue);
    margin-left: 50px;
}

.nav-link:hover {
    color: var(--bs-blue);
    text-decoration: none;
}

.navbar-nav {
    background: var(--bs-white);
}

.navbar-nav li {
    margin-left: 10px;
}

.navbar {
    background-color: var(--bs-white);
    height: var(--nav-height);
    z-index: 3;
    top: 50px;
}

.navbar-toggler {
    border: none;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.border-bottom {
    border-bottom: 1px solid #ccc;
}

/* Header */
.header .container {
    position: relative;
    z-index: 2;
    color: var(--bs-white);
}

.header {
    background: linear-gradient(to right, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6)), url('../img/zahnarztpraxis-maral-gaertner.jpg') no-repeat center center;
    background-size: cover;
    height: 70vh;
    display: flex;
    align-items: center;
    color: var(--bs-white);
    margin-bottom: 8rem;
    justify-content: end;
    text-align: right;
    border-radius: 20px;
}

.header-leistungen {
    background: url('../img/zahnarztpraxis-maral-gaertner-leistungen.jpg') no-repeat center center;
    background-size: cover;
    height: 50vh;
    display: flex;
    align-items: center;
    color: var(--bs-white);
    margin-bottom: 8rem;
    justify-content: end;
    text-align: right;
    border-radius: 20px;
}

.header-team {
    background: url('../img/zahnarztpraxis-maral-gaertner-team.jpg') no-repeat center center;
    background-size: cover;
    height: 50vh;
    display: flex;
    align-items: center;
    color: var(--bs-white);
    margin-bottom: 8rem;
    justify-content: end;
    text-align: right;
    border-radius: 20px;
}

.header-kontakt {
    background: url('../img/zahnarztpraxis-maral-gaertner-kontakt.jpg') no-repeat center center;
    background-size: cover;
    height: 50vh;
    display: flex;
    align-items: center;
    color: var(--bs-white);
    margin-bottom: 8rem;
    justify-content: end;
    text-align: right;
    border-radius: 20px;
}

/* Contact Header*/
.contact-header {
    background-color: var(--bs-white);
    padding: 2rem 0;
    position: relative;
    z-index: 1;
    margin-top: -18rem;
    box-shadow: rgba(100, 100, 111, 0.2) 0px -2px 13px 0px;
    border-radius: 20px;
}

.route-link::after {
    background-image: url('../img/pfeil.svg');
    content: "";
    height: 25px;
    width: 25px;
    position: absolute;
    background-size: contain;
    background-repeat: no-repeat;
    margin-left: 8px;
    margin-top: 11px;
}

.route-link {
    position: relative;
    display: inline-block;
}

/* Card */
.card.custom-card {
    background-color: var(--bs-lightblue);
    border: 0;
    border-radius: 20px;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    height: 400px;
}

.card-title {
    font-size: 1.5rem;
    color: var(--bs-darkblue);
    font-family: 'Quicksand-Bold';
}

.card-text {
    font-size: 1rem;
    color: var(--bs-darkblue);
    font-family: 'Quicksand-Medium';
}

.card-content {
    position: relative;
    z-index: 2;
    padding: 2rem 5rem 2rem 2rem;
    line-height: 1.625;
}

.card-img {
    width: 100px;
    height: auto;
    margin-bottom: 2rem;
}

/* Icons */
.icons {
    margin-left: 25px;
    margin-bottom: 0px;
}

.icon-kontakt::before {
    content: "";
    height: 15px;
    width: 15px;
    position: absolute;
    background-size: contain;
    background-repeat: no-repeat;
    display: block;
    margin-top: 9px;
}

#icon-mail::before {
    background-image: url('../img/icon-mail.png');
}

#icon-phone::before {
    background-image: url('../img/icon-phone.png');
}

#icon-marker::before {
    background-image: url('../img/icon-marker.png');
}

.oeffnungszeiten-tabelle {
    width: 100%;
    border-collapse: collapse;
    table-layout: auto;
}

.oeffnungszeiten-tabelle td {
    padding: 2px 0px;
    vertical-align: top;
}

.oeffnungszeiten-tabelle td:first-child {
    min-width: 11ch;
    white-space: nowrap;
}

.oeffnungszeiten-tabelle td:last-child {
    white-space: nowrap;
}


/* Anfahrt */
.anfahrt li {
    margin-bottom: 20px;
}

li::marker {
    color: var(--bs-blue);
}

/* Footer */
.footer-bg {
    background-color: var(--bs-darkblue);
    padding: 100px 0px 100px 0px;
}

.footer-kontakt {
    color: var(--bs-white);
    font-family: 'Quicksand-Medium';
}

.footer-kontakt:hover {
    color: var(--bs-white);
    font-family: 'Quicksand-Medium';
    text-decoration: underline;
}

footer p {
    color: var(--bs-white);
}

footer h4 {
    color: var(--bs-white);
}

.footer-unten {
    background-color: var(--bs-white);
}

.footer-unten a {
    color: var(--bs-darkblue);
    font-family: 'Quicksand-Regular';
}

/* Formular */
.form-wrapper {
    background-color: var(--bs-lightblue);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: clamp(300px, 100%, 1200px);
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.form-check a {
    color: var(--bs-darkblue);
    text-decoration: underline;
}

.form-check a:hover {
    color: var(--bs-blue);
    text-decoration: underline;
}

.form-label {
    font-size: 1.1rem;
    font-family: 'Quicksand-Regular';
}

.contact-form-section .form-control {
    background-color: var(--bs-white);
    border: 1px solid #bbb;
}

.form-select {
    background-color: var(--bs-white);
    border: 1px solid #bbb;
}

.form-check-input {
    background-color: var(--bs-white);
    border: 1px solid #bbb;
}

.accordion-button:focus {
    box-shadow: none;
}

.accordion-button:active {
    background-color: transparent;
}

.kontakt a {
    color: var(--bs-darkblue);
    font-family: 'Quicksand-Medium';
}

.kontakt a:hover {
    color: var(--bs-blue);
    font-family: 'Quicksand-Medium';
    text-decoration: underline;
}

/* Karte */
.map-placeholder {
    width: 100%;
    height: 400px;
    background: #eaeaea;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem;
}

.map-placeholder p {
    margin-bottom: 1rem;
    font-size: 1rem;
    color: var(--bs-black);
}

.map-placeholder button {
    padding: 0.5rem 1rem;
    background-color: var(--bs-blue);
    color: var(--bs-white);
    border-radius: 30px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.map-placeholder button:hover {
    background-color: var(--bs-darkblue);
}

/* Liste */
.list-group-item {
    border: 0;
}

.list-group li {
    font-family: 'Quicksand-Bold';
    text-transform: uppercase;
    cursor: pointer;
}

.list-group li:hover {
    color: var(--bs-blue);
}

/* Bewertungen */
.bewertung-card {
    text-align: left;
    position: relative;
}

.sterne {
    width: 120px;
    margin-bottom: 1rem;
}

.sprechblase {
    position: relative;
    background: var(--bs-white);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 0.8rem;
    display: inline-block;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.sprechblase::after {
    content: "";
    position: absolute;
    bottom: -20px;
    left: 12%;
    transform: translateX(-50%);
    border-width: 22px 22px 0;
    border-style: solid;
    border-color: var(--bs-white) transparent transparent transparent;
}

.quelle {
    font-size: 0.9rem;
    text-align: left;
    margin-top: 20px;
}

.kontakt-cards {
    position: relative;
    background: var(--bs-white);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 0.8rem;
    display: inline-block;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
}

/* Werdegang */
.werdegang {
    line-height: 1.5em;
    border-bottom: 1px solid #d3e6f1;
    padding-bottom: 20px;
    margin-bottom: 20px;
    font-weight: 400;
}

.text-inner {
    position: relative;
}

.jahreszahl {
    font-family: 'Quicksand-Bold';
    color: var(--bs-blue);
    font-size: 1.17rem;
}

/* Leistungen */
.leistungen {
    padding: 60px;
    margin-bottom: 40px;
    line-height: 1.5em;
    border-bottom: 1px solid #d3e6f1;
    display: flex;
}

.leistungen-bild {
    align-items: center;
    margin-bottom: 30px;
}

.leistungen-bild img {
    margin-right: 30px;
    width: 100px;
    height: 100px;
}

.leistungen-bild h3 {
    font-family: 'Quicksand-Bold';
}

.leistungen-text {
    line-height: 30px;
}

.small {
    font-size: 0.875rem;
}

/* Media Queries */
@media only screen and (max-width: 576px) {

    .display-5 {
        font-size: 1rem;
    }

    .container-header {
        padding-left: 0;
        padding-right: 0;
    }

    .container {
        padding-right: 2rem;
        padding-left: 2rem;
    }

    .logo {
        width: 40px;
    }

    .header {
        height: 40vh;
        margin-bottom: -6rem;
        border-radius: 0px;
    }

    .headline-text {
        font-size: 1.25rem;
    }

    section {
        margin-bottom: 1rem;
        margin-top: 50px;
    }

    .section-blau {
        padding: 50px 10px 50px 10px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .nav-link {
        font-family: 'Quicksand-SemiBold';
        font-size: 1.25rem;
        margin-left: 0;
    }

    .nav-item {
        display: flex;
        justify-content: center;
        padding: 1rem 0;
    }

    .nav-link.me-5 {
        margin-right: 0 !important;
    }

    .display-4 {
        font-size: 1.5rem;
    }

    .btn-blue {
        width: 100%;
    }

    .runde-ecken {
        border-radius: 20px;
    }

    .card.custom-card {
        height: auto;
        margin-bottom: 10px;
    }

    .card-content {
        padding: 1.5rem;
    }

    .sticky {
        position: static;
        height: auto;
    }

    .kontakt-cards {
        padding: 1rem;
    }

    .form-wrapper {
        padding: 1rem;
    }

    .leistungen {
        padding: 0;
        display: block;
    }

    .oeffnungszeiten-tabelle {
        width: 100%;
        border-collapse: collapse;
        table-layout: auto;
    }

    .oeffnungszeiten-tabelle td {
        padding: 2px 0px;
        vertical-align: top;
    }

    .oeffnungszeiten-tabelle td:first-child {
        min-width: 6ch;
        white-space: nowrap;
    }

    .oeffnungszeiten-tabelle td:last-child {
        white-space: nowrap;
    }
}

@media only screen and (min-width: 576px) and (max-width: 992px) {

    .container-header {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .container {
        max-width: 100%;
    }

    .sticky {
        position: static;
        height: auto;
    }

    section {
        margin-bottom: 2rem;
        margin-top: 20px;
    }

    .table {
        width: 50%;
    }

    .leistungen {
        padding: 0;
        display: block;
    }

    .card.custom-card {
        height: auto;
        margin-bottom: 10px;
    }

}

@media only screen and (min-width: 992px) and (max-width: 1400px) {

    .container-header {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .nav-link {
        font-size: 1rem;
        margin-left: 35px;
    }

    .sticky {
        position: static;
        height: auto;
    }

    .table {
        width: 50%;
    }

    .leistungen {
        padding: 0;
        display: block;
    }

    .card.custom-card {
        height: auto;
        margin-bottom: 10px;
    }

}