body {
    font-family: sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

.winner-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px auto;
}
.winner-table th,
.winner-table td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}
.winner-table th {
    background-color: #f2f2f2;
    font-weight: bold;
}
header {
    background-color: #fff;
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid #ddd;
}

header img {
    max-width: 150px;
    height: auto;
    margin-bottom: 10px;
}

header h1 {
    color: #333;
    margin-bottom: 10px;
}

header .lead {
    color: #666;
    font-size: 1.1em;
    text-align: justify !important;
}

main {
    padding: 20px;
}

.form-section {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 20px auto;
}

.form-section .step-list {
    list-style: none;
    list-style-position: outside;
    padding-left: 1.5em;
}

.form-section .step-list li {
    text-indent: -1.5em;
    padding-left: 1.5em;
}

.form-section h2 {
    color: #333;
    margin: 0;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #555;
}

.flex-align-items-center {
    display: flex;
    align-items: center;
    gap: 8px;
}

.flex-align-items-center label {
    margin: 0;
}

.form-group input[type="text"],
.form-group input[type="number"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select {
    width: calc(100% - 12px);
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1em;
}

.error-message {
    color: red;
    font-size: 0.9em;
}

.form-group .error-message {
    margin-top: 5px;
}

.form-group.privacy-policy label,
.form-group.contact-consent label {
    font-weight: normal;
}

.form-group.privacy-policy input[type="checkbox"] {
    margin-right: 5px;
}

.cta-button {
    background-color: #007bff; /* Beispiel-Farbe */
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    font-size: 1.2em;
    cursor: pointer;
    width: 100%;
    display: block;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #0056b3;
}

.alert-danger {
    background-color: #DC4C64;
    color:#fff;
    padding: 16px;
    border-radius: 8px;
}

.btn {
    padding: 8px 16px;
}

.btn-primary {
    display: inline-block;
    font-weight: 600;
    text-align: center;
    vertical-align: middle;
    user-select: none;
    background-color: #007bff; /* Bootstrap Primary Blue */
    border: 1px solid #007bff;
    color: #fff;
    padding: 10px 16px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    text-decoration: none;
}

.btn-primary:hover {
    background-color: #0056b3; /* Darker blue */
    border-color: #004999;
}

.btn-primary:active {
    background-color: #004999;
    border-color: #003d80;
    transform: scale(0.98); /* Click effect */
}

.btn-primary:disabled {
    background-color: #6c757d; /* Gray */
    border-color: #6c757d;
    cursor: not-allowed;
    opacity: 0.6;
}

footer {
    text-align: center;
    padding: 20px;
    background-color: #333;
    color: #fff;
    font-size: 0.9em;
    border-top: 1px solid #555;
}

footer a {
    color: #fff;
    margin: 0 10px;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .form-section {
        margin: 10px;
        padding: 20px;
    }

    .form-group input[type="text"],
    .form-group input[type="email"],
    .form-group input[type="tel"],
    .form-group select {
        width: calc(100% - 10px);
    }

    .cta-button {
        font-size: 1.1em;
        padding: 10px 15px;
    }

    .bodyBg {
        background-size: auto 100% !important;
    }
}
