@font-face {
  font-family: 'BaskervilleCustom';
  src: url(../fonts/Baskerville.ttc) format('truetype-collection');
  font-weight: normal;
  font-style: normal;
}

@font-face {
    font-family: 'AmaticBold';
    src: url('../fonts/Amatic-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}


body {
    margin: 0;
    background-color: #DE8E27;
}

h2 {
    font-family: 'BaskervilleCustom', serif;
    font-size: 2rem;
}

.unter-text {
    font-family: 'AmaticBold', cursive;
    font-size: 1.5rem;
}

.ober-text {
    font-family: 'BaskervilleCustom', serif;
    font-size: 2.5rem;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: transparent; /* Start transparent */
    transition: background-color 0.3s ease; /* sanftes Einblenden */
    padding: 0.5rem 1rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
    height: 70px;
    font-family: 'BaskervilleCustom', serif;
}

.navbar.scrolled {
    background-color: #304D02; /* deine ursprüngliche Farbe */
}


/* Logo links */
.logo {
    color: #FBCD89;
    font-size: 1.5rem;
    position: absolute;
    left: 1rem;
}

/* Navigation */
.nav-links {
    font-family: 'AmaticBold', cursive;
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    height: 70px;
}

.nav-links li {
    margin: 0 1rem;
}

.nav-links a {
    color: #FBCD89;
    text-decoration: none;
    font-size: 2rem;
    margin-top: 0.2rem;
}

.nav-img {
    height: 60px;
    width: auto;
    margin-top: 10px;
}

/* Hamburger rechts */
.hamburger {
    position: absolute;
    right: 3rem;
    font-size: 2rem;
    color: #FBCD89;
    cursor: pointer;
    display: none; /* nur mobil sichtbar */
}

/* Hero Section mit Hintergrundbild */
.hero {
    height: 100vh;
    background: url('../img/hintergrund/hintergrund2.jpg') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #FBCD89;
    font-size: 4rem;
    flex-direction: column;
    font-family: 'BaskervilleCustom', serif;
}

/* Hero-Logo anpassen */
.hero img {
    max-width: 80%;
    height: auto;
}

.hero p {
    font-family: 'BaskervilleCustom', serif;
    font-size: 2.5rem;
    margin: 1rem;
    padding: 0.5rem;
}

.bg-section {
    height: 60vh; /* Höhe anpassen */
    background: url('../img/hintergrund/hintergrund1.jpg') no-repeat center center/cover;
    background-attachment: fixed; /* scrollt nicht mit */
}

section {
    scroll-margin-top: 80px; /* Höhe deiner Navbar */
}

/* Mobile Ansicht */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 0;
        background: rgba(0,0,0,0.9);
        width: 200px;
        padding: 1rem 0;
        border-radius: 10px;
    }

    .nav-links.show {
        display: flex;
        height: auto;
    }

    .hamburger {
        display: block;
    }

    .hero {
        font-size: 2rem;
        padding: 1rem;
        align-items: center;
    }

    .hero h1 {
        font-size: 2.5rem;
	align-items: center;    
    }

    .hero p {
        font-size: 1rem;
    }
}
