/* Reset und Basis-Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* CSS-Variablen für konsistente Farben und Werte */
:root {
    --primary-color: #32373c;
    --secondary-color: #352C70;
    --text-color: #333;
    --light-text: #666;
    --bg-color: #ffffff;
    --light-bg: #f8f9fa;
    --border-color: #e1e5e9;
    --success-color: #00a32a;
    --container-width: 1200px;
    --border-radius: 8px;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

/* Typografie */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 0.5em;
    font-weight: 600;
    line-height: 1.3;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1em;
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-color);
}

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    background: var(--bg-color);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background: var(--light-bg);
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section h1 {
    color: var(--primary-color);
    margin: 0;
    font-size: 1.8rem;
}

.logo-section span {
    color: var(--light-text);
    font-size: 0.9rem;
}

.contact-info {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
}

.contact-info span {
    color: var(--light-text);
}

/* Navigation */
.main-navigation {
    background: var(--bg-color);
    padding: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    display: block;
    padding: 15px 20px;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
    background: var(--light-bg);
    color: var(--secondary-color);
}

/* Dropdown-Menü */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-color);
    min-width: 280px;
    box-shadow: var(--shadow);
    border-radius: var(--border-radius);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    list-style: none;
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    padding: 12px 20px;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
}

.dropdown-menu a:hover {
    background: var(--light-bg);
}

/* Mobile Navigation */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-color);
    cursor: pointer;
    padding: 10px;
}

/* Hero Section */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: white;
    padding: 80px 0;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 400"><path d="M0,100 C200,50 400,150 600,100 C800,50 1000,150 1200,100 L1200,400 L0,400 Z" fill="rgba(255,255,255,0.1)"/></svg>') no-repeat center bottom;
    background-size: cover;
}

.hero-content {
    position: relative;
    text-align: center;
    z-index: 2;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    text-decoration: none;
}

.btn-primary {
    background: var(--bg-color);
    color: var(--secondary-color);
    border-color: var(--bg-color);
}

.btn-primary:hover {
    background: var(--bg-color);
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-secondary {
    background: transparent;
    color: var(--bg-color);
    border-color: var(--bg-color);
}

.btn-secondary:hover {
    background: var(--bg-color);
    color: var(--secondary-color);
}

/* Content Area */
.content-area {
    padding: 60px 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

.main-content-area section {
    margin-bottom: 50px;
}

.main-content-area section:last-child {
    margin-bottom: 0;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.service-item {
    background: var(--light-bg);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.service-item h4 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

/* News Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.news-item {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 25px;
    transition: var(--transition);
}

.news-item:hover {
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.news-item h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.read-more {
    color: var(--secondary-color);
    font-weight: 600;
    margin-top: 15px;
    display: inline-block;
}

/* Sidebar */
.sidebar {
    position: sticky;
    top: 100px;
}

.widget {
    background: var(--light-bg);
    padding: 25px;
    border-radius: var(--border-radius);
    margin-bottom: 30px;
}

.widget h4 {
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--secondary-color);
}

.contact-widget p,
.hours-widget p {
    margin-bottom: 10px;
}

.quick-links {
    list-style: none;
}

.quick-links li {
    margin-bottom: 10px;
}

.quick-links a {
    color: var(--text-color);
    padding: 8px 0;
    display: block;
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.quick-links a:hover {
    color: var(--secondary-color);
    border-bottom-color: var(--secondary-color);
}

/* Footer */
.site-footer {
    background: var(--primary-color);
    color: white;
    padding: 50px 0 20px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h4 {
    color: white;
    margin-bottom: 20px;
}

.footer-section p {
    color: rgba(255,255,255,0.8);
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: rgba(255,255,255,0.8);
    transition: var(--transition);
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.6);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .sidebar {
        position: static;
    }
}

/* SEO-optimierte Komponenten */
.hero-benefits ul {
    list-style: none;
    margin: 1.5rem 0;
}

.hero-benefits li {
    margin: 0.5rem 0;
    font-size: 1.1rem;
    color: white;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.service-link,
.trust-link,
.read-more {
    color: var(--secondary-color);
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.service-link:hover,
.trust-link:hover,
.read-more:hover {
    border-bottom-color: var(--secondary-color);
}

/* Trust Section */
.trust-section {
    background: var(--light-bg);
    padding: 3rem 0;
    margin: 2rem 0;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.trust-item {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.trust-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* News Items mit Datum */
.news-item time {
    display: block;
    color: var(--light-text);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

/* Footer Optimierungen */
.footer-cta {
    margin-top: 1rem;
}

.footer-cta .btn {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--light-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

address {
    font-style: normal;
    line-height: 1.6;
}

/* Button Varianten */
.btn-outline {
    background: transparent;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
}

.btn-outline:hover {
    background: var(--secondary-color);
    color: white;
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .header-top .container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .contact-info {
        flex-direction: column;
        gap: 5px;
    }

    /* Mobile Navigation */
    .mobile-menu-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-color);
        box-shadow: var(--shadow);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        padding: 15px 20px;
        border-bottom: 1px solid var(--border-color);
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: var(--light-bg);
        margin-left: 20px;
    }

    /* Hero Section */
    .hero-content h2 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    /* Grids */
    .services-grid {
        grid-template-columns: 1fr;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 50px 0;
    }

    .hero-content h2 {
        font-size: 1.75rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-item {
        padding: 20px;
    }

    .widget {
        padding: 20px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus States */
a:focus,
button:focus {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

/* Pricing Styles */
.pricing-table {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.pricing-card {
    background: var(--bg-color);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    transition: var(--transition);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.pricing-card.featured {
    border-color: var(--secondary-color);
    transform: scale(1.05);
}

.pricing-card.featured::before {
    content: "Beliebt";
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary-color);
    color: white;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-card h4 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.pricing-card .price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.pricing-card .period {
    color: var(--light-text);
    margin-bottom: 25px;
}

.pricing-card .features {
    list-style: none;
    text-align: left;
}

.pricing-card .features li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    padding-left: 25px;
}

.pricing-card .features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

.pricing-card .features li:last-child {
    border-bottom: none;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.benefit-item {
    background: var(--light-bg);
    padding: 25px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
}

.benefit-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.benefit-item h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

/* Income Table */
.income-table {
    margin: 30px 0;
    overflow-x: auto;
}

.income-table table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.income-table th,
.income-table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.income-table th {
    background: var(--primary-color);
    color: white;
    font-weight: 600;
}

.income-table tbody tr:hover {
    background: var(--light-bg);
}

.income-table tbody tr:last-child td {
    border-bottom: none;
}

.table-note {
    margin-top: 15px;
    color: var(--light-text);
    font-style: italic;
}

/* CTA Section */
.cta-section {
    background: var(--light-bg);
    padding: 40px;
    border-radius: var(--border-radius);
    text-align: center;
    margin: 50px 0;
}

.cta-section h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.cta-section p {
    color: var(--light-text);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Kontaktformular Styles */
.contact-form-section {
    margin-top: 3rem;
    padding: 2rem;
    background-color: var(--light-bg);
    border-radius: var(--border-radius);
}

.contact-form {
    max-width: 600px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-color);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(0, 124, 186, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 0.25rem;
    width: auto;
    flex-shrink: 0;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: normal;
    font-size: 0.9rem;
    line-height: 1.4;
}

.btn-submit {
    background-color: #1a5276;
    color: white;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-submit:hover {
    background-color: #154a68;
    transform: translateY(-1px);
}

.form-note {
    margin-top: 1rem;
    color: var(--light-text);
    font-size: 0.9rem;
}

/* Erfolgsseite Styles */
.success-box {
    text-align: center;
    padding: 3rem 2rem;
    background-color: var(--light-bg);
    border-radius: var(--border-radius);
    margin-bottom: 3rem;
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.success-box h3 {
    color: var(--success-color);
    margin-bottom: 1rem;
}

.success-box p {
    font-size: 1.1rem;
    color: var(--text-color);
}

.next-steps {
    margin-bottom: 3rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.step-item {
    text-align: center;
    padding: 1.5rem;
    background-color: var(--light-bg);
    border-radius: var(--border-radius);
}

.step-number {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: var(--secondary-color);
    color: white;
    border-radius: 50%;
    line-height: 40px;
    font-weight: bold;
    margin-bottom: 1rem;
}

.step-item h5 {
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.emergency-contact {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.emergency-contact h4 {
    color: #856404;
    margin-bottom: 1rem;
}

.contact-options {
    margin-top: 1rem;
}

.contact-option {
    margin-bottom: 0.5rem;
    color: #856404;
}

/* Formular Responsivität */
@media (max-width: 768px) {
    .contact-form-section {
        padding: 1.5rem;
        margin-top: 2rem;
    }

    .checkbox-group {
        flex-direction: column;
        gap: 0.5rem;
    }

    .checkbox-group input[type="checkbox"] {
        margin-top: 0;
    }
}

/* Print Styles */
@media print {
    .site-header,
    .hero-section,
    .sidebar,
    .site-footer {
        display: none;
    }

    .main-content-area {
        width: 100%;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
    }

    .pricing-table {
        grid-template-columns: 1fr;
    }

    .contact-form-section {
        display: none;
    }

    .pricing-card {
        break-inside: avoid;
        margin-bottom: 20px;
    }
}

/* Documents Grid */
.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.document-category {
    background: var(--light-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 25px;
    transition: var(--transition);
}

.document-category:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.document-category h4 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--secondary-color);
    font-size: 1.1rem;
}

.document-category ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.document-category li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    color: var(--text-color);
}

.document-category li:last-child {
    border-bottom: none;
}

.document-category li::before {
    content: "📄";
    position: absolute;
    left: 0;
    top: 8px;
}

/* Tips Grid */
.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.tip-item {
    background: var(--bg-color);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 25px;
    text-align: center;
    transition: var(--transition);
}

.tip-item:hover {
    border-color: var(--secondary-color);
    transform: translateY(-3px);
}

.tip-item h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

/* Download Widget */
.download-widget {
    text-align: center;
}

.download-widget p {
    margin-bottom: 15px;
    color: var(--text-color);
}

/* Hero Background Image */
.hero-background {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Logo in Header */
.logo-section img {
    max-height: 50px;
    width: auto;
}

/* Responsive adjustments for documents */
@media (max-width: 768px) {
    .documents-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .document-category {
        padding: 20px;
    }

    .tips-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Pricing Formula & Example Styles */
.pricing-formula, .pricing-example {
    margin: 30px 0;
}

.formula-box, .example-box {
    background: var(--light-bg);
    border: 2px solid var(--secondary-color);
    border-radius: var(--border-radius);
    padding: 25px;
    text-align: center;
}

.example-box {
    background: var(--bg-color);
    border-color: var(--success-color);
}

.formula-box p, .example-box p {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.example-box p:last-child {
    font-size: 1.3rem;
    color: var(--success-color);
    font-weight: 700;
}

/* Income Types Grid */
.income-types-grid, .notes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.income-type, .note-item {
    background: var(--light-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 20px;
    text-align: center;
    transition: var(--transition);
}

.income-type:hover, .note-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.income-type h4, .note-item h4 {
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

/* Opening Hours Styles */
.address-card {
    background: var(--light-bg);
    border-radius: var(--border-radius);
    padding: 30px;
    margin: 20px 0;
}

.address-card h4 {
    color: var(--secondary-color);
    margin: 20px 0 10px 0;
    font-size: 1.2rem;
}

.address-card h4:first-child {
    margin-top: 0;
}

.hours-table {
    background: var(--bg-color);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    overflow: hidden;
    margin: 20px 0;
}

.hours-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid var(--border-color);
    padding: 15px 20px;
}

.hours-row:last-child {
    border-bottom: none;
}

.hours-row:nth-child(even) {
    background: var(--light-bg);
}

.day {
    font-weight: 600;
    color: var(--primary-color);
}

.time {
    text-align: right;
    color: var(--text-color);
}

/* Appointment Notice */
.appointment-notice {
    background: #fff3cd;
    border: 2px solid #ffeaa7;
    border-radius: var(--border-radius);
    padding: 20px;
    margin: 20px 0;
    text-align: center;
}

.appointment-notice p {
    margin-bottom: 10px;
    color: #856404;
}

.appointment-notice p:last-child {
    margin-bottom: 0;
}

.appointment-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin: 25px 0;
    flex-wrap: wrap;
}

/* Directions */
.directions-content ol {
    margin: 15px 0;
    padding-left: 20px;
}

.directions-content ul {
    margin: 15px 0;
    padding-left: 20px;
}

.directions-content h4 {
    color: var(--secondary-color);
    margin-top: 25px;
    margin-bottom: 10px;
}

.directions-content h4:first-child {
    margin-top: 0;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .income-types-grid, .notes-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .hours-row {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 5px;
    }

    .time {
        text-align: center;
    }

    .appointment-buttons {
        flex-direction: column;
        align-items: center;
    }

    .appointment-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* Legal Pages Styles */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.contact-item {
    background: var(--light-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 25px;
    text-align: center;
}

.contact-item h4 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.impressum-content, .legal-content, .disclaimer-content {
    line-height: 1.8;
}

.impressum-content h4, .legal-content h4, .disclaimer-content h4 {
    color: var(--secondary-color);
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.impressum-content h4:first-child, .legal-content h4:first-child {
    margin-top: 0;
}

.contact-box {
    background: var(--light-bg);
    border: 2px solid var(--secondary-color);
    border-radius: var(--border-radius);
    padding: 25px;
    margin: 20px 0;
}

/* Statute Styles */
.statute-section {
    background: var(--light-bg);
    border-left: 4px solid var(--secondary-color);
    padding: 25px;
    margin: 25px 0;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.statute-section h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.statute-section ul, .statute-section ol {
    margin: 15px 0;
    padding-left: 25px;
}

.statute-section li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.board-info {
    background: var(--bg-color);
    border: 2px solid var(--success-color);
    border-radius: var(--border-radius);
    padding: 25px;
    margin: 20px 0;
}

.board-info p {
    margin-bottom: 10px;
    font-weight: 500;
}

.membership-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin: 25px 0;
    flex-wrap: wrap;
}

.info-widget {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 20px;
}

.info-widget p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.info-widget p:last-child {
    margin-bottom: 0;
}

/* Data Protection specific styles */
.data-collection-section h4,
.external-services-section h4,
.data-usage-section h4,
.user-rights-section h4 {
    color: var(--secondary-color);
    margin-top: 25px;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.data-collection-section ul,
.data-usage-section ul,
.user-rights-section ul {
    margin: 15px 0;
    padding-left: 25px;
}

.data-collection-section li,
.data-usage-section li,
.user-rights-section li {
    margin-bottom: 8px;
    line-height: 1.6;
}

/* Mobile adjustments for legal pages */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .membership-buttons {
        flex-direction: column;
        align-items: center;
    }

    .membership-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    .statute-section {
        padding: 20px;
        margin: 20px 0;
    }
}

/* Tax Classes Styles */
.tax-class-section {
    background: var(--light-bg);
    border-left: 4px solid var(--secondary-color);
    padding: 25px;
    margin: 25px 0;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.tax-class-section h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.tax-class-section ul {
    margin: 15px 0;
    padding-left: 25px;
}

.tax-class-section li {
    margin-bottom: 10px;
    line-height: 1.6;
}

/* Overview Grid */
.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.overview-item {
    background: var(--bg-color);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 20px;
    text-align: center;
    transition: var(--transition);
}

.overview-item:hover {
    border-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.overview-item h4 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 1.4rem;
    font-weight: 700;
}

.overview-item p {
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.overview-item p:last-child {
    margin-bottom: 0;
}

/* Advice Highlights */
.advice-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.highlight-item {
    background: var(--light-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 25px;
    text-align: center;
    transition: var(--transition);
}

.highlight-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.highlight-item h4 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

/* Expert Info */
.expert-info {
    background: var(--light-bg);
    border: 2px solid var(--success-color);
    border-radius: var(--border-radius);
    padding: 20px;
    margin: 20px 0;
    text-align: center;
}

.expert-info p {
    margin: 0;
    font-weight: 500;
    line-height: 1.6;
}

/* Calculator Widget */
.calculator-widget {
    background: var(--bg-color);
    border: 2px solid var(--secondary-color);
    border-radius: var(--border-radius);
    padding: 20px;
    text-align: center;
}

.calculator-widget p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.calculator-widget p:last-of-type {
    font-weight: 600;
    color: var(--primary-color);
}

/* Mobile adjustments for tax classes */
@media (max-width: 768px) {
    .overview-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }

    .advice-highlights {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .tax-class-section {
        padding: 20px;
        margin: 20px 0;
    }

    .overview-item h4 {
        font-size: 1.2rem;
    }
}