/* CashFlow and Compass - Corporate Stylesheet */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&family=Raleway:wght@400;500;800&display=swap');

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

/* Accessibility Styles */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #0F293F;
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 1000;
    font-weight: bold;
}

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

/* Focus styles for better keyboard navigation */
*:focus {
    outline: 2px solid #2CB5D2;
    outline-offset: 2px;
}

button:focus,
a:focus {
    outline: 2px solid #2CB5D2;
    outline-offset: 2px;
}

/* Prevent text overflow and ensure proper wrapping */
body {
    overflow-x: hidden;
    word-wrap: break-word;
    hyphens: auto;
}

/* Ensure all text elements wrap properly */
h1, h2, h3, h4, h5, h6, p, span, div, a, button {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

/* Root Variables for Brand Colors */
:root {
    --primary-blue: #0F293F;        /* Deep Skies Blue */
    --secondary-blue: #2CB5D2;      /* Clarity Blue */
    --accent-green: #C3D652;        /* Electric Green */
    --accent-orange: #EA9943;       /* Horizon's Edge Orange */
    --text-grey: #4C4B4C;           /* Stone Grey */
    --light-grey: #C7C8CA;          /* Silver Sand */
    --white: #FFFFFF;
}

/* Typography System */
body {
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
    line-height: 1.6;
    color: var(--text-grey);
    background-color: var(--white);
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Category Headers - Open Sans Bold, ALL CAPS 24-26pt, Silver Sand */
.category-header {
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 26px;
    text-transform: uppercase;
    color: var(--light-grey);
    margin-bottom: 20px;
}

/* Main Headers - Raleway ExtraBold, Title Case 45-48pt, Deep Skies Blue */
.main-header {
    font-family: 'Raleway', sans-serif;
    font-weight: 800;
    font-size: 45px;
    line-height: 48px;
    text-transform: capitalize;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

/* Subheaders - now consolidated into .subheader-blue */

/* Large Blue Headings - Raleway, larger size, blue color */
.subheader-blue {
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    font-style: italic;
    font-size: 32px;
    line-height: 36px;
    color: var(--secondary-blue);
    margin-bottom: 20px;
    text-align: center;
}

/* Body Text - Open Sans Regular, 10-12pt, Stone Grey */
.body-text {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 23px;
    line-height: 1.6;
    color: var(--text-grey);
    margin-bottom: 20px;
}

/* Member Description */
.member-description {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 23px;
    line-height: 1.6;
    color: var(--text-grey);
    margin-bottom: 20px;
}

/* Testimonial Blockquote */
.testimonial {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 32px;
    color: var(--text-grey);
    font-style: italic;
    margin: 30px 0;
    padding: 20px;
    border-left: 4px solid var(--secondary-blue);
    background-color: var(--light-grey);
    border-radius: 8px;
}

/* German Flag */
.german-flag {
    width: 40px;
    height: 24px;
    margin-right: 15px;
    vertical-align: middle;
    display: inline-block;
}

/* Header */
.main-header-section {
    background-color: var(--white);
    border-bottom: 2px solid var(--light-grey);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(15, 41, 63, 0.1);
}

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

.logo-section {
    flex-shrink: 0;
}

.header-logo {
    max-height: 50px;
    width: auto;
}

.main-navigation {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 40px;
}

.nav-link {
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: var(--primary-blue);
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background-color: var(--secondary-blue);
    color: var(--white);
    text-decoration: none;
}

.header-cta {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: var(--primary-blue);
    background-color: var(--accent-green);
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-left: 20px;
    white-space: nowrap;
}

.header-cta:hover {
    background-color: var(--accent-orange);
    color: var(--white);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(234, 153, 67, 0.3);
}

/* Layout Components */
.container {
    text-align: center;
    padding: 50px 20px;
    flex-grow: 1;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    max-width: 450px;
    margin-bottom: 30px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Content Width Control */
.content-width {
    width: 70%;
    margin: 0 auto;
    text-align: left;
}

/* Links */
a {
    color: var(--secondary-blue);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

/* Links */
.links {
    display: inline-block;
    background-color: var(--secondary-blue);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    margin: 20px 0;
    transition: background-color 0.3s ease;
}

.links:hover {
    background-color: var(--primary-blue);
    text-decoration: none;
}

/* Force links to use correct color regardless of inheritance */
.links {
    color: var(--white) !important;
}

/* Footer */
.powered-by {
    text-align: center;
    padding: 20px;
    background-color: var(--light-grey);
    margin-top: auto;
}

.powered-by img {
    max-height: 40px;
    vertical-align: middle;
    margin-right: 10px;
}

.powered-by span {
    font-weight: bold;
    font-size: 16px;
    vertical-align: middle;
    color: var(--text-grey);
}

/* Hero Section */
.hero-section {
    text-align: center;
    margin-bottom: 50px;
}

.hero-subtitle {
    font-family: 'Raleway', sans-serif;
    font-weight: 500;
    font-style: italic;
    font-size: 23px;
    color: var(--secondary-blue);
    margin-top: 20px;
    margin-bottom: 40px;
}

/* Construction Notice */
.construction-notice {
    background-color: var(--light-grey);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 50px;
    text-align: center;
}

.construction-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

/* Services Preview */
.services-preview,
.benefits-section {
    margin-bottom: 50px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 30px;
}

/* Responsive grid for smaller screens */
@media (max-width: 1200px) {
    .services-grid,
    .process-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .german-benefits-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .services-grid,
    .benefits-grid,
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .german-benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.service-card {
    background-color: var(--white);
    border: 2px solid var(--light-grey);
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(15, 41, 63, 0.1);
    border-color: var(--secondary-blue);
}

.service-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.service-title {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.service-description {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    color: var(--text-grey);
    line-height: 1.5;
}

/* Contact Section */
.contact-section {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    margin-bottom: 50px;
}

.contact-section .subheader-blue {
    color: var(--white);
    margin-bottom: 20px;
}

.contact-section .body-text {
    color: var(--light-grey);
    margin-bottom: 30px;
}

.contact-section .links {
    background-color: var(--accent-green);
    color: var(--primary-blue);
    font-weight: 700;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.contact-section .links:hover {
    background-color: var(--accent-orange);
    text-decoration: none;
}

/* Tagline Section */
.tagline-section {
    text-align: center;
    margin-top: 40px;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-30 {
    margin-bottom: 30px;
}

.mt-20 {
    margin-top: 20px;
}

.mt-30 {
    margin-top: 30px;
}

/* Graphic Icons */
.graphic-icon {
    max-height: 60px;
    width: auto;
    transition: transform 0.3s ease;
}

.service-card:hover .graphic-icon {
    transform: scale(1.1);
}

/* Benefits Section - now uses shared styling with services-preview */

.benefits-list {
    margin: 50px 0;
    position: relative;
    padding: 20px 60px;
}

.benefits-carousel {
    overflow: hidden;
    position: relative;
}

.benefits-carousel-container {
    display: flex;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 20px;
    will-change: transform;
    touch-action: pan-x;
    cursor: grab;
    user-select: none;
}

.benefits-carousel-container:active {
    cursor: grabbing;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--secondary-blue);
    color: var(--white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
    z-index: 10;
}

.carousel-arrow:hover {
    background: var(--primary-blue);
}

.carousel-arrow.left {
    left: 10px;
}

.carousel-arrow.right {
    right: 10px;
}

.carousel-arrow:disabled {
    background: var(--light-grey);
    cursor: not-allowed;
}

.benefits-list .benefits-grid {
    display: flex;
    gap: 20px;
    min-width: max-content;
    padding: 0 20px;
}

.benefits-list .benefit-item {
    flex: 0 0 280px;
    background-color: var(--white);
    border: 2px solid var(--light-grey);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefits-list .benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.benefits-list .benefit-item {
    text-align: center;
    padding: 25px 20px;
    background: linear-gradient(135deg, var(--accent-green), #B8D04A);
    border: 2px solid var(--accent-green);
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 1.4;
    color: var(--primary-blue);
    box-shadow: 0 4px 12px rgba(195, 214, 82, 0.2);
}

.benefits-list .benefit-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(195, 214, 82, 0.4);
    border-color: var(--accent-orange);
    background: linear-gradient(135deg, var(--accent-orange), #F2A85A);
    color: var(--white);
}

.benefit-item {
    text-align: center;
    padding: 30px 20px;
    background-color: var(--white);
    border: 2px solid var(--light-grey);
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(15, 41, 63, 0.1);
    border-color: var(--secondary-blue);
}

.benefit-icon {
    max-height: 50px;
    width: auto;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.benefit-item:hover .benefit-icon {
    transform: scale(1.1);
}

.benefit-title {
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    font-size: 23px;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.value-title {
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    font-size: 23px;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.benefit-text {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    color: var(--text-grey);
    line-height: 1.4;
}

/* Additional Landing Page Styles */

/* Hero Section Enhancements */
.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-logo {
    max-width: 350px;
    margin-bottom: 30px;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
    flex-wrap: wrap;
}

.primary-cta,
.secondary-cta {
    font-weight: 700;
    padding: 16px 32px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border: 2px solid;
    font-size: 16px;
    width: 250px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    font-family: 'Raleway', sans-serif;
    letter-spacing: 0.5px;
}

.primary-cta {
    background-color: var(--accent-green);
    color: var(--primary-blue);
    border-color: var(--accent-green);
}

.primary-cta:hover {
    background-color: var(--accent-orange);
    border-color: var(--accent-orange);
    color: var(--white);
    text-decoration: none;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(234, 153, 67, 0.4);
}

.secondary-cta {
    background-color: var(--accent-green);
    color: var(--primary-blue);
    border-color: var(--accent-green);
}

.secondary-cta:hover {
    background-color: var(--accent-orange);
    border-color: var(--accent-orange);
    color: var(--white);
    text-decoration: none;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(234, 153, 67, 0.4);
}

/* Section Headers */
.section-header {
    font-family: 'Raleway', sans-serif;
    font-weight: 800;
    font-size: 36px;
    color: var(--primary-blue);
    text-align: center;
    margin-bottom: 20px;
}

.section-subtitle {
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    color: var(--text-grey);
    text-align: center;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Services Overview */
.services-overview {
    margin: 40px 0;
    padding: 20px;
}

.services-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.service-badge {
    background-color: var(--accent-green);
    color: var(--primary-blue);
    padding: 20px 30px;
    border-radius: 10px;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 18px;
    text-align: center;
    flex: 1;
    min-width: 200px;
    max-width: 300px;
    box-shadow: 0 4px 12px rgba(195, 214, 82, 0.3);
    transition: all 0.3s ease;
}

.service-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(195, 214, 82, 0.4);
}

/* Contact Form */
.contact-form-section {
    background-color: var(--white);
    padding: 60px 20px;
    margin: 40px 0;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(15, 41, 63, 0.1);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: var(--primary-blue);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--light-grey);
    border-radius: 8px;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    color: var(--text-grey);
    background-color: var(--white);
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-blue);
    box-shadow: 0 0 0 3px rgba(44, 181, 210, 0.1);
}

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

/* Services Section */
.services-section {
    background-color: var(--white);
    padding: 80px 20px;
}

/* About Section */
.about-section {
    background-color: var(--light-grey);
    padding: 80px 20px;
}

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

.about-highlights {
    margin-top: 40px;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    padding: 30px 20px;
    background-color: var(--white);
    border: 2px solid var(--light-grey);
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(15, 41, 63, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    gap: 20px;
}

.highlight-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(15, 41, 63, 0.1);
    border-color: var(--secondary-blue);
}

.highlight-icon {
    max-height: 40px;
    width: auto;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    margin-top: 5px;
}

.highlight-item:hover .highlight-icon {
    transform: scale(1.1);
}

.highlight-text {
    flex: 1;
    text-align: left;
}

.highlight-text h4 {
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    font-size: 18px;
    color: var(--primary-blue);
    margin-bottom: 8px;
    line-height: 1.3;
}

.highlight-text p {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    color: var(--text-grey);
    margin: 0;
    line-height: 1.5;
}

/* Process Section */
.process-section {
    background-color: var(--white);
    padding: 80px 20px;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.process-step {
    text-align: center;
    padding: 30px 20px;
    background-color: var(--white);
    border: 2px solid var(--light-grey);
    border-radius: 15px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(15, 41, 63, 0.1);
    border-color: var(--secondary-blue);
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: var(--accent-green);
    color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Raleway', sans-serif;
    font-weight: 800;
    font-size: 24px;
    margin: 0 auto 20px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.process-step:hover .step-number {
    transform: scale(1.1);
    background-color: var(--accent-orange);
}

.step-title {
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    font-size: 20px;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.step-description {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    color: var(--text-grey);
    line-height: 1.5;
}

/* Contact Section */
.contact-section {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 80px 20px;
}

.contact-section .section-header {
    color: var(--white);
}

.contact-section .section-subtitle {
    color: var(--light-grey);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 50px;
    align-items: start;
}

.contact-info h3 {
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    font-size: 24px;
    color: var(--white);
    margin-bottom: 30px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    transition: background-color 0.3s ease;
}

.contact-method:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.contact-icon {
    max-height: 40px;
    width: auto;
    flex-shrink: 0;
    margin-top: 5px;
}

.contact-icon-img {
    max-height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}


.contact-method-text {
    flex: 1;
    text-align: left;
}

.contact-method h4 {
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    font-size: 18px;
    color: var(--white);
    margin-bottom: 8px;
    line-height: 1.3;
}


.contact-method a {
    color: var(--accent-green);
    text-decoration: none;
}

.contact-method a:hover {
    color: var(--accent-orange);
    text-decoration: underline;
}

/* Contact Form */
.contact-form {
    background-color: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(15, 41, 63, 0.2);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: var(--primary-blue);
    margin-bottom: 5px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--light-grey);
    border-radius: 5px;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    color: var(--text-grey);
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-blue);
}

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

/* Footer */
.main-footer {
    background-color: var(--text-grey);
    color: var(--white);
    padding: 40px 20px 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-tagline {
    max-height: 40px;
    width: auto;
}

.footer-info p {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    color: var(--light-grey);
    margin: 5px 0;
}

.footer-members {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex: 1;
    min-width: 200px;
    max-width: 400px;
}

.member-text {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px !important;
    color: var(--light-grey);
    margin: 0 0 10px 0 !important;
    font-weight: 600;
    line-height: 1.4;
}

.member-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    background-color: var(--white);
    padding: 15px 20px !important;
    border-radius: 8px;
    max-width: 100%;
    box-sizing: border-box;
}

.member-logo {
    max-height: 60px !important;
    max-width: 120px !important;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.social-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--light-grey);
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    color: var(--white);
    background-color: var(--secondary-blue);
    transform: translateY(-2px);
}

.social-link:focus {
    outline: 2px solid var(--secondary-blue);
    outline-offset: 2px;
}

.social-icon {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* Mobile-First Responsive Design */

/* Mobile Navigation */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--primary-blue);
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-toggle:hover {
    color: var(--secondary-blue);
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .main-navigation {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--white);
        z-index: 1000;
        transition: left 0.3s ease;
        padding-top: 80px;
        overflow-x: hidden;
    }
    
    .main-navigation.active {
        left: 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 0;
        padding: 0 20px;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .nav-list li {
        border-bottom: 1px solid var(--light-grey);
        width: 100%;
        overflow-x: hidden;
    }
    
    .nav-link {
        display: block;
        padding: 20px 0;
        font-size: 18px;
        text-align: center;
        width: 100%;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .header-cta {
        margin: 20px auto;
        display: block;
        text-align: center;
        width: 200px;
        max-width: 90%;
        word-wrap: break-word;
    }
    
    .header-content {
        overflow-x: hidden;
        max-width: 100vw;
    }
}

/* Enhanced Mobile Typography */
@media (max-width: 768px) {
    .main-header { font-size: 32px; line-height: 36px; margin-bottom: 15px; }
    .subheader-blue { font-size: 24px; line-height: 28px; margin-bottom: 15px; }
    .body-text { font-size: 16px; line-height: 1.5; margin-bottom: 15px; }
    .section-header { font-size: 28px; line-height: 32px; }
    .service-title { font-size: 18px; line-height: 22px; }
    .service-description { font-size: 14px; line-height: 1.4; }
    .benefit-title, .value-title { font-size: 16px; line-height: 20px; }
    .benefit-text { font-size: 13px; line-height: 1.4; }
}

/* Mobile Layout Improvements */
@media (max-width: 768px) {
    .container { padding: 20px 15px; overflow-x: hidden; max-width: 100vw; }
    .content-width { width: 95%; margin: 0 auto; max-width: 100%; overflow-x: hidden; word-wrap: break-word; }
    .hero-section { padding: 30px 0; }
    .services-grid, .benefits-grid, .german-benefits-grid { grid-template-columns: 1fr; gap: 20px; margin-top: 20px; }
    .service-card, .benefit-item { padding: 20px 15px; margin-bottom: 15px; }
    .hero-cta { flex-direction: column; align-items: center; gap: 15px; }
    .primary-cta, .secondary-cta { width: 100%; max-width: 280px; padding: 15px 20px; font-size: 16px; }
    .contact-content { grid-template-columns: 1fr; gap: 30px; }
    .contact-method { flex-direction: column; text-align: center; gap: 15px; padding: 20px; }
    .contact-method-text { text-align: center; }
    .contact-icon { margin-top: 0; align-self: center; }
    .highlight-item { flex-direction: column; text-align: center; gap: 15px; padding: 20px 15px; }
    .highlight-icon { margin-top: 0; margin-bottom: 0; }
    .highlight-text { text-align: center; }
    .process-grid { grid-template-columns: 1fr; gap: 20px; }
    .footer-content { flex-direction: column; text-align: center; gap: 20px; }
    .footer-members { min-width: auto; margin: 10px 0; }
    .member-logo { max-height: 50px; max-width: 100px; }
    .services-preview, .benefits-section { margin-bottom: 30px; }
    .testimonial { font-size: 18px; line-height: 24px; padding: 15px; margin: 20px 0; }
    .benefits-list { padding: 15px 40px; }
    .benefits-list .benefit-item { flex: 0 0 250px; padding: 15px; font-size: 16px; }
    .carousel-arrow { width: 35px; height: 35px; font-size: 16px; }
    .carousel-arrow.left { left: 5px; }
    .carousel-arrow.right { right: 5px; }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .main-header { font-size: 24px; line-height: 28px; word-wrap: break-word; hyphens: auto; }
    .subheader-blue { font-size: 18px; line-height: 22px; word-wrap: break-word; hyphens: auto; }
    .section-header { font-size: 20px; line-height: 24px; word-wrap: break-word; hyphens: auto; }
    .body-text { font-size: 14px; line-height: 1.4; word-wrap: break-word; hyphens: auto; }
    .container { padding: 10px 5px; overflow-x: hidden; }
    .content-width { width: 100%; padding: 0 10px; box-sizing: border-box; }
    .service-card, .benefit-item { padding: 12px 8px; word-wrap: break-word; }
    .primary-cta, .secondary-cta { padding: 10px 12px; font-size: 13px; word-wrap: break-word; text-align: center; }
    .nav-link { font-size: 14px; padding: 12px 0; word-wrap: break-word; }
    .header-cta { font-size: 11px; padding: 6px 12px; width: 160px; word-wrap: break-word; }
    .benefits-list .benefit-item { flex: 0 0 200px; padding: 10px; font-size: 13px; word-wrap: break-word; }
    .testimonial { font-size: 14px; line-height: 20px; padding: 10px; word-wrap: break-word; }
    .contact-method { padding: 12px 8px; word-wrap: break-word; }
    .highlight-item { padding: 12px 8px; word-wrap: break-word; }
    .service-title, .benefit-title, .value-title { font-size: 16px; line-height: 20px; word-wrap: break-word; hyphens: auto; }
    .service-description, .benefit-text { font-size: 12px; line-height: 1.3; word-wrap: break-word; }
}

/* Touch-friendly improvements */
@media (max-width: 768px) {
    .nav-link, .primary-cta, .secondary-cta, .links, .header-cta { min-height: 44px; display: flex; align-items: center; justify-content: center; }
    .carousel-arrow { min-width: 44px; min-height: 44px; }
    .service-card, .benefit-item { min-height: 120px; }
    button, .nav-link, a { -webkit-tap-highlight-color: rgba(44, 181, 210, 0.3); }
    .form-group input, .form-group select, .form-group textarea { font-size: 16px; padding: 15px; }
    .services-badges { flex-direction: column; gap: 15px; }
    .service-badge { min-width: auto; max-width: none; width: 100%; }
    .benefits-carousel-container { touch-action: pan-x; }
    .header-content { position: relative; }
    .mobile-menu-toggle { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); z-index: 1001; }
    .header-logo { max-height: 40px; }
    .logo { max-width: 150px; }
    .testimonial { margin: 15px 0; padding: 20px 15px; }
    .contact-form { padding: 20px; }
    .contact-methods { flex-direction: column; gap: 20px; }
    .contact-method { text-align: center; padding: 20px 15px; }
}

/* Extra small screens - prevent any text overflow */
@media (max-width: 320px) {
    .main-header { font-size: 20px; line-height: 24px; }
    .subheader-blue { font-size: 16px; line-height: 20px; }
    .body-text { font-size: 13px; line-height: 1.3; }
    .container { padding: 5px; }
    .content-width { width: 100%; padding: 0 5px; }
    .service-card, .benefit-item { padding: 8px 5px; }
    .primary-cta, .secondary-cta { padding: 8px 10px; font-size: 12px; }
    .nav-link { font-size: 12px; padding: 10px 0; }
    .header-cta { font-size: 10px; padding: 5px 10px; width: 140px; }
}

/* Tablet optimizations */
@media (min-width: 769px) and (max-width: 1024px) {
    .container { padding: 40px 30px; }
    .content-width { width: 85%; }
    .services-grid, .benefits-grid, .german-benefits-grid { grid-template-columns: repeat(2, 1fr); gap: 25px; }
    .main-header { font-size: 40px; line-height: 44px; }
    .subheader-blue { font-size: 28px; line-height: 32px; }
    .hero-cta { flex-direction: row; justify-content: center; gap: 20px; }
    .primary-cta, .secondary-cta { width: auto; min-width: 200px; }
}

/* German benefits grid - 3 tiles in one row */
.german-benefits-grid {
    grid-template-columns: repeat(3, 1fr);
}


