/* Farben & Variablen */
:root {
    --primary-color: rgba(240, 189, 22, 0.50);
    --text-color: #555; /* Lesbarer Grauton */
    --link-color: #373636;
}

/* Schriftarten einbinden */
@font-face {
    font-family: 'Roboto';
    src: url('fonts/Roboto-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Pacifico';
    src: url('fonts/pacifico-regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* Grundlayout */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Body füllt immer die Höhe des Viewports */
    margin: 0;
    font-family: 'Roboto', sans-serif;
    color: var(--text-color);
    background-color: #fff;
}

/* Hauptinhalt */
main {
    flex: unset;       /* nicht mehr den gesamten restlichen Platz ausfüllen */
    margin-bottom: 10px; /* kleiner Abstand zum Footer */
}

/* Header & Logo */
header {
    text-align: center;
    padding: 10px 0;
    background: #fff;
}
.site-logo {
    width: 280px; /* Standard für PC */
    height: auto;
}

/* Bildstreifen Startseite */
.image-strip {
    width: 100%;
    height: 600px;
    background-image: url('images/bienesonnenblume.png');
    background-size: cover;
    background-position: center;
    position: relative;
}
.image-strip .overlay-text {
    position: absolute;
    left: 5%;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    font-family: 'Pacifico', cursive;
    font-size: 4rem;
    color: #fff;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.5);
    background-color: rgba(240, 189, 22, 0.8);
    padding: 20px;
}

/* Section */
main section {
  padding: 40px 40px;
  background-color: #fff;
}

/* Footer */
footer {
    background-color: #f4ba4c;
    padding: 60px 0;
    text-align: center;
}
.footer-menu {
    position: relative;
    top: -20px; /* verschiebt das gesamte Menü nach oben */
}
.footer-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.footer-menu ul li {
    display: inline-block;
    margin: 0 10px;
}
.footer-menu a {
    color: #373636;
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-block;
    padding-top: 0;
    line-height: 1;
}

/* Responsive Anpassungen */
@media (max-width: 992px) {
    .site-logo {
        width: 200px;
    }
    .image-strip {
        height: 400px;
    }
    .image-strip .overlay-text {
        font-size: 2rem;
    }
    .image-strip-impressum {
        height: 400px;
    }
    .overlay-text-impressum {
        font-size: 1.5rem;
    }
  
}

@media (max-width: 576px) {
    .site-logo {
        width: 150px;
    }
    .image-strip {
        height: 200px;
    }
    .image-strip .overlay-text {
        font-size: 1.2rem;
        right: 10px;
        margin-right: 10px;
        background-color: rgba(240, 189, 22, 0.7);
    }
    .image-strip-impressum {
        height: 120px;
    }
    .overlay-text-impressum {
        font-size: 1.2rem;
        padding: 10px;
    }
  main section {
  padding: 20px 20px;
    background-color: #fff;
}

/* Bildstreifen Impressum */
.image-strip-impressum {
    width: 100%;
    height: 400px;
    background-image: url('images/bienegruen.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
}
.overlay-text-impressum {
    position: absolute;
    left: 5%;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    font-family: 'Pacifico', cursive;
    font-size: 2rem;
    color: #fff;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.5);
    background-color: rgba(42, 126, 58, 0.7);
    padding: 15px;
}

/* Tablets Hochformat (zwischen 768px und 992px) */
@media (max-width: 992px) and (min-width: 768px) {
    .image-strip-impressum {
        height: 350px; /* etwas kleiner als Desktop */
    }
    .overlay-text-impressum {
        font-size: 1.7rem;
        padding: 12px;
    }
}

/* Smartphones Hochformat (576px bis 767px) */
@media (max-width: 767px) and (min-width: 576px) {
    .image-strip-impressum {
        height: 250px;
    }
    .overlay-text-impressum {
        font-size: 1.5rem;
        padding: 10px;
    }
}

/* Kleine Smartphones (unter 576px) */
@media (max-width: 575px) {
    .image-strip-impressum {
        height: 120px; /* sehr kompakt */
    }
    .overlay-text-impressum {
        font-size: 1.2rem;
        padding: 8px;
    }
}

  .copy {
    font-size: 0.5em;
  }


