@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: normal;
  src: url('fonts/Montserrat.woff2') format('woff2');
}

@font-face {
  font-family: 'Dancing Script';
  font-style: normal;
  font-weight: normal;
  src: url('fonts/DancingScript.woff2') format('woff2');
}

:root {
    --nav-farbe: #1E1B18;
    --nav-farbe-homepage: rgba(0,0,0,0.75);
    --weiss: #FFFAF6;
    --text-prim: #3B2A1A;
    --text-sek: #7A6B61;
    --text-eis: #C6AE8C;
    --text-getraenke: #7F9989;
    --text-fruehstueck: #A96A5A;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    width: 100%;
    height: 100vh;
}

main {
    width: 100%;
    height: auto;
    min-height: 70vh;
    padding: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Allgemein */

.ueberschrift {
    font-size: 3rem;
    color: var(--text-prim);
    margin-bottom: 15px;
    text-align: center;
    hyphens: auto;
    overflow-wrap: break-word;
    word-break: normal;
}

.sek-ueberschrift {
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 1.3rem;
    color: var(--text-prim);
}

.kursiv {
    font-family: "Dancing Script", sans-serif;
    font-weight: 400;
}

.prim-text {
    color: var(--text-prim);
}

.sek-text {
    color: var(--text-sek);
}

/* Navigation */

header {
    padding-bottom: 50px;
    position: relative;
}

nav {
    min-height: 80px;
    height: 10vh;
    background-color: var(--nav-farbe);
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: relative;
    z-index: 100;
}

nav.home {
    background-color: var(--nav-farbe-homepage);
}

.nav-ul {
    display: flex;
    width: 30%;
    justify-content: space-between;
    list-style: none;
}

.logo {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translate(-50%, 50%);
}

.logo img {
    height: clamp(110px, 14vh, 150px);
    width: auto;
}

.logo a::after {
    display: none;
}

nav a,
.hamburger-menue a {
    position: relative;
    text-decoration: none;
    color: var(--weiss);
    font-weight: 600;
    font-size: 22.5px;
}

nav a::after,
.hamburger-menue a::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--weiss);
    transition: width 0.3s ease;
}

nav a.aktiv::after,
.hamburger-menue a.aktiv::after,
nav a:hover::after,
.hamburger-menue a:hover::after {
    width: 100%;
}

.menue-button {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    position: absolute;
    right: 75px;
}

.menue-button span {
    display: block;
    width: 28px;
    height: 3px;
    margin: 6px 0;
    background-color: var(--weiss);
    transition: 0.3s;
}

.hamburger-menue { 
    position: absolute;
    padding: 120px 50px; 
    top: max(80px, 10vh);
    left: 0; 
    width: 100%; 
    background-color: var(--nav-farbe); 
    z-index: 20; 
    display: none; 
    justify-content: center;
}

.hamburger-menue.home {
    background-color: var(--nav-farbe-homepage);
}

.hamburger-menue .nav-ul {
    flex-direction: column;
    align-items: center;
    gap: 50px;
    width: auto;
}

.hamburger-menue.aktiv {
    display: flex;
}

/* Homepage Header */

#home-header {
    position: relative;
    height: 100vh;
    width: 100%;
}

#home-hintergrund-slider {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 0;
}

.home-hintergrund-bild {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.home-hintergrund-bild.aktiv {
    opacity: 1;
}

.slider-steuerung {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    z-index: 10;
}

.slider-punkte {
    display: flex;
    gap: 12px;
}

.slider-punkt {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background 0.3s ease;
}

.slider-punkt.aktiv {
    background-color: var(--weiss);
}

/* Footer */

footer {
    background-color: var(--nav-farbe);
    color: var(--weiss);
    display: flex;
    justify-content: space-between;
    gap: 50px;
    padding: 60px 0;
}

.footer-sektion {
    flex: 1;
    text-align: center;
}

.footer-sektion h2 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-sektion ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-sektion a {
    color: var(--weiss);
    text-decoration: none;
    font-size: 1rem;
    opacity: 0.85;
}

.footer-sektion a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-text {
    color: var(--weiss);
    opacity: 0.85;
}

/* Kontakt */

#kontakt-main {
    gap: 60px;
}

#kontakt-sektion {
    display: flex;
    align-items: start;
    justify-content: center;
    height: fit-content;
    gap: 50px;
}

#kontakt-daten-sektion {
    display: flex;
    flex: 1;
    justify-content: center;
    flex-direction: column;
}

#kontakt-bild-sektion {
    display: flex;
    flex: 1;
    justify-content: center;
    flex-direction: column;
}

#kontakt-bild-sektion img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
    max-height: 500px;
}

.kontakt-zeile {
    display: flex;
    padding: 10px;
}

.kontakt-zeile a {
    text-decoration: none;
}

.oeffnungszeiten-zeile {
    display: flex;
    padding: 10px;
    gap: 50px;
}

/* Kontakt Karte */

#karte-sektion {
    height: 60vh;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f9f9f9;
}

#karte-iframe {
    display: none;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.25);
    object-fit: cover;
}

#karte-einwilligung {
    width: 100%;
    height: 100%;
    background: #eee;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.25);
}

#karte-einwilligung button {
    margin-top: 15px;
    padding: 15px 25px;
    cursor: pointer;
}

/* Team */

#team-main {
    padding: 60px 0;
}

#team-gruppenfoto-sektion {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

#team-gruppenfoto-sektion img {
    width: 100%;
    height: 100%;
    min-height: 180px;
    object-fit: cover;
}

#team-ueberschrift {
    position: absolute;
    text-align: center;
    color: white;
    text-shadow: 0 2px 6px rgba(0,0,0,0.5);
}

#team-ueberschrift h1 {
    font-family: "Corinthia", sans-serif;
    font-size: 6rem;
}

#team-ueberschrift p {
    font-size: 1.3rem;
    letter-spacing: 1px;
}

#team-einzelfotos-sektion {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
    padding: 60px 80px;
    width: 100%;
    justify-items: center;
    background-color: #fff;
}

.team-einzelfoto {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
    user-select: none;
}

.team-einzelfoto img {
    width: 100%;
    max-width: 160px;
    border-radius: 50%;
    aspect-ratio: 1/1;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.team-einzelfoto h3 {
    margin: 5px 0 3px 0;
    font-size: 1.2rem;
    color: var(--text-prim);
}

.team-einzelfoto p {
    margin: 0;
    font-size: 1rem;
    color: var(--text-sek);
}

/* Leckereien */

.leckereien-kategorie {
    width: 65%;
}

.leckereien-kategorie.eis h2 {
    color: var(--text-eis);
}

.leckereien-kategorie.getraenke h2 {
    color: var(--text-getraenke);
}

.leckereien-kategorie.fruehstueck h2 {
    color: var(--text-fruehstueck);
}

.leckereien-sektion {
    width: auto;
    margin: 0 auto 100px auto;
}

.leckereien-produkt {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    padding: 12px 0;
    gap: 50px;
}

.leckereien-produkt > .sek-text {
    text-align: right;
}

/* Jobs */

#jobs-sektion {
    width: 100%;
    max-width: 1000px;
}

.jobs-beschreibung {
    text-align: center;
    color: var(--text-sek);
    font-size: 1.1rem;
    line-height: 1.5;
    margin-bottom: 40px;
}

.jobs-zeile {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 20px 0;
}

/* Über Uns */

#ueber-uns-main {
    display: flex;
    flex-direction: row;
    gap: 80px;
    padding: 60px;
    height: fit-content;
}

#ueber-uns-bild-sektion {
    flex: 1;
}

#ueber-uns-text-sektion {
    flex: 2;
}

#ueber-uns-bild-sektion img {
    width: 100%;
    min-height: 600px;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.25);
    object-fit: cover;
}

.text-absatz {
    font-size: 1.2rem;
    margin: 25px 0;
}

/* Impressum & Datenschutz */

#rechtliches-main {
    padding: 60px 20%;
    display: flex;
    flex-direction: column;
    height: fit-content;
}

#rechtliches-main > .sek-ueberschrift {
    margin-top: 50px;
}

/* Responsives Design */

@media (max-width: 1450px) {
    #kontakt-sektion {
        flex-direction: column;
        height: fit-content;
        gap: 50px;
    }

    .oeffnungszeiten-zeile {
        gap: 10px;
    }

    #team-ueberschrift h1 {
        font-size: 4rem;
    }
}

@media (max-width: 1250px) {
    nav > .nav-ul {
        display: none;
    }

    .menue-button {
        display: inline-block;
    }
}

@media (max-width: 900px) {
    #ueber-uns-main {
        flex-direction: column-reverse;
        gap: 40px;
        padding: 40px;
    }

    .text-absatz {
        text-align: center;
    }

    #team-ueberschrift h1 {
        font-size: 3rem;
    }
}

@media (max-width: 700px) {
    footer {
        flex-direction: column;
        text-align: center;
    }

    .footer-sektion ul {
        align-items: center;
    }
}

@media (max-width: 550px) {
    .leckereien-kategorie {
        width: 90%;
    }
}

@media (max-width: 450px) {
    .leckereien-produkt {
        flex-direction: column;
        gap: 5px;
    }

    .leckereien-produkt > .prim-text,
    .leckereien-produkt > .sek-text {
        text-align: center;
    }

    .menue-button {
        right: 40px;
    }

    .ueberschrift {
        font-size: 2rem;
    }
    
    #team-ueberschrift h1 {
        font-size: 2rem;
    }

    #team-ueberschrift p {
        font-size: 1rem;
    }
}

@media (max-width: 330px) {
    .menue-button {
        right: 10px;
    }
}
