/* Allgemeines Styling */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    color: #333;
}

/* Einheitliche Schriftart */
body, input, button, textarea {
    font-family: Arial, sans-serif;
    font-size: 16px;
    color: #333;
}

h2 {
	color: #333333;
	font-size: 1.7em;
	line-height: 1.3em;
}

h3 {
	color: #c9252c;
	font-size: 1.5em;
	line-height: 1.2em;
}

h4 {
	color: #666666;
	font-size: 1.2em;
	line-height: 1.1em;
}

ul {
	background-color: #ececec;
	padding: 30px;
}


input, textarea {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px;
    width: calc(100% - 22px);
    box-sizing: border-box;
    font-family: inherit;
    font-size: inherit;
}

/* Buttons */
button {
    background-color: #c9252c;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
    font-family: inherit;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #a01d24;
}

/* Formular Styling */
.section {
    padding: 20px;
    margin: 20px auto;
    max-width: 800px;
    background: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

form label {
    display: block;
    margin-top: 15px;
    font-weight: bold;
    color: #333;
    font-size: 16px;
}

form input[type="text"],
form input[type="email"],
form input[type="tel"],
form textarea,
form select {
    width: 100%;
    margin-top: 5px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

form textarea {
    resize: vertical;
}

form select {
    appearance: none;
    background-color: #fff;
    cursor: pointer;
    font-size: 16px;
}

/* Checkbox Styling */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.checkbox-group label {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    font-size: 16px;
}

.checkbox-group input {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #c9252c;
    border-radius: 50%;
    position: relative; /* Notwendig für das absolute Positionieren von ::after */
    cursor: pointer;
    outline: none;
    display: inline-block;
    vertical-align: middle;
}

.checkbox-group input:checked {
    background-color: #c9252c;
}

.checkbox-group input:checked::after {
    content: '';
    display: block;
    width: 10px; /* Größe des inneren Punktes */
    height: 10px;
    background-color: #fff;
    border-radius: 50%;
    position: absolute;
    top: 50%; /* Vertikal zentrieren */
    left: 50%; /* Horizontal zentrieren */
    transform: translate(-50%, -50%); /* Zentrierung um den halben Durchmesser */
}

/* Datei-Upload Styling */
.upload-wrapper label {
    background-color: #c9252c;
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    display: inline-block;
}

.upload-wrapper label:hover {
    background-color: #981116;
}

.upload-wrapper span {
    margin-left: 10px;
    font-size: 16px;
    color: #333;
}

/* Submit Button */
form button {
    background: #c9252c;
    color: white;
    border: none;
    cursor: pointer;
    margin-top: 20px;
    padding: 15px;
    font-size: 16px;
    border-radius: 4px;
    transition: background 0.3s ease;
}

form button:hover {
    background: #981116;
}

.hidden {
    display: none;
}

footer {
    text-align: center;
    padding: 10px;
    background: #c9252c;
    color: white;
}

/* Header Styling */
header {
    position: relative;
    z-index: 1000;
    background-color: #c9252c;
    padding: 20px;
    color: white;
}

header .logo img {
    max-width: 450px;
    height: auto;
    display: block;
    margin: 0 auto;
}

header h1 {
    margin: 0;
    font-size: 24px;
    text-align: center;
}

/* Burger-Menü Button */
header .burger-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 2000;
}

header .burger-menu span {
    width: 100%;
    height: 4px;
    background-color: white;
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
}

/* Animationszustand für das "X" */
header .burger-menu.active span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

header .burger-menu.active span:nth-child(2) {
    opacity: 0;
}

header .burger-menu.active span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

/* Overlay-Menü Styling */
header .overlay-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1000;
}

header .overlay-menu.active {
    opacity: 1;
    visibility: visible;
}

header .overlay-menu ul {
    list-style: none;
    text-align: center;
    margin: 0;
    padding: 0;
    background-color: transparent;
}

header .overlay-menu ul li {
    margin: 20px 0;
}

header .overlay-menu ul li a {
    color: white;
    font-size: 24px;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

header .overlay-menu ul li a:hover {
    color: #f4b3b5;
}

/* Hero-Image Styling */
.hero {
    position: relative;
    width: 100%;
    height: 50vh;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-align: center;
    min-width:350px;
}

.hero-overlay h1 {
    font-size: 60px;
    line-height: 1.1em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

#resume {
	display: none !important;	
}

.scroll-button {
    background-color: #c9252c;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 24px;
    font-family: Arial, sans-serif;
    text-align: center;
    transition: background-color 0.3s;
}

.scroll-button:hover {
    background-color: #a01d24;
}

.burger-menu {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.burger-menu svg {
    display: block;
    width: 50px;
    height: 50px;
    stroke: white; /* Linienfarbe */
}

/* Cookie-Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: auto;
    background-color: #c9252c;
    color: white;
    padding: 15px 20px;
    display: flex;
    flex-direction: column; /* Ändert die Anordnung auf Spalten */
    align-items: center; /* Zentriert die Inhalte horizontal */
    text-align: center; /* Zentriert den Text */
    z-index: 9999;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2);
}

.cookie-banner p {
    margin: 15px; /* Abstand unter dem Text */
    font-size: 14px;
}

.cookie-banner a {
    color: #f4b3b5;
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 10px;
    justify-content: center; /* Zentriert die Buttons */
}

.cookie-actions button {
    background-color: white;
    color: #c9252c;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.cookie-actions button:hover {
    background-color: #f4b3b5;
    color: white;
}


/* Impressum-Overlay */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.overlay.active {
    display: flex;
}

.overlay-content {
    background: white;
    padding: 20px;
    max-width: 600px;
    width: 90%;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    color: #333;
    max-height: 700px;
    overflow-y: auto;
}

.overlay-content h2 {
    margin-top: 0;
    font-size: 24px;
    color: #c9252c;
}

.overlay-content p {
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.6;
}

.overlay-content button {
    background-color: #c9252c;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

.overlay-content button:hover {
    background-color: #a01d24;
}


/* Cookie-Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #c9252c;
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 9999;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2);
}

.cookie-banner p {
    margin: 0;
    font-size: 14px;
    flex: 1;
}

.cookie-banner a {
    color: #f4b3b5;
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 10px;
}

.cookie-actions button {
    background-color: white;
    color: #c9252c;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.cookie-actions button:hover {
    background-color: #f4b3b5;
    color: white;
}

/* Overlays für Datenschutz und Impressum */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.overlay.active {
    display: flex;
}

.overlay-content {
    background: white;
    padding: 20px;
    max-width: 600px;
    width: 80%;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    color: #333;
}

.overlay-content h2 {
    margin-top: 0;
    font-size: 24px;
    color: #c9252c;
}

.overlay-content p {
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.6;
}

.overlay-content button {
    background-color: #c9252c;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

.overlay-content button:hover {
    background-color: #a01d24;
}

footer a {
	text-decoration: none;
	color: #ffffff;
}

/* Bild rechts ausrichten */
#aboutImage {
    float: right; /* Rechts ausgerichtet */
    max-width: 40%; /* Bildbreite begrenzen */
    margin-left: 20px; /* Abstand zwischen Bild und Text */
}



/* Responsive Anpassungen */
@media (max-width: 768px) {
    header {
        padding: 10px;
    }

    header .logo img {
        max-width: 250px;
        margin: 0 auto;
    }

    header .burger-menu {
        top: 10px;
        right: 10px;
        height: 24px;
    }

    header .burger-menu span {
        height: 3px;
    }

    header .overlay-menu ul li a {
        font-size: 20px;
    }

    .hero {
        height: 40vh;
    }

    .hero-overlay h1 {
        font-size: 40px;
        line-height: 0.9em;
    }
    
    #aboutImage {
        display: none;
    }
    
    /* Cookie-Banner */
	.cookie-banner {
   		width: 90%; 
	}
}
