/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #1A1A1A;
    background-color: #FFFFFF;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1A1A2E;
}

h1 {
    font-size: 2.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2rem;
    line-height: 1.3;
}

h3 {
    font-size: 1.5rem;
    line-height: 1.4;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
    color: #4A4A4A;
}

a {
    color: #FFD700;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #E6C200;
}

ul, ol {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

li {
    margin-bottom: 0.5rem;
    color: #4A4A4A;
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-outline {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary {
    background-color: #FFD700;
    color: #1A1A1A;
    border-color: #FFD700;
}

.btn-primary:hover {
    background-color: #E6C200;
    border-color: #E6C200;
    color: #1A1A1A;
}

.btn-secondary {
    background-color: #6C757D;
    color: #FFFFFF;
    border-color: #6C757D;
}

.btn-secondary:hover {
    background-color: #5A6268;
    border-color: #5A6268;
    color: #FFFFFF;
}

.btn-outline {
    background-color: transparent;
    color: #FFD700;
    border-color: #FFD700;
}

.btn-outline:hover {
    background-color: #FFD700;
    color: #1A1A1A;
}

/* Header */
.header {
    background-color: #FFFFFF;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.nav-brand {
    display: flex;
    align-items: center;
}

.nav-brand a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #1A1A1A;
}

.brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    margin-left: 0.5rem;
    color: #1A1A1A;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin-left: 2rem;
    margin-bottom: 0;
}

.nav-menu a {
    color: #1A1A1A;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #FFD700;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #FFD700;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #1A1A1A;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1A1A2E 0%, #16213E 100%);
    color: #FFFFFF;
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    color: #FFFFFF;
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #E0E0E0;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-visual {
    text-align: center;
}

/* Services Section */
.services {
    padding: 80px 0;
    background-color: #F8F9FA;
}

.services h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: #FFFFFF;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.service-icon {
    margin-bottom: 1.5rem;
}

.service-card h3 {
    color: #1A1A2E;
    margin-bottom: 1rem;
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: #FFFFFF;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 2.5rem;
    color: #FFD700;
    margin-bottom: 0.5rem;
}

.stat p {
    font-weight: 600;
    color: #1A1A2E;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background-color: #F8F9FA;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial {
    background-color: #FFFFFF;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    font-style: italic;
    font-size: 1.1rem;
    color: #4A4A4A;
}

.testimonial-author h4 {
    color: #1A1A2E;
    margin-bottom: 0.25rem;
}

.testimonial-author span {
    color: #6C757D;
    font-size: 0.9rem;
}

/* Newsletter Section */
.newsletter {
    padding: 80px 0;
    background: linear-gradient(135deg, #FFD700 0%, #FFC107 100%);
    color: #1A1A1A;
}

.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter h2 {
    color: #1A1A1A;
    margin-bottom: 1rem;
}

.newsletter p {
    margin-bottom: 2rem;
    color: #1A1A1A;
    opacity: 0.8;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 12px;
    border: 2px solid #E6C200;
    border-radius: 5px;
    font-size: 1rem;
}

.newsletter-form input:focus {
    outline: none;
    border-color: #1A1A2E;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: #FFFFFF;
}

.contact h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    margin-bottom: 2rem;
    color: #1A1A2E;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-item svg {
    margin-right: 1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.contact-item div p {
    margin-bottom: 0.25rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #F8F9FA;
    transition: background-color 0.3s ease;
}

.social-links a:hover {
    background-color: #FFD700;
}

.contact-form {
    background-color: #F8F9FA;
    padding: 2rem;
    border-radius: 10px;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #E9ECEF;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #FFD700;
}

/* Footer */
.footer {
    background-color: #1A1A2E;
    color: #FFFFFF;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 600;
}

.footer-brand svg {
    margin-right: 0.5rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    color: #FFD700;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: #E0E0E0;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: #FFD700;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #2E2E4E;
    color: #9B9B9B;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #1A1A2E;
    color: #FFFFFF;
    padding: 1.5rem;
    z-index: 1001;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-content h3 {
    color: #FFD700;
    margin-bottom: 1rem;
}

.cookie-content p {
    margin-bottom: 1.5rem;
    color: #E0E0E0;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1002;
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #FFFFFF;
    padding: 2rem;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-content h3 {
    margin-bottom: 1.5rem;
    color: #1A1A2E;
}

.cookie-category {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #E9ECEF;
}

.cookie-category:last-of-type {
    border-bottom: none;
}

.cookie-category h4 {
    margin-bottom: 0.5rem;
    color: #1A1A2E;
}

.cookie-category p {
    margin-bottom: 1rem;
    color: #6C757D;
    font-size: 0.9rem;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #FFD700;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

input:disabled + .slider {
    opacity: 0.6;
    cursor: not-allowed;
}

.modal-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
}

/* Legal Content */
.legal-content {
    padding: 120px 0 80px;
    background-color: #FFFFFF;
}

.legal-content h1 {
    margin-bottom: 1rem;
    color: #1A1A2E;
}

.last-updated {
    color: #6C757D;
    font-style: italic;
    margin-bottom: 2rem;
}

.legal-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #1A1A2E;
    border-bottom: 2px solid #FFD700;
    padding-bottom: 0.5rem;
}

.legal-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: #1A1A2E;
}

.contact-box {
    background-color: #F8F9FA;
    padding: 1.5rem;
    border-radius: 5px;
    border-left: 4px solid #FFD700;
    margin: 1.5rem 0;
}

.table-note {
    font-size: 0.9rem;
    color: #6C757D;
    font-style: italic;
    margin-top: 0.5rem;
}

/* Blog Styles */
.blog-header {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #1A1A2E 0%, #16213E 100%);
    color: #FFFFFF;
    text-align: center;
}

.blog-header h1 {
    color: #FFFFFF;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.blog-header p {
    font-size: 1.2rem;
    color: #E0E0E0;
}

.blog-posts {
    padding: 80px 0;
    background-color: #F8F9FA;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.blog-card {
    background-color: #FFFFFF;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.blog-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.blog-image svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-content {
    padding: 1.5rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.blog-date {
    color: #6C757D;
}

.blog-category {
    color: #FFD700;
    font-weight: 600;
}

.blog-content h2 {
    margin-bottom: 1rem;
}

.blog-content h2 a {
    color: #1A1A2E;
    text-decoration: none;
}

.blog-content h2 a:hover {
    color: #FFD700;
}

.blog-content p {
    margin-bottom: 1rem;
    color: #4A4A4A;
}

.read-more {
    color: #FFD700;
    font-weight: 600;
    text-decoration: none;
}

.read-more:hover {
    color: #E6C200;
}

/* Newsletter CTA */
.newsletter-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #FFD700 0%, #FFC107 100%);
    color: #1A1A1A;
}

.newsletter-cta .newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-cta h2 {
    color: #1A1A1A;
    margin-bottom: 1rem;
}

.newsletter-cta p {
    margin-bottom: 2rem;
    color: #1A1A1A;
    opacity: 0.8;
}

/* Article Styles */
.article-header {
    padding: 120px 0 40px;
    background-color: #F8F9FA;
}

.breadcrumb {
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: #6C757D;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #FFD700;
}

.article-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.article-date,
.article-category,
.reading-time {
    color: #6C757D;
}

.article-category {
    color: #FFD700;
    font-weight: 600;
}

.article-lead {
    font-size: 1.2rem;
    color: #4A4A4A;
    margin-bottom: 0;
}

.article-content {
    padding: 40px 0 80px;
    background-color: #FFFFFF;
}

.article-image {
    margin-bottom: 2rem;
    text-align: center;
}

.article-image svg {
    max-width: 100%;
    height: auto;
}

.article-body {
    max-width: 800px;
    margin: 0 auto;
}

.article-body h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: #1A1A2E;
}

.article-body h3 {
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    color: #1A1A2E;
}

.comparison-table,
.cost-analysis,
.recommendation-box,
.warning-box {
    background-color: #F8F9FA;
    padding: 1.5rem;
    border-radius: 5px;
    margin: 1.5rem 0;
}

.warning-box {
    background-color: #FFF3CD;
    border-left: 4px solid #FFC107;
}

.recommendation-box {
    background-color: #D4EDDA;
    border-left: 4px solid #28A745;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.comparison-table th,
.comparison-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #DEE2E6;
}

.comparison-table th {
    background-color: #E9ECEF;
    font-weight: 600;
}

.cost-breakdown {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 1rem 0;
}

.cost-item {
    background-color: #FFFFFF;
    padding: 1.5rem;
    border-radius: 5px;
    border: 2px solid #E9ECEF;
}

.savings-highlight {
    background-color: #28A745;
    color: #FFFFFF;
    padding: 1rem;
    border-radius: 5px;
    text-align: center;
    font-weight: 600;
    margin-top: 1rem;
}

.article-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 3rem;
    flex-wrap: wrap;
}

/* Related Articles */
.related-articles {
    padding: 80px 0;
    background-color: #F8F9FA;
}

.related-articles h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.related-card {
    background-color: #FFFFFF;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.related-card h3 {
    margin-bottom: 1rem;
}

.related-card h3 a {
    color: #1A1A2E;
    text-decoration: none;
}

.related-card h3 a:hover {
    color: #FFD700;
}

/* Thank You Page */
.thank-you {
    padding: 120px 0 80px;
    background-color: #F8F9FA;
    text-align: center;
}

.thank-you-content {
    max-width: 600px;
    margin: 0 auto;
}

.thank-you-icon {
    margin-bottom: 2rem;
}

.thank-you h1 {
    color: #32CD32;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.thank-you h2 {
    color: #1A1A2E;
    margin-bottom: 1.5rem;
}

.lead {
    font-size: 1.2rem;
    color: #4A4A4A;
    margin-bottom: 2rem;
}

.thank-you-details {
    background-color: #FFFFFF;
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
    text-align: left;
}

.thank-you-details h3 {
    color: #1A1A2E;
    margin-bottom: 1rem;
    text-align: center;
}

.thank-you-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.additional-content {
    padding: 80px 0;
    background-color: #FFFFFF;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.content-card {
    background-color: #F8F9FA;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
}

.content-card h3 {
    color: #1A1A2E;
    margin-bottom: 1rem;
}

/* Cookie Policy specific styles */
.cookie-table {
    background-color: #F8F9FA;
    padding: 1.5rem;
    border-radius: 5px;
    margin: 1rem 0;
}

.cookie-table table {
    width: 100%;
    margin-top: 1rem;
}

.cookie-table table td {
    padding: 0.5rem;
    border-bottom: 1px solid #DEE2E6;
}

.cookie-management {
    text-align: center;
    margin: 2rem 0;
}

/* 404 Error Page */
.error-404 {
    padding: 120px 0 80px;
    background-color: #F8F9FA;
    text-align: center;
}

.error-content {
    max-width: 600px;
    margin: 0 auto;
}

.error-visual {
    margin-bottom: 2rem;
}

.error-404 h1 {
    font-size: 3rem;
    color: #FF6B6B;
    margin-bottom: 1rem;
}

.error-404 h2 {
    color: #1A1A2E;
    margin-bottom: 1.5rem;
}

.error-message {
    font-size: 1.1rem;
    color: #4A4A4A;
    margin-bottom: 2rem;
}

.error-suggestions {
    background-color: #FFFFFF;
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
    text-align: left;
}

.error-suggestions h3 {
    color: #1A1A2E;
    margin-bottom: 1rem;
    text-align: center;
}

.error-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.quick-links {
    padding: 80px 0;
    background-color: #FFFFFF;
}

.quick-links h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.link-card {
    background-color: #F8F9FA;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}

.link-card:hover {
    transform: translateY(-5px);
}

.link-icon {
    margin-bottom: 1rem;
}

.link-card h3 {
    margin-bottom: 1rem;
}

.link-card h3 a {
    color: #1A1A2E;
    text-decoration: none;
}

.link-card h3 a:hover {
    color: #FFD700;
}

.error-contact {
    padding: 60px 0;
    background-color: #1A1A2E;
    color: #FFFFFF;
    text-align: center;
}

.error-contact h2 {
    color: #FFD700;
    margin-bottom: 1rem;
}

.error-contact p {
    color: #E0E0E0;
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

/* Additional styles for complex article elements */
.stats-box {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

.stat-item {
    text-align: center;
    background-color: #FFFFFF;
    padding: 1.5rem;
    border-radius: 5px;
    border: 2px solid #E9ECEF;
}

.stat-item h4 {
    color: #FFD700;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.foerderung-table table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

.foerderung-table th,
.foerderung-table td {
    padding: 0.75rem;
    text-align: left;
    border: 1px solid #DEE2E6;
}

.foerderung-table th {
    background-color: #E9ECEF;
    font-weight: 600;
}

.regional-foerderung {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}

.region-item {
    background-color: #FFFFFF;
    padding: 1rem;
    border-radius: 5px;
    border-left: 4px solid #FFD700;
}

.region-item h4 {
    color: #1A1A2E;
    margin-bottom: 0.5rem;
}

.wirtschaftlichkeit-box {
    background-color: #E8F5E8;
    padding: 2rem;
    border-radius: 5px;
    margin: 2rem 0;
}

.calculation {
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
}

.calc-item {
    background-color: #FFFFFF;
    padding: 1rem;
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.calc-highlight {
    background-color: #28A745;
    color: #FFFFFF;
    padding: 1rem;
    border-radius: 5px;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
}

.systems-comparison {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.system-card {
    background-color: #FFFFFF;
    padding: 1.5rem;
    border-radius: 5px;
    border: 2px solid #E9ECEF;
}

.system-card h3 {
    color: #1A1A2E;
    margin-bottom: 1rem;
}

.savings-calculation {
    background-color: #F8F9FA;
    padding: 2rem;
    border-radius: 5px;
    margin: 2rem 0;
}

.calc-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 1rem 0;
}

.calc-column {
    background-color: #FFFFFF;
    padding: 1.5rem;
    border-radius: 5px;
    border: 2px solid #E9ECEF;
}

.calc-column h5 {
    color: #1A1A2E;
    margin-bottom: 1rem;
}

.cost-overview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.installation-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.install-option {
    background-color: #FFFFFF;
    padding: 1.5rem;
    border-radius: 5px;
    border: 2px solid #E9ECEF;
}

.install-option h4 {
    color: #1A1A2E;
    margin-bottom: 1rem;
}

/* Safety article specific styles */
.danger-levels {
    background-color: #FFF3CD;
    padding: 1.5rem;
    border-radius: 5px;
    margin: 2rem 0;
}

.danger-item {
    display: grid;
    grid-template-columns: 80px 1fr 80px;
    gap: 1rem;
    align-items: center;
    padding: 0.5rem;
    margin-bottom: 0.5rem;
    background-color: #FFFFFF;
    border-radius: 3px;
}

.current {
    font-weight: 600;
    text-align: center;
}

.effect {
    color: #4A4A4A;
}

.risk {
    font-weight: 600;
    text-align: center;
    padding: 0.25rem 0.5rem;
    border-radius: 3px;
    font-size: 0.8rem;
}

.risk.low {
    background-color: #D4EDDA;
    color: #155724;
}

.risk.medium {
    background-color: #FFF3CD;
    color: #856404;
}

.risk.high {
    background-color: #F8D7DA;
    color: #721C24;
}

.risk.critical {
    background-color: #F5C6CB;
    color: #721C24;
    font-weight: 700;
}

.fi-test-box {
    background-color: #D1ECF1;
    padding: 1.5rem;
    border-radius: 5px;
    border-left: 4px solid #17A2B8;
    margin: 2rem 0;
}

.fi-test-box h4 {
    color: #0C5460;
    margin-bottom: 1rem;
}

.bathroom-zones {
    background-color: #F8F9FA;
    padding: 1.5rem;
    border-radius: 5px;
    margin: 2rem 0;
}

.zone-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.zone {
    padding: 1rem;
    border-radius: 5px;
    text-align: center;
}

.zone-0 {
    background-color: #F8D7DA;
    border: 2px solid #DC3545;
}

.zone-1 {
    background-color: #FFF3CD;
    border: 2px solid #FFC107;
}

.zone-2 {
    background-color: #D4EDDA;
    border: 2px solid #28A745;
}

.zone h5 {
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.emergency-box {
    background-color: #F8D7DA;
    padding: 1.5rem;
    border-radius: 5px;
    border-left: 4px solid #DC3545;
    margin: 2rem 0;
}

.emergency-box h4 {
    color: #721C24;
    margin-bottom: 1rem;
}

.emergency-box ul {
    margin: 0;
    padding-left: 1.5rem;
}

.emergency-box li {
    color: #721C24;
    font-weight: 600;
}

/* Thank You Page Styles */
.thank-you {
    padding: 120px 0 80px;
    background-color: #F8F9FA;
    text-align: center;
}

.thank-you-content {
    max-width: 800px;
    margin: 0 auto;
}

.thank-you-icon {
    margin-bottom: 2rem;
}

.thank-you h1 {
    color: #28A745;
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.thank-you h2 {
    color: #1A1A2E;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 400;
}

.success-message {
    background-color: #FFFFFF;
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.success-message .lead {
    font-size: 1.2rem;
    color: #4A4A4A;
    margin-bottom: 2rem;
}

.next-steps {
    text-align: left;
    margin-top: 2rem;
}

.next-steps h3 {
    color: #1A1A2E;
    margin-bottom: 1rem;
}

.next-steps ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.next-steps li {
    margin-bottom: 0.75rem;
    color: #4A4A4A;
    display: flex;
    align-items: center;
}

.thank-you-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.featured-content {
    padding: 80px 0;
    background-color: #FFFFFF;
}

.featured-content h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #1A1A2E;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.featured-card {
    background-color: #F8F9FA;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.featured-icon {
    margin-bottom: 1.5rem;
}

.featured-card h3 {
    margin-bottom: 1rem;
    color: #1A1A2E;
}

.featured-card h3 a {
    color: #1A1A2E;
    text-decoration: none;
}

.featured-card h3 a:hover {
    color: #FFD700;
}

.featured-card p {
    color: #4A4A4A;
    margin-bottom: 0;
}

.contact-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #1A1A2E 0%, #16213E 100%);
    color: #FFFFFF;
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact-cta h2 {
    color: #FFFFFF;
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.contact-cta p {
    font-size: 1.2rem;
    color: #E0E0E0;
    margin-bottom: 2rem;
}

.cta-actions {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.phone-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #FFD700;
    font-weight: 600;
}

.phone-info svg {
    margin-top: 2px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: #FFFFFF;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        transition: left 0.3s ease;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        padding-top: 2rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-links {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .cookie-buttons {
        flex-direction: column;
    }

    .modal-content {
        width: 95%;
        padding: 1.5rem;
    }

    .modal-buttons {
        flex-direction: column;
    }

    .article-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .hero-buttons,
    .error-actions,
    .thank-you-actions,
    .article-cta {
        flex-direction: column;
        align-items: center;
    }

    .stats {
        grid-template-columns: 1fr;
    }

    .stats-box {
        grid-template-columns: 1fr;
    }

    .cost-breakdown,
    .calc-comparison,
    .cost-overview,
    .installation-comparison {
        grid-template-columns: 1fr;
    }

    .systems-comparison {
        grid-template-columns: 1fr;
    }

    .regional-foerderung {
        grid-template-columns: 1fr;
    }

    .zone-info {
        grid-template-columns: 1fr;
    }

    .danger-item {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 0.5rem;
    }

    .related-grid,
    .content-grid,
    .links-grid {
        grid-template-columns: 1fr;
    }

    .contact-details {
        flex-direction: column;
        gap: 1rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .services h2,
    .about h2,
    .testimonials h2,
    .contact h2 {
        font-size: 2rem;
    }

    .blog-header h1 {
        font-size: 2.5rem;
    }

    .error-404 h1 {
        font-size: 2.5rem;
    }

    .thank-you h1 {
        font-size: 2.5rem;
    }

    .modal-content {
        padding: 1rem;
    }

    .service-card,
    .testimonial,
    .blog-card {
        margin-bottom: 1rem;
    }
}
