/* ==========================================================================
   MFM Karriere – Main Stylesheet
   Corporate Design: #094c7d (Blue), #00a19a (Teal), #34d399 (Soft Teal)
   ========================================================================== */

/* --- CSS Custom Properties --- */
:root {
    --mfm-blue: #094c7d;
    --mfm-blue-dark: #063a5f;
    --mfm-blue-light: #0b6cb3;
    --mfm-teal: #00a19a;
    --mfm-teal-dark: #008580;
    --mfm-soft-teal: #34d399;
    --mfm-dark: #020617;
    --mfm-white: #ffffff;
    --mfm-light-gray: #f1f5f9;
    --mfm-gray: #64748b;
    --mfm-gray-dark: #334155;
    --mfm-border: #e2e8f0;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --shadow-sm: 0 1px 2px rgba(0,0,0,.05);
    --shadow: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -2px rgba(0,0,0,.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.1);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,.1), 0 8px 10px -6px rgba(0,0,0,.1);
    --radius: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --transition: 0.2s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--mfm-dark);
    background: var(--mfm-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--mfm-dark);
}

a {
    color: var(--mfm-blue);
    text-decoration: none;
    transition: color var(--transition);
}
a:hover {
    color: var(--mfm-teal);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol { list-style: none; }

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

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    border: 2px solid transparent;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    line-height: 1.4;
}

.btn-primary {
    background: var(--mfm-teal);
    color: var(--mfm-white);
    border-color: var(--mfm-teal);
}
.btn-primary:hover {
    background: var(--mfm-teal-dark);
    border-color: var(--mfm-teal-dark);
    color: var(--mfm-white);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--mfm-blue);
    border-color: var(--mfm-blue);
}
.btn-outline:hover {
    background: var(--mfm-blue);
    color: var(--mfm-white);
}

.btn-outline-light {
    background: transparent;
    color: var(--mfm-white);
    border-color: rgba(255,255,255,.5);
}
.btn-outline-light:hover {
    background: rgba(255,255,255,.15);
    border-color: var(--mfm-white);
    color: var(--mfm-white);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 17px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

.btn-block {
    display: flex;
    justify-content: center;
    width: 100%;
}

/* --- Header --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--mfm-border);
    transition: box-shadow var(--transition);
}
.site-header.scrolled {
    box-shadow: var(--shadow);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: 24px;
}

.site-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.logo-text {
    font-family: var(--font-heading);
    font-size: 20px;
    color: var(--mfm-dark);
}
.logo-text strong {
    color: var(--mfm-blue);
}
.site-logo img,
.site-logo .custom-logo {
    max-height: 45px;
    width: auto;
}

.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}
.nav-list {
    display: flex;
    gap: 8px;
}
.nav-list li a {
    display: block;
    padding: 8px 14px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 500;
    color: var(--mfm-gray-dark);
    border-radius: var(--radius);
    transition: all var(--transition);
}
.nav-list li a:hover,
.nav-list li a.active {
    color: var(--mfm-teal);
    background: rgba(0,161,154,.08);
}

.header-cta {
    flex-shrink: 0;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    width: 40px;
    height: 40px;
    position: relative;
}
.hamburger,
.hamburger::before,
.hamburger::after {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--mfm-dark);
    border-radius: 2px;
    transition: all 0.3s;
    position: absolute;
    left: 8px;
}
.hamburger { top: 19px; }
.hamburger::before { content: ''; top: -7px; }
.hamburger::after { content: ''; top: 7px; }

.mobile-toggle[aria-expanded="true"] .hamburger {
    background: transparent;
}
.mobile-toggle[aria-expanded="true"] .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}
.mobile-toggle[aria-expanded="true"] .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--mfm-dark) 0%, var(--mfm-blue-dark) 50%, var(--mfm-blue) 100%);
    z-index: 0;
}
.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(0,161,154,.2) 0%, transparent 60%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    color: var(--mfm-white);
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(52,211,153,.15);
    border: 1px solid rgba(52,211,153,.3);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    color: var(--mfm-soft-teal);
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--mfm-white);
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.7;
    color: rgba(255,255,255,.8);
    margin-bottom: 36px;
    max-width: 600px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* --- Sections --- */
.section {
    padding: 80px 0;
}
.section:nth-child(even) {
    background: var(--mfm-light-gray);
}

.section-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    text-align: center;
    margin-bottom: 12px;
    color: var(--mfm-dark);
}

.section-subtitle {
    text-align: center;
    color: var(--mfm-gray);
    font-size: 1.1rem;
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-cta {
    text-align: center;
    margin-top: 40px;
}

/* --- About --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.about-text p {
    margin-bottom: 16px;
    color: var(--mfm-gray-dark);
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.stat-item {
    text-align: center;
    padding: 24px;
    background: var(--mfm-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}
.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--mfm-teal);
    line-height: 1;
    margin-bottom: 4px;
}
.stat-label {
    font-size: 14px;
    color: var(--mfm-gray);
    font-weight: 500;
}

/* --- Benefits --- */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.benefit-card {
    padding: 32px 24px;
    background: var(--mfm-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: all var(--transition);
    text-align: center;
}
.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}
.benefit-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(0,161,154,.1), rgba(52,211,153,.1));
    color: var(--mfm-teal);
    margin-bottom: 16px;
}
.benefit-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}
.benefit-card p {
    font-size: 14px;
    color: var(--mfm-gray);
    line-height: 1.6;
}

/* --- Job Filters --- */
.job-filters {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 20px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 500;
    background: var(--mfm-white);
    border: 1px solid var(--mfm-border);
    border-radius: 100px;
    cursor: pointer;
    transition: all var(--transition);
    color: var(--mfm-gray-dark);
}
.filter-btn:hover {
    border-color: var(--mfm-teal);
    color: var(--mfm-teal);
}
.filter-btn.active {
    background: var(--mfm-teal);
    border-color: var(--mfm-teal);
    color: var(--mfm-white);
}

/* --- Job Cards --- */
.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}

.job-card {
    background: var(--mfm-white);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow);
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
    border: 1px solid var(--mfm-border);
}
.job-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: var(--mfm-teal);
}
.job-card.hidden {
    display: none;
}

.job-card-header {
    margin-bottom: 12px;
}

.job-badge {
    display: inline-block;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.badge-vollzeit { background: #dbeafe; color: #1e40af; }
.badge-teilzeit { background: #fef3c7; color: #92400e; }
.badge-ausbildung { background: #d1fae5; color: #065f46; }
.badge-praktikum { background: #ede9fe; color: #5b21b6; }

.job-card-title {
    font-size: 1.2rem;
    margin-bottom: 8px;
}
.job-card-title a {
    color: var(--mfm-dark);
}
.job-card-title a:hover {
    color: var(--mfm-teal);
}

.job-card-excerpt {
    font-size: 14px;
    color: var(--mfm-gray);
    margin-bottom: 16px;
    flex: 1;
}

.job-card-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.meta-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: var(--mfm-gray);
}
.meta-item .icon { width: 14px; height: 14px; }

.job-card-link {
    align-self: flex-start;
}

.no-jobs {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--mfm-gray);
}

/* --- Testimonials --- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: var(--mfm-white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow);
}
.testimonial-card blockquote p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--mfm-gray-dark);
    font-style: italic;
    margin-bottom: 20px;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}
.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--mfm-light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mfm-gray);
    flex-shrink: 0;
}
.testimonial-author strong {
    display: block;
    font-size: 14px;
}
.testimonial-author span {
    font-size: 13px;
    color: var(--mfm-gray);
}

/* --- Process Timeline --- */
.process-timeline {
    display: flex;
    justify-content: center;
    gap: 0;
    position: relative;
    padding-top: 40px;
}
.process-timeline::before {
    content: '';
    position: absolute;
    top: 82px;
    left: 15%;
    right: 15%;
    height: 3px;
    background: var(--mfm-border);
    z-index: 0;
}

.process-step {
    flex: 1;
    max-width: 200px;
    text-align: center;
    position: relative;
    z-index: 1;
}
.step-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--mfm-teal);
    color: var(--mfm-white);
    margin-bottom: 8px;
}
.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--mfm-blue);
    color: var(--mfm-white);
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 12px;
}
.process-step h3 {
    font-size: 15px;
    margin-bottom: 6px;
}
.process-step p {
    font-size: 13px;
    color: var(--mfm-gray);
    line-height: 1.5;
}

/* --- FAQ --- */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--mfm-border);
    border-radius: var(--radius);
    margin-bottom: 8px;
    background: var(--mfm-white);
    overflow: hidden;
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 18px 24px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    color: var(--mfm-dark);
    text-align: left;
    gap: 16px;
    transition: color var(--transition);
}
.faq-question:hover {
    color: var(--mfm-teal);
}
.faq-question .icon {
    transition: transform 0.3s;
    flex-shrink: 0;
}
.faq-question[aria-expanded="true"] .icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 24px 18px;
}
.faq-answer p {
    color: var(--mfm-gray-dark);
    line-height: 1.7;
    font-size: 15px;
}

/* --- Contact --- */
.section-contact {
    background: var(--mfm-dark);
    color: var(--mfm-white);
}
.section-contact .section-title {
    color: var(--mfm-white);
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 32px;
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--radius-xl);
    padding: 40px;
}
.contact-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mfm-teal);
    flex-shrink: 0;
}
.contact-info h3 {
    color: var(--mfm-white);
    font-size: 1.3rem;
    margin-bottom: 4px;
}
.contact-info > p {
    color: rgba(255,255,255,.6);
    margin-bottom: 16px;
}
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}
.contact-details a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--mfm-soft-teal);
    font-size: 15px;
}
.contact-details a:hover {
    color: var(--mfm-white);
}
.contact-note {
    font-size: 14px;
    color: rgba(255,255,255,.5);
}

/* --- Single Job --- */
.section-job-header {
    background: linear-gradient(135deg, var(--mfm-dark), var(--mfm-blue-dark));
    color: var(--mfm-white);
    padding: 120px 0 40px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    flex-wrap: wrap;
}
.breadcrumb a {
    color: rgba(255,255,255,.6);
}
.breadcrumb a:hover {
    color: var(--mfm-white);
}
.breadcrumb .separator {
    color: rgba(255,255,255,.3);
}
.breadcrumb .current {
    color: var(--mfm-white);
}

.job-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--mfm-white);
    margin-bottom: 16px;
}

.job-meta-tags {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.meta-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(255,255,255,.1);
    border-radius: 100px;
    font-size: 14px;
    color: rgba(255,255,255,.9);
}

.section-job-content {
    padding: 48px 0 80px;
}

.job-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
    align-items: start;
}

.job-section {
    margin-bottom: 36px;
}
.job-section h2 {
    font-size: 1.4rem;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--mfm-teal);
}
.job-intro {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--mfm-gray-dark);
}
.job-content-block {
    line-height: 1.8;
    color: var(--mfm-gray-dark);
}
.job-content-block ul,
.job-content-block ol {
    padding-left: 20px;
    list-style: disc;
}
.job-content-block li {
    margin-bottom: 8px;
    list-style: disc;
}

.job-benefits-list {
    display: grid;
    gap: 10px;
}
.job-benefits-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: var(--mfm-gray-dark);
}
.job-benefits-list .icon {
    color: var(--mfm-teal);
    flex-shrink: 0;
}

/* --- Sidebar --- */
.sidebar-card {
    background: var(--mfm-white);
    border: 1px solid var(--mfm-border);
    border-radius: var(--radius-lg);
    padding: 28px;
    margin-bottom: 20px;
    position: sticky;
    top: 92px;
}
.sidebar-card h3 {
    font-size: 1rem;
    margin-bottom: 16px;
}

.sidebar-info {
    margin-bottom: 20px;
}
.sidebar-info li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--mfm-border);
}
.sidebar-info li:last-child {
    border-bottom: none;
}
.sidebar-info .icon {
    color: var(--mfm-teal);
    margin-top: 2px;
    flex-shrink: 0;
}
.sidebar-info strong {
    display: block;
    font-size: 13px;
    color: var(--mfm-gray);
    font-weight: 500;
}
.sidebar-info span {
    font-size: 15px;
}

.sidebar-contact {
    position: static;
}
.sidebar-contact p {
    font-size: 14px;
    color: var(--mfm-gray);
    margin-bottom: 12px;
}
.contact-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--mfm-teal);
    margin-bottom: 8px;
}
.contact-link:hover {
    color: var(--mfm-blue);
}

/* --- Archive Header --- */
.section-archive-header {
    background: linear-gradient(135deg, var(--mfm-dark), var(--mfm-blue-dark));
    color: var(--mfm-white);
    padding: 120px 0 40px;
    text-align: center;
}
.section-archive-header .page-title {
    color: var(--mfm-white);
    font-size: 2.5rem;
    margin-bottom: 8px;
}
.section-archive-header .section-subtitle {
    color: rgba(255,255,255,.7);
}

/* --- Bewerbungsformular --- */
.bewerbung-form {
    max-width: 100%;
}

.form-section {
    margin-bottom: 32px;
}
.form-section h3 {
    font-size: 1.1rem;
    margin-bottom: 16px;
    color: var(--mfm-dark);
}

.form-row {
    display: grid;
    gap: 16px;
    margin-bottom: 16px;
}
.form-row-2 {
    grid-template-columns: 1fr 1fr;
}

.form-group {
    margin-bottom: 16px;
}
.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--mfm-gray-dark);
}
.required {
    color: #ef4444;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="date"],
.form-group select {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 15px;
    border: 1px solid var(--mfm-border);
    border-radius: var(--radius);
    background: var(--mfm-white);
    color: var(--mfm-dark);
    transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--mfm-teal);
    box-shadow: 0 0 0 3px rgba(0,161,154,.15);
}
.form-group input.error,
.form-group select.error {
    border-color: #ef4444;
}

/* File Upload */
.file-upload {
    position: relative;
    border: 2px dashed var(--mfm-border);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition);
    background: var(--mfm-light-gray);
}
.file-upload:hover,
.file-upload.dragover {
    border-color: var(--mfm-teal);
    background: rgba(0,161,154,.05);
}
.file-upload input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}
.file-upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--mfm-gray);
    pointer-events: none;
}
.file-upload-label .icon {
    color: var(--mfm-teal);
}
.file-upload-label span {
    font-size: 14px;
    font-weight: 500;
}
.file-upload-label small {
    font-size: 12px;
    color: var(--mfm-gray);
}

.file-upload-preview {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--mfm-teal);
    font-weight: 500;
}

/* Checkbox */
.form-checkbox label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-weight: 400;
}
.form-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: var(--mfm-teal);
    flex-shrink: 0;
}
.form-checkbox span {
    font-size: 14px;
    line-height: 1.5;
    color: var(--mfm-gray-dark);
}
.form-checkbox a {
    color: var(--mfm-teal);
    text-decoration: underline;
}

.form-actions {
    margin-top: 24px;
}

.form-message {
    margin-top: 16px;
    padding: 16px;
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 500;
}
.form-message.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}
.form-message.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* --- Page Content --- */
.page-content {
    padding: 120px 0 60px;
    min-height: 60vh;
}
.page-content .page-title {
    font-size: 2.2rem;
    margin-bottom: 24px;
}
.page-content .entry-content {
    max-width: 800px;
    line-height: 1.8;
}

.section-page-header {
    background: linear-gradient(135deg, var(--mfm-dark), var(--mfm-blue-dark));
    color: var(--mfm-white);
    padding: 120px 0 40px;
}
.section-page-header .page-title {
    color: var(--mfm-white);
    font-size: 2.2rem;
}

.content-narrow {
    max-width: 800px;
}

.prose h2 { font-size: 1.5rem; margin: 32px 0 12px; }
.prose h3 { font-size: 1.2rem; margin: 24px 0 10px; }
.prose p { margin-bottom: 16px; color: var(--mfm-gray-dark); }
.prose ul, .prose ol { padding-left: 20px; margin-bottom: 16px; }
.prose li { margin-bottom: 8px; list-style: disc; }
.prose a { color: var(--mfm-teal); text-decoration: underline; }

/* --- Footer --- */
.site-footer {
    background: var(--mfm-dark);
    color: rgba(255,255,255,.7);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 18px;
    color: var(--mfm-white);
    margin-bottom: 12px;
}
.footer-logo strong {
    color: var(--mfm-teal);
}
.footer-tagline {
    font-size: 14px;
    color: rgba(255,255,255,.5);
}

.footer-col h4 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--mfm-white);
    margin-bottom: 16px;
}
.footer-col ul li {
    margin-bottom: 8px;
}
.footer-col ul li a {
    color: rgba(255,255,255,.6);
    font-size: 14px;
    transition: color var(--transition);
}
.footer-col ul li a:hover {
    color: var(--mfm-teal);
}
.footer-col p {
    font-size: 14px;
    line-height: 1.7;
}
.footer-col a {
    color: var(--mfm-teal);
}

.footer-bottom {
    padding: 20px 0;
    text-align: center;
}
.footer-bottom p {
    font-size: 13px;
    color: rgba(255,255,255,.4);
}

/* --- Pagination --- */
.nav-links {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}
.nav-links a, .nav-links span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
}
.nav-links a {
    background: var(--mfm-white);
    border: 1px solid var(--mfm-border);
    color: var(--mfm-gray-dark);
}
.nav-links a:hover {
    border-color: var(--mfm-teal);
    color: var(--mfm-teal);
}
.nav-links .current {
    background: var(--mfm-teal);
    color: var(--mfm-white);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .job-layout {
        grid-template-columns: 1fr;
    }
    .sidebar-card {
        position: static;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .section { padding: 60px 0; }

    .header-cta { display: none; }
    .mobile-toggle { display: block; }

    .main-nav {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--mfm-white);
        border-bottom: 1px solid var(--mfm-border);
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s;
        padding: 16px 20px;
    }
    .main-nav.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    .nav-list {
        flex-direction: column;
        gap: 0;
    }
    .nav-list li a {
        padding: 12px 16px;
        font-size: 16px;
    }

    .hero { min-height: auto; padding: 120px 0 60px; }
    .hero-title { font-size: 2.2rem; }

    .about-grid { grid-template-columns: 1fr; gap: 32px; }
    .benefits-grid { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .jobs-grid { grid-template-columns: 1fr; }

    .process-timeline {
        flex-direction: column;
        align-items: center;
        gap: 32px;
    }
    .process-timeline::before {
        display: none;
    }
    .process-step {
        max-width: 300px;
    }

    .form-row-2 {
        grid-template-columns: 1fr;
    }

    .contact-card {
        flex-direction: column;
        text-align: center;
    }
    .contact-details {
        align-items: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero-cta { flex-direction: column; }
    .hero-cta .btn { width: 100%; justify-content: center; }
    .about-stats { grid-template-columns: 1fr 1fr; gap: 12px; }
    .stat-item { padding: 16px; }
    .stat-number { font-size: 2rem; }
}

/* --- Utility --- */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* Loading spinner */
.btn.loading {
    pointer-events: none;
    opacity: .7;
}
.btn.loading::after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    margin-left: 8px;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}
