/* Grundlegende Websitegestaltung */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
  font-family: 'Signika';
  src: url('assets/fonts/Signika-Variable.woff2') format('woff2'),
       url('assets/fonts/Signika-Variable.woff') format('woff'),
       url('assets/fonts/Signika-Variable.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

html {
    font-family: 'Signika';
}

/* Body als vertikale Flexbox */
body {
    display: flex;
    flex-direction: column;
    height: 100vh;
    width: 100%;
    overflow: hidden; /* Doppelte Scrollbars vermeiden */
    overflow-x: hidden;
}

h1 {
    text-align: center;
}

/* Die swipebaren Sektionen sind hier! */

main {
    flex: 1;
    overflow-y: scroll; /* Ermöglicht vertikales Scrollen */
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth !important;
}

main > section:nth-child(even) {
    background-color: #BE9B65; /* Glamour Gold */
    color: #ffffff;
}

main > section:nth-child(odd) {
    background-color: #ffffff;
    color: #4F4538;
}

.snap-section {
    display: flex;
    flex-direction: column;
    height: 100%;
    scroll-snap-align: start;

    justify-content: center;
    align-items: center;
}

.section-content-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 90%;
    height: 90%;
    gap: 5vh;
}

.section-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
    gap: 5vh;
}

/* Erste Seite */

#first-section {
    width: 100%;
    height: 100%;
    justify-content: space-between;
}

#first-section h1 {
    text-align: center;
    font-size: 50px;
    margin: 10% 5% 0 5%;
}

.start-image {
    width: 100%;
    max-height: 60%;
    border-radius: 50% 50% 0 0;
    overflow: hidden;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.2); /* H-Offset, V-Offset, Blur, Color*/
}

.start-image img {
    width: 140%;
    height: 140%;
    object-fit: cover;
}

/* Kontaktinfos */

.contact-info {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
    font-size: 24px;
}

.contact-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    border-radius: 50%;
    height: 100px;
    aspect-ratio: 1;
}

.contact-circle img {
    width: 50%;
}

.contact-text {
    text-align: center;
}

/* Qualifikationen */

.paragraf-20 {
    display: flex;
    justify-content: center;
    align-items: center;
    max-height: 30%;
    gap: 5vw;
}

.paragraf-20 img {
    max-width: 50%;
    max-height: 15vh;
}

#liste-qualifikationen {
    flex: 1;
    display: flex;
    flex-direction: column;
    list-style-type: none;
    gap: 1rem;
    align-items: center;
    text-align: center;
    overflow: auto;
}

/* Header und Footer für Desktop und Mobile */

.mobile-header, .desktop-header {
    flex-direction: row;
    align-items: center;

    flex-shrink: 0;
    height: 9vh;
    background: #fff;
    color: #4F4538;
    box-shadow: 0 1px 8px rgba(0,0,0,0.15);
    z-index: 10;
}

.mobile-header {
    display: flex;
    justify-content: center;
}

.desktop-header {
    display: none;
    justify-content: flex-start;
}

/* Navigation für Desktop und Mobile, jeweils als Flexbox */

.mobile-nav {
    display: flex;
    flex-direction: row;
    margin-top: auto;

    justify-content: space-around;
    align-items: center;

    flex-shrink: 0;
    height: 9vh;
    background: #fff;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.15);
    z-index: 10;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 50px;

    width: 100%;
    margin: 0 2vw;
}

.desktop-nav a:first-child {
    margin-right: auto;
}

.desktop-nav a {
    text-decoration: none;
    color: inherit;
    font-weight: bold;
    font-size: 20px;
    transition: transform 0.3s ease;

}

.desktop-nav a:hover {
    transform: scale(1.1);
    transition: transform 1s ease;
}

.menu-icon {
    height: 6vh;
    width: 4vw;
    min-width: 30px;
    transition: transform 0.3s ease;
    display: block;
    margin: 0 auto;
}

.menu-icon:hover {
    transform: scale(1.1);
    transition: transform 1s ease;
}

#logo {
    width: auto;
    display: block;
}

#desktop-logo {
    width: auto;
    display: block;
}

/* Impressum als permanenter schwebender Button */

.desktop-impressum-overlay {
    display: none;
    position: fixed;
    right: 2vw;
    bottom: 2vw;
    background-color: #4F4538;
    border-radius: 50px;
    padding: 10px 18px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    z-index: 9999;

    transition: transform 0.3s ease;
}

.desktop-impressum-overlay:hover {
    transform: scale(1.1);
}

.desktop-impressum-overlay a {
    color: white;
    text-decoration: none;
    font-size: 24px;
    font-size: bold;
}