/* =========================================================
   Privatpraxis für Physiotherapie Susanne Mendling
   Statisches HTML/CSS Stylesheet
   ========================================================= */

@font-face {
    font-family: 'Abel';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/Abel-Regular.ttf') format('truetype');
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #000000;
    background-color: #EAEAEA;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Abel', Arial, sans-serif;
    color: #333333;
    font-weight: normal;
}

h1 { font-size: 1.883em; }
h2 { font-size: 1.667em; }
h3 { font-size: 1.5em; }

a {
    color: #000000;
    text-decoration: none;
}

a:hover {
    color: #333333;
    text-decoration: underline;
}

.clear {
    clear: both;
}

img {
    max-width: 100%;
    height: auto;
}

/* =========================================================
   Header
   ========================================================= */

#top-wrapper {
    background-color: #EFEBEA;
}

#top-elements {
    max-width: 960px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

#logo {
    flex: 1 1 320px;
}

#logo a {
    display: inline-block;
}

#logo img {
    display: block;
    max-width: 320px;
}

#slogan {
    flex: 1 1 280px;
    text-align: right;
    font-family: 'Abel', Arial, sans-serif;
    font-size: 14px;
    color: #000000;
    padding-top: 8px;
}

/* =========================================================
   Navigation
   ========================================================= */

#main-menu {
    background-color: #FFFFFF;
    border-top: 1px solid #e0dcdb;
    border-bottom: 1px solid #e0dcdb;
    position: relative;
}

#navigation-menu {
    max-width: 960px;
    margin: 0 auto;
}

.menu-toggle {
    display: none;
    align-items: center;
    gap: 8px;
    margin: 0 auto;
    padding: 12px 18px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Abel', Arial, sans-serif;
    font-size: 16px;
    color: #333333;
    width: 100%;
    max-width: 960px;
    text-align: left;
}

.menu-toggle .menu-toggle-icon {
    display: inline-block;
    width: 22px;
    height: 16px;
    position: relative;
}

.menu-toggle .menu-toggle-icon span,
.menu-toggle .menu-toggle-icon span::before,
.menu-toggle .menu-toggle-icon span::after {
    content: "";
    position: absolute;
    left: 0;
    width: 22px;
    height: 2px;
    background-color: #333333;
}

.menu-toggle .menu-toggle-icon span {
    top: 7px;
}

.menu-toggle .menu-toggle-icon span::before {
    top: -7px;
}

.menu-toggle .menu-toggle-icon span::after {
    top: 7px;
}

#navigation-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}

#navigation-menu ul li {
    margin: 0;
}

#navigation-menu ul li a {
    display: block;
    padding: 14px 18px;
    font-size: 14px;
    color: #000000;
    text-decoration: none;
}

#navigation-menu ul li a:hover,
#navigation-menu ul li.current_page_item a,
#navigation-menu ul li.current-menu-item a {
    background-color: #EFEBEA;
    color: #000000;
}

/* =========================================================
   Page title
   ========================================================= */

#page-content-title {
    background-color: #FFFFFF;
    border-bottom: 1px solid #e6e6e6;
}

#page-content-header {
    max-width: 960px;
    margin: 0 auto;
    padding: 20px 20px 10px 20px;
}

#page-content-header h1 {
    margin: 0;
    font-size: 1.883em;
}

/* =========================================================
   Home intro images
   ========================================================= */

#before-content {
    background-color: #F8F8F8;
}

#before-content-column {
    max-width: 960px;
    margin: 0 auto;
    padding: 20px;
}

.intro-images {
    display: flex;
    flex-wrap: nowrap;
    gap: 15px;
    justify-content: center;
}

.intro-images img {
    width: calc((100% - 30px) / 3);
    max-width: 100%;
    height: auto;
    flex: 0 1 auto;
}

/* =========================================================
   Main content / sidebar layout
   ========================================================= */

#home-page-content,
#page-content {
    background-color: #FFFFFF;
}

#content-container {
    max-width: 960px;
    margin: 0 auto;
    padding: 25px 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

#main-content {
    flex: 2 1 480px;
}

#sidebar {
    flex: 1 1 240px;
}

.entry p {
    margin: 0 0 1em 0;
}

.entry ul {
    margin: 0 0 1em 0;
    padding-left: 22px;
}

.entry ul li {
    margin-bottom: 4px;
}

.therapy-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.therapy-columns > div {
    flex: 1 1 220px;
}

/* image with caption */
.wp-caption {
    max-width: 100%;
    margin: 0 0 1em 0;
}

.wp-caption img {
    display: block;
    width: 100%;
    height: auto;
}

.wp-caption-text {
    font-size: 0.9em;
    color: #666666;
    text-align: center;
    margin: 6px 0 0 0;
}

/* sidebar contact box */
#sidebarSubnav {
    background-color: #F8F8F8;
    padding: 18px 20px;
}

#sidebarSubnav h3 {
    margin-top: 0;
    font-size: 1.25em;
}

/* =========================================================
   Tables (Kontakt / Impressum)
   ========================================================= */

.custom-table,
.entry table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5em;
}

.custom-table th,
.custom-table td,
.entry table td {
    text-align: left;
    padding: 8px 10px;
    border-bottom: 1px solid #e6e6e6;
    vertical-align: top;
}

.custom-table th {
    background-color: #F8F8F8;
    font-family: 'Abel', Arial, sans-serif;
    font-size: 1.1em;
    font-weight: normal;
    color: #333333;
}

.entry table td:first-child {
    font-weight: bold;
    width: 110px;
}

/* =========================================================
   Footer
   ========================================================= */

#bottom-bg {
    background-color: #F5F5F5;
    border-top: 1px solid #e6e6e6;
}

#bottom {
    max-width: 960px;
    margin: 0 auto;
    padding: 15px 20px;
}

#bottom a {
    color: #3D6E97;
}

#bottom a:hover {
    color: #000000;
}

#footer-bg {
    background-color: #EAEAEA;
}

#footer {
    max-width: 960px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    color: #797979;
    font-size: 0.9em;
}

#footer a {
    color: #3D6E97;
}

#footer a:hover {
    color: #000000;
}

.back-to-top a {
    color: #3D6E97;
}

/* =========================================================
   Responsive
   ========================================================= */

/* =========================================================
   Cookie consent banner
   ========================================================= */

.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    background-color: #333333;
    color: #ffffff;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.2);
    transform: translateY(100%);
    transition: transform 0.3s ease-out;
}

.cookie-banner--visible {
    transform: translateY(0);
}

.cookie-banner-content {
    max-width: 960px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
    justify-content: space-between;
}

.cookie-banner-content p {
    margin: 0;
    flex: 1 1 480px;
    font-size: 0.9em;
    line-height: 1.5;
}

.cookie-banner-content a {
    color: #ffffff;
    text-decoration: underline;
}

.cookie-banner-content a:hover {
    color: #cccccc;
}

.cookie-banner-actions {
    flex: 0 0 auto;
}

.cookie-btn {
    border: none;
    cursor: pointer;
    font-family: 'Abel', Arial, sans-serif;
    font-size: 1em;
    padding: 10px 24px;
    background-color: #3D6E97;
    color: #ffffff;
    border-radius: 3px;
}

.cookie-btn:hover {
    background-color: #2c5375;
}

@media (max-width: 700px) {
    #slogan {
        text-align: left;
        padding-top: 4px;
    }

    .intro-images {
        flex-wrap: wrap;
        justify-content: center;
    }

    .intro-images img {
        width: 300px;
    }

    .menu-toggle {
        display: flex;
    }

    #navigation-menu ul {
        flex-direction: column;
        max-height: 0;
        overflow: hidden;
    }

    #navigation-menu.nav-open ul {
        max-height: 600px;
    }

    #navigation-menu ul li a {
        padding: 10px 15px;
        border-bottom: 1px solid #f0eeed;
    }

    #content-container {
        flex-direction: column;
    }
}
