/* =========================================================
   Grundlayout
   ========================================================= */
html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    color: #000;
}

.container,
.container-fluid {
    max-width: 100%;
    overflow-x: hidden;
}

.container {
    width: 75%;
    margin: 0 auto;
}

.content,
.therapeuten-top {
    width: 85%;
    margin: 0 auto;
}

p,
ol,
ul,
li {
    font-size: 16px;
}

small {
    color: #263238;
    font-size: 24px;
    font-weight: 400;
}

.container-fluid small {
    color: #fff;
}

hr {
    margin: 0 auto;
}

/* =========================================================
   Links und allgemeine Buttons
   ========================================================= */
a {
    color: #003f66;
    font-weight: 600;
}

a:hover {
    color: #1e7e34;
}

.call-to-action {
    margin-top: 15px;
    padding: 8px 15px;
    border-color: #003f66;
    border-radius: 10px;
    background-color: #003f66;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
}

.call-to-action:hover {
    border-color: #002d4d;
    background-color: #002d4d;
    color: #fff;
    text-decoration: underline;
}

.sm {
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 800;
}

#call-top {
    padding: 15px 30px;
    border: none;
    border-radius: 25px;
    background-color: #4caf50;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    color: #fff;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

#call-top:hover {
    background-color: #45a049;
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
}

/* =========================================================
   Navigation
   ========================================================= */
#main-nav {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 30000;
    display: flex;
    align-items: center;
    justify-content: right;
    width: 100%;
    height: 110px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
}

.logo {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

#logo {
    width: 75%;
    height: auto;
    /* transition: height 0.3s ease; */
}

.log-img {
    width: 200px;
    height: 600px;
}

.nav-links {
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
    list-style-type: none;
    
}

.nav-links li {
    margin: 0 15px;

}

.nav-links a {
    color: #000;
    font-size: 16px;
    font-weight: 400;
    text-decoration: none;
    text-transform: uppercase;
}

.nav-links a:hover {
    color: darkgreen;
    text-decoration: underline;
}

.terminver a {
    color: darkgreen;
    font-weight: bold;
}

.dropdown {
    position: relative;
}

.dropdown-content {
    position: absolute;
    z-index: 1;
    display: none;
    min-width: 250px;
    border: 1px solid darkgrey;
    border-radius: 15px;
    background-color: #f9f9f9;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    text-align: left;
}

.dropdown-content a {
    display: block;
    padding: 10px;
    color: #000;
    font-size: 14px;
    font-weight: 300;
    text-decoration: none;
    text-transform: none;
}

.dropdown-content a:hover {
    color: darkgreen;
    text-decoration: underline;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.toggle-btn {
    position: absolute;
    top: 50%;
    right: 20px;
    display: none;
    cursor: pointer;
    transform: translateY(-50%);
}

/* =========================================================
   Header / Hero-Bereich
   Datei: img/header-paartherapie-berlin.png
   ========================================================= */
.header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: calc(100vh - 110px);
    margin-top: 110px;
    padding: 80px 20px 90px;
    overflow: hidden;
    background-image: url("img/header-paartherapie-berlin.png");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    color: #fff;
    text-align: center;
}

.header::before {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(
        180deg,
        rgba(12, 39, 17, 0.12) 0%,
        rgba(12, 39, 17, 0.18) 52%,
        rgba(12, 39, 17, 0.28) 100%
    );
    content: "";
    pointer-events: none;
}

.header-content {
    margin-top: 100px;
}

.header-content.hero {
    position: relative;
    z-index: 1;
    width: min(920px, 100%);
    margin: 0 auto;
    padding-top: clamp(90px, 12vh, 150px);
    color: #f6f0dc;
}

.hero-eyebrow {
    display: inline-block;
    margin: 0 0 16px;
    padding: 8px 18px;
    border: 1px solid rgba(246, 240, 220, 0.38);
    border-radius: 999px;
    background: rgba(13, 50, 22, 0.24);
    color: #efe8c7;
    font-size: clamp(0.78rem, 0.7rem + 0.3vw, 0.95rem);
    font-weight: 600;
    letter-spacing: 0.16em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.26);
    text-transform: uppercase;
}

.hero h1 {
    margin: 0;
    color: #f7efd0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3rem, 8vw, 6.4rem);
    font-weight: 400;
    line-height: 0.96;
    letter-spacing: 0.015em;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.34);
}

.hero h2 {
    max-width: 780px;
    margin: 20px auto 0;
    color: #dbe8c8;
    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(1.25rem, 2.8vw, 2.15rem);
    font-weight: 500;
    line-height: 1.35;
    letter-spacing: 0.02em;
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.32);
}

.hero-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: min(420px, 78%);
    margin: 26px auto 24px;
    color: #efe4bd;
}

.hero-divider span {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(239, 228, 189, 0.9), transparent);
}

.hero-divider .bi {
    color: #efe4bd;
    font-size: 17px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.hero-names,
.hero-setting,
.hero-location {
    margin: 0 auto;
    color: #f2ead0;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.34);
}

.hero-names {
    font-size: clamp(1.08rem, 1.2vw + 0.8rem, 1.55rem);
    font-weight: 700;
}

.hero-setting {
    margin-top: 8px;
    color: #dce9cd;
    font-size: clamp(0.98rem, 1vw + 0.75rem, 1.25rem);
    font-weight: 500;
}

.hero-location {
    display: inline-block;
    margin-top: 16px;
    padding: 10px 18px;
    border: 1px solid rgba(246, 240, 220, 0.28);
    border-radius: 999px;
    background: rgba(13, 50, 22, 0.26);
    color: #f4ecd1;
    font-size: clamp(0.92rem, 0.7vw + 0.75rem, 1.08rem);
    font-weight: 500;
}

.hero-actions {
    margin-top: 34px;
}

.hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-width: min(520px, 100%);
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 18px;
    background: #eee4c6;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.55);
    color: #173b20;
    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(0.9rem, 0.45vw + 0.8rem, 1.02rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 0.06em;
    text-decoration: none;
    text-transform: uppercase;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease;
}

.hero-button .bi {
    color: #173b20;
    font-size: 1.2em;
}

.hero-button:hover,
.hero-button:focus {
    background: #f6edcf;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.6);
    color: #173b20;
    text-decoration: none;
    transform: translateY(-2px);
}

/* =========================================================
   Überschriften und Trenner
   ========================================================= */
h1 {
    margin: 150px 0 20px;
    font-size: clamp(2.25rem, 1.5rem + 2vw, 3.5rem);
    font-weight: bold;
    line-height: 1.3;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8), 2px 2px 5px rgba(0, 0, 0, 1);
}

h2,
h3,
h4,
h5,
h6 {
    font-weight: 800;
}

h2,
h4 {
    text-align: inherit;
}

.h2 {
    font-size: clamp(1.5rem, 1rem + 1.25vw, 2rem);
    font-weight: 500;
    line-height: 1.4;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8), 2px 2px 5px rgba(0, 0, 0, 1);
}

.h3 {
    font-size: clamp(1.75rem, 1.25rem + 1.75vw, 2.75rem);
    font-weight: 500;
    line-height: 1.35;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8), 2px 2px 5px rgba(0, 0, 0, 1);
}

.top-hr {
    width: 33%;
    height: 2px;
    margin: 10px auto;
    border: 0;
    background-color: #333;
}

.fa-chevron-down {
    font-size: 14px;
}

/* =========================================================
   Icons
   ========================================================= */
.bi {
    color: #28a745;
    font-weight: 900;
}

.bi-arrow-right {
    color: #fff;
}

.bi-check-circle,
.bi-chat,
.bi-compass,
.bi-people-fill,
.bi-person-circle,
.bi-brush {
    padding: 5px 10px;
    border-radius: 50%;
    background-color: #f1f4eb;
    box-shadow: 6px -1px 15px 0 #878787;
    color: #1e7e34;
    font-size: 38px;
    font-weight: 100;
}

.bi-distribute-vertical {
    padding: 8px 12px;
    border: 0.05px solid lightgrey;
    border-radius: 10%;
    background-color: #f1f4eb;
    color: #000;
    font-size: 21px;
}

.material-icons {
    padding: 8px;
    border-radius: 50%;
    background-color: #f1f4eb;
    color: #1e7e34;
    font-size: 38px;
    font-weight: 100;
}

/* =========================================================
   Inhaltsbereiche
   ========================================================= */
.infobox {
    padding: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: #f8f9fa;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: left;
    /* transition: transform 0.2s; */
}

/*
.infobox:hover {
    transform: scale(1.05);
}
*/

.infobox ul {
    line-height: 30px;
}

.infobox .icon {
    margin-bottom: 15px;
    color: #003f66;
    font-size: 2.5rem;
}

.infobox h3 {
    margin-bottom: 10px;
    color: #1e7e34;
    font-size: 18px;
}

.infobox p {
    margin-top: 20px;
    margin-bottom: 20px;
    color: #000;
    font-size: 14px;
}

.infobox .btn {
    border-color: #003f66;
    background-color: #003f66;
    color: #fff;
}

.infobox .btn:hover {
    border-color: #002d4d;
    background-color: #002d4d;
}

.therapeuten {
    height: auto;
    padding: 30px 20px;
    border-top: 0;
    border-right: 0.5px solid #1e7e34;
    border-bottom: 0.5px solid #1e7e34;
    border-left: 0.5px solid #1e7e34;
}

.termin {
    padding: 10px 15px;
    border: 1px solid #000;
    border-radius: 8px;
}

.terminvereinbarung {
    margin-top: 40px;
    scroll-margin-top: 120px !important;
}

.gruen {
    width: 100vh;
    margin: 0 auto;
    padding: 20px;
}

.aktualiserung {
    margin-top: 20px;
}

/* =========================================================
   Bilder
   ========================================================= */
.bild,
.bilder {
    width: 400px;
    height: 400px;
}

.bilder {
    margin: 30px 0;
    box-shadow: 5px 10px 10px silver;
}

.ratgeber22 {
    float: left;
    width: 180px;
    height: 180px;
    margin-right: 20px;
    margin-bottom: 20px;
    clip-path: circle();
    shape-outside: circle();
}

/* =========================================================
   Footer
   ========================================================= */
.footer {
    text-align: left;
}

.footerh1 {
    margin: 0 auto;
    padding-left: 10px;
    text-align: left;
}

.footer-logoh1 {
    margin-top: 30px;
    font-size: 42px;
    text-shadow: none;
}

/* =========================================================
   Hilfsklassen
   ========================================================= */
.zentriert {
    display: flex;
    align-items: center;
    justify-content: center;
}

.groessere-bildschirme {
    font-weight: 300;
}

.kleiner-bildschirme {
    font-weight: 300;
}

/* =========================================================
   Floating Buttons
   ========================================================= */
.floating-buttons {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 5px;
    opacity: 0.5;
    transition: opacity 0.3s;
}

.floating-buttons.show {
    opacity: 1;
}

.floating-buttons .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border: 1px solid #000;
    border-radius: 50%;
    background-color: #5a9149;
}

/* =========================================================
   Responsive: Navigation
   ========================================================= */
@media screen and (max-width: 1150px) {
    .nav-links {
        position: absolute;
        top: 110px;
        left: 0;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        padding-bottom: 25px;
        background-color: #fff;
    }

    .nav-links.show {
        display: flex;
    }

    .nav-links li {
        margin: 10px 0;
    }

    .nav-links a {
        margin-left: 20px;
        font-size: 14px;
        font-weight: 400;
    }

    .terminver {
        padding-bottom: 30px;
    }

    .dropdown-content {
        position: static;
        display: none;
        font-size: 12px;
    }

    .dropdown:hover .dropdown-content {
        display: none;
    }

    .dropdown.active .dropdown-content {
        display: block;
    }

    .toggle-btn {
        display: block;
    }

    .call-to-action {
        margin-top: 10px;
        padding: 10px 12px;
        border-radius: 5px;
        text-decoration: none;
    }
}

/* =========================================================
   Responsive: Tablet und kleinere Bildschirme
   ========================================================= */
@media only screen and (max-width: 990px) {
    .dropdown-menu {
        border: none;
        font-size: 12px;
    }
}

@media (max-width: 980px) {
    .footer {
        text-align: left;
    }

    .sm {
        padding: 5px 10px;
        font-size: 14px;
    }
}

@media only screen and (max-width: 926px) {
    .content,
    .therapeuten-top {
        width: 100%;
    }

    .bilder {
        width: 300px;
        height: 300px;
    }
}

@media screen and (max-width: 926px) and (min-width: 768px) {
    .groessere-bildschirme {
        display: none;
    }
}

@media screen and (min-width: 926px) {
    .kleiner-bildschirme {
        display: none;
    }
}

@media (min-width: 928px) and (max-width: 1950px) {
    .therapeuten-top {
        width: 84.5%;
    }
}

/* =========================================================
   Responsive: Mobil
   ========================================================= */
@media (max-width: 768px) {
    .header {
        min-height: 760px;
        padding: 50px 18px 58px;
        background-position: center top;
    }

    .header-content.hero {
        padding-top: 120px;
    }

    .hero h1 {
        font-size: clamp(2.7rem, 13vw, 4.2rem);
    }

    .hero h2 {
        margin-top: 16px;
        font-size: clamp(1.05rem, 5vw, 1.55rem);
    }

    .hero-location {
        border-radius: 18px;
        line-height: 1.45;
    }

    .hero-button {
        width: 100%;
        min-width: 0;
        padding: 16px 20px;
        border-radius: 16px;
        letter-spacing: 0.035em;
    }
}

@media (min-width: 320px) and (max-width: 768px) {
    .container {
        width: 95%;
    }

    h1 {
        font-size: 2.25rem;
    }

    h2,
    h4 {
        text-align: center;
    }

    h4 {
        font-size: 16px;
    }

    p,
    ul li,
    ol {
        font-size: 14px;
    }

    .h2 {
        font-size: 1.125rem;
    }

    .h3 {
        font-size: 1.5rem;
    }

    .media {
        font-size: 28px;
    }

    .media small {
        font-size: 21px;
    }

    .header-content {
        margin-top: 180px;
        margin-bottom: 30px;
        padding: 8px 12px;
        font-weight: 300;
    }

    .groessere-bildschirme,
    .ratgeber23,
    .top-hr,
    .fa-chevron-down {
        display: none;
    }

    .kleiner-bildschirme {
        font-size: 14px;
        font-weight: 300;
    }

    #call-top {
        font-size: 12px;
        font-weight: 400;
    }

    .aktualiserung {
        margin-top: 10px;
    }
}

@media only screen and (max-width: 667px) {
    .footer {
        text-align: left;
    }

    .footer-logo {
        font-size: 32px;
        text-align: left;
    }

    .bi-distribute-vertical {
        padding: 6px 10px;
        border: 0.05px solid lightgrey;
        border-radius: 8%;
        font-size: 21px;
    }

    .floating-buttons {
        right: 20px;
        bottom: 20px;
        gap: 5px;
        opacity: 0.5;
        transition: opacity 0.3s;
    }

    .nav-link,
    .nav-item {
        margin-left: 8px;
        color: #000;
        font-weight: 400;
    }
}

@media only screen and (max-width: 576px) {
    .container {
        width: 95%;
    }

    .termin-top {
        margin-bottom: 20px;
        background-color: #003f66;
        color: #fff;
    }

    .h3 {
        font-size: 1.875rem;
    }

    .dropdown-content {
        position: relative;
        display: none;
        font-size: 12px;
    }

    .dropdown:hover .dropdown-content,
    .top-hr {
        display: none;
    }
}
