@media (min-width: 1000px) {
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    line-height: 1.6;
    position: relative;
    background-image: url('./img/hintergrund.png'); 
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
}
@media (max-width: 999px) {
    body {
      background-image: url('./img/hintergrund-mobil.png');
      background-attachment: scroll; /* Fix für mobile Darstellung */
        background-size: contain; /* Falls das Bild abgeschnitten wird */
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    line-height: 1.6;
    position: relative;
    }
  }
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: -1;
}

/* Header */
header {
    width: 100%;
    background-color: #fff;
    padding: 20px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1000;
}

.header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: #e00000;
    font-weight: bold;
    font-size: 18px;
    transition: color 0.3s, transform 0.3s;
}

.header-icon:hover {
    color: #b00000;
    transform: scale(1.1);
}

.header-icon img {
    display: none;
}

.desktop-link {
    display: inline;
}

/* Logo */
.header-logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-logo img {
    height: 75px;
    max-width: 100%;
    transition: transform 0.3s;
}



/* Desktop */
@media (min-width: 769px) {
    .header-wrapper {
        padding: 0 40px;
    }

    .header-icon {
        height: 75px;
        width: 75px;
        font-size: 18px;
    }

    .header-icon img {
        display: none;
    }

    .desktop-link {
        display: inline;
        font-size: 25px;
    }

    .header-logo img {
        height: 90px;
    }
}


/* Kontaktbereich */
.kontakt {
    padding: 50px 20px;
    
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #e00000;
}

p {
    margin-bottom: 20px;
    line-height: 1.6;
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    text-align: left;
}

label {
    font-weight: bold;
    margin-bottom: 5px;
    display: block;
}

input, textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
    box-sizing: border-box;
}

input:focus, textarea:focus {
    border-color: #e00000;
    outline: none;
    box-shadow: 0 0 5px rgba(224, 0, 0, 0.3);
}

button {
    background-color: #e00000;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: bold;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s, transform 0.3s;
}

button:hover {
    background-color: #b00000;
    transform: scale(1.05);
}

/* Kontaktinfos */
.contact-info-section {
    background-color: #fff;
    padding: 30px 0;
    text-align: center;
    margin-top: 60px;
}

.contact-info-container {
    max-width: 800px;
    margin: 0 auto;
    
}

.contact-info-container h2 {
    color: #e00000;
    font-size: 2em;
    margin-bottom: 20px;
}

.contact-info-container p {
    font-size: 1.1em;
    margin: 5px 0;
}
/* Datenschutz Kontrollkästchen */
.privacy-policy {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1em;
    line-height: 1.5;
}

.privacy-policy input[type="checkbox"] {
    margin: 0;
    appearance: none; /* Entfernt Standard-Styling */
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    border-radius: 4px;
    outline: none;
    cursor: pointer;
    transition: border-color 0.3s, background-color 0.3s;
}

.privacy-policy input[type="checkbox"]:checked {
    background-color: #e00000;
    border-color: #e00000;
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg xmlns%3D%22http%3A//www.w3.org/2000/svg%22 viewBox%3D%220 0 16 16%22 fill%3D%22white%22%3E%3Cpath d%3D%22M6.003 10.803L3.2 8l-.707.707L6.003 12.217 13.51 4.71l-.707-.707z%22/%3E%3C/svg%3E');
    background-size: 14px;
    background-position: center;
    background-repeat: no-repeat;
}

.privacy-policy input[type="checkbox"]:focus {
    border-color: #e00000;
    outline: none;
}

.privacy-policy label {
    color: #333;
    cursor: pointer;
}

.privacy-policy a {
    color: #e00000;
    text-decoration: none;
}

.privacy-policy a:hover {
    text-decoration: underline;
}

/* Statusnachricht */
#statusMessage {
    margin-top: 20px;
    font-size: 1em;
    font-weight: bold;
    text-align: center;
}

/* Footer */
footer {
    background-color: #e00000;
    color: #fff;
    text-align: center;
    padding: 10px 0;
}
/* ========== Responsive Design für die Kontaktseite ========== */

@media (max-width: 1024px) {
    .header-wrapper {
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: center;
        padding: 10px;
        max-width: 90%;
        margin: 0 auto;
    }
    .header-logo img {
        height: auto;
        max-width: 180px; /* Einheitliche Größe wie auf den anderen Seiten */
        margin-left: 10px;
    }
    .header-icon {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .header-icon img {
        display: block;
        width: 35px;
        height: auto;
        margin: 0 10px;
    }
    .desktop-link {
        display: none !important;
    }
}

@media (max-width: 820px) {
    .kontakt {
        padding: 120px 15px 60px;
    }
    .container {
        max-width: 90%;
        padding: 30px;
    }
    h1 {
        font-size: 1.8em;
    }
    p {
        font-size: 1em;
    }
    button {
        font-size: 1.2em;
        padding: 12px 20px;
    }
    .contact-info-section {
        padding: 40px 15px;
    }
    .contact-info-container {
        max-width: 800px;
        margin: 0 auto;
        text-align: center;
    }
    .contact-info-container h2 {
        font-size: 1.8em;
    }
    .contact-info-container p {
        font-size: 1.1em;
    }
}

@media (max-width: 600px) {
    .header-logo img {
        max-width: 180px; /* Einheitliche Größe auf mobilen Geräten */
        margin-left: 10px;
    }
    .contact-info-section {
        padding: 30px 10px;
    }
    .contact-info-container h2 {
        font-size: 1.6em;
    }
    .contact-info-container p {
        font-size: 1em;
    }
    button {
        font-size: 1.4em;
        padding: 16px 24px;
    }
}

