@charset "UTF-8";

/* poppins-regular - latin */
@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 400;
    src: url("../fonts/poppins-v21-latin-regular.woff2") format("woff2"), url("../fonts/poppins-v21-latin-regular.ttf") format("truetype");
    /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

/* poppins-600 - latin */
@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 600;
    src: url("../fonts/poppins-v21-latin-600.woff2") format("woff2"), url("../fonts/poppins-v21-latin-600.ttf") format("truetype");
    /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

/* poppins-700 - latin */
@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 700;
    src: url("../fonts/poppins-v21-latin-700.woff2") format("woff2"), url("../fonts/poppins-v21-latin-700.ttf") format("truetype");
    /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

/* Box-Model & Margins */
*,
::before,
::after {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

* {
    margin: 0;
}

body {
    overflow-x: hidden !important;
}

.oeffnungszeiten {width: 100%;}
.oeffnungszeiten table {width: 100%;}

.invert {
    padding: 5px 10px;
}

aside {
    position: fixed;
    bottom: 0;
    right: 0;
    text-align: right;
    background-color: var(--primary);
    z-index: 9999 !important;
    padding: 5px 20px;
    color: #fff;
}

aside a {
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    font-size: 14px;
}

aside a:hover {
    text-decoration: underline;
}

.popup-style {
    margin: 0;
    width: 80%;
    min-height: 20px;
    padding: 80px 5%;
    background-color: #f5f5f5;
    border: 1px solid #e3e3e3;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05);
    transform: scale(1)
}

.popup-style a {
    color: #1B5D84
}

.popup-style a:hover {
    opacity: 0.8;
    text-decoration: none
}

.popup-style p {
    color: #000;
    text-align: left;
}

button {
    margin: 0;
    padding: 0;
    background: none;
    border: none
}

.close-popup {
    transition: all 1s ease;
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 20px;
    font-weight: 600;
    background-color: var(--primary);
    color: #fff;
    padding: 10px 15px;
}

.close-popup i {
    transition: all 1s ease;
    font-size: 2rem;
    color: #020D1A
}

.close-popup:hover i {
    color: #020D1A
}


/* Bessere Lesbarkeit für Listen */
:is(ul, ol) {
    padding-left: 0;
    margin-left: 1em;
}

:is(ul, ol) :is(ul, ol) {
    margin-left: 2em;
}

li:has(> ul, > ol) {
    margin-bottom: 0.5rem;
}

/* Medien */
:is(img, picture, video, canvas, svg) {
    display: block;
    max-width: 100%;
}

/* Formulare */
:is(input, button, textarea, select) {
    font: inherit;
}

/* Typografie */
:root {
    line-height: 1.6;
}

:is(p, h1, h2, h3, h4, h5, h6) {
    overflow-wrap: break-word;
}

:is(h1, h2, h3, h4, h5, h6) {
    text-wrap: balance;
    line-height: 1.3;
}

:is(p, li, figcaption) {
    text-wrap: pretty;
    /* max-width: 65ch; */
}

/* @container */
:is(header, main, footer, section, article) {
    container-type: inline-size;
}

* {
    scroll-behavior: smooth;
}

:root {
    --primary: #0355c4;
    --primaryt: #013f9653;
    --primaryhct: #013f96a0;
    --text-highlight: #131313;
    --text: #444;
    line-height: 1.6;
    color: var(--text);
    font-family: "Poppins", sans-serif;
}

.heading {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.heading svg {
    width: 4rem;
    height: 4rem;
    color: var(--primary);
}

.heading strong {
    color: var(--primary);
    font-weight: 400;
}

:is(h1, h2, h3, h4, h5, h6) {
    text-wrap: balance;
    color: var(--text-highlight);
    line-height: 1.3;
}

h1 {
    font-size: clamp(1.2rem, 3vw, 3.5rem);
    position: absolute;
    font-weight: 600;
    color: var(--primary);
    left: 5%;
    top: 300px;
    z-index: 9;
}

h2 {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary);
}

@media (min-width: 768px) {
    .columns {
        -webkit-columns: 2;
        -moz-columns: 2;
        columns: 2;
        gap: min(10vw, 5rem);
    }
}

nav {
    position: fixed;
    z-index: 98;
    top: 0;
    left: 0;
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 1rem;
    -webkit-transition-duration: 250ms;
    transition-duration: 250ms;
    color: #fff;
    padding: 1rem;
}

nav .logo {
    display: none !important;
}

nav strong {
    font-weight: 400;
}

@media (min-width: 768px) {
    nav {
        padding: 20px 40px;
        background-color: var(--primary);
    }

    nav .logo {
        display: inline-block !important;
    }
}

@media (min-width: 1024px) {
    nav {
        padding: 1.5rem 5vw;
    }
}

@media (min-width: 600px) {
    nav {
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
    }

    nav .logo {
        text-align: center !important;
    }
}

@media (min-width: 900px) {
    nav {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
        gap: 3rem;
    }

    nav .logo {
        text-align: left !important;
    }
}

nav .logo {
    position: relative;
    display: inline-block;
    text-align: left;
    -webkit-transition-duration: 250ms;
    transition-duration: 250ms;
}

nav a {
    color: #fff;
    text-decoration: none;
}

@media (hover: hover) {
    nav a:hover {
        text-decoration: underline;
    }
}

nav ul {
    position: relative;
    padding: 0;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    list-style: none;
    gap: 1rem;
    text-align: center;
    display: none;
    -webkit-transition-duration: 250ms;
    transition-duration: 250ms;
}

@media (min-width: 800px) {
    nav ul {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
        gap: 2rem;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
    }
}

#hamburger {
    position: fixed;
    top: 1.5rem;
    right: 15px;
    z-index: 99;
    background: var(--primary);
    width: 50px;
    height: 40px;
    -webkit-transition-duration: 250ms;
    transition-duration: 250ms;
}

@media (min-width: 800px) {
    #hamburger {display: none;}
}


#hamburger .dash {
    position: absolute;
    width: 60%;
    height: 3px;
    background-color: #fff;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    left: 50%;
    -webkit-transition-duration: 250ms;
    transition-duration: 250ms;
}

#hamburger .dash:nth-child(1) {
    top: 20%;
}

#hamburger .dash:nth-child(2) {
    top: 50%;
}

#hamburger .dash:nth-child(3) {
    top: 80%;
}

body.show-nav #hamburger .dash:nth-child(1) {
    top: 50%;
    -webkit-transform: translateX(-50%) rotate(45deg);
    -ms-transform: translateX(-50%) rotate(45deg);
    transform: translateX(-50%) rotate(45deg);
}

body.show-nav #hamburger .dash:nth-child(2) {
    opacity: 0;
}

body.show-nav #hamburger .dash:nth-child(3) {
    top: 50%;
    -webkit-transform: translateX(-50%) rotate(-45deg);
    -ms-transform: translateX(-50%) rotate(-45deg);
    transform: translateX(-50%) rotate(-45deg);
}

body.show-nav nav {
    background-color: var(--primary);
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

body.show-nav nav ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

body.show-nav .logo {
    text-align: center;
}

header {
    position: relative;
    height: 50vh;
    background: var(--primaryt) url("../images/univiertel-hamburg.jpg") no-repeat center center/cover;
    color: #444;
}

header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

@media (min-width: 768px) {
    header {
        background-attachment: scroll;
        background-position: bottom;
        height: 95vh;
    }
}

header strong {
    font-size: 1.5rem;
}

header a {
    color: #fff;
}

.header-content {
    position: absolute;
    display: flex;
    z-index: 1;
    width: 350px;
    top: 400px;
    left: 5%;
    text-align: left;
    justify-items: flex-end;
}

#address {
    margin-top: 40px;
}

@media (max-width: 767px) {

    h1 {
        top: 80px;
    }

    .header-content {
        top: 150px;
    }

    #oeffnungszeiten table {
        width: 100% !important;
    }
}

:is(section, footer > div:not(.dsa-secure-plugin)) {
    padding: 20px;
}

@media (min-width: 768px) {
    :is(section, footer > div:not(.dsa-secure-plugin)) {
        padding: 40px;
    }
}

@media (min-width: 1024px) {
    :is(section, footer > div:not(.dsa-secure-plugin)) {
        padding: 10vh 5vw;
    }
}

.splide {
    margin-top: 3rem;
}

.mitarbeiter {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.mobil {margin-top: 20px; display: none;}
.mobil h3 {margin-bottom: 10px;}
.mobil button {background-color: var(--primary)!important; color: #fff!important; border-radius: 10px;}

.mitarbeiter img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}

.mitarbeiter svg {
    color: #fff;
    width: 2.5rem;
    height: 2.5rem;
}

.mitarbeiter .heading {
    margin-bottom: 1rem;
}

.mitarbeiter strong {
    color: #fff;
    font-size: 1.2rem;
}

.mitarbeiter .info {
    position: absolute;
    z-index: 1;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 1rem;
    background-color: var(--primaryhct);
    color: #fff;
    -webkit-backdrop-filter: blur(10px) saturate(0%);
    backdrop-filter: blur(10px) saturate(0%);
    -webkit-transition-duration: 500ms;
    transition-duration: 500ms;
    -webkit-transition-timing-function: cubic-bezier(0.8, 0, 0.2, 1);
    transition-timing-function: cubic-bezier(0.8, 0, 0.2, 1);
}

@media (hover: hover) {
    .mitarbeiter .info {
        -webkit-clip-path: inset(100% 0 0 0);
        clip-path: inset(100% 0 0 0);
    }
}

@media (min-width: 768px) {
    .mitarbeiter .info {
        padding: 3vw;
    }
}

.mitarbeiter .info button {
    margin-top: 1rem;
}

@media (hover: hover) {
    .mitarbeiter:hover .info {
        -webkit-clip-path: inset(0 0 0 0);
        clip-path: inset(0 0 0 0);
    }
}

#leistungen-slider {
    background-color: var(--primary);
    border-radius: 10px;
    overflow: hidden;
}

#leistungen-slider svg {
    width: 9rem;
    height: 9rem;
    fill: #fff;
    margin-inline: auto;
}

#leistungen-slider strong {
    display: block;
    color: #fff;
    text-align: center;
}

#leistungen-slider .splide__slide {
    padding: 2rem 1rem;
}

.flex {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 768px) {
    .flex {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
        gap: 5vw;
    }

    .flex > * {
        -webkit-box-flex: 1;
        -ms-flex: 1;
        flex: 1;
    }
}

/* Popups */
:root {
    --popup-background: #fff;
    --popup-roundness: 10px;
}

body:has(.popups.show) {
    overflow: hidden;
}

.popups {
    position: fixed;
    z-index: 998;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.65);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    opacity: 0;
    pointer-events: none;
    -webkit-transition-duration: 300ms;
    transition-duration: 300ms;
    /* Safari */
}

.popups.show {
    opacity: 1;
    pointer-events: auto;
}

@media screen and (-webkit-min-device-pixel-ratio: 0) {
    .popups {
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }
}

.popups .popup {
    position: fixed;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    max-height: calc(80vh - 2rem);
    margin-inline: auto;
    border-radius: var(--popup-roundness);
    background-color: var(--popup-background);
    -webkit-clip-path: inset(100% 0 0 0);
    clip-path: inset(100% 0 0 0);
    overflow: auto;
    -webkit-transition-duration: 500ms;
    transition-duration: 500ms;
}

@media (min-width: 768px) {
    .popups .popup {
        -webkit-clip-path: inset(0 0 0 100%);
        clip-path: inset(0 0 0 100%);
        width: min(70%, 800px);
        right: 2.5rem;
        top: 2.5rem;
        bottom: 2.5rem;
        max-height: unset;
        height: auto;
        left: unset;
    }
}

.popups .popup.show {
    -webkit-clip-path: inset(0 0 0 0);
    clip-path: inset(0 0 0 0);
}

.popup table {
    border-collapse: collapse;
}

.popup table td,
.popup table th {
    padding: 0.5rem 1rem;
}

.table {
    overflow: auto;
    width: 100%;
    position: relative;
}

.table table {
    position: relative;
    min-width: 100%;
    max-height: 300px;
    overflow: auto;
}

.table thead {
    position: sticky;
    top: 0;
    background-color: #fff;
}

.table thead::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background-color: #ccc;
}

.table thead th {
    text-align: left;
}

.portrait-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 2.5rem;
}

.portrait {
    width: 256px;
    height: 256px;
    border-radius: 50%;
    margin-top: 2rem;
}

.user {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 768px) {
    .user {
        gap: 3vh;
    }
}

.user h3 {
    margin-bottom: 0.5rem;
}

.user-info {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    text-align: center;
}

.icon-text {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    gap: 0.5rem;
}

.icon-text svg {
    position: relative;
    top: 0.05em;
    width: 1.5rem;
    height: 1.5rem;
    color: var(--primary);
}

.icon-text p {
    color: #777;
}

:is(.button, [role=button]):not(.splide__pagination__page):not(.splide__arrow) {
    position: relative;
    cursor: pointer;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--primary);
    border: none;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    -webkit-transition-duration: 250ms;
    transition-duration: 250ms;
    -webkit-transition-timing-function: ease-in-out;
    transition-timing-function: ease-in-out;
}

:is(button, .button, [role=button]):not(.splide__pagination__page):not(.splide__arrow).invert {
    background-color: #fff;
    color: var(--primary);
}

@media (hover: hover) {
    :is(button, .button, [role=button]):not(.splide__pagination__page):not(.splide__arrow):hover {
        -webkit-transform: translateY(-3px);
        -ms-transform: translateY(-3px);
        transform: translateY(-3px);
        border-radius: 25px;
    }
}

.list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 1rem;
}

.border-wrapper > :nth-child(2n+1) {
    border-right: 15px solid #0355c4;
}

.border-wrapper > :nth-child(2n) {
    border-left: 15px solid var(--primary);
}

.border-wrapper > :nth-child(n+2) {
    border-top: 17px solid var(--primary);
}

.w {
    padding: 3vmin;
}

.popup h3 {
    font-size: clamp(1.5rem, 2vw, 2rem);
    margin-bottom: 0.25rem;
}

.popup h3:not(:first-of-type) {
    margin-top: 5rem;
}

.popup h4 {
    font-size: clamp(1.25rem, 1.5vw, 1.5rem);
    margin-bottom: 0.25rem;
}

.popup h4:not(:first-child) {
    margin-top: 3.5rem;
}

.popup :is(ol, ul) {
    margin-block: 1rem;
}

.faq {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2.5rem;
}

.faq .sec {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 768px) {


    .faq .sec {
        grid-template-columns: 170px 1fr;
    }
}

.faq .question {
    font-weight: bold;
    color: var(--primary);
    font-size: clamp(1.15rem, 1.25vw, 1.35rem);
}

.more-questions {
    background-color: var(--primary);
    padding: 1rem;
    border-radius: 5px;
    color: #fff;
}

.more-questions h4 {
    color: #fff;
}

.card {
    position: relative;
    padding: 1.5rem;
    border-radius: 15px;
    overflow: hidden;
    background-color: var(--primaryt);
    z-index: 1;
}

@media (min-width: 768px) {
    .card {
        padding: 2.5rem;
    }
}

.card img {
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    mix-blend-mode: multiply;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}

@media (hover: hover) {
    #leistungen .splide__slide {
        -webkit-transition-duration: 250ms;
        transition-duration: 250ms;
    }

    #leistungen .splide__slide:hover {
        scale: 0.9;
        cursor: -webkit-zoom-in;
        cursor: zoom-in;
    }
}

.quick__actions {
    position: fixed;
    top: 10rem;
    right: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 1rem;
    z-index: 50;
}

.quick__actions .quick__action {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background-color: var(--primary);
    cursor: pointer;
    display: grid;
    place-items: center;
}

.quick__actions .quick__action img {
    width: 1.7rem;
    height: 1.7rem;
}


@media screen and (max-width: 850px) {
    
    .mitarbeiter .info {display: none;}
    .mobil {display: block;}
    
    
    #mitarbeiter .splide__list {
        display: block;
    }

    .mitarbeiter {
        margin-bottom: 30px;
    }

    #mitarbeiter-slide01,
    #mitarbeiter-slide02 {
        width: 100% !important
    }
}
