/* Grundlegendes Layout und Farben */
html {
    scroll-behavior: smooth;
    line-height: 1.5;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: #333;
}

header {
    background-color: #1c1c1c;
    color: white;
    padding: 10px 20px;
    align-items: center;
    justify-content: space-between;
    display: block;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-weight: bold;
}

nav a:hover {
    text-decoration: underline;
}

.hero {
    background: url('https://via.placeholder.com/1400x400') center/cover no-repeat;
    padding: 0;
    color: white;
    position: relative;
}

.hero h1 {
    font-size: 2.5em;
    background-color: rgba(0, 0, 0, 0.6);
    display: inline-block;
    padding: 10px 20px;
}

.hero p {
    font-size: 1.2em;
    margin-top: 10px;
    background-color: rgba(0, 0, 0, 0.4);
    display: inline-block;
    padding: 5px 15px;
}

.hero .btn {
    background-color: #f5a623;
    border: none;
    padding: 10px 20px;
    margin-top: 20px;
    font-size: 1em;
    cursor: pointer;
}

section {
    padding: 40px 20px;
    scroll-margin-top: 80px;
    /* Höhe deiner fixierten Navigation */
}

.light-section {
    background-color: #f9f9f9;
}

.blue-section {
    background-color: #5a9bb0;
    color: white;
}

.light-blue-section {
    background-color: #a1c1cc;
    color: white;
}

.orange-section {
    background-color: #fca311;
    color: white;
}
.c-red{
    color: rgb(173, 79, 60)
}
.content-container {
    max-width: 1200px;
    margin: auto;
}

.columns {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.column {
    flex: 1;
    min-width: 250px;
}

.contact-form {
    padding-right: 20px;
}

.contact-form input[type="email"],
.contact-form input[type="text"],
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 5px;
    margin-right: 10px;
    border: none;
    font-size: 1em;
}

button,
input[type="submit"] {
    background-color: #6a4e00;
    color: white;
    border: none;
    padding: 10px 25px;
    cursor: pointer;
}

footer {
    background-color: #1c1c1c;
    padding: 40px 20px;
    scroll-margin-top: 80px;
    color: white;
    text-align: center;
}

iframe {
    display: block;
    border: none;
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
  }

#content-impressum,
#content-datenschutz {
    text-align: left;
}

a{
    color: #fca311;
}

.map {
    width: 100%;
    min-height: 400px;
    border: none;
    margin: 0;
    padding: 0;
}

.scroll-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #000;
    color: white;
    border: none;
    border-radius: 100%;
    padding: 18px;
    font-size: 18px;
    cursor: pointer;
}

.slideshow-container {
    position: relative;
    width: 100%;
    height: 700px;
    overflow: hidden;
}

.slide {
    position: absolute;
    width: 100%;
    height: min(100%, 800px);
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 0;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide-content {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    background-color: rgba(0, 0, 0, 0.4);
    padding: 20px;
    border-radius: 5px;
}

@keyframes fade {
    from {
        opacity: 0.4
    }

    to {
        opacity: 1
    }
}

/* --------------------------------------------------------------------------------------------------------------- */
/* ----Expandable---- */

/* Style the button that is used to open and close the collapsible content */
button.collapsible{
    background-color: #76bdde !important;
    color: #1d1d1d;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 15px;
}


/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
button.active,
button.collapsible:hover {
    background-color: #7fd1c5;
}

/* Style the collapsible content.*/
.collapsible-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.content-stellen {
    padding: 0 18px;
    background-color: #b5d5ce;
    color: #1d1d1d;
}

/* --------------------------------------------------------------------------------------------------------------- */
/* ----Navigation---- */

header {
    background-color: #2c2c2c;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #ff7a00;
}

nav {
    display: flex;
    gap: 1rem;
}

nav a {
    color: #ff7a00;
    text-decoration: none;
    font-weight: bold;
    padding: 0.5rem 1rem;
    border-radius: 6px;
}

nav a:hover,
nav a.active {
    background-color: #ff7a00;
    color: #1e1e1e;
}

/* Mobile Menü-Button */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 0;
    font-size: 2rem;
    color: #ff7a00;
    cursor: pointer;
    z-index: 11;
}

/* Für kleine Bildschirme */
@media (max-width: 1160px) {
    nav {
        display: none;
        flex-direction: column;
        gap: 0;
        background-color: #2c2c2c;
        position: absolute;
        top: 100%;
        /* ⬅ Direkt UNTER dem Header */
        left: 0;
        width: 100%;
        z-index: 10;
    }

    nav.show {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }
}

.header-logo {
    height: 3.5rem
}

/* --------------------------------------------------------------------------------------------------------------- */
/* ----Cookies---- */

#cookie-banner {
    margin: 0;
    height: 100%;
    width: 100%;
    display: flex;
    position: fixed;
    justify-content: center;
    /* horizontal */
    align-items: center;
    /* vertikal */
    background-color: #eeeeee7a;
    z-index: 1001;
}

.hidden {
    display: none !important;
}

#reset-cookies {
    position: fixed;
    top: 20px;
    right: 20px;
}