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

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
    overflow-x: hidden;
}

/* Skip Link for Accessibility */
.skip-link {
    position: absolute;
    top: -42px;
    left: 6px;
    background: #000;
    color: #fff;
    padding: 8px;
    text-decoration: none;
    z-index: 1000;
    border-radius: 4px;
}

.skip-link:focus {
    top: 6px;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #2c3e50;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

strong {
    font-weight: 600;
    color: #2c3e50;
}

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

a:hover, a:focus {
    color: #c0392b;
    text-decoration: underline;
}

/* Navigation */
.navbar {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
}

.nav-logo a {
    display: block;
}

.logo-image {
    height: 80px;
    width: auto;
    max-width: none;
	padding-top: 5px;
}

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

.nav-item {
    margin: 0;
}

.nav-link {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
	font-size: 1.25rem;
}

.nav-link:hover,
.nav-link:focus {
    color: #DA0D2B;
    text-decoration: none;
}

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

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #2c3e50;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    margin-top: 100px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.225;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #2c3e50;
}

.hero-title {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    animation: fadeInUp 1s ease-out;
}

.hero-main {
    font-size: 2.75rem;
    font-weight: 600;
    color: #2c3e50;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.5);
    min-height: 3.5rem;
    max-width: 900px;
    margin: 0 auto;
}

/* Bulletpoints Container */
.hero-bullets-container {
    margin: 1.5rem auto 2rem auto;
    max-width: 600px;
}

.hero-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hero-bullets li {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.4);
    margin-bottom: 0.5rem;
    opacity: 0;
    transform: scale(0.3) translateY(-50px);
}

/* Animation startet nur wenn Klasse hinzugefügt wird */
.hero-bullets.start-animation li {
    animation: hammer-in 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

.hero-bullets.start-animation li:nth-child(1) {
    animation-delay: 0s;
}

.hero-bullets.start-animation li:nth-child(2) {
    animation-delay: 0.5s;
}

.hero-bullets.start-animation li:nth-child(3) {
    animation-delay: 1s;
}

@keyframes hammer-in {
    0% {
        opacity: 0;
        transform: scale(0.3) translateY(-50px);
    }
    50% {
        transform: scale(1.1) translateY(0);
    }
    70% {
        transform: scale(0.95);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.hero-cta {
    display: inline-block;
    padding: 0.9rem 1.8rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    background: #DA0D2B;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(0,0,0,0.18);
    transition: background 0.25s ease, transform 0.15s ease;
    opacity: 0;
    transform: scale(0);
}

/* Animation wenn Klasse hinzugefügt wird */
.hero-cta.show-cta {
    animation: pop-in 1.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

@keyframes pop-in {
    0% {
        opacity: 0;
        transform: scale(0);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.hero-cta:hover,
.hero-cta:active {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
    text-decoration: none;
    color: white;
}

.hero-cta:visited,
.hero-cta:focus {
    color: white;
    text-decoration: none;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Welcome Section */
.welcome {
    padding: 4rem 0;
    background: #ffffff;
    scroll-margin-top: 100px;
}

.welcome h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    color: #2c3e50;
}

.welcome-content {
    max-width: 1000px;
    margin: 0 auto;
    font-size: 1.1rem;
    text-align: justify;
}

/* Services Section */
.services {
    padding: 4rem 0;
    background: #f8f9fa;
    scroll-margin-top: 100px;
}

.services h2 {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 2.5rem;
    color: #2c3e50;
}

.services-intro {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.2rem;
    color: #6c757d;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.service-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e9ecef;
}

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

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

.service-icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #DA0D2B;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.service-card p {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Stats Section */
.stats {
    padding: 4rem 0;
    background: #ffffff;
}

.stats h2 {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 2.5rem;
    color: #2c3e50;
}

.stats-intro {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    color: #6c757d;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.stat-item {
    text-align: center;
    padding: 2rem 1rem;
}

.stat-number {
    font-size: 4rem;
    font-weight: 700;
    color: #DA0D2B;
    margin-bottom: 0.5rem;
    position: relative;
}

.stat-number::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #DA0D2B;
    border-radius: 2px;
}

.stat-label {
    font-size: 1.1rem;
    color: #6c757d;
    font-weight: 500;
    line-height: 1.4;
}

/* Mission Section */
.mission {
    padding: 4rem 0;
    background: #f8f9fa;
}

.mission h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.2rem;
    color: #2c3e50;
}

.mission-content {
    max-width: 1000px;
    margin: 0 auto;
    font-size: 1.1rem;
    text-align: justify;
}

.mission-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #DA0D2B;
}

.mission-content ul {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.mission-content li {
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

/* FAQ Section */
.faq {
    padding: 4rem 0;
    background: #ffffff;
    scroll-margin-top: 100px;
}

.faq h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #2c3e50;
}

.faq-list {
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
}

.faq-item summary {
    padding: 1.5rem;
    padding-right: 3.5rem;
    background: #f8f9fa;
    cursor: pointer;
    font-weight: 600;
    color: #2c3e50;
    transition: background-color 0.3s ease;
    list-style: none;
    position: relative;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: #DA0D2B;
    transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-item summary:hover {
    background: #e9ecef;
}

.faq-item summary h4.faq-question {
    margin: 0;
    padding: 0;
    display: inline;
    font: inherit;
    line-height: 1.4;
    color: inherit;
}

.faq-item summary:hover h4.faq-question {
    color: inherit;
}

.faq-item[open] summary h4.faq-question {
    color: inherit;
}

.faq-content {
    padding: 1.5rem;
    background: #ffffff;
    border-top: 1px solid #e9ecef;
}

.faq-content p {
    margin-bottom: 0;
    color: #6c757d;
    line-height: 1.6;
}

/* FAQ Kategorien & TOC */
.faq-toc {
    max-width: 1000px;
    margin: 0 auto 2rem;
}

.faq-toc-list {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem .75rem;
    list-style: none;
    padding: 0;
    margin: 0;
    justify-content: center;
}

.faq-toc-list li {
    margin: 0;
}

.faq-toc-list a {
    display: inline-block;
    padding: .5rem .9rem;
    border: 1px solid #e9ecef;
    border-radius: 999px;
    text-decoration: none;
    color: #2c3e50;
    font-size: .95rem;
    line-height: 1;
    transition: background-color .2s ease, box-shadow .2s ease;
}

.faq-toc-list a:hover,
.faq-toc-list a:focus-visible {
    background: #f8f9fa;
    outline: none;
    box-shadow: 0 0 0 3px rgba(218, 13, 43, .12);
    text-decoration: none;
}

.faq-category {
    max-width: 1000px;
    margin: 2.5rem auto;
    scroll-margin-top: 96px;
}

.faq-category-title {
    font-size: 1.35rem;
    margin: 0 0 1rem 0;
    color: #2c3e50;
    border-left: 4px solid #DA0D2B;
    padding-left: .6rem;
}

.faq-item summary:focus-visible {
    outline: none;
    box-shadow: inset 0 0 0 2px rgba(218, 13, 43, .35);
    border-radius: 6px;
}

.faq-content ol,
.faq-content ul {
    margin: .5rem 0 0 1.25rem;
}

/* Contact Section */
.contact {
    padding: 4rem 0;
    background: #f8f9fa;
    scroll-margin-top: 100px;
}

.contact h2 {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 2.5rem;
    color: #2c3e50;
}

.contact-intro {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.1rem;
    color: #6c757d;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

/* Contact Form */
.contact-form {
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2c3e50;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #DA0D2B;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Checkbox Styling */
.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    cursor: pointer;
    line-height: 1.5;
    margin-top: 0.5rem;
}

.checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.checkmark {
    width: 16px;
    height: 16px;
    display: inline-block;
    border: 2px solid #555;
    background-color: #f9f9f9;
    border-radius: 4px;
    box-shadow: inset 0 0 3px rgba(0,0,0,0.2);
    position: relative;
    flex-shrink: 0;
    margin-top: 3px;
    transition: all 0.3s ease;
}

.checkbox-label:hover .checkmark {
    border-color: #DA0D2B;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background-color: #DA0D2B;
    border-color: #DA0D2B;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.form-error {
    color: #DA0D2B;
    margin: .5rem 0 0;
    font-size: .95rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    font-family: inherit;
}

.btn-primary {
    background: #DA0D2B;
    color: white;
}

.btn-primary:hover,
.btn-primary:focus {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
    text-decoration: none;
    color: white;
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-details {
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.contact-details h3 {
    margin-bottom: 1.5rem;
    color: #DA0D2B;
    text-align: center;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.contact-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    flex-shrink: 0;
}

.contact-text {
    flex: 1;
}

.contact-text strong {
    display: block;
    color: #2c3e50;
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
}

.contact-text a {
    color: #DA0D2B;
    font-weight: 600;
    text-decoration: none;
    font-size: 1.1rem;
}

.contact-text a:hover {
    text-decoration: underline;
}

/* Fixed WhatsApp Button */
.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.whatsapp-button a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
}

.whatsapp-button a:hover {
    background: #128c7e;
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
    text-decoration: none;
    color: white;
}

.whatsapp-button a:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.whatsapp-button svg {
    width: 28px;
    height: 28px;
}

/* Footer */
footer {
    background: #2c3e50;
    color: white;
    padding: 3rem 0 1rem;
}

footer p {
    color: white !important;
}

footer .footer-section p {
    color: white !important;
}

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

.footer-section h4 {
    color: #DA0D2B;
    margin-bottom: 1rem;
}

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

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

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

.social-links a:hover {
    background: #DA0D2B;
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding: 1rem 0 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    margin: 0;
}

.footer-links {
    display: flex;
    gap: .5rem;
}

.footer-links a {
    display: inline-flex;
    align-items: center;
    position: relative;
    color: #ecf0f1;
    margin: 0;
}

.footer-links a:not(:last-child)::after {
    content: "";
    display: inline-block;
    width: 1px;
    height: 12px;
    background: #fff;
    margin-left: .5rem;
}

.footer-links a:hover {
    color: #DA0D2B;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }

    /* Navigation Mobile */
    .nav-container {
        height: 100px;
    }
    
    .logo-image {
        height: 66px  !important;
        width: auto;
		max-width: none;
        padding-top: 5px;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 100px;
        flex-direction: column;
        background-color: #ffffff;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        gap: 1rem;
    }

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

    .hamburger {
        display: flex;
        margin-right: 10px;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
    
    .hero {
        height: 60vh;
        min-height: 400px;
    }
    
    .hero-main {
        font-size: 1.75rem;
    }
    
    .hero-bullets li {
        font-size: 1.25rem;
    }
    
    .hero-cta {
        padding: 0.75rem 1.5rem;
        font-size: 1.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
	
	.stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }
    
    .stat-item {
        padding: 1rem 0.25rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-number::after {
        width: 40px;
        height: 3px;
    }
    
    .stat-label {
        font-size: 1rem;
    }
    
    .stats h2 {
        font-size: 1.8rem;
    }
    
    .stats-intro {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }

    /* Footer Mobile */
    .footer-content .social-links {
        justify-content: center;
        margin-left: auto;
        margin-right: auto;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 0.75rem;
    }

    .footer-bottom .footer-links {
        order: 1;
        justify-content: center;
        flex-wrap: wrap;
        gap: .5rem;
    }

    .footer-bottom p {
        order: 2;
        margin-bottom: 2.2rem;
    }
}

@media (max-width: 480px) {
    .hero-main {
        font-size: 1.5rem;
    }
    
    .hero-bullets li {
        font-size: 1rem;
    }
    
    .hero-cta {
        padding: 0.75rem 1.5rem;
        font-size: 1.05rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        padding: 1.25rem;
    }
    
    .contact-form,
    .contact-details {
        padding: 1.5rem;
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
}

/* Print Styles */
@media print {
    .navbar,
    footer,
    .contact,
    .whatsapp-button {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    h1, h2, h3 {
        page-break-after: avoid;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .service-card {
        border: 2px solid #000;
    }
    
    .btn-primary {
        border: 2px solid #000;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Page Content (for legal pages) */
.page-content {
    padding: 4rem 0;
    background: #ffffff;
    margin-top: 100px;
}

.legal-content {
    max-width: 1200px;
    margin: 0 auto;
    line-height: 1.7;
}

.legal-content h1 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    color: #2c3e50;
}

.legal-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #DA0D2B;
    border-bottom: 2px solid #DA0D2B;
    padding-bottom: 0.5rem;
    font-size: 1.5rem;
}

.legal-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: #2c3e50;
    font-size: 1.25rem;
}

.legal-content p {
    margin-bottom: 1rem;
    color: #333;
}

.legal-content ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

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

.legal-content a {
    color: #DA0D2B;
    text-decoration: none;
}

.legal-content a:hover {
    text-decoration: underline;
}

.company-details {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1rem 0;
    border-left: 4px solid #DA0D2B;
}

.company-details ul.mitgliedschaften {
    list-style-type: disc;
    margin: 0.25rem 0 1rem 1.5rem;
    padding: 0;
}

.company-details ul.mitgliedschaften li {
    margin: 0;
    line-height: 1.4;
}

.company-details p {
    margin-bottom: 0.5rem;
}

.company-details img {
    margin-bottom: 1rem;
}

/* Inhaltsverzeichnis (Datenschutzerklärung) */
.toc {
    margin: 1.5rem 0 2rem;
    padding: 1rem 1.25rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fafafa;
}

.toc-title {
    margin: 0 0 .5rem;
    font-size: 1.125rem;
}

.toc-list,
.toc-list ul {
    list-style: none;
    margin: 0;
    padding-left: 0;
}

.toc-list > li {
    margin: .35rem 0;
}

.toc-list ul {
    margin-top: .35rem;
    padding-left: 1rem;
}

.toc a {
    text-decoration: none;
}

.toc a:hover,
.toc a:focus {
    text-decoration: underline;
}

.legal-content section {
    scroll-margin-top: 110px;
}

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

/* Responsive adjustments for legal pages */
@media (max-width: 768px) {
    .page-content {
        padding: 20px 0 60px;
    }
    
    .legal-content h1 {
        font-size: 2rem;
    }
    
    .legal-content h2 {
        font-size: 1.25rem;
    }
    
    .legal-content h3 {
        font-size: 1.1rem;
    }
    
    .legal-content ul {
        padding-left: 1.5rem;
    }
    
    .company-details {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .legal-content h1 {
        font-size: 1.75rem;
    }
    
    .legal-content section {
        margin-bottom: 2rem;
    }
    
    .legal-content h2 {
        font-size: 1.1rem;
    }
    
    .legal-content ul {
        padding-left: 1rem;
    }
}
    