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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Header */
header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-top {
    background: linear-gradient(135deg, #0d5f3e 0%, #1a8559 100%);
    color: white;
    padding: 0.75rem 0;
    font-size: 0.9rem;
}

.header-top-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.contact-info-top {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.contact-info-top span {
    display: flex;
    align-items: center;
    font-weight: 500;
    letter-spacing: 0.3px;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 50px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

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

.nav-links a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
    color: #0d5f3e;
    border-bottom-color: #0d5f3e;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: #0d5f3e;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(13, 95, 62, 0.9) 0%, rgba(26, 133, 89, 0.9) 100%),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><rect fill="%23e8f5f0" width="1200" height="800"/><circle cx="200" cy="200" r="150" fill="%23d0ebe0" opacity="0.5"/><circle cx="1000" cy="600" r="200" fill="%23d0ebe0" opacity="0.5"/></svg>');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 6rem 2rem;
    text-align: center;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-hero {
    background: linear-gradient(135deg, #0d5f3e 0%, #1a8559 100%);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
}

.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1.3rem;
    opacity: 0.95;
}

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

.btn {
    padding: 1rem 2.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: white;
    color: #0d5f3e;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #0d5f3e;
}

.btn-secondary-map {
    background: #1a8559;
    color: white ;
    border: 2px solid white;
}

.btn-secondary-map:hover {
    background: white;
    color: #1a8559;
}

.btn-full {
    width: 100%;
}

/* Info Banner */
.info-banner {
    background: #f8faf9;
    padding: 3rem 2rem;
    text-align: center;
}

.info-banner-content {
    max-width: 900px;
    margin: 0 auto;
}

.info-banner h2 {
    color: #0d5f3e;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.info-banner p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
}

/* Services Section */
.services {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    color: #0d5f3e;
    font-size: 2.8rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    color: #666;
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

/* Carousel Container */
.carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 3rem auto;
}

.service-carousel {
    overflow: hidden;
    padding: 1rem 0;
}

.service-carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 2.5rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s;
    border-top: 4px solid #0d5f3e;
    flex: 0 0 calc(33.333% - 1.667rem);
    min-width: calc(33.333% - 1.667rem);
}

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

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: block;
}

.service-card h3 {
    color: #0d5f3e;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.service-card p {
    color: #666;
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Carousel Navigation Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: 2px solid #0d5f3e;
    color: #0d5f3e;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.carousel-btn:hover {
    background: #0d5f3e;
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-btn-prev {
    left: -25px;
}

.carousel-btn-next {
    right: -25px;
}

/* Carousel Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 2rem;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #d0d0d0;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}

.carousel-dot:hover {
    background: #0d5f3e;
    transform: scale(1.2);
}

.carousel-dot.active {
    background: #0d5f3e;
    width: 30px;
    border-radius: 6px;
}

/* Old grid (kept for other pages if needed) */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

/* Service Detail Page */
.services-detail {
    padding: 4rem 2rem;
    background: #f8faf9;
}

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

.intro-text {
    text-align: center;
    margin-bottom: 4rem;
}

.intro-text h2 {
    color: #0d5f3e;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.intro-text p {
    font-size: 1.2rem;
    color: #555;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.service-detail-carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 2.5rem;
}

.service-detail-card {
    background: white;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s;
    flex: 0 0 calc(33.333% - 1.667rem);
    min-width: calc(33.333% - 1.667rem);
}

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

.service-detail-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.service-detail-card h3 {
    color: #0d5f3e;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.service-detail-card p {
    color: #555;
    margin-bottom: 1rem;
    font-weight: 500;
}

.service-detail-card ul {
    list-style: none;
    padding: 0;
}

.service-detail-card li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #666;
    line-height: 1.6;
}

.service-detail-card li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #0d5f3e;
    font-weight: bold;
}

/* Old grid (kept for compatibility) */
.service-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.service-cta {
    background: white;
    padding: 3rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

/* mea Partner Section */
.mea-partner-section {
    background: linear-gradient(135deg, #0d5f3e 0%, #13915f 100%);
    padding: 4rem 3rem;
    border-radius: 15px;
    margin: 3rem 0;
    box-shadow: 0 10px 40px rgba(13, 95, 62, 0.3);
    text-align: center;
}

.mea-content .mea-logo {
    width: 260px;
    height: auto;
    max-width: 100%;
    display: block;
    margin: 0 auto 1.5rem;
}

.mea-content h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.mea-content p {
    color: white;
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.mea-content strong {
    /* color: #ffeb3b; */
    font-weight: 800;
}

.btn-mea {
    display: inline-block;
    background: white;
    color: #0d5f3e;
    padding: 1.2rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.btn-mea-with-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.9rem;
}

.btn-mea-with-logo .btn-mea-logo {
    height: 34px;
    width: auto;
    flex: 0 0 auto;
}

.btn-mea-with-logo > span {
    line-height: 1.1;
}

.btn-mea:hover {
    color: #0d5f3e;
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
}

@media (max-width: 768px) {
    .mea-partner-section {
        padding: 2.5rem 1.5rem;
    }

    .mea-content .mea-logo {
        width: 200px;
        margin-bottom: 1.25rem;
    }
    
    .mea-content h2 {
        font-size: 1.8rem;
    }
    
    .mea-content p {
        font-size: 1.05rem;
    }

    .btn-mea-with-logo {
        justify-content: flex-start;
        gap: 0.9rem;
    }

    .btn-mea-with-logo .btn-mea-logo {
        height: 30px;
    }

    .hero .btn-mea {
        padding: 1rem 1.5rem;
    }
}

/* Kundenkarte Section */
.kundenkarte-section {
    background: linear-gradient(135deg, #0d5f3e 0%, #1a8555 100%);
    color: white;
    padding: 4rem 3rem;
    border-radius: 15px;
    margin: 3rem 0;
    box-shadow: 0 10px 40px rgba(13, 95, 62, 0.3);
}

.kundenkarte-section h2 {
    color: white;
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.kundenkarte-intro {
    text-align: center;
    font-size: 1.1rem;
    max-width: 900px;
    margin: 0 auto 3rem;
    line-height: 1.8;
    opacity: 0.95;
}

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

.benefit-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s;
}

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

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

.benefit-card h3 {
    color: white;
    font-size: 1.6rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.benefit-card p {
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.bonus-note {
    font-size: 0.9rem;
    opacity: 0.85;
    margin-top: 1.5rem;
}

.kundenkarte-cta {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.kundenkarte-cta p {
    font-size: 1.2rem;
    margin: 0;
    color: white;
}

@media (max-width: 768px) {
    .kundenkarte-section {
        padding: 2.5rem 1.5rem;
    }
    
    .kundenkarte-section h2 {
        font-size: 1.8rem;
    }
    
    .kundenkarte-benefits {
        grid-template-columns: 1fr;
    }
}

.service-cta h2 {
    color: #0d5f3e;
    margin-bottom: 1rem;
}

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

/* Languages Section */
.languages-section {
    background: linear-gradient(135deg, #0d5f3e 0%, #1a8559 100%);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
}

.languages-content {
    max-width: 1000px;
    margin: 0 auto;
}

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

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

.language-card {
    background: rgba(255,255,255,0.15);
    padding: 1.5rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    transition: all 0.3s;
}

.language-card:hover {
    background: rgba(255,255,255,0.25);
    transform: scale(1.05);
}

.language-flag {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.language-name {
    font-weight: 600;
    font-size: 1.1rem;
}

/* Contact Section */
.contact-preview {
    padding: 5rem 2rem;
    background: #f8faf9;
}

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

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

.contact-card {
    background: white;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.contact-card h3 {
    color: #0d5f3e;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.contact-icon {
    font-size: 2rem;
}

.contact-item {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8faf9;
    border-radius: 8px;
    transition: all 0.3s;
}

.contact-item:hover {
    background: #e8f5f0;
}

.contact-label {
    font-weight: 600;
    color: #0d5f3e;
    display: block;
    margin-bottom: 0.3rem;
}

.contact-value {
    color: #555;
    font-size: 1.1rem;
}

/* Contact Page */
.contact-page {
    padding: 4rem 2rem;
    background: #f8faf9;
}

.contact-page-container {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-intro {
    text-align: center;
    margin-bottom: 4rem;
}

.contact-intro h2 {
    color: #0d5f3e;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-intro p {
    font-size: 1.2rem;
    color: #555;
    max-width: 800px;
    margin: 0 auto;
}

.contact-main-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

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

.contact-info-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.contact-info-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-big-icon {
    font-size: 2.5rem;
}

.contact-info-header h3 {
    color: #0d5f3e;
    font-size: 1.5rem;
}

.contact-info-details {
    color: #555;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
    border-bottom: 1px solid #f0f0f0;
}

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

.info-label {
    font-weight: 600;
    color: #0d5f3e;
}

.info-link {
    color: #0d5f3e;
    text-decoration: none;
    font-weight: 500;
}

.info-link:hover {
    text-decoration: underline;
}

.info-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    font-style: italic;
    color: #888;
}

address {
    font-style: normal;
    line-height: 1.8;
}

.opening-hours {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
}

.day {
    font-weight: 600;
    color: #0d5f3e;
}

.time {
    color: #555;
}

/* Contact Form */
.form-card {
    background: white;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.form-card h3 {
    color: #0d5f3e;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.form-description {
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

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

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

.form-group label {
    color: #0d5f3e;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    padding: 0.8rem;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

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

.checkbox-group label {
    flex-direction: row;
    align-items: flex-start;
    gap: 0.8rem;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 0.3rem;
    cursor: pointer;
}

.checkbox-group span {
    flex: 1;
    color: #666;
    font-weight: normal;
    font-size: 0.95rem;
}

.form-message {
    padding: 1rem;
    border-radius: 5px;
    margin-top: 1rem;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* Languages Contact */
.languages-contact {
    background: white;
    padding: 3rem;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 4rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.languages-contact h3 {
    color: #0d5f3e;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.languages-contact p {
    color: #666;
    margin-bottom: 2rem;
}

.language-tags-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.language-tag {
    background: #0d5f3e;
    color: white;
    padding: 0.7rem 1.5rem;
    border-radius: 25px;
    font-weight: 500;
    font-size: 1.05rem;
}

/* Map Section */
.map-section {
    background: white;
    padding: 3rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.map-section h3 {
    color: #0d5f3e;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.map-section p {
    color: #666;
    margin-bottom: 2rem;
}

.map-placeholder {
    background: #f8faf9;
    padding: 3rem;
    border-radius: 10px;
    border: 2px dashed #0d5f3e;
}

.map-placeholder p {
    font-size: 1.3rem;
    color: #0d5f3e;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

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

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

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.footer-section p,
.footer-section a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    line-height: 2;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.2);
    text-align: center;
    color: rgba(255,255,255,0.7);
}

/* Responsive */
@media (max-width: 968px) {
    .contact-main-grid {
        grid-template-columns: 1fr;
    }

    .service-detail-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero h1,
    .page-hero h1 {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem 2rem;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        gap: 0;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        padding: 0.8rem 0;
        border-bottom: 1px solid #f0f0f0;
    }

    .mobile-menu-btn {
        display: flex;
        margin-left: 14px;
    }

    .header-top-content {
        padding: 0 1rem;
        justify-content: center;
    }

    .contact-info-top {
        flex-direction: column;
        gap: 0.5rem;
        font-size: 0.8rem;
        text-align: center;
        align-items: center;
    }

    .contact-info-top span {
        font-size: 0.8rem;
        display: block;
    }

    .section-title {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 400px;
    }

    .languages-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }

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

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

    /* Mobile Carousel Styles */
    .service-card {
        flex: 0 0 100%;
        min-width: 100%;
    }

    .service-detail-card {
        flex: 0 0 100%;
        min-width: 100%;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .carousel-btn-prev {
        left: 10px;
    }

    .carousel-btn-next {
        right: 10px;
    }

    .carousel-container {
        padding: 0 0.5rem;
    }
}

/* About Page Styles */
.about-section {
    padding: 4rem 2rem;
    background: #f8faf9;
}

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

.about-intro {
    text-align: center;
    margin-bottom: 4rem;
}

.about-intro h2 {
    color: #0d5f3e;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.lead-text {
    font-size: 1.3rem;
    color: #555;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
}

.about-content-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.about-text {
    background: white;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.about-text h3 {
    color: #0d5f3e;
    font-size: 1.8rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.about-text h3:first-child {
    margin-top: 0;
}

.about-text p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 1rem 0;
    border-bottom: 1px solid #f0f0f0;
    color: #555;
    line-height: 1.6;
}

.feature-list li:last-child {
    border-bottom: none;
}

.about-image-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s;
}

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

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

.about-card h4 {
    color: #0d5f3e;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.about-card p {
    color: #666;
    line-height: 1.6;
}

.team-section,
.history-section,
.values-section {
    margin-bottom: 4rem;
}

.team-section h2,
.history-section h2,
.values-section h2 {
    color: #0d5f3e;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
}

.section-intro {
    text-align: center;
    color: #666;
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

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

.team-card {
    background: white;
    padding: 2.5rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

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

.team-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.team-card h4 {
    color: #0d5f3e;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.team-role {
    color: #888;
    font-size: 0.95rem;
    font-style: italic;
    margin-bottom: 1rem;
}

.team-card p {
    color: #666;
    line-height: 1.6;
}

.history-content {
    background: white;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.history-content p {
    color: #555;
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

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

.value-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

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

.value-card h4 {
    color: #0d5f3e;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.value-card p {
    color: #666;
    line-height: 1.6;
}

.cta-section {
    background: linear-gradient(135deg, #0d5f3e 0%, #1a8559 100%);
    color: white;
    padding: 4rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

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

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

/* Notdienst Page Styles */
.emergency-hero {
    background: linear-gradient(135deg, #c41e3a 0%, #e74c3c 100%);
}

.notdienst-section {
    padding: 4rem 2rem;
    background: #f8faf9;
}

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

.notdienst-intro {
    text-align: center;
    margin-bottom: 4rem;
}

.notdienst-intro h2 {
    color: #0d5f3e;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

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

.search-card {
    background: white;
    padding: 3rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.hotline-card {
    border-top: 4px solid #c41e3a;
}

.online-search-card {
    border-top: 4px solid #0d5f3e;
}

.card-icon-large {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.search-card h3 {
    color: #0d5f3e;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.search-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.emergency-number {
    display: inline-block;
    font-size: 2.5rem;
    color: #c41e3a;
    font-weight: bold;
    text-decoration: none;
    padding: 1rem 2rem;
    background: #fff5f5;
    border-radius: 10px;
    margin: 1rem 0;
    transition: all 0.3s;
}

.emergency-number:hover {
    transform: scale(1.05);
    background: #ffe0e0;
}

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

.info-card {
    background: white;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.info-card h3 {
    color: #0d5f3e;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.info-card p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.info-card ul {
    list-style: none;
    padding: 0;
}

.info-card li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #666;
}

.info-card li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #0d5f3e;
    font-weight: bold;
    font-size: 1.2rem;
}

.important-info {
    margin-bottom: 4rem;
}

.important-info h2 {
    color: #0d5f3e;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
}

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

.info-box {
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.info-box.warning {
    background: #fff5f5;
    border-left: 5px solid #c41e3a;
}

.info-box.tip {
    background: #f0f9f4;
    border-left: 5px solid #0d5f3e;
}

.info-box h4 {
    color: #0d5f3e;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.info-box p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.info-box ul {
    list-style: none;
    padding: 0;
}

.info-box li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #555;
}

.info-box li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: #0d5f3e;
    font-weight: bold;
}

.local-pharmacies {
    background: white;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    margin-bottom: 4rem;
}

.local-pharmacies h2 {
    color: #0d5f3e;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.local-pharmacies > p {
    color: #666;
    margin-bottom: 2rem;
}

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

.pharmacy-item {
    padding: 1.5rem;
    background: #f8faf9;
    border-radius: 8px;
    border-left: 4px solid #0d5f3e;
}

.pharmacy-item h4 {
    color: #0d5f3e;
    margin-bottom: 0.5rem;
}

.pharmacy-item p {
    color: #666;
    font-size: 0.95rem;
    margin: 0.3rem 0;
}

.faq-section {
    margin-bottom: 4rem;
}

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

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

.faq-item {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.faq-item h4 {
    color: #0d5f3e;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.faq-item p {
    color: #666;
    line-height: 1.7;
}

/* Legal Pages Styles */
.legal-page {
    padding: 4rem 2rem;
    background: #f8faf9;
    min-height: 60vh;
}

.legal-container {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.legal-container h1 {
    color: #0d5f3e;
    font-size: 2.8rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid #0d5f3e;
}

.legal-intro {
    background: #f0f9f4;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    border-left: 4px solid #0d5f3e;
}

.legal-intro p {
    color: #555;
    line-height: 1.8;
    font-size: 1.05rem;
}

.legal-section {
    margin-bottom: 3rem;
}

.legal-section h2 {
    color: #0d5f3e;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.legal-section h3 {
    color: #0d5f3e;
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    margin-top: 1.5rem;
}

.legal-section p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-section ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.legal-section li {
    color: #555;
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.legal-section a {
    color: #0d5f3e;
    text-decoration: none;
    border-bottom: 1px solid #0d5f3e;
}

.legal-section a:hover {
    color: #1a8559;
    border-bottom-color: #1a8559;
}

.legal-back {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #f0f0f0;
}

/* Responsive Adjustments for New Pages */
@media (max-width: 968px) {
    .about-content-grid {
        grid-template-columns: 1fr;
    }

    .emergency-search {
        grid-template-columns: 1fr;
    }

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

    .pharmacy-list {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    .legal-container {
        padding: 2rem 1.5rem;
    }

    .legal-container h1 {
        font-size: 2rem;
    }

    .about-intro h2,
    .notdienst-intro h2,
    .team-section h2,
    .history-section h2,
    .values-section h2,
    .important-info h2,
    .faq-section h2 {
        font-size: 1.8rem;
    }

    .lead-text {
        font-size: 1.1rem;
    }

    .about-text,
    .history-content,
    .local-pharmacies {
        padding: 2rem;
    }

    .cta-section {
        padding: 2.5rem 2rem;
    }

    .cta-section h2 {
        font-size: 1.8rem;
    }

    .emergency-number {
        font-size: 2rem;
    }

    .team-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }
}

/* E-Rezepte Page Styles */
.e-rezept-intro {
    padding: 4rem 2rem;
    background: #f8faf9;
}

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

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

.benefit-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 25px rgba(0,0,0,0.12);
}

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

.benefit-card h3 {
    color: #0d5f3e;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.benefit-card p {
    color: #666;
    line-height: 1.6;
}

.how-it-works {
    padding: 4rem 2rem;
    background: white;
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 3rem;
}

.step-card {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    background: #f8faf9;
    padding: 2.5rem;
    border-radius: 10px;
}

.step-number {
    background: linear-gradient(135deg, #0d5f3e 0%, #1a8555 100%);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h3 {
    color: #0d5f3e;
    margin-bottom: 0.8rem;
    font-size: 1.5rem;
}

.step-content p {
    color: #666;
    line-height: 1.7;
}

.e-rezept-faq {
    padding: 4rem 2rem;
    background: #f8faf9;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 3rem;
}

.faq-item {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.faq-item h3 {
    color: #0d5f3e;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.faq-item p {
    color: #666;
    line-height: 1.7;
}

.e-rezept-cta {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #0d5f3e 0%, #1a8555 100%);
    color: white;
    text-align: center;
}

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

.e-rezept-cta p {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .step-card {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }

    .step-number {
        margin: 0 auto 1rem;
    }

    .e-rezept-cta h2 {
        font-size: 1.8rem;
    }
}
