/* Klassisch & Professionell - Variante 2 */

:root {
    --primary-color: #1e3a5f;
    --secondary-color: #4A90E2;
    --text-color: #2c3e50;
    --text-light: #5a6c7d;
    --bg-color: #ffffff;
    --bg-light: #f8f9fa;
    --bg-dark: #1e3a5f;
    --border-color: #4A90E2;
    --gold: #4A90E2;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: Georgia, 'Times New Roman', Times, serif;
    line-height: 1.8;
    color: var(--text-color);
    background-color: var(--bg-color);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
.header-top {
    background-color: var(--bg-dark);
    color: white;
    padding: 0.75rem 0;
    font-size: 1rem;
}

.header-info {
    display: flex;
    justify-content: flex-end;
    gap: 2rem;
}

.header-info span {
    display: flex;
    align-items: center;
}

.header-phone {
    color: white !important;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.header-phone:hover {
    opacity: 0.8;
}

.header-phone:visited,
.header-phone:active,
.header-phone:focus {
    color: white !important;
}

.header-email {
    color: white !important;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.header-email:hover {
    opacity: 0.8;
}

.header-email:visited,
.header-email:active,
.header-email:focus {
    color: white !important;
}

header nav {
    background-color: var(--bg-color);
    border-bottom: 3px solid var(--gold);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 72px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: clamp(1.5rem, 3vw, 3rem);
    justify-content: space-evenly;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.0625rem;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--gold);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a:focus::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a:focus {
    color: var(--secondary-color);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 28px;
    height: 3px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

/* Hero */
.hero {
    background: linear-gradient(rgba(30, 58, 95, 0.85), rgba(30, 58, 95, 0.85)),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 300"><rect fill="%231e3a5f" width="1200" height="300"/></svg>');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 6rem 2rem;
    text-align: center;
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
}

.announcement {
    display: inline-block;
    background-color: var(--gold);
    color: var(--bg-dark);
    padding: 0.5rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 2rem;
    letter-spacing: 0.5px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 400;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
    font-style: italic;
}

.divider {
    width: 100px;
    height: 2px;
    background-color: var(--gold);
    margin: 2rem auto;
}

.hero-text {
    font-size: 1.125rem;
    line-height: 1.8;
}

/* Sections */
.section {
    padding: 5rem 0;
}

.section-light {
    background-color: var(--bg-light);
}

.section-dark {
    background-color: var(--bg-dark);
    color: white;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.75rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.section-dark .section-header h2 {
    color: white;
}

.section-divider {
    width: 80px;
    height: 3px;
    background-color: var(--gold);
    margin: 0 auto;
}

.section-divider.light {
    background-color: var(--gold);
}

.section-intro {
    margin-top: 1.5rem;
    font-size: 1.125rem;
    color: var(--text-light);
}

.section-dark .section-intro {
    color: rgba(255,255,255,0.8);
}

/* Über mich */
.two-column {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
}

.portrait-frame {
    border: 4px solid var(--gold);
    padding: 0;
    background-color: white;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    border-radius: 6px;
    overflow: hidden;
}

.portrait-frame img {
    width: 100%;
    height: auto;
    display: block;
}

.column-text .lead {
    font-size: 1.375rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.column-text p {
    margin-bottom: 1.25rem;
    text-align: justify;
    color: var(--text-light);
}

/* Leistungen */
.leistungen-list {
    max-width: 900px;
    margin: 0 auto;
}

.leistung-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    align-items: flex-start;
}

.leistung-number {
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--gold);
    min-width: 60px;
}

.leistung-content h3 {
    font-size: 1.375rem;
    margin-bottom: 0.75rem;
    color: white;
    font-weight: 400;
}

.leistung-content p {
    color: rgba(255,255,255,0.85);
    line-height: 1.7;
}

/* Sprechzeiten */
.sprechzeiten-table {
    max-width: 800px;
    margin: 0 auto 3rem;
}

.sprechzeiten-table table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: none;
    border-radius: 6px;
    overflow: hidden;
}

.sprechzeiten-table th {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid var(--gold);
}

.sprechzeiten-table td {
    padding: 0.25rem;
    border-bottom: none;
    height: 65px;
    vertical-align: middle;
    font-size: 1.125rem;
    text-align: center;
}

.appointment-info {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    background-color: var(--bg-light);
    border-left: 4px solid var(--gold);
    border-radius: 6px;
}

.appointment-info + .appointment-info {
    margin-top: 1.5rem;
}

.appointment-info p {
    margin-bottom: 0.75rem;
    color: var(--text-light);
}

.appointment-info p:last-child {
    margin-bottom: 0;
}

.appointment-info strong {
    color: var(--primary-color);
}

/* Kontakt */
.kontakt-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: stretch;
}

.kontakt-card {
    background-color: white;
    padding: 2.5rem;
    border: 4px solid var(--gold);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.kontakt-card h3 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
    border-bottom: 2px solid var(--gold);
    padding-bottom: 1rem;
}

.kontakt-details p {
    margin-bottom: 1.25rem;
    line-height: 1.8;
}

.kontakt-details strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.25rem;
}

.kontakt-details a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.kontakt-details a:hover,
.kontakt-details a:focus {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Map */
.map-wrapper {
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.map-wrapper a {
    display: block;
    text-decoration: none;
    flex: 1;
}

.map-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
    border: 4px solid var(--gold);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    display: block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.map-image:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.map-attribution {
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: 0.75rem;
}

.map-attribution a {
    color: var(--secondary-color);
    text-decoration: none;
}

.map-attribution a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background-color: var(--bg-dark);
    color: white;
    padding: 2.5rem 0;
    border-top: 3px solid var(--gold);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-info p {
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

.footer-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover,
.footer-links a:focus {
    color: var(--gold);
}

/* Responsive */
@media (max-width: 768px) {
    .header-info {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
        text-align: center;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--bg-color);
        flex-direction: column;
        padding: 1rem;
        border-bottom: 3px solid var(--gold);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

    .subtitle {
        font-size: 1.25rem;
    }

    .section {
        padding: 3rem 0;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .two-column,
    .kontakt-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .leistung-item {
        flex-direction: column;
        gap: 1rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 0.75rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

:focus {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}
