:root {
    --primary-color: #1c3b5e;
    --bg-header: #e3e5ea;
    --bg-card: #e8edf3;
    --text-color: #333333;
    --border-color: #1c3b5e;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Open Sans', Arial, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a {
    color: var(--primary-color);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Header Banner */
.header-banner {
    background-color: var(--bg-header);
    padding: 30px 20px;
    border-bottom: 2px solid var(--border-color);
}

.header-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.logo svg {
    width: 90px;
    height: auto;
    display: block;
}

.header-info {
    text-align: left;
}

.header-info h1 {
    font-size: 1.8rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 4px;
}

.header-info .subtitle {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.address-block {
    font-style: normal;
    font-size: 0.95rem;
    color: var(--primary-color);
}

/* Main Content */
.content-container {
    max-width: 750px;
    margin: 40px auto;
    padding: 0 20px;
    text-align: center;
    flex: 1;
}

.intro-section h2 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.intro-section p {
    margin-bottom: 15px;
    font-size: 1rem;
}

/* Email Badge */
.email-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: bold;
    vertical-align: middle;
}

.email-badge:hover {
    text-decoration: none;
    opacity: 0.9;
}

.mail-icon {
    width: 14px;
    height: 14px;
    fill: #ffffff;
}

/* Sprechzeiten Card */
.schedule-card {
    background-color: var(--bg-card);
    border-top: 4px solid var(--border-color);
    border-bottom: 4px solid var(--border-color);
    padding: 25px 20px;
    margin: 35px 0;
}

.schedule-card h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 20px;
}

.schedule-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.schedule-table th {
    background-color: #d1dce7;
    color: var(--primary-color);
    padding: 8px;
    font-size: 1.05rem;
    width: 20%;
}

.schedule-table td {
    padding: 8px 4px;
    font-size: 0.9rem;
    vertical-align: top;
}

.star-note {
    font-size: 0.8rem !important;
}

.phone-hours-note {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 20px;
}

.handwritten-welcome {
    font-family: 'Caveat', cursive;
    font-size: 2.2rem;
    color: var(--primary-color);
}

/* Closing */
.closing-section {
    margin-top: 30px;
}

.signature {
    margin-top: 10px;
    font-size: 1.1rem;
}

.signature span {
    font-family: 'Caveat', cursive;
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: 600;
}

/* Footer */
.footer {
    text-align: center;
    padding: 20px;
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 200px;
}

.footer a {
    color: #666;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .header-container {
        flex-direction: column;
        text-align: center;
    }

    .header-info {
        text-align: center;
    }

    .schedule-table th,
    .schedule-table td {
        font-size: 0.8rem;
        padding: 4px 2px;
    }
}