/* ALLGEMEINE GRUNDSTILE
------------------------------ */
:root {
    --primary-color: #0056b3;
    --primary-dark: #004085;
    --primary-light: #007bff;
    --secondary-color: #6c757d;
    --accent-color: #ffc107;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --light-gray: #f8f9fa;
    --medium-gray: #e9ecef;
    --dark-gray: #343a40;
    --text-color: #212529;
    --light-text: #6c757d;
    --link-color: #0056b3;
    --link-hover-color: #003d7a;
    --body-bg: #ffffff;
    --box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.1);
    --border-radius: 0.25rem;
    --transition-speed: 0.3s;
    --font-family-sans: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
    --font-family-serif: 'Merriweather', Georgia, serif;
    --font-family-mono: 'Roboto Mono', monospace;
    --container-width: 1200px;
}

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

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

body {
    font-family: var(--font-family-sans);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--body-bg);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1rem;
}

/* TYPOGRAFIE
------------------------------ */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    margin-top: 2rem;
}

h3 {
    font-size: 1.5rem;
    margin-top: 1.5rem;
}

h4 {
    font-size: 1.25rem;
    margin-top: 1.25rem;
}

p {
    margin-bottom: 1.25rem;
}

a {
    color: var(--link-color);
    text-decoration: none;
    transition: color var(--transition-speed);
}

a:hover {
    color: var(--link-hover-color);
    text-decoration: underline;
}

ul, ol {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}

li {
    margin-bottom: 0.5rem;
}

strong, b {
    font-weight: 700;
}

/* HEADER & NAVIGATION
------------------------------ */
header {
    background-color: #fff;
    box-shadow: var(--box-shadow);
    padding: 1rem 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    z-index: 100;
    position: relative;
    border-bottom: 1px solid var(--medium-gray);
}

.logo-container {
    display: flex;
    align-items: center;
    padding: 0 1.5rem;
}

.logo {
    width: 50px;
    height: auto;
    margin-right: 1rem;
}

header h1 {
    font-size: 1.5rem;
    margin: 0;
    color: var(--primary-color);
}

nav {
    display: flex;
    align-items: center;
    padding: 0 1.5rem;
}

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

nav li {
    margin: 0 0.75rem;
}

nav a {
    color: var(--text-color);
    font-weight: 600;
    padding: 0.5rem;
    border-radius: var(--border-radius);
    transition: background-color var(--transition-speed), color var(--transition-speed);
}

nav a:hover, nav a.aktiv {
    background-color: var(--primary-light);
    color: white;
    text-decoration: none;
}

#schriftgroesse-button {
    background: none;
    border: 1px solid var(--primary-color);
    border-radius: var(--border-radius);
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
    transition: background-color var(--transition-speed), color var(--transition-speed);
}

#schriftgroesse-button:hover {
    background-color: var(--primary-color);
    color: white;
}

.zeit-datum {
    width: 100%;
    text-align: center;
    padding: 0.5rem 0;
    font-size: 0.9rem;
    color: var(--secondary-color);
    background-color: var(--light-gray);
    margin-top: 1rem;
}

/* BANNER
------------------------------ */
.banner {
    background-color: var(--primary-color);
    background-image: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path fill="rgba(255,255,255,0.05)" d="M0,0 L100,0 L100,100 Z"></path></svg>');
    background-size: 100% 100%;
    pointer-events: none;
}

.banner-inhalt {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.banner h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.banner p {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 1.5rem;
}

.about-banner {
    background-image: linear-gradient(135deg, #2e5c8a 0%, #1c3a56 100%);
}

.contact-banner {
    background-image: linear-gradient(135deg, #3a7bd5 0%, #00d2ff 100%);
}

/* MAIN CONTENT
------------------------------ */
main {
    flex: 1;
    padding: 2rem 0;
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
}

.einfuehrung {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    padding: 0 1rem;
}

/* BLOG POSTS CARDS
------------------------------ */
.neueste-beitraege {
    padding: 2rem 1rem;
}

.neueste-beitraege h2 {
    text-align: center;
    margin-bottom: 2.5rem;
}

.beitrag-karten {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.beitrag-karte {
    background-color: white;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.beitrag-karte:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.beitrag-bild {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.beitrag-inhalt {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.beitrag-inhalt h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.beitrag-inhalt p {
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.beitrag-meta {
    padding: 0.75rem 1.5rem;
    border-top: 1px solid var(--medium-gray);
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--light-text);
}

.button, .submit-button, .cta-button, .modal-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: background-color var(--transition-speed);
    text-decoration: none;
}

.button:hover, .submit-button:hover, .cta-button:hover, .modal-button:hover {
    background-color: var(--primary-dark);
    text-decoration: none;
    color: white;
}

/* NEWSLETTER SECTION
------------------------------ */
.newsletter {
    background-color: var(--light-gray);
    padding: 3rem 1rem;
    text-align: center;
    margin: 3rem 0 0;
}

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

.newsletter p {
    max-width: 600px;
    margin: 0 auto 1.5rem;
}

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

.newsletter-form input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid var(--medium-gray);
    border-radius: var(--border-radius);
    font-size: 1rem;
}

/* BLOG POST PAGE
------------------------------ */
.blog-post {
    padding: 2rem 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.post-header {
    margin-bottom: 2rem;
    text-align: center;
}

.post-meta {
    color: var(--light-text);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

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

.featured-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
}

.post-content {
    line-height: 1.8;
    margin-bottom: 2rem;
}

.post-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--medium-gray);
    padding-bottom: 0.5rem;
}

.post-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.post-content h4 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.post-content ul, .post-content ol {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.post-content li {
    margin-bottom: 0.5rem;
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.tag {
    background-color: var(--light-gray);
    color: var(--secondary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.85rem;
}

.post-share {
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background-color: var(--light-gray);
    border-radius: 8px;
}

.post-share h3 {
    margin-top: 0;
    font-size: 1.1rem;
}

.share-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 0.75rem;
}

.share-buttons a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--medium-gray);
    border-radius: 50%;
    transition: background-color 0.3s;
}

.share-buttons a:hover {
    background-color: var(--primary-color);
}

.share-buttons svg {
    width: 20px;
    height: 20px;
    fill: var(--dark-gray);
    transition: fill 0.3s;
}

.share-buttons a:hover svg {
    fill: white;
}

.post-author-bio {
    display: flex;
    align-items: center;
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.author-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1.5rem;
}

.author-info h3 {
    font-size: 0.9rem;
    color: var(--light-text);
    margin: 0 0 0.25rem;
}

.author-info h4 {
    margin: 0 0 0.5rem;
}

.author-info p {
    font-size: 0.95rem;
    margin: 0;
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
    padding: 1rem 0;
    border-top: 1px solid var(--medium-gray);
    border-bottom: 1px solid var(--medium-gray);
}

.prev-post, .next-post {
    max-width: 45%;
}

.prev-post span, .next-post span {
    display: block;
    font-size: 0.85rem;
    color: var(--light-text);
    margin-bottom: 0.25rem;
}

.related-posts {
    margin-bottom: 3rem;
}

.related-posts h3 {
    margin-bottom: 1.5rem;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.related-post-card {
    border: 1px solid var(--medium-gray);
    border-radius: 8px;
    overflow: hidden;
}

.related-post-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.related-post-card h4 {
    padding: 0.75rem 1rem 0.25rem;
    margin: 0;
    font-size: 1rem;
}

.related-post-card p {
    padding: 0 1rem 1rem;
    margin: 0;
    font-size: 0.9rem;
    color: var(--light-text);
}

/* ABOUT US PAGE
------------------------------ */
.about-page .team-intro {
    padding: 3rem 1rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.team-members {
    padding: 3rem 1rem;
    background-color: var(--light-gray);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 2rem auto 0;
}

.team-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s;
}

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

.team-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.team-card h3 {
    margin: 1.25rem 0 0.25rem;
    padding: 0 1rem;
}

.team-card p {
    padding: 0 1.5rem;
    margin-bottom: 0.75rem;
}

.team-card p:nth-of-type(1) {
    font-weight: 600;
    color: var(--primary-color);
}

.team-card .social-links {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.5rem 0 1.5rem;
}

.team-card .social-links a {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light-gray);
    border-radius: 50%;
    transition: background-color 0.3s;
}

.team-card .social-links a:hover {
    background-color: var(--primary-color);
}

.team-card .social-links svg {
    fill: var(--secondary-color);
    transition: fill 0.3s;
}

.team-card .social-links a:hover svg {
    fill: white;
}

.why-us {
    padding: 4rem 1rem;
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 2.5rem auto 0;
}

.feature {
    padding: 2rem 1.5rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s;
}

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

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 86, 179, 0.1);
    border-radius: 50%;
    color: var(--primary-color);
}

.feature h3 {
    margin-bottom: 1rem;
}

.feature p {
    color: var(--secondary-color);
    margin-bottom: 0;
}

.testimonials {
    padding: 4rem 1rem;
    background-color: var(--light-gray);
    text-align: center;
}

.testimonial-slider {
    max-width: 900px;
    margin: 2.5rem auto 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.testimonial {
    background-color: white;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    padding: 2rem;
    max-width: 400px;
    position: relative;
}

.testimonial::before {
    content: '\201C';
    font-family: Georgia, serif;
    font-size: 4rem;
    position: absolute;
    top: -0.5rem;
    left: 1rem;
    color: var(--primary-light);
    opacity: 0.2;
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    text-align: right;
}

.testimonial-author .name {
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.testimonial-author .title {
    color: var(--light-text);
    font-size: 0.9rem;
    margin: 0;
}

.cta-section {
    padding: 4rem 1rem;
    text-align: center;
    background-color: var(--primary-color);
    color: white;
}

.cta-section h2, .cta-section p {
    color: white;
}

.cta-section h2 {
    margin-bottom: 1rem;
}

.cta-section p {
    max-width: 600px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}

.cta-button {
    background-color: white;
    color: var(--primary-color);
    font-size: 1.1rem;
    padding: 0.85rem 2rem;
    border-radius: 50px;
}

.cta-button:hover {
    background-color: var(--accent-color);
    color: var(--dark-gray);
}

/* CONTACT PAGE
------------------------------ */
.contact-page .contact-intro {
    padding: 3rem 1rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.contact-content {
    padding: 2rem 1rem 4rem;
}

.contact-columns {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 2.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-form-column {
    background-color: white;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    padding: 2rem;
}

.contact-form-column h3 {
    margin-top: 0;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--medium-gray);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
}

.form-group input, .form-group textarea {
    padding: 0.75rem;
    border: 1px solid var(--medium-gray);
    border-radius: var(--border-radius);
    font-family: var(--font-family-sans);
}

.form-group textarea {
    resize: vertical;
}

.checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 1rem;
}

.checkbox-group input {
    width: auto;
}

.checkbox-group label {
    font-weight: normal;
    font-size: 0.9rem;
}

.form-submit {
    margin-top: 1rem;
}

.submit-button {
    width: 100%;
    padding: 0.85rem;
    font-size: 1.1rem;
}

.contact-info-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    padding: 2rem;
}

.contact-info-card h3 {
    margin-top: 0;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--medium-gray);
}

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

.contact-icon {
    color: var(--primary-color);
    margin-right: 1rem;
    flex-shrink: 0;
}

.contact-text h4 {
    margin: 0 0 0.5rem;
    font-size: 1rem;
}

.contact-text p {
    margin: 0;
    color: var(--secondary-color);
}

.social-media-contact {
    margin-top: 1.5rem;
}

.social-media-contact h4 {
    margin-bottom: 0.75rem;
}

.map-section {
    padding: 4rem 1rem;
    background-color: var(--light-gray);
}

.map-container {
    max-width: 1100px;
    margin: 2rem auto 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.faq-section {
    padding: 4rem 1rem;
}

.faq-container {
    max-width: 900px;
    margin: 2rem auto 0;
}

.faq-item {
    margin-bottom: 1.5rem;
    border: 1px solid var(--medium-gray);
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    margin: 0;
    padding: 1.25rem;
    background-color: var(--light-gray);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
}

.faq-question::after {
    content: '\002B';
    font-weight: bold;
    float: right;
    margin-left: 1rem;
    transition: transform 0.3s;
}

.faq-question.active::after {
    content: '\2212';
}

.faq-answer {
    padding: 0 1.25rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: white;
}

.faq-question.active + .faq-answer {
    max-height: 200px;
    padding: 1.25rem;
    border-top: 1px solid var(--medium-gray);
}

/* MODAL FOR CONTACT FORM
------------------------------ */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: white;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    padding: 2.5rem;
    position: relative;
    text-align: center;
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
}

.success-icon {
    color: var(--success-color);
    margin-bottom: 1.5rem;
}

.modal h3 {
    margin-bottom: 1rem;
}

.modal p {
    margin-bottom: 1.5rem;
}

.modal-button {
    padding: 0.75rem 2rem;
}

/* FOOTER
------------------------------ */
footer {
    background-color: var(--dark-gray);
    color: white;
    padding: 4rem 1rem 0;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2.5rem;
    max-width: var(--container-width);
    margin: 0 auto 2rem;
}

.footer-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo {
    width: 80px;
    height: auto;
    margin-bottom: 1rem;
    border-radius: 8px;
}

.footer-info p {
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.registrierungsnummer {
    font-size: 0.85rem;
    opacity: 0.6 !important;
}

.footer-kontakt h3, .footer-links h3, .footer-rechtliches h3, .footer-social h3 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
    position: relative;
}

.footer-kontakt h3::after, .footer-links h3::after, .footer-rechtliches h3::after, .footer-social h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.5rem;
    width: 50px;
    height: 3px;
    background-color: var(--primary-light);
}

.footer-kontakt p {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.icon-adresse, .icon-telefon, .icon-email {
    display: inline-block;
    width: 18px;
    height: 18px;
    margin-right: 0.75rem;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.6;
}

.icon-adresse {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="white" viewBox="0 0 24 24"><path d="M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z"/></svg>');
}

.icon-telefon {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="white" viewBox="0 0 24 24"><path d="M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z"/></svg>');
}

.icon-email {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="white" viewBox="0 0 24 24"><path d="M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z"/></svg>');
}

.footer-links ul, .footer-rechtliches ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li, .footer-rechtliches li {
    margin-bottom: 0.75rem;
}

.footer-links a, .footer-rechtliches a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover, .footer-rechtliches a:hover {
    color: white;
    text-decoration: none;
}

.footer-social .social-icons {
    display: flex;
    gap: 1rem;
}

.footer-social .social-icons a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.footer-social .social-icons a:hover {
    background-color: var(--primary-color);
}

.footer-social .social-icons svg {
    width: 20px;
    height: 20px;
    fill: rgba(255, 255, 255, 0.8);
}

.copyright {
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* COOKIE BANNER
------------------------------ */
.cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(33, 37, 41, 0.95);
    color: white;
    padding: 1rem;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.cookie-content p {
    margin: 0 1rem 0 0;
    flex: 1;
}

.cookie-content a {
    color: var(--primary-light);
    text-decoration: underline;
}

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

.cookie-button {
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    border: none;
    font-weight: 600;
    transition: background-color 0.3s;
}

.cookie-button.accept {
    background-color: var(--success-color);
    color: white;
}

.cookie-button.customize {
    background-color: var(--light-gray);
    color: var(--dark-gray);
}

.cookie-button.decline {
    background-color: var(--secondary-color);
    color: white;
}

.cookie-button:hover {
    opacity: 0.9;
}

/* RESPONSIVE STYLES
------------------------------ */
@media (max-width: 992px) {
    .logo-container, nav {
        width: 100%;
        justify-content: center;
        padding: 0.5rem;
    }
    
    header {
        padding: 0.5rem 0;
    }
    
    .contact-columns {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
    
    .banner {
        padding: 3rem 1rem;
    }
    
    .banner h2 {
        font-size: 2rem;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .footer-container {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .post-navigation {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .prev-post, .next-post {
        max-width: 100%;
    }
    
    .post-author-bio {
        flex-direction: column;
        text-align: center;
    }
    
    .author-image {
        margin: 0 auto 1.5rem;
    }
}

@media (max-width: 576px) {
    .newsletter-form {
        flex-direction: column;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        justify-content: center;
        width: 100%;
    }
    
    .post-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* DARK MODE SUPPORT
------------------------------ */
@media (prefers-color-scheme: dark) {
    :root {
        --body-bg: #121212;
        --text-color: #e0e0e0;
        --light-text: #aaaaaa;
        --link-color: #4c9cff;
        --link-hover-color: #75b4ff;
        --light-gray: #1e1e1e;
        --medium-gray: #2d2d2d;
        --dark-gray: #1a1a1a;
    }
    
    h1, h2, h3, h4, h5, h6 {
        color: #f0f0f0;
    }
    
    .banner, .cta-section {
        background-image: linear-gradient(135deg, #003366 0%, #001a33 100%);
    }
    
    .beitrag-karte, .post-author-bio, .feature, .team-card, .testimonial, .contact-form-column, .contact-info-card, .modal-content {
        background-color: var(--light-gray);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    }
    
    .cookie-banner {
        background-color: rgba(18, 18, 18, 0.95);
    }
    
    .post-share, .newsletter, .team-members, .testimonials, .map-section, .faq-question {
        background-color: var(--medium-gray);
    }
    
    .faq-answer {
        background-color: var(--light-gray);
    }
    
    input, textarea, select {
        background-color: var(--medium-gray);
        color: var(--text-color);
        border-color: #444;
    }
    
    footer {
        background-color: #0a0a0a;
    }
    
    .footer-links a, .footer-rechtliches a {
        color: rgba(255, 255, 255, 0.7);
    }
}

/* PRINT STYLES
------------------------------ */
@media print {
    body {
        font-size: 12pt;
        line-height: 1.5;
        color: #000;
        background-color: #fff;
    }
    
    header, footer, .banner, .newsletter, .post-share, .post-navigation, .related-posts, .cookie-banner {
        display: none;
    }
    
    a {
        color: #000;
        text-decoration: underline;
    }
    
    .container, main {
        width: 100%;
        padding: 0;
        margin: 0;
    }
    
    .post-content img {
        max-width: 100% !important;
        page-break-inside: avoid;
    }
    
    h2, h3, h4 {
        page-break-after: avoid;
    }
    
    p, ul, ol, table {
        page-break-inside: avoid;
    }
}

/* ACCESSIBILITY IMPROVEMENTS
------------------------------ */
:focus {
    outline: 2px solid var(--primary-light);
    outline-offset: 2px;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    padding: 8px;
    background-color: var(--primary-color);
    color: white;
    z-index: 1001;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

/* ANIMATIONS
------------------------------ */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.blog-post, .beitrag-karten, .team-grid, .features-grid {
    animation: fadeIn 0.6s ease-in-out;
}

.beitrag-karte, .team-card, .feature {
    animation: fadeIn 0.8s ease-in-out;
}
