/*
Theme Name: Zum Dialog Theme
Author: Severin Peyer
Version: 1.0.0
*/

*, *:before, *:after {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 20px;
    font-family: "Lexend Deca", sans-serif;
    font-optical-sizing: auto;
    font-weight: 200;
    font-style: normal;
    overflow-x: hidden !important;
    overflow-y: scroll;
}

body {
    font-size: 1rem;
    margin: 0 auto;
    background-color: var(--color-background-light);
    overflow-x: hidden !important;
    text-wrap: balance;
}

:root {
    --color-primary-yellow: #ffd000;
    --color-primary-orange: #ee7633;
    --color-background-light: #F8F7F5;
    --color-white: #ffffff;
    --color-black: #222222;
    --transition-standard: all 200ms ease-in-out;
}

/*----
  font
  ----*/

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--color-black);
}

h1 {
    margin-bottom: 1.1rem;
    line-height: 1.15;
}

h2 {
    margin-bottom: 0.9rem;
}

h2 + div {
    margin-top: 2rem;
}

p, a, li, span {
    line-height: 1.37;
    color: var(--color-black);
}

main p {
    max-width: 700px;
}

main p + p {
    margin-top: 0.7rem;
}

p strong {
    font-size: 0.95em;
    font-weight: 700;
}

p + p.info {
    margin-top: 2rem;
}

p.info strong {
    position: relative;
    padding-left: 1.4rem;
    display: block;
}

p.info strong::before {
    content: "ⓘ";
    position: absolute;
    left: 0;
    top: 0;
}

.wp-block-group a, footer a, .wp-block-file a {
    transition: var(--transition-standard);
    display: inline-block;
    position: relative;
    text-decoration: none;
}

.wp-block-group a:hover, .wp-block-file a:hover {
    color: var(--color-primary-orange);
}

.wp-block-group a::before, footer a::before, .wp-block-file a::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: #525252;
    transition: var(--transition-standard);
}

.wp-block-group a:hover::before, footer a:hover::before, .wp-block-file a:hover::before {
    background: var(--color-primary-orange);
}

.wp-block-file a {
    background: transparent none;
    border-color: currentColor;
    border-width: 2px;
    border-style: solid;
    color: currentColor;
    padding-top: 0.667em;
    padding-right: 1.33em;
    padding-bottom: 0.667em;
    padding-left: 1.33em;
    font-weight: bold;
    font-size: 0.8rem;
    border-radius: 0.15rem;
    transition: var(--transition-standard);
}

.wp-block-file {
    margin-top: 1.5rem;
    margin-bottom: 3rem;
}

/*------
  Layout
  ------*/

main > section {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

main > section:first-child.no-image {
    padding-top: 2.5rem;
}

.wp-block-group.alignfull .wp-block-group__inner-container, .site_header__inside, footer .inside  {
    max-width: 75vw;
    margin-left: auto;
    margin-right: auto;
}

.wp-block-group .wp-block-group__inner-container {
    max-width: 45vw;
    margin-left: 18.5vw;
}

.page-id-12 main > section, .page-id-186 main > section {
    padding-top: 2.2rem;
}

.page-id-12 main > section:nth-child(2), .page-id-186 main > section:nth-child(2) {
    padding-top: 4.4rem;
}

.page-id-12 main > section:not(:nth-last-child(2)), .page-id-186 main > section:not(:last-child) {
    padding-bottom: 2.2rem;
}

.page-id-12 main > section:first-child, .page-id-186 main > section:first-child {
    padding-bottom: 4.4rem;
}

.wp-block-group .wp-block-group {
    margin-bottom: 3.5rem;
}

/*------
  Button
  ------*/

a.wp-block-button__link {
    font-weight: bold;
    font-size: 0.8rem;
    border-radius: 0.15rem;
    transition: var(--transition-standard);
}

a.wp-block-button__link:hover {
    color: var(--color-primary-orange);
    border-color: var(--color-primary-orange);
}

.wp-block-buttons {
    margin-top: 1.3rem;
}




/*-----------
  site_header
  -----------*/

.site_header {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    background: var(--color-white);
    position: relative;
}

.site_header::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 4vw;
    left: 0;
    bottom: -4vw;
    background: var(--color-white);
    z-index: -1;
}

.site_header__inside {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site_header__logo a {
    display: inline-block;
}

.site_header__logo svg {
    width: 10rem;
}

.site_header__logo svg path, .site_header__logo svg rect {
    transition: 350ms all ease-in-out;
    transform-origin: center center;
}

.site_header__logo svg:hover path.yellow {
    transform: rotate(4deg) scale(1.03) translateX(7px);
}

.site_header__logo svg:hover path.orange {
    transform: rotate(-4deg) scale(1.03) translateX(7px);
}

.site_header__logo svg:hover path:not(.yellow, .orange), .site_header__logo svg:hover rect {
    transform: translateX(7px);
}

.site_header__nav ul li {
    list-style: none;
}

.site_header__nav ul {
    display: flex;
    margin-right: -0.8rem;
}

.site_header__nav ul li {
    list-style: none;
}

.site_header__nav ul li a {
    display: block;
    text-decoration: none;
    padding: 0.5rem 0.8rem;
    color: var(--white);
    font-weight: 500;
    transition: var(--transition-standard);
}

.site_header__nav ul li a:hover {
    color: var(--color-primary-orange);
}

.site_header__nav ul ul {
    display: none;
}

.site_header__nav__mobile_icon {
    display: none;
}

/* Quote-Slider */

.splide__track {
    cursor: grab;
}

blockquote p {
    font-weight: 700;
    color: var(--color-primary-orange);
    font-size: 2rem;
    max-width: unset;
    position: relative;
    /* padding-left: 4.15rem; */
    padding-bottom: 0.15rem;
    line-height: 1.2;
}

/* blockquote p::before, blockquote p::after {
    content: "«";
    font-size: 6rem;
    font-weight: 700;
    color: var(--color-primary-orange);
    opacity: 0.5;
    margin-left: -3.45rem;
    left: -0.6rem;
    top: 0.85rem;
    position: relative;
    display: inline-block;
    line-height: 0.3;
}

blockquote p::after {
    content: "»";
    margin-left: 0.4rem;
    left: 0;
} */

blockquote cite {
    color: var(--color-primary-orange);
    /* margin-left: 3.8rem; */
    margin-top: 1rem;
    display: block;
    font-size: 1.2rem;
}

ul.splide__pagination {
    margin-top: 3.5rem;
    justify-content: flex-start;
    /* padding-left: 3.8rem; */
}

ul.splide__pagination li {
    margin: 0 0.3rem;
}

button.splide__pagination__page {
    padding: 0.4rem;
    border-radius: 50%;
    border: 2px solid var(--color-primary-orange);
    background: var(--color-white);
    cursor: pointer;
    transition: var(--transition-standard);
}

button.splide__pagination__page:hover {
    background: var(--color-primary-orange);
}

button.splide__pagination__page.is-active {
    background: var(--color-primary-orange);
}

.splide__arrows {
    display: none;
}

/*--------
  Über uns
  --------*/

.employee h2 {
    margin-top: 1.5rem;
    margin-bottom: 0.1rem;
}

.employee h2 + p {
    margin-bottom: 1.8rem;
}

.employee table {
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
    max-width: 30rem;
}

.employee table tr td {
    border: none !important;
}

.employee table tr td:first-child {
    width: 130px;
    padding-left: 0;
    align-content: flex-start;
}

/*------
  Footer
  ------*/

footer {
    background-color: #767676;
    padding-top: 5rem;
    padding-bottom: 5rem;
}

footer address, footer a, footer b {
    font-style: normal;
    color: white;
    display: block;
}

footer b {
    font-weight: bold;
}

footer a {
    display: inline-block
}

footer a::before {
    background-color: var(--color-white);
}

footer address {
    margin-bottom: 1.5rem;
}

footer svg {
    width: 2.3rem;
    margin-bottom: 0.6rem;
}




@media screen and (max-width: 1400px) {
    .site_header__logo svg {
        width: 9rem;
    }

    .wp-block-group .wp-block-group__inner-container {
        max-width: 55vw;
        margin-left: 16vw;
    }

    .wp-block-group.alignfull .wp-block-group__inner-container, .site_header__inside, footer .inside {
        max-width: 83vw;
    }

    footer {
        padding-top: 4.5rem;
        padding-bottom: 4.5rem;
    }


@media screen and (max-width: 1200px) {

    :root {
        --wp--preset--spacing--80: 4.5rem;
    }

    .site_header__nav ul li a {
        font-size: 0.9rem;
        padding: 0.4rem 0.6rem;
    }

    .site_header__logo svg {
        width: 8rem;
    }

    h1, blockquote p {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.4rem;
    }

    h3 {
        font-size: 1.05rem;
    }

    
    blockquote cite {
        font-size: 1.1rem;
    }

    ul.splide__pagination {
        margin-top: 2.5rem;
    }

    .wp-block-group .wp-block-group__inner-container {
        max-width: 60vw;
    }

    main > section {
        padding-top: 4.5rem;
        padding-bottom: 4.5rem;
    }

    footer {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    #wpgmza_map {
        height: 45vh !important;
    }

}

@media screen and (max-width: 1023px) {

    body {
        font-size: 0.9rem;
    }

    h1, blockquote p {
        font-size: 1.6rem;
    }
    
    h2 {
        font-size: 1.2rem;
    }

    h3 {
        font-size: 0.95rem;
    }

    
    blockquote cite {
        font-size: 1rem;
    }

    ul.splide__pagination {
        margin-top: 2rem;
    }
    
    .wp-block-group.alignfull .wp-block-group__inner-container, .site_header__inside, footer .inside {
        max-width: 92vw;
    }

    .site_header__logo svg {
        width: 7rem;
        height: 42px;
    }

    .site_header__nav ul li a {
        font-size: 0.85rem;
        padding: 0.3rem 0.4rem;
    }

    :root {
        --wp--preset--spacing--80: 2.5rem;
    }

    main > section, footer {
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
    }

    .wp-block-group .wp-block-group__inner-container, figure {
        max-width: 80vw;
        margin-left: auto;
        margin-right: auto;
    }

    .employee {
        max-width: 76vw;
    }

    .page-id-12 main > section:first-child, .page-id-186 main > section:first-child {
        padding-bottom: 2.5rem;
    }

    .page-id-12 main > section:not(:nth-last-child(2)), .page-id-186 main > section:not(:last-child) {
        padding-bottom: 1.7rem;
    }

    .page-id-12 main > section, .page-id-186 main > section {
        padding-top: 1.7rem;
    }

    .page-id-12 main > section:nth-child(2), .page-id-186 main > section:nth-child(2) {
        padding-top: 3rem;
    }

    section#fazialisparese {
        padding-bottom: 3.7rem;
    }

    #wpgmza_map {
        height: 40vh !important;
    }

}

@media screen and (max-width: 767px) {

    .site_header {
        padding: 0;
        height: 72px;
        display: flex;
    }

    .site_header__inside {
        width: 100%;
    }

    .site_header__nav__mobile_icon {
        width: 60px;
        height: 50px;
        display: flex;
        justify-content: center;
        align-items: center;
        right: -2vw;
        position: relative;
        cursor: pointer;
    }

    .site_header__nav__mobile_icon__inside {
        display: block;
        position: relative;;
    }

    .site_header__nav__mobile_icon__inside::before, .site_header__nav__mobile_icon__inside::after {
        content: "";
        position: absolute;
    }

    .site_header__nav__mobile_icon__inside, .site_header__nav__mobile_icon__inside::before, .site_header__nav__mobile_icon__inside::after {
        width: 35px;
        height: 3px;
        background: var(--color-black);
        border-radius: 2px;
        transition: var(--transition-standard);
    }

    .site_header__nav__mobile_icon__inside::before {
        top: -10px;
    }

    .site_header__nav__mobile_icon__inside::after {
        bottom: -10px;
    }

    .site_header__nav__mobile_icon.active .site_header__nav__mobile_icon__inside {
        background: var(--color-white);
    }

    .site_header__nav__mobile_icon.active .site_header__nav__mobile_icon__inside::before {
        transform: rotate(45deg) translate(8px, 7px);
    }

    .site_header__nav__mobile_icon.active .site_header__nav__mobile_icon__inside::after {
        transform: rotate(-45deg) translate(6px, -7px);
    }

    .site_header__nav ul {
        position: absolute;
        width: 100%;
        left: 0;
        top: 72px;
        background: white;
        border-top: 1px solid #555;
        flex-direction: column;
        z-index: 100;
        padding-top: 0.4rem;
        padding-bottom: 0.4rem;
        display: none;
        transition: var(--transition-standard);
    }

    .site_header__nav ul.expanded {
        display: block;
    }

    .site_header__nav ul li a {
        padding: 0.4rem 0.6rem;
    }

    body.no-scroll {
        overflow: hidden;
        height: 100vh;
    }

    main {
        position: relative;
    }

    body.no-scroll main::after {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        height: 100%;
        width: 100%;
        background: #333;
        z-index: 1;
        opacity: 0.8;
        transition: var(--transition-standard);
    }

    body {
        font-size: 0.8rem;
    }

    .wp-block-group.alignfull .wp-block-group__inner-container, .site_header__inside, footer .inside, .wp-block-group .wp-block-group__inner-container, figure {
        max-width: 88vw;
    }

    main > section, footer {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }

    h2 + div {
        margin-top: 1rem;
    }

    :where(.wp-block-columns.is-layout-flex) {
        gap: 1em;
    }

    h1, blockquote p {
        font-size: 1.25rem;
    }

    h2 {
        font-size: 1.05rem;
    }

    h3 {
        font-size: 0.85rem;
    }

    blockquote cite {
        font-size: 0.9rem;
    }

    .employee {
        max-width: unset;
    }

    .employee table tr td:first-child {
        width: 70px;
    }

    .page-id-177 :where(.wp-block-columns.is-layout-flex) {
        gap: 3em;
    }

    .employee table {
        margin-top: 0;
        margin-bottom: 0.7rem;
    }

    .employee h2 + p {
        margin-bottom: 1.2rem;
    }

    .employee h2 {
        margin-top: 0.65rem;
    }

    main > section:first-child.no-image {
        padding-top: 1.2rem;
    }

    .page-id-12 main > section:nth-child(2), .page-id-186 main > section:nth-child(2) {
        padding-top: 1.4rem;
    }

    .page-id-12 main > section:not(:nth-last-child(2)), .page-id-186 main > section:not(:last-child) {
        padding-bottom: 1.4rem;
    }

    .page-id-12 main > section, .page-id-186 main > section {
        padding-top: 1rem;
    }

    .page-id-12 main > section:nth-child(2), .page-id-186 main > section:nth-child(2)
    {
        padding-top: 2.1rem;
    }

    section#fazialisparese {
        padding-bottom: 2.8rem;
    }

    .wp-block-file {
        margin-top: 1rem;
        margin-bottom: 2rem;
    }

    h1 {
        margin-bottom: 0.7rem;
    }

    h2 {
        margin-bottom: 0.6rem;
    }

    .wp-block-group .wp-block-group {
        margin-bottom: 2rem;
    }

    #wpgmza_map {
        height: 30vh !important;
    }

}

