/* Reset und Basis-Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Lokale Fonts einbinden */
@font-face {
    font-family: 'Inter';
    src: url('/fonts/inter/Inter-VariableFont_opsz,wght.ttf') format('truetype-variations');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('/fonts/inter/Inter-Italic-VariableFont_opsz,wght.ttf') format('truetype-variations');
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Comic Sans MS';
    src: url('/fonts/comic_sans/Comic Sans MS.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --primary-red: #dc2626;
    --primary-red-dark: #b91c1c;
    --primary-red-light: #fef2f2;
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--white);
}

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

/* Header und Navigation */
.header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
}

.logo {
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.logo:hover {
    transform: scale(1.05) rotate(1deg);
}

.logo h1 {
    color: var(--primary-red);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    font-family: 'Comic Sans MS', 'Chalkboard SE', 'Comic Neue', 'Marker Felt', 'Bradley Hand', cursive, sans-serif;
    transition: all 0.3s ease;
}

.logo:hover h1 {
    color: var(--primary-red-dark);
    text-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);
}

.logo span {
    color: var(--primary-red);
    font-size: 0.875rem;
    font-weight: 700;
    transition: all 0.3s ease;
    font-family: 'Comic Sans MS', 'Chalkboard SE', 'Comic Neue', 'Marker Felt', 'Bradley Hand', cursive, sans-serif;
}

.logo:hover span {
    color: var(--primary-red-dark);
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--gray-700);
    font-weight: 500;
    transition: color 0.2s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-red);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-red);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    padding: 0.5rem;
    border-radius: 0.25rem;
    transition: background-color 0.2s ease;
}

.hamburger:hover {
    background-color: var(--gray-100);
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--gray-700);
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
    color: var(--white);
    padding: 8rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-background {
    display: none;
}

.hero::before {
    content: '';
    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 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h2 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Buttons */
.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--white) 0%, var(--gray-50) 100%);
    color: var(--primary-red);
    padding: 1.25rem 2.5rem;
    text-decoration: none;
    border-radius: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.cta-button.secondary {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

.cta-button.secondary:hover {
    background-color: var(--white);
    color: var(--primary-red);
}

/* Spezielle Anpassung für weiße Buttons auf roten Hintergründen */
.cta-section .cta-button {
    background-color: var(--white);
    color: var(--primary-red);
    border-color: var(--white);
}

.cta-section .cta-button:hover {
    background-color: var(--gray-50);
    color: var(--primary-red);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Services Section */
.services {
    padding: 5rem 0;
    background-color: var(--gray-50);
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--gray-900);
}

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

.service-card {
    background: linear-gradient(135deg, var(--white) 0%, var(--gray-50) 100%);
    padding: 2.5rem 2rem;
    border-radius: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-100);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red), var(--primary-red-dark));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.service-image {
    width: 100%;
    height: 200px;
    border-radius: 1rem;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.service-card p {
    color: var(--gray-600);
}

/* CTA Section */
.cta-section {
    background-color: var(--primary-red);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.25rem;
    opacity: 0.9;
}

/* About Content */
.about-content {
    padding: 5rem 0;
}

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

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--gray-900);
}

.about-text h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
    color: var(--gray-800);
}

.about-text p {
    margin-bottom: 1rem;
    color: var(--gray-600);
}

.about-text ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.about-text li {
    margin-bottom: 0.5rem;
    color: var(--gray-600);
}

.about-image {
    position: sticky;
    top: 8rem;
}

.about-image img {
    width: 100%;
    height: 400px;
    border-radius: 1rem;
    object-fit: cover;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease;
}

.about-image img:hover {
    transform: scale(1.02);
}

.about-image .image-caption {
    text-align: center;
    margin-top: 1rem;
    font-size: 1rem;
    color: var(--gray-700);
    font-weight: 500;
    font-style: italic;
}

/* Values Section */
.values {
    padding: 5rem 0;
    background-color: var(--gray-50);
}

.values h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--gray-900);
}

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

.value-card {
    background: linear-gradient(135deg, var(--white) 0%, var(--gray-50) 100%);
    padding: 2.5rem 2rem;
    border-radius: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-100);
    position: relative;
    overflow: hidden;
}

.value-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-red), var(--primary-red-dark));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.value-card:hover::after {
    transform: scaleX(1);
}

.value-card:hover {
    transform: translateY(-4px);
}

.value-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.value-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.value-card p {
    color: var(--gray-600);
}

/* Contact Content */
.contact-content {
    padding: 5rem 0;
}

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

.contact-info h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--gray-900);
}

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

.contact-icon {
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

.contact-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--gray-800);
}

.contact-item p {
    color: var(--gray-600);
}

.contact-item a {
    color: var(--primary-red);
    text-decoration: none;
    font-weight: 500;
}

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

.address-locations {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.address-location {
    padding: 1rem;
    background: var(--gray-50);
    border-radius: 0.75rem;
    border-left: 4px solid var(--primary-red);
}

.address-location h4 {
    color: var(--primary-red);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.address-location p {
    color: var(--gray-600);
    margin-bottom: 0;
    line-height: 1.5;
}

.contact-maps h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--gray-900);
}

.maps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.map-container {
    background: var(--white);
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
    padding: 1.5rem;
}

.map-container h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-red);
    text-align: center;
}

.map-container iframe {
    display: block;
    width: 100%;
    height: 300px;
    border: none;
    border-radius: 1rem;
    margin-bottom: 1rem;
}

.map-address {
    text-align: center;
    color: var(--gray-600);
    font-size: 0.875rem;
    margin: 0;
    padding: 0.75rem;
    background: var(--gray-50);
    border-radius: 0.5rem;
    border-left: 3px solid var(--primary-red);
}

/* Service Area */
.service-area {
    padding: 4rem 0;
    background-color: var(--gray-50);
    text-align: center;
}

.service-area h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.service-area p {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
}

.area-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.area-tag {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    font-weight: 600;
    font-size: 0.875rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--primary-red-dark);
}

.area-tag:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 100%);
    color: var(--white);
    padding: 6rem 0 3rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red), var(--primary-red-dark), var(--primary-red));
    opacity: 0.8;
}

/* Telefonnummer-Links im Footer - bessere Sichtbarkeit auf mobilen Geräten */
.footer a[href^="tel:"] {
    color: var(--white) !important;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer a[href^="tel:"]:hover {
    color: var(--primary-red) !important;
    text-decoration: underline;
}

.footer a[href^="tel:"]:active {
    color: var(--primary-red-light) !important;
}

/* Spezielle Anpassung für mobile Geräte */
@media (max-width: 768px) {
    .footer a[href^="tel:"] {
        color: var(--white) !important;
        background-color: rgba(220, 38, 38, 0.1);
        padding: 0.25rem 0.5rem;
        border-radius: 0.25rem;
        border: 1px solid rgba(220, 38, 38, 0.3);
    }
    
    .footer a[href^="tel:"]:hover {
        background-color: rgba(220, 38, 38, 0.2);
        border-color: rgba(220, 38, 38, 0.5);
    }
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
    align-items: start;
}

.footer-brand {
    grid-column: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-brand h3 {
    color: var(--primary-red);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: 'Comic Sans MS', 'Chalkboard SE', 'Comic Neue', 'Marker Felt', 'Bradley Hand', cursive, sans-serif;
    text-align: center;
}

.footer-brand p {
    color: var(--gray-300);
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.6;
    max-width: 300px;
    text-align: center;
}

.footer-brand .brand-tagline {
    color: var(--gray-400);
    font-style: italic;
    font-size: 1.1rem;
    font-weight: 700;
    text-align: center;
}

.footer-addresses {
    margin-bottom: 1rem;
}

.footer-address {
    margin-bottom: 0.5rem;
}

.footer-address p {
    color: var(--gray-300);
    font-size: 0.9rem;
    line-height: 1.4;
    text-align: center;
}

.footer-address strong {
    color: var(--primary-red);
    font-weight: 600;
}

.footer-links {
    grid-column: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-links h4 {
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    text-align: center;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 2rem;
    height: 2px;
    background-color: var(--primary-red);
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.footer-links li {
    margin-bottom: 0;
    text-align: center;
}

.footer-links a {
    color: var(--gray-300);
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    text-align: center;
}

.footer-links a:hover {
    color: var(--primary-red);
    transform: translateX(5px);
}

.footer-contact {
    grid-column: 3;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-contact h4 {
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    text-align: center;
}

.footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 2rem;
    height: 2px;
    background-color: var(--primary-red);
}

.footer-contact p {
    color: var(--gray-300);
    margin-bottom: 0.75rem;
    font-size: 1rem;
    line-height: 1.6;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    text-align: center;
}

.footer-contact .contact-icon {
    color: var(--primary-red);
    font-size: 1.1rem;
}

.footer-credit {
    text-align: center;
    margin: 2rem auto;
    padding: 1.5rem;
    border: 1px solid var(--gray-200);
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    width: fit-content;
    display: block;
}

.footer-credit p {
    color: var(--gray-300);
    font-size: 0.85rem;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.footer-credit a {
    color: #00CED1;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.footer-credit a:hover {
    color: #40E0E0;
    text-decoration: underline;
}

/* Mobile responsive adjustments for footer credit */
    @media (max-width: 768px) {
        .footer-credit {
            margin: 1.5rem auto;
            padding: 1rem;
            border-radius: 0.5rem;
        }
    
    .footer-credit p {
        font-size: 0.9rem;
        flex-direction: column;
        gap: 0.25rem;
    }
}

.footer-bottom {
    border-top: 1px solid var(--gray-700);
    padding-top: 2rem;
    text-align: center;
    color: var(--gray-400);
    font-size: 0.9rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom .copyright {
    color: var(--gray-400);
}

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

.footer-bottom .footer-nav a {
    color: var(--gray-400);
    text-decoration: none;
    transition: color 0.3s ease;
}

    .footer-bottom .footer-nav a:hover {
        color: var(--primary-red);
    }

/* Karriere-Seite */
.career-intro {
    padding: 5rem 0;
}

.career-intro-content h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--gray-900);
}

.career-intro-content > p {
    text-align: center;
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.team-image-section {
    text-align: center;
    margin: 3rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
    border-radius: 1.5rem;
    border: 1px solid var(--gray-200);
}

.team-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.team-image:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 10px 10px -5px rgb(0 0 0 / 0.04);
}

.team-image-caption {
    font-size: 1.1rem;
    color: var(--gray-700);
    font-weight: 500;
    font-style: italic;
    margin: 0;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

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

.benefit-item {
    background: linear-gradient(135deg, var(--white) 0%, var(--gray-50) 100%);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-100);
}

.benefit-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.benefit-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.benefit-item p {
    color: var(--gray-600);
    font-size: 0.9rem;
}

.job-listings {
    padding: 5rem 0;
    background-color: var(--gray-50);
}

.job-listings h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--gray-900);
}

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

.job-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-100);
}

.job-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.job-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-900);
    line-height: 1.3;
}

.job-type {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

.job-details {
    background-color: var(--gray-50);
    padding: 1.5rem;
    border-radius: 1rem;
    margin-bottom: 1.5rem;
}

.job-details p {
    margin-bottom: 0.5rem;
    color: var(--gray-700);
    font-size: 0.95rem;
}

.job-description,
.job-requirements {
    margin-bottom: 1.5rem;
}

.job-description h4,
.job-requirements h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--gray-800);
}

.job-description ul,
.job-requirements ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.job-description li,
.job-requirements li {
    margin-bottom: 0.5rem;
    color: var(--gray-600);
    font-size: 0.95rem;
}

.job-card .cta-button {
    width: 100%;
    text-align: center;
    margin-top: 1rem;
}

.application-process {
    padding: 5rem 0;
}

.application-process h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--gray-900);
}

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

.process-step {
    text-align: center;
    padding: 2rem 1rem;
}

.step-number {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
    color: var(--white);
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.process-step h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.process-step p {
    color: var(--gray-600);
    font-size: 0.95rem;
}

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

.career-cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.career-cta p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.career-cta .cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Spezielle Anpassung für Buttons auf roten Hintergründen der Karriere-Seite */
.career-cta .cta-button {
    background-color: var(--white);
    color: var(--primary-red);
    border-color: var(--white);
}

.career-cta .cta-button:hover {
    background-color: var(--gray-50);
    color: var(--primary-red);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Modern Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-red);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-red-dark);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--white);
        flex-direction: column;
        padding: 1rem;
        box-shadow: var(--shadow-lg);
        gap: 1rem;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu li {
        text-align: center;
        padding: 0.5rem 0;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1.125rem;
    }
    
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-image {
        position: static;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .services-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .area-list {
        justify-content: center;
        gap: 0.75rem;
    }
    
    .area-tag {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
        align-items: center;
    }
    
    .contact-icon {
        margin-top: 0;
        font-size: 2rem;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
    }
    
    .address-locations {
        gap: 1rem;
    }
    
    .address-location {
        padding: 0.75rem;
    }
    
    .footer-addresses {
        margin-bottom: 1.5rem;
    }
    
    .footer-address {
        margin-bottom: 0.75rem;
    }
    
    .maps-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .map-container {
        padding: 1rem;
    }
    
    .map-container iframe {
        height: 250px;
    }
    
    /* Footer Mobile Optimierung */
    .footer {
        padding: 4rem 0 2rem;
    }
    
    .footer-content {
        display: flex;
        flex-direction: column;
        gap: 2.5rem;
        text-align: center;
        margin-bottom: 2.5rem;
    }
    
    .footer-brand {
        order: 1;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    .footer-brand h3 {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
        text-align: center;
    }
    
    .footer-brand p {
        font-size: 0.95rem;
        margin-bottom: 0.75rem;
        max-width: 100%;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
    
    .footer-links {
        order: 2;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    .footer-links h4 {
        font-size: 1.25rem;
        margin-bottom: 1rem;
        text-align: center;
    }
    
    .footer-links ul {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
        text-align: center;
        width: 100%;
    }
    
    .footer-links li {
        margin-bottom: 0;
        text-align: center;
        width: 100%;
    }
    
    .footer-links a {
        text-align: center;
        display: block;
        width: 100%;
    }
    
    .footer-contact {
        order: 3;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    .footer-contact h4 {
        font-size: 1.25rem;
        margin-bottom: 1rem;
        text-align: center;
    }
    
    .footer-contact p {
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
        justify-content: center;
        text-align: center;
        width: 100%;
        gap: 0.15rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        padding-top: 1.5rem;
    }
    
    .footer-bottom .copyright {
        text-align: center;
    }
    
    .footer-bottom .footer-nav {
        gap: 1.5rem;
        justify-content: center;
        text-align: center;
    }
    
    .footer-bottom .footer-nav a {
        text-align: center;
    }
    
    /* Karriere-Seite Mobile */
    .career-intro {
        padding: 3rem 0;
    }
    
    .career-intro-content h2 {
        font-size: 2rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .benefit-item {
        padding: 1.5rem;
    }
    
    .job-listings {
        padding: 3rem 0;
    }
    
    .job-listings h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .job-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .job-card {
        padding: 2rem 1.5rem;
    }
    
    .job-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .job-header h3 {
        font-size: 1.25rem;
    }
    
    .application-process {
        padding: 3rem 0;
    }
    
    .application-process h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .career-cta {
        padding: 3rem 0;
    }
    
    .career-cta h2 {
        font-size: 2rem;
    }
    
    .career-cta .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero {
        padding: 2.5rem 0;
    }
    
    .hero-content h2 {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }
    
    .hero-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .page-header {
        padding: 2.5rem 0;
    }
    
    .page-header h1 {
        font-size: 1.75rem;
    }
    
    .page-header p {
        font-size: 1rem;
    }
    
    .services,
    .values,
    .about-content,
    .contact-content,
    .service-area {
        padding: 2.5rem 0;
    }
    
    .services h2,
    .values h2,
    .about-text h2,
    .contact-info h2,
    .service-area h2 {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }
    
    .service-card,
    .value-card {
        padding: 1.5rem 1rem;
    }
    
    .service-image {
        height: 150px;
    }
    
    .about-image img {
        height: 250px;
        object-position: top center;
    }
    
    .cta-button {
        padding: 1rem 2rem;
        font-size: 0.9rem;
    }
    
    .area-tag {
        padding: 0.5rem 0.75rem;
        font-size: 0.75rem;
    }
    
    .logo h1 {
        font-size: 1.25rem;
    }
    
    .logo span {
        font-size: 0.75rem;
    }
    
    .logo:hover {
        transform: scale(1.03) rotate(0.5deg);
    }
    
    .logo:hover span {
        transform: scale(1.01);
    }
    
    /* Footer Mobile Optimierung für sehr kleine Bildschirme */
    .footer {
        padding: 2.5rem 0 1.5rem;
    }
    
    .footer-content {
        gap: 2rem;
        margin-bottom: 2rem;
        text-align: center;
    }
    
    .footer-brand {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    .footer-brand h3 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
        text-align: center;
    }
    
    .footer-brand p {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
    
    .footer-links {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    .footer-links h4 {
        font-size: 1.125rem;
        margin-bottom: 1rem;
        text-align: center;
    }
    
    .footer-links a {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
        text-align: center;
        display: block;
        width: 100%;
    }
    
    .footer-contact {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    .footer-contact h4 {
        font-size: 1.125rem;
        margin-bottom: 1rem;
        text-align: center;
    }
    
    .footer-contact p {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
        text-align: center;
        justify-content: center;
        width: 100%;
        gap: 0.15rem;
    }
    
    .footer-bottom {
        gap: 1rem;
        padding-top: 1rem;
        text-align: center;
    }
    
    .footer-bottom .copyright {
        text-align: center;
    }
    
    .footer-bottom .footer-nav {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }
    
    .footer-bottom .footer-nav a {
        text-align: center;
    }
    
    /* Karriere-Seite Mobile für sehr kleine Bildschirme */
    .career-intro,
    .job-listings,
    .application-process,
    .career-cta {
        padding: 2.5rem 0;
    }
    
    .career-intro-content h2,
    .job-listings h2,
    .application-process h2,
    .career-cta h2 {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }
    
    .benefits-grid {
        gap: 1.5rem;
        margin-top: 1.5rem;
    }
    
    .benefit-item {
        padding: 1.25rem;
    }
    
    .benefit-icon {
        font-size: 2.5rem;
        margin-bottom: 0.75rem;
    }
    
    .job-card {
        padding: 1.5rem 1rem;
    }
    
    .job-header h3 {
        font-size: 1.125rem;
    }
    
    .job-details {
        padding: 1rem;
    }
    
    .process-steps {
        gap: 1.5rem;
    }
    
    .step-number {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1rem;
        margin-bottom: 1rem;
    }
}

/* Zusätzliche Optimierungen für sehr kleine Bildschirme */
@media (max-width: 360px) {
    .container {
        padding: 0 0.75rem;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
    }
    
    .hero-content p {
        font-size: 0.9rem;
    }
    
    .page-header h1 {
        font-size: 1.5rem;
    }
    
    .page-header p {
        font-size: 0.9rem;
    }
    
    .services h2,
    .values h2,
    .about-text h2,
    .contact-info h2,
    .service-area h2,
    .career-intro-content h2,
    .job-listings h2,
    .application-process h2,
    .career-cta h2 {
        font-size: 1.5rem;
    }
    
    .cta-button {
        padding: 0.875rem 1.5rem;
        font-size: 0.875rem;
    }
    
    .area-tag {
        padding: 0.5rem 0.75rem;
        font-size: 0.75rem;
    }
    
    .logo h1 {
        font-size: 1.125rem;
    }
    
    .logo span {
        font-size: 0.7rem;
    }
    
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-content {
        gap: 1.5rem;
        margin-bottom: 1.5rem;
        text-align: center;
    }
    
    .footer-brand {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    .footer-brand h3 {
        font-size: 1.25rem;
        text-align: center;
    }
    
    .footer-links {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    .footer-links h4 {
        font-size: 1rem;
        text-align: center;
    }
    
    .footer-contact {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    .footer-contact h4 {
        font-size: 1rem;
        text-align: center;
    }
    
    .footer-contact p {
        gap: 0.1rem;
    }
    
    .footer-bottom {
        text-align: center;
    }
    
    .footer-bottom .footer-nav {
        gap: 0.75rem;
        text-align: center;
        justify-content: center;
    }
    
    .footer-bottom .footer-nav a {
        font-size: 0.8rem;
        text-align: center;
    }
}

/* Wärmepumpen-Seite Styles */
.heatpump-advantages {
    padding: 4rem 0;
    background-color: var(--gray-50);
}

.advantages-content h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--gray-800);
}

.advantages-content > p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    color: var(--gray-600);
}

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

.advantage-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.advantage-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.advantage-item h3 {
    color: var(--primary-red);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.advantage-item p {
    color: var(--gray-600);
    line-height: 1.6;
}

/* Vergleichstabelle */
.comparison-section {
    padding: 4rem 0;
}

.comparison-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--gray-800);
}

.comparison-table {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.comparison-header {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    background: var(--primary-red);
    color: var(--white);
    font-weight: 600;
}

.comparison-header .comparison-cell {
    padding: 1.5rem;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.comparison-header .comparison-cell:last-child {
    border-right: none;
}

.comparison-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    border-bottom: 1px solid var(--gray-200);
}

.comparison-row:last-child {
    border-bottom: none;
}

.comparison-cell {
    padding: 1.5rem;
    text-align: center;
    border-right: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
}

.comparison-row .comparison-cell:first-child {
    background: var(--gray-50);
    font-weight: 600;
    color: var(--gray-800);
}

.comparison-row .comparison-cell:last-child {
    border-right: none;
}

.comparison-cell.positive {
    color: #059669;
    font-weight: 600;
}

.comparison-cell.negative {
    color: #dc2626;
    font-weight: 600;
}

.comparison-cell.neutral {
    color: var(--gray-600);
}

/* Partner-Sektion */
.partners-section {
    padding: 4rem 0;
    background-color: var(--gray-50);
}

.partners-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--gray-800);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.partner-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
}

.partner-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.partner-card h3 {
    color: var(--primary-red);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.partner-card p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.partner-logo {
    width: 120px;
    height: auto;
    margin: 0 auto 1.5rem;
    display: block;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.partner-link {
    display: inline-block;
    background: var(--primary-red);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.partner-link:hover {
    background: var(--primary-red-dark);
    transform: translateY(-2px);
}

/* Wärmepumpen CTA */
.heatpump-cta {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
    color: var(--white);
}

.heatpump-cta h2 {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--white);
}

.heatpump-cta p {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    opacity: 0.9;
}

.heatpump-cta .cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.heatpump-cta .cta-button {
    background: var(--white);
    color: var(--primary-red);
    border: 2px solid var(--white);
}

.heatpump-cta .cta-button:hover {
    background: transparent;
    color: var(--white);
}

.heatpump-cta .cta-button.secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.heatpump-cta .cta-button.secondary:hover {
    background: var(--white);
    color: var(--primary-red);
}

/* Vereinfachte Bewerbung Styles */
.simple-application {
    background: var(--white);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    max-width: 800px;
    margin: 0 auto;
}

.application-info h3 {
    color: var(--primary-red);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    text-align: center;
}

.application-info > p {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    color: var(--gray-600);
}

.application-requirements {
    background: var(--gray-50);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.application-requirements h4 {
    color: var(--gray-800);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.application-requirements ul {
    list-style: none;
    padding: 0;
}

.application-requirements li {
    padding: 0.5rem 0;
    color: var(--gray-600);
    position: relative;
    padding-left: 1.5rem;
}

.application-requirements li::before {
    content: "✓";
    color: var(--primary-red);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.application-email {
    text-align: center;
    padding: 2rem;
    background: var(--primary-red-light);
    border-radius: 12px;
    border: 2px solid var(--primary-red);
}

.application-email h4 {
    color: var(--gray-800);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.email-link {
    display: inline-block;
    background: var(--primary-red);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    margin: 1rem 0;
    transition: all 0.3s ease;
}

.email-link:hover {
    background: var(--primary-red-dark);
    transform: translateY(-2px);
}

.email-note {
    color: var(--gray-600);
    font-style: italic;
    margin: 0;
}

/* Responsive Design für neue Elemente */
@media (max-width: 768px) {
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .comparison-table {
        margin: 0 1rem;
        overflow-x: auto;
    }
    
    .comparison-header,
    .comparison-row {
        grid-template-columns: 1fr 1fr 1fr;
        min-width: 600px;
    }
    
    .comparison-header .comparison-cell,
    .comparison-row .comparison-cell {
        border-right: 1px solid var(--gray-200);
        border-bottom: 1px solid var(--gray-200);
        padding: 1rem 0.75rem;
        font-size: 0.875rem;
    }
    
    .comparison-row .comparison-cell:first-child {
        background: var(--gray-100);
        font-weight: 600;
    }
    
    .comparison-header .comparison-cell {
        background: var(--primary-red);
        color: var(--white);
        font-weight: 600;
    }
    
    /* Zusätzliche mobile Optimierungen für die Vergleichstabelle */
    .comparison-section {
        padding: 2rem 0;
    }
    
    .comparison-section h2 {
        font-size: 1.5rem;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }
    
    .comparison-table {
        border-radius: 8px;
        box-shadow: var(--shadow-sm);
    }
    
    .comparison-cell {
        word-wrap: break-word;
        hyphens: auto;
    }
    
    .partners-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .simple-application {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }
    
    .heatpump-cta .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .heatpump-cta .cta-button {
        width: 100%;
        max-width: 300px;
    }
}

/* Impressum und Datenschutz Styles */
.impressum-content,
.datenschutz-content {
    padding: 4rem 0;
}

.impressum-grid,
.datenschutz-grid {
    display: grid;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.impressum-section,
.datenschutz-section {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary-red);
}

.impressum-section h2,
.datenschutz-section h2 {
    color: var(--primary-red);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.impressum-section h3,
.datenschutz-section h3 {
    color: var(--gray-800);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.impressum-section p,
.datenschutz-section p {
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.impressum-section ul,
.datenschutz-section ul {
    color: var(--gray-600);
    line-height: 1.6;
    margin-left: 1.5rem;
}

.impressum-section ul li,
.datenschutz-section ul li {
    margin-bottom: 0.5rem;
}

.impressum-section a,
.datenschutz-section a {
    color: var(--primary-red);
    text-decoration: none;
    transition: color 0.3s ease;
}

.impressum-section a:hover,
.datenschutz-section a:hover {
    color: var(--primary-red-dark);
    text-decoration: underline;
}

/* Footer Legal Links */
.footer-legal {
    display: flex;
    gap: 1rem;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: center;
    margin-top: 1rem;
}

.footer-legal a {
    color: var(--gray-600);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--primary-red);
}

/* Responsive Design für Impressum und Datenschutz */
@media (max-width: 768px) {
    .impressum-grid,
    .datenschutz-grid {
        margin: 0 1rem;
    }
    
    .impressum-section,
    .datenschutz-section {
        padding: 1.5rem;
    }
    
    .footer-legal {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
}

/* Datenschutz-Seite Styling */
.datenschutz-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.datenschutz-content h1 {
    font-size: 2.5rem;
    color: var(--primary-red);
    margin-bottom: 2rem;
    text-align: center;
    border-bottom: 3px solid var(--primary-red);
    padding-bottom: 1rem;
}

.datenschutz-content h2 {
    font-size: 1.8rem;
    color: var(--primary-red);
    margin: 2.5rem 0 1rem 0;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-200);
}

.datenschutz-content h3 {
    font-size: 1.4rem;
    color: var(--dark-gray);
    margin: 1.5rem 0 0.75rem 0;
    font-weight: 600;
}

.datenschutz-content h4 {
    font-size: 1.2rem;
    color: var(--dark-gray);
    margin: 1.25rem 0 0.5rem 0;
    font-weight: 600;
}

.datenschutz-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: var(--text-color);
}

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

.datenschutz-content li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
    color: var(--text-color);
}

.datenschutz-content a {
    color: var(--primary-red);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.datenschutz-content a:hover {
    color: var(--dark-red);
}

.datenschutz-content strong {
    font-weight: 600;
    color: var(--dark-gray);
}

/* Responsive Design für Datenschutz */
@media (max-width: 768px) {
    .datenschutz-content {
        padding: 1rem;
    }
    
    .datenschutz-content h1 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .datenschutz-content h2 {
        font-size: 1.5rem;
        margin: 2rem 0 1rem 0;
    }
    
    .datenschutz-content h3 {
        font-size: 1.3rem;
        margin: 1.25rem 0 0.75rem 0;
    }
    
    .datenschutz-content h4 {
        font-size: 1.1rem;
        margin: 1rem 0 0.5rem 0;
    }
    
    .datenschutz-content ul {
        margin-left: 1.5rem;
    }
}

/* Impressum-Seite Styling */
.impressum-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.impressum-content h1 {
    font-size: 2.5rem;
    color: var(--primary-red);
    margin-bottom: 2rem;
    text-align: center;
    border-bottom: 3px solid var(--primary-red);
    padding-bottom: 1rem;
}

.impressum-content h2 {
    font-size: 1.8rem;
    color: var(--primary-red);
    margin: 2.5rem 0 1rem 0;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-200);
}

.impressum-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: var(--text-color);
}

.impressum-content a {
    color: var(--primary-red);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.impressum-content a:hover {
    color: var(--dark-red);
}

.impressum-content strong {
    font-weight: 600;
    color: var(--dark-gray);
}

/* Responsive Design für Impressum */
@media (max-width: 768px) {
    .impressum-content {
        padding: 1rem;
    }
    
    .impressum-content h1 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .impressum-content h2 {
        font-size: 1.5rem;
        margin: 2rem 0 1rem 0;
    }
}
