* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    margin: 0 !important;
    padding: 0 !important;
    background: #fff !important;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    font-family: sans-serif;
    color: #333;
    line-height: 1.6;
}

header {
    background: #fff;
    padding: 2rem 1rem;
    text-align: center;
    border-bottom: 1px solid #ddd;
}

.logo-container img {
    max-height: 70px;
    width: auto;
    height: auto;
    max-width: 90%;
}

/* Mobile Optimierung */
@media (max-width: 600px) {
    .logo-container img {
        max-height: 50px;
    }
}


nav {
    margin-top: 1rem;
}

.nav-links {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 3rem;
    padding: 1rem 0;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

.hero {
    background: url('background.jpg') center center / cover no-repeat;
    min-height: 60vh;
    display: flex;
    align-items: center;
    padding: 4rem 2rem;
}

.hero-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 4rem;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}

.hero-box {
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem 2rem;
    border-radius: 12px;
    box-shadow: 0 12px 24px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 500px;
    opacity: 0.9;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.text-box h1 {
    font-size: 2.5rem;
    line-height: 1.3;
}

.text-box span {
    color: #9333ea;
}

form fieldset {
    border: none;
    margin-bottom: 1rem;
}

form legend {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

form label {
    display: block;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

form button {
    padding: 0.75rem 1.5rem;
    background: #9333ea;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
}

form button:hover {
    background: #7e22ce;
}

.info, .impressum {
    padding: 4rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.info-grid {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
    align-items: center;
}

.info-text, .info-img {
    flex: 1 1 400px;
}

.info-img img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 12px 32px 0 rgba(0,0,0,0.25), 0 1.5px 6px 0 rgba(0,0,0,0.18);
    border: #c2c1c1 solid 1px;
}

.info-img-portal img {
    max-height: 700px;
    width: auto;
    border: 0px !important;
    box-shadow: none !important;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

h2 {
    margin-bottom: 1rem;
    font-size: 2rem;
}

/* Existing styles are assumed; new ones appended */

input[type="password"] {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1.1rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    margin-bottom: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

input[type="password"]:focus {
    border-color: #9333ea;
    box-shadow: 0 0 0 3px rgba(147, 51, 234, 0.2);
    outline: none;
}

/* Navigation links and headings */
.nav-links a {
    color: #9333ea;
}

.nav-links a:hover {
    text-decoration: underline;
}

h1, h2, h3, h4, h5 {
    color: #9333ea;
}

/* Volle Breite für Kalenderansicht */
.kalender-wrapper {
    width: 100%;
    max-width: none;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.kalender-wrapper h3 {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    overflow-y: auto;
    padding: 2rem 1rem;
}

.modal-content {
    background: white;
    max-width: 600px;
    width: 100%;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    max-height: 90vh;
    overflow-y: auto;
}


.modal-content h3 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    text-align: center;
    color: #9333ea;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"] {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 6px;
}

input[type="radio"],
input[type="checkbox"] {
    transform: scale(1.4);
    margin-right: 0.5rem;
    vertical-align: middle;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

button[type="submit"] {
    display: block;
    width: 100%;
    background: #9333ea;
    color: #fff;
    font-size: 1rem;
    padding: 0.75rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

button[type="submit"]:hover {
    background: #7e22ce;
}

.small-print {
    font-size: 0.75rem;
    color: #555;
    font-style: italic;
    line-height: 1.3;
    margin-top: 1rem;
}

h2 {
    line-height: 1.1;
}

strong {
    color: #4f4e4e;
    font-weight: 600;
    font-size: 1.1rem;
}