/* === FONT DEFINITIONS === */

@font-face {
    font-family: 'Kaushan Script';
    src: url('/fonts/KaushanScript-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Quicksand';
    src: url('/fonts/Quicksand-VariableFont_wght.ttf') format('truetype');
    font-weight: 300 700;
    font-style: normal;
}

@font-face {
    font-family: 'Urbanist';
    src: url('fonts/Urbanist-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
}

/* === GLOBAL STYLES === */

body, html {
    scroll-padding-top: 70px;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Quicksand', sans-serif;
    font-size: 1.2rem;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

@media (max-width: 768px) {
    body, html {
        font-size: 1.1rem;
    }
}

/* === TYPOGRAPHY === */

h1 {
    font-family: 'Urbanist', cursive;
    font-weight: 500;
    font-size: 2rem;
    margin-top: 0;
}

@media (max-width: 870px) {
    h1 {
        margin-top: 1rem;
        font-size: 1.8rem;
        font-weight: 470;
    }
}

h2 {
    font-size: 1.5rem;
    font-family: 'Urbanist', cursive;
    font-weight: 500;
}

p {
    line-height: 1.5;
}

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

a:hover {
    color: #d7aefc;
}

li {
    margin-bottom: 0.4rem;
}

.intro-text {
    font-family: 'Urbanist';
    font-weight: 380;
    font-size: 1.6rem;
    text-align: center;
}

@media (max-width: 790px) {
    .intro-text {
        font-size: 1.5rem;
    }
}

@media (max-width: 550px) {
    .intro-text {
        font-size: 1.3rem;
    }
}

.phone-number {
    font-size: 3rem;
    text-align: center;
    font-family: 'Urbanist', serif;
    color: #0096c5;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .phone-number {
        font-size: 2.5rem;
        margin-top: 1.5rem;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    .phone-number {
        font-size: 2rem;
        margin-top: 1rem;
        margin-bottom: 1rem;
    }
}

/* === HEADER SECTION === */

header {
    position: relative;
    width: 100%;
}

.welcome-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    width: 100vw;
    /* background: radial-gradient(farthest-side, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.8) 50%, rgba(255, 255, 255, 0) 100%), url(media/hintergrund.jpeg); */
    background-size: cover;
    padding: 0;
}



.logo {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%; 
}

.logo img {
    max-width: 1130px;
    max-height: 75vh;
}

@media (max-width: 1240px) {
    .logo img {
        max-width: 90vw;
    }
}

@media (max-width: 950px) {
    .logo img {
        max-width: 98vw;
    }
}

@media (max-width: 850px) {
    .logo img {
        max-width: 99.3vw;
    }
}


/* === NAVIGATION === */

#nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #612D88;
    padding: 1.3rem 0;
    color: #ffffff;
    width: 100%;
}

#nav.sticky {
    position: sticky;
    width: 100%;
    left: 0;
    top: 0;
    z-index: 1000;
}

#nav-list {
    display: flex;
    width: 100%;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    list-style: none;
    padding: 0.5rem 0;
    margin: 0;
}

#nav-list li {
    display: flex;
    justify-content: center;
}

#nav-list a {
    color: #ffffff;
    font-size: 1.6rem;
    padding: 0.2rem 2.1rem;
    margin: 0;
}

#nav-list a:hover {
    color: #B47DDB;
    transition: 0.2s;
}

#hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 2rem;
    height: 2rem;
    cursor: pointer;
}

#hamburger-menu div {
    width: 2rem;
    height: 0.25rem;
    background-color: #ffffff;
}

@media (max-width: 1150px) {
    #nav-list a {
        font-size: 1.4rem;
        padding: 0.2rem 1.5rem;

    }
}

@media (max-width: 950px) {
    #nav-list a {
        font-size: 1.1rem;
        padding: 0.2rem 1.1rem;

    }
}

@media (max-width: 650px) {
    #nav-list {
        flex-direction: column;
        align-items: center;
        display: none;
    }

    #nav-list li {
        margin-bottom: 0.5rem;
    }

    #hamburger-menu {
        display: flex;
    }
}

/* === MAIN CONTENT === */


.fixed-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(media/hintergrund.jpeg);
    background-size: cover;
    z-index: -5;
}
.main-content {
    position: relative;
}

.hero {
    background-color: #ffffff;
    color: #000000;
    padding: 2rem;
}
.content {
    background-color: #ffffff;
    color: #000000;
    padding: 5rem;
    margin-top: 5rem;
    margin-bottom: 5rem;
    width: 83%;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
}

@media (max-width: 870px) {
    .content {
        padding: 2rem;
        margin-top: 3.5rem;
        margin-bottom: 3.5rem;
        width: 94%;
        box-sizing: border-box;
    }
}

@media (max-width: 480px) {
    .content {
        padding: 1rem;
        margin-top: 2rem;
        margin-bottom: 2rem;
        width: 100%;
        box-sizing: border-box;
    }
}


.right {
    margin-left: auto;
    margin-right: 0;
}

.external-link {
    text-decoration: none;
    display: inline-block;
    width: 0.8rem;
    height: 0.8rem;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    mask-image: url('media/up-right-from-square-solid.svg');
    mask-size: contain;
    background-color: currentColor;
}


.tarife {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: stretch;
}

.tarife div {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    border-bottom: 2px dotted #343633;
}

.tarif-value {
    margin-left: 15px;
    min-width: 20%;
    white-space: nowrap;
}


.contact {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 2rem;
  margin-top: 2rem;
}


.content .logo {
  position: absolute;
  right: 0;
  top: 64%; 
  transform: translateY(-50%);
  width: auto;
  height: 575px; 
  z-index: 1;
}

.content h1,
.content p,
.content ul,
.content .contact {
    position: relative;
    z-index: 2;
}

.contact .portrait {
    max-width: 250px;
    height: auto;
    margin-right: 1rem;
    margin-top: 2rem;
}

@media (max-width: 870px) {
    .content .logo {
        top: 77%; 
        height: 500px; 
    }
}

@media (max-width: 790px) {
    .content .logo {
        top: 77%; 
        height: 410px; 
    }
}

@media (max-width: 550px) {
    .content .logo {
        top: 77%; 
        height: 350px; 
    }
}

@media (max-width: 880px) {
    .contact {
        flex-direction: column;
        align-items: center;
    }

    .contact img {
        margin-bottom: 1rem;
    }
}


/* === FOOTER === */

footer {
    height: 15%;
    background-color: #612D88;
    color: #B47DDB;
}

footer div {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 4rem 4rem;
}
