﻿
:root {
    --olive: #405534;
    --olive-dark: #34472a;
    --olive-light: #5d704c;
    --cream: #f7f5ef;
    --paper: rgba(255,255,255,.93);
    --text: #3f403b;
    --muted: #7c7d76;
    --line: #d4d3ca;
    --rose: #f4c9bf;
    --rose-light: #fae4de;
    --shadow: 0 18px 45px rgba(52, 65, 42, .12);
    --radius: 8px;
}


/*Einheitlich große Vorschaubilder in der Praxis-Galerie*/
.bildergalerie-vorschau {
    height:200px;
    width:200px;
    object-fit:cover;
    border-radius:8px;
}


/* Überschriften in Info-Blöcken brauchen Abstand zum oberen Block*/
h3{
    margin-top:20px;
}



@media screen and (max-width: 736px) {

    .first {
        padding-bottom: 0px !important;
    }

    .second {
        padding-top: 0px !important;
    }

    .spotlight{
        gap: 0px !important;
        flex-direction: column;
    }

    .spotlight > .left {
        order: 1;
    }

    .spotlight > .right {
        order: 2;
    }
   
}


.spotlight {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1200px;
    margin: 30px auto;
}

    .spotlight .inner {
        flex: 1;
        display: block;
    }

    .spotlight .image {
        width: 42% !important;
        flex-shrink: 0;
        overflow: hidden;
        border-radius: 8px;
        box-shadow: 0 20px 50px rgba(40, 50, 35, 0.14);
    }

    .spotlight .image img {
        display: block;
        width: 100%;
        height: 430px;
        object-fit: cover;
    }

    /*Doppelte Größe für Bilder rechts/links von Informationstexten*/
    .doppelt {
        height: 860px !important;
    }



    .spotlight h4 {
        margin: 0 0 25px;
        color: #5b7348;
        font-size: 14px;
        letter-spacing: .12em;
        text-transform: uppercase;
    }

    .spotlight p {
        max-width: 650px;
        margin: 0;
        color: #70736f;
        font-size: 17px;
        line-height: 1.8;
    }


/* ========================================
   Themenbereiche
   ======================================== */

.topics {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    width: calc(100% - 120px);
    max-width: 1200px;
    margin: 70px auto 90px;
    gap: 0;
    align-items: stretch;
}


    /* Beide Boxen */

    .topics .topic-box {
        width: auto !important;
        min-height: 330px;
        padding: 50px 52px;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
    }


    /* Farben */

    .topics .topic-box-green {
        background: #4b6038;
        color: #fbcfc4;
    }

    .topics .topic-box-pink {
        background: #fbcfc4;
        color: #39462f;
    }


    /* Überschrift */

    .topics .topic-box h3 {
        min-height: 0;
        margin: 0 0 35px;
        padding: 0 0 0 90px;
        background-repeat: no-repeat;
        background-position: left center;
        background-size: 62px auto;
        font-size: 23px;
        line-height: 1.3;
        font-weight: 500;
    }


    /* Text */

    .topics .topic-box p {
        max-width: 520px;
        margin: auto 0 0;
        font-size: 16px;
        line-height: 1.75;
    }


    /* Links */

    .topics .topic-link {
        text-decoration: none;
    }


    /* Icons */

    .topics .topic-clinical {
        background-image: url('/media/pkydxu4g/chat.png');
        color: #fbcfc4;
    }

    .topics .topic-health {
        background-image: url('/media/gubfafq0/hands-brain.png');
        color: #39462f;
    }


/* ========================================
   Responsive
   ======================================== */





/* Menü */

.topnav {
    position: fixed;
    z-index: 1000;
    top: 12px;
    left: 14px;
    right: 14px;
    min-height: 58px;
    border-radius: 9px;
    background-color: rgba(57, 70, 47, 0.97);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.16);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

    /* Navigationselemente */
    .topnav > a:not(.icon) {
        color: #ffffff;
        text-decoration: none;
        /* mehr vertikales und horizontales Padding */
        padding: 19px 18px;
        display: block;
        float: right;
        font-size: 16px;
        transition: background-color 0.2s ease, color 0.2s ease;
    }


        .topnav > a:not(.icon):hover {
            background-color: rgba(255, 255, 255, 0.10);
            color: #fbcfc4;
        }



#homelink {
    padding: 0px !important;
    float: left;
}

    #homelink a {
        display: block;
        font-family: 'Dancing Script';
        font-size: 22px !important;
        float: left;
        white-space: nowrap;
        padding: 14px 16px;
    }


/* Zusatztext */
#additionalheader {
    float: left;
    color: #ffffff;
    font-size: 12px;
    padding-left: 12px;
    padding-top: 22px;
}


/* ================================
   DROPDOWN
   ================================ */

.dropdown {
    position: relative;
    float: right;
}

    .dropdown > .dropbtn {
        display: block;
        color: #ffffff;
        text-decoration: none;
        padding: 19px 18px;
        font-size: 16px;
        cursor: pointer;
        transition: background-color 0.2s ease, color 0.2s ease;
    }

    .dropdown:hover > .dropbtn {
        background-color: rgba(255, 255, 255, 0.10);
        color: #fbcfc4;
    }


.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 240px;
    background-color: #ffffff;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

    .dropdown-content a {
        display: block;
        padding: 14px 18px;
        color: #39462F;
        background-color: #ffffff;
        text-decoration: none;
        font-size: 15px;
        transition: background-color 0.2s ease, color 0.2s ease;
    }

        .dropdown-content a:hover {
            background-color: #fbcfc4;
            color: #39462F;
        }

.dropdown:hover .dropdown-content {
    display: block;
}


/* Mobile Button */
.topnav .icon {
    display: none;
    float: right;
    color: #ffffff;
    text-decoration: none;
    padding: 17px 20px;
    font-size: 20px !important;
}


/* Google-Maps Einbindung*/
#map {
    height: 600px;
    width: 100%;
}

/* Button zum Rücksprung an den Beginn der Seite */
.fixed-btn {
    position: fixed;
    bottom: 20px;
    right: 60px;
    height: 100px;
    z-index: 999;
    width: 50px;
    height: 50px;
    color: white;
    background: #495836;
    padding-top: 10px;
    border: 2px solid white;
    text-align: center;
    vertical-align: middle;
    display: none;
} 


/* FORMULAR - Settings */


/* Kontaktbereich */
.content {
    width: min(760px, calc(100% - 70px));
    margin: 72px auto 100px;
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--olive);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.intro {
    max-width: 620px;
    margin: 18px 0 42px;
    color: #74766f;
    font-size: 14px;
    line-height: 1.8;
}

.contact-card {
    padding: 38px;
    background: var(--paper);
    border: 1px solid rgba(64,85,52,.08);
    border-radius: 9px;
    box-shadow: var(--shadow);
}

.field {
    margin-bottom: 24px;
}

label,
.field-label {
    display: block;
    margin-bottom: 8px;
    color: #42443e;
    font-size: 12px;
    font-weight: 600;
}

.required {
    color: var(--olive);
}

input,
select {
    width: 100%;
    height: 51px;
    padding: 0 16px;
    border: 1px solid #c9c8c0;
    border-radius: 6px;
    outline: none;
    background: rgba(255,255,255,.78);
    color: var(--text);
    font: 400 13px "Montserrat", sans-serif;
    transition: border-color .2s, box-shadow .2s, background .2s;
}

    input::placeholder {
        color: #aaa9a2;
    }

    input:focus,
    select:focus {
        border-color: var(--olive);
        box-shadow: 0 0 0 3px rgba(64,85,52,.09);
        background: white;
    }

.field-help {
    margin: -2px 0 11px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.6;
}

/* Zeit-Auswahl */
.time-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.time-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.time-option label {
    min-height: 66px;
    margin: 0;
    padding: 12px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid #d0cfc7;
    border-radius: 6px;
    background: rgba(255,255,255,.65);
    color: #656760;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: .2s ease;
}

    .time-option label::before {
        content: "";
        width: 16px;
        height: 16px;
        border: 1.5px solid var(--olive);
        border-radius: 50%;
        opacity: .65;
    }

.time-option input:checked + label {
    border-color: var(--olive);
    background: var(--olive);
    color: white;
    box-shadow: 0 5px 15px rgba(64,85,52,.18);
}

    .time-option input:checked + label::before {
        border: 4px solid white;
        background: var(--olive);
        box-shadow: 0 0 0 1px white;
    }

/* Select */
.select-wrap {
    position: relative;
}

    .select-wrap::after {
        content: "";
        position: absolute;
        right: 17px;
        top: 50%;
        width: 8px;
        height: 8px;
        border-right: 1.5px solid var(--olive);
        border-bottom: 1.5px solid var(--olive);
        transform: translateY(-65%) rotate(45deg);
        pointer-events: none;
    }

select {
    appearance: none;
    padding-right: 45px;
    cursor: pointer;
}

/* Optional message field */
textarea {
    width: 100%;
    min-height: 125px;
    padding: 15px 16px;
    resize: vertical;
    border: 1px solid #c9c8c0;
    border-radius: 6px;
    outline: none;
    background: rgba(255,255,255,.78);
    color: var(--text);
    font: 400 13px/1.7 "Montserrat", sans-serif;
}

    textarea:focus {
        border-color: var(--olive);
        box-shadow: 0 0 0 3px rgba(64,85,52,.09);
        background: white;
    }

.bottom-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 25px;
    margin-top: 30px;
}

.privacy {
    max-width: 360px;
    color: #8a8b84;
    font-size: 10px;
    line-height: 1.6;
}

    .privacy a {
        color: var(--olive);
        text-underline-offset: 2px;
    }

.submit {
    min-width: 205px;
    height: 54px;
    border: 0;
    border-radius: 6px;
    padding: 0 25px;
    color: white;
    background: var(--olive);
    font: 600 12px "Montserrat", sans-serif;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(64,85,52,.18);
    transition: transform .2s, background .2s, box-shadow .2s;
}

    .submit:hover {
        background: var(--olive-dark);
        transform: translateY(-1px);
        box-shadow: 0 11px 22px rgba(64,85,52,.23);
    }

    .submit span {
        margin-left: 12px;
        font-size: 16px;
        font-weight: 400;
    }

.required-note {
    margin-top: 17px;
    color: #999a93;
    font-size: 10px;
}

@media (max-width: 760px) {
    .nav {
        top: 8px;
        margin-top: 8px;
    }

    .brand-sub,
    .nav-links a:nth-child(1),
    .nav-links a:nth-child(2) {
        display: none;
    }

    .nav-links {
        gap: 15px;
    }

    .content {
        width: calc(100% - 30px);
        margin-top: 52px;
    }

    .contact-card {
        padding: 25px 20px;
    }

    .time-grid {
        grid-template-columns: 1fr;
    }

    .bottom-row {
        flex-direction: column;
        align-items: stretch;
    }

    .submit {
        width: 100%;
    }
}