/* Allgemeines Styling */
body {
    font-family: "Arial", sans-serif;
    line-height: 1.5;
    margin: 0;
    padding: 0;
    background-color: #f7f7f7; /* Dezenter grauer Hintergrund */
    color: #333; /* Dunkle Schriftfarbe */

    background: 
        linear-gradient(to left, rgb(255, 255, 255) 80%, rgba(255, 255, 255, 0)), /* Transparenz-Verlauf */
        url('/images/windkraftanlagen_bg-3.jpg'); /* Pfad zu deinem Bild */
    background-size: cover; /* Bild füllt den gesamten Hintergrund */
    background-attachment: fixed; /* Bild bleibt fixiert beim Scrollen */
    background-position: center; /* Bild wird zentriert angezeigt */
    background-repeat: no-repeat; /* Bild wiederholt sich nicht */
}

/* Navigationsleiste */
.fixed-logo {
    /* position: fixed; /* Das Bild bleibt beim Scrollen an einer festen Position */
    /* top: 0px; /* Abstand vom oberen Rand des Bildschirms */
    /* left: 5px; /* Abstand vom linken Rand des Bildschirms */
    width: 220px; /* Größe des Bildes */
    height: auto; /* Proportionale Skalierung */
  }
.fixed-logo2 {
    position: fixed; /* Das Bild bleibt beim Scrollen an einer festen Position */
    top: 85px; /* Abstand vom oberen Rand des Bildschirms */
    left: 0px; /* Abstand vom linken Rand des Bildschirms */
    width: auto; /* Größe des Bildes */
    height: 70px; /* Proportionale Skalierung */
  }

nav {
    position: fixed; /* Fixiert den Header */
    top: 0; /* Am oberen Rand des Fensters */
    left: 0px;
    width: 100%; /* Nimmt die gesamte Breite ein */
    height: 85px;
    background: #E30613; /* SPD-Rot */

    z-index: 1000; /* Sicherstellen, dass es über anderen Elementen bleibt */
}

nav table {
    padding: 0;
    margin: 0;
    width: 100%;
    border-collapse: collapse; /* Entfernt die Lücken zwischen Zellen */
    
}
nav table td {
    color: white;
    text-align: center;
    vertical-align: top;
    padding: 0;
}

input.headerbutton{
    color: white;
    background: #E30613;
    text-align: center;
    vertical-align: top;
    height: 30px;
    border-style: none;
    font-size: 1.8em;
}
input.headerbutton:hover{
    background-color: darkred;
}

nav a {
    color: white;
    text-decoration: none;
    font-size: 1.5em;
    padding-bottom: 100px;
}

nav a:hover {
    text-decoration: underline;
}

a {
    color: rgb(231, 113, 113);
    
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Überschriften */
h1 {
    color: #E30613;
    margin: 0em 0;
    text-align: center;
}
h2 {
    color: #000000;
    margin-top: 10;
    margin-bottom: 0;
    text-align: center;
    font-size: 1.2em;
}
h3 {
    color: #E30613;
    margin-top: 10;
    margin-bottom: 0;
    text-align: center;
    font-size: 1.2em;
}

/* Formularelemente */
form {
    width: 85%;
    margin: 2em auto;   
}

label {
    display: block;
    margin: 0.5em 0 0.2em;
    font-weight: bold;
    text-align: left;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 0.8em;
    margin-bottom: 1em;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1em;
}

textarea {
    height: 150px;
}

button {
    background: #E30613;
    color: white;
    border: none;
    padding: 0.8em 1.5em;
    border-radius: 4px;
    font-size: 1em;
    cursor: pointer;
}

button:hover {
    background: #bf0510; /* Dunkleres Rot bei Hover */
}

/* Inhaltsbereich */
p.border {
    display: inline-block;
    text-align: justify;
    font-size: 1.0em;
    margin: 0.8em 0;
    border: 1px solid #ddd;
    padding: 1.0em;
    border-radius: 20px;
    box-shadow: 5px 8px 5px rgba(0, 0, 0, 0.1);
}

p.footer {
    display: inline-block;
    text-align: center;
    font-size: 1.4em;
    width: 95%;
    margin: 1.5em 0;
}


p {
    display: inline-block;
    text-align: justify;
    font-size: 1.0em;
    width: fit-content;
    margin: 1.5em 0;
}

/* Inhaltsbereich */
div {
    text-align: left;
    font-size: 1.2em;
    margin: 1.0em 0;
    width: 80%;
}
div.content {
    font-size: 1.2em;
    width: 80%;
    border: 1px solid #ddd;
    padding: 1em;
    border-radius: 20px;
    background-color: whitesmoke;
    box-shadow: 5px 8px 5px rgba(0, 0, 0, 0.1);
}

div.header{
    text-align: center;width: 80%;
    border: 1px solid #ddd;
    padding: 1em;
    border-radius: 20px;
    background-color: whitesmoke;
    box-shadow: 5px 8px 5px rgba(0, 0, 0, 0.1);
}

div.form {
    text-align: center;
    font-size: 1.2em;
    width: 83%;
    margin: 0.5em 0;
    border: 1px solid #ddd;
    padding: 0em;
    border-radius: 20px;
    box-shadow: 5px 8px 5px rgba(0, 0, 0, 0.1);
    background-color: #f5cccc;
}
 
div.menue{
    position: fixed; 
    left: 10px; 
    top: 38px; 
    width: 200px;
    border-right: #bf0510;
    border-right-width: 10px;
    border-right-style: inset;
    text-align: left;
}

footer {
    background-color: #E30613; /* SPD-Rot */
    color: white;
    text-align: center;
    padding: 1em 0;
    margin-top: 2em;
    font-size: 0.9em;
}

footer a {
    color: white;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

td {
    vertical-align: top;
    text-align: justify;
    padding: 5px;
    border-bottom-color: #E30613;
    border-width: 10px;
    font-size: 0.8em;
}

ul.top{
    margin-top: 0em;
}



  details {
    border: 1px solid #ccc;
    border-radius: 8px;
    margin: 1rem auto;
    overflow: hidden;
    background: #fff;
    font-size: 0.8em;
    width: 100%;
  }

  summary {
    padding-left: 3px;
    margin:0;
    cursor: pointer;
    background-color: #928e8e59;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    font-size: 1.2em;
    list-style: none;
  }

  summary::marker {
    display: none;
  }

  summary::after {
    content: "▼";
    font-size: 1.4em;
    transition: transform 0.4s ease;
    color: #E30613;
  }

  details[open] summary::after {
    transform: rotate(180deg);
  }

  .content-wrapper {
    height: 0;
    width: fit-content;
    overflow: hidden;
    transition: height 0.6s ease;
    border: none;
    margin: 0px;
    padding: 10px;

  }

  .text-content {
    padding: 0px;
    margin: 0px;
    width: fit-content;
    overflow: hidden;
    border: none;
    font-size: 1.0em;
  }