@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --header-bg: #ffffff;
    --footer-bg: #ffffff;
    --button-bg-color: #2354b0;
    --button-text-color: #ffffff;
    --main-accent-color: #2354b0;
    --main-accent-hover: #1d4ed8;
    --main-accent-background: rgba(35, 84, 176, 0.08);
    --main-text-color: #0f172a;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --bg-canvas: #f8fafc;
    --card-bg: #ffffff;
    --card-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.06), 0 8px 10px -6px rgba(15, 23, 42, 0.02);
    --card-radius: 16px;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background-color: var(--bg-canvas);
    color: var(--main-text-color);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ============================================
   GLOBAL LAYOUT & CENTERING
   ============================================ */

/* Header */
header {
    width: 100%;
    background-color: var(--header-bg, #ffffff);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    box-sizing: border-box;
}

.logo__area {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 680px;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

/* Main Content Area */
main {
    flex: 1;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

/* Funnel Container Styling (for candidate application pages) */
body:not(.is-landing-page) main:not(.landing-main) #start:not(:empty),
body:not(.is-landing-page) main:not(.landing-main) #application:not(:empty):not(.hidden__section),
body:not(.is-landing-page) main:not(.landing-main) #final:not(.hidden__section):not(:empty) {
    max-width: 680px;
    margin: 1.5rem auto;
    background: var(--card-bg, #ffffff);
    border-radius: var(--card-radius, 16px);
    padding: 2.25rem 2rem;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-color);
    box-sizing: border-box;
}

/* Landing Page Overrides when loaded inside index.php */
body.is-landing-page main {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

body.is-landing-page #start {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    border-radius: 0 !important;
}

body.is-landing-page > header,
body.is-landing-page > footer {
    display: none !important;
}

/* ============================================
   LANDING PAGE COMPONENT STYLES (Design Draft)
   ============================================ */

.landing-header {
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 1.25rem 2rem;
    box-sizing: border-box;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.landing-header .container {
    max-width: 1140px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: #1e2229;
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.03em;
}

.brand-logo-img {
    height: 38px;
    width: auto;
    max-width: 220px;
    display: block;
    object-fit: contain;
}

.brand-logo-mark {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: radial-gradient(circle, #f59e0b 0%, #d97706 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(245, 158, 11, 0.3);
    flex-shrink: 0;
}

.brand-logo-mark svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: #ffffff;
    stroke-width: 2.5;
    stroke-linecap: round;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.header-nav a {
    text-decoration: none;
    color: #475569;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.header-nav a:hover {
    color: #f59e0b;
}

.nav-btn {
    background: #f59e0b;
    color: #ffffff !important;
    padding: 0.65rem 1.35rem;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.25);
    transition: all 0.2s !important;
    font-weight: 700 !important;
}

.nav-btn:hover {
    background: #d97706 !important;
    transform: translateY(-1px);
}

/* Hero Section */
.hero-section {
    padding: 4.5rem 1.5rem;
    max-width: 1140px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 4rem;
    align-items: start;
    box-sizing: border-box;
}

.hero-left {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-spiral-logo {
    width: 150px;
    height: 150px;
    margin-bottom: 0.5rem;
}

.hero-divider {
    width: 100%;
    height: 2px;
    background-color: #e2e8f0;
    margin: 0.5rem 0;
}

.hero-left h3 {
    font-size: 1.35rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.45;
    margin: 0;
}

.hero-left p {
    color: #475569;
    font-size: 0.975rem;
    line-height: 1.7;
    margin: 0;
}

.hero-right {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.hero-right .section-tag {
    color: #f59e0b;
    font-weight: 800;
    letter-spacing: 0.06em;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.hero-right h2 {
    font-size: 1.9rem;
    font-weight: 900;
    color: #f59e0b;
    line-height: 1.3;
    margin: 0;
    text-transform: uppercase;
}

.hero-right .lead-text {
    font-size: 1.025rem;
    color: #334155;
    font-weight: 500;
    line-height: 1.65;
    margin: 0;
}

.hero-ol {
    list-style: none;
    padding: 0;
    margin: 1.25rem 0;
    display: flex;
    flex-direction: column;
    gap: 1.125rem;
}

.hero-ol li {
    display: flex;
    align-items: flex-start;
    gap: 1.125rem;
    font-size: 0.975rem;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.5;
}

.num-badge {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #f59e0b;
    color: #ffffff;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.05rem;
    box-shadow: 0 4px 10px rgba(245, 158, 11, 0.3);
}

.cta-btn-amber {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #f59e0b;
    color: #ffffff;
    font-weight: 800;
    font-size: 1.05rem;
    padding: 1.1rem 2.25rem;
    border-radius: 12px;
    text-decoration: none;
    align-self: flex-start;
    margin-top: 1rem;
    box-shadow: 0 6px 18px rgba(245, 158, 11, 0.35);
    transition: all 0.25s ease;
}

.cta-btn-amber:hover {
    background-color: #d97706;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(245, 158, 11, 0.45);
}

/* Dark Feature Section */
.dark-section {
    background-color: #1e2229;
    color: #ffffff;
    padding: 5rem 1.5rem;
    width: 100%;
    box-sizing: border-box;
}

.dark-section .container {
    max-width: 1140px;
    margin: 0 auto;
    text-align: center;
}

.dark-section h2 {
    color: #f59e0b;
    font-size: 1.85rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 3.5rem;
    line-height: 1.35;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    text-align: center;
}

.feature-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.feature-icon-circle {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background-color: #f59e0b;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.85rem;
    box-shadow: 0 6px 16px rgba(245, 158, 11, 0.3);
    margin-bottom: 0.5rem;
}

.feature-card h3 {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0;
}

.feature-card p {
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.65;
    margin: 0;
}

/* Workflow Section (Process 1-2-3) */
.workflow-section {
    padding: 5rem 1.5rem;
    background-color: #ffffff;
    width: 100%;
    box-sizing: border-box;
}

.workflow-section .container {
    max-width: 1140px;
    margin: 0 auto;
    text-align: center;
}

.workflow-section h2 {
    font-size: 1.85rem;
    font-weight: 900;
    color: #0f172a;
    text-transform: uppercase;
    margin-bottom: 4rem;
    line-height: 1.35;
}

.workflow-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3.5rem;
}

.workflow-card {
    background-color: #f59e0b;
    color: #1e2229;
    padding: 2.75rem 1.75rem 2.25rem 1.75rem;
    border-radius: 16px;
    position: relative;
    text-align: center;
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.25);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.workflow-card .step-badge {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #1e2229;
    color: #ffffff;
    font-weight: 900;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -24px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.workflow-card h3 {
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.4;
    margin: 0.5rem 0 1rem 0;
    color: #0f172a;
    text-transform: uppercase;
}

.workflow-card p {
    font-size: 0.925rem;
    line-height: 1.6;
    color: #1e293b;
    margin: 0;
}

.cta-btn-dark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #1e2229;
    color: #ffffff;
    font-weight: 800;
    font-size: 1.05rem;
    padding: 1.1rem 2.75rem;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(30, 34, 41, 0.3);
    transition: all 0.25s ease;
}

.cta-btn-dark:hover {
    background-color: #0f172a;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(30, 34, 41, 0.4);
}

/* Landing Footer */
.landing-footer {
    background-color: #16181d;
    color: #94a3b8;
    padding: 4.5rem 1.5rem 2.5rem 1.5rem;
    width: 100%;
    box-sizing: border-box;
}

.landing-footer .container {
    max-width: 1140px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 3.5rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.footer-brand .brand-logo {
    color: #ffffff;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 800;
    margin-top: 0;
    margin-bottom: 1.25rem;
}

.footer-col p, .footer-col a {
    color: #94a3b8;
    font-size: 0.925rem;
    line-height: 1.7;
    text-decoration: none;
}

.footer-col a:hover {
    color: #f59e0b;
}

.copyright-bar {
    max-width: 1140px;
    margin: 3.5rem auto 0 auto;
    padding-top: 2rem;
    border-top: 1px solid #282c34;
    text-align: center;
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.7;
}

.copyright-bar a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.copyright-bar a:hover {
    color: #f59e0b;
    text-decoration: underline;
}

.heart-icon {
    color: #ef4444;
    font-style: normal;
    display: inline-block;
    transition: transform 0.2s ease;
}

.copyright-bar a:hover .heart-icon,
footer p a:hover .heart-icon {
    transform: scale(1.25);
}

#job_intro h2 {
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--main-accent-color, #2354b0);
    letter-spacing: -0.02em;
    line-height: 1.35;
    margin-top: 0.75rem;
    margin-bottom: 0.5rem;
}

.job-subtitle-badge {
    display: inline-flex;
    align-items: center;
    background: var(--main-accent-background, rgba(35, 84, 176, 0.08));
    color: var(--main-accent-color, #2354b0);
    font-weight: 700;
    font-size: 0.92rem;
    padding: 0.4rem 1.1rem;
    border-radius: 999px;
    margin: 0.25rem 0 1.25rem 0;
    border: 1px solid rgba(35, 84, 176, 0.25);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* Landing Responsive Breakpoints */
@media (max-width: 1024px) {
    .hero-section {
        gap: 2.5rem;
        padding: 3.5rem 1.5rem;
    }
    .feature-grid, .workflow-grid {
        gap: 1.75rem;
    }
}

@media (max-width: 860px) {
    .landing-header {
        padding: 1rem 1.25rem;
    }
    .landing-header .container {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    .header-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    .hero-section {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 2.5rem 1.25rem;
        text-align: left;
    }
    .hero-right h2 {
        font-size: 1.6rem;
    }
    .hero-left {
        align-items: flex-start;
    }
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .workflow-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    .workflow-card {
        padding: 2.5rem 1.5rem 2rem 1.5rem;
    }
    .cta-btn-amber, .cta-btn-dark {
        width: 100%;
        box-sizing: border-box;
        text-align: center;
    }
    .dark-section, .workflow-section {
        padding: 3.5rem 1.25rem;
    }
    .dark-section h2, .workflow-section h2 {
        font-size: 1.5rem;
        margin-bottom: 3rem;
    }
    .landing-footer .container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }
    .footer-brand {
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero-right h2 {
        font-size: 1.35rem;
    }
    .dark-section h2, .workflow-section h2 {
        font-size: 1.25rem;
    }
    .hero-spiral-logo {
        width: 110px;
        height: 110px;
    }
    .header-nav {
        font-size: 0.875rem;
        gap: 0.75rem;
    }
    .nav-btn {
        padding: 0.5rem 1rem;
    }
}

/* Default Funnel Footer */
footer:not(.landing-footer) {
    width: 100%;
    background-color: var(--footer-bg, #ffffff);
    border-top: 1px solid var(--border-color);
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    margin-top: auto;
}

footer:not(.landing-footer) ul {
    list-style: none;
        list-style: none;
        margin: 0 auto 1.5rem;
        padding: 0;
        display: flex;
        gap: 2rem;
    }

    footer p {
        color: var(--text-muted);
        font-size: 0.875rem;
    }

    /* Hero Section */
    .hero__image {
        width: 100%;
        height: auto;
        border-radius: 12px;
        margin-bottom: 2rem;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    }

    .hero__content {
        display: grid;
        gap: 1.5rem;
    }

    /* Buttons */
    .intro_button,
    .btn_next,
    .btn_back,
    .submit_button__area button.intro_button {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
        font-weight: 600;
        border-radius: 8px;
        border: none;
        cursor: pointer;
        transition: transform 0.2s, box-shadow 0.2s;
    }

    .intro_button:hover,
    .btn_next:hover,
    .submit_button__area button.intro_button:enabled:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 8px rgba(35, 84, 176, 0.25);
    }

    /* Progress Bar */
    .progress__bar {
        display: flex;
        align-items: center;
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .progress__track {
        flex: 1;
        height: 8px;
        background-color: var(--main-accent-background);
        border-radius: 4px;
        overflow: hidden;
    }

    .progress__fill {
        height: 100%;
        width: 0%;
        background-color: var(--main-accent-color);
        transition: width 0.5s ease-in-out;
        border-radius: 4px;
    }

    /* Form Fields */
    .form-field {
        margin-bottom: 1.5rem;
    }

    .form-field label {
        display: block;
        font-weight: 600;
        margin-bottom: 0.5rem;
    }

    .form-field input[type="text"],
    .form-field input[type="email"],
    .form-field textarea {
        width: 100%;
        padding: 0.75rem;
        border: 2px solid var(--border-color);
        border-radius: 8px;
        font-size: 1rem;
        transition: border-color 0.2s, box-shadow 0.2s;
    }

    .form-field input[type="text"]:focus,
    .form-field input[type="email"]:focus,
    .form-field textarea:focus {
        outline: none;
        border-color: var(--main-accent-color);
        box-shadow: 0 0 0 4px rgba(35, 84, 176, 0.15);
    }

    /* Error Messages */
    .error__message {
        background-color: #fef2f2;
        border-left: 4px solid #ef4444;
        padding: 1rem;
        margin-bottom: 1.5rem;
        border-radius: 0 8px 8px 0;
    }

    /* Quiz Questions */
    .question__area {
        margin-bottom: 2rem;
    }

    .answers_button__area button.btn_answer {
        width: 100%;
        text-align: left;
        padding: 1rem;
        border-radius: 8px;
        border: 2px solid var(--border-color);
        background-color: #ffffff;
        font-size: 1rem;
        transition: all 0.2s;
    }

    .answers_button__area button.btn_answer:hover {
        border-color: var(--main-accent-color);
        transform: translateX(4px);
    }

    .answers_button__area button.btn_answer.selected {
        background-color: var(--main-accent-background);
        border-color: var(--main-accent-color);
        color: var(--main-text-color);
    }
}

/* ============================================
   RESPONSIVE ADJUSTMENTS (max-width: 1023px)
   ============================================ */
@media (max-width: 1023px) {
    header {
        padding: 1rem;
    }

    main {
        padding: 1.5rem 1rem;
    }

    footer ul {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.25rem;
    }

    .hero__image {
        border-radius: 12px;
    }
}

html {
    height: auto;
    background-color: #f8fafc;
}

body {
    height: auto;
    overflow-y: auto;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    color: var(--main-text-color);
    hyphens: auto;
    background-color: #f8fafc;
}

#table__content {
    width: 100%;
    max-width: 100%;
    margin: 1.5rem 0;
    overflow-x: auto;
}

a {
    color: var(--main-accent-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

a:hover {
    color: var(--main-accent-hover);
    text-decoration: underline;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

header {
    width: 100%;
    background-color: var(--header-bg);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05), 0 1px 2px -1px rgba(0, 0, 0, 0.05);
    padding: 1.5rem 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s;
}

.logo__area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

#company__name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--main-text-color);
    margin: 0;
}

#company__name:empty {
    display: none;
}

.logo__area img {
    max-width: 220px;
    max-height: 64px;
    height: 54px;
    width: auto;
    object-fit: contain;
    display: block;
}

/* Utility: Logo verstecken (JS entfernt diese Klasse wenn Logo geladen wird) */
.logo--hidden {
    display: none !important;
}

main {
    min-height: 80vh;
    padding: 0 1rem;
}

/* 1140px Container Enforcer for Landing Page */
.landing-header .container,
.hero-section,
.dark-section .container,
.workflow-section .container,
.landing-footer .container,
.copyright-bar {
    max-width: 1140px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Form container — begrenzt die Breite des gesamten Bewerbungsformulars */
#application {
    max-width: 550px;
    margin: 0 auto;
    width: 100%;
}

#questions {
    width: 100%;
}

/* Smooth Fade In Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

section:not(.hidden__section), #start:not(:empty) {
    animation: fadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hidden__section {
    display: none !important;
}

footer {
    margin-top: 3rem;
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    background-color: var(--footer-bg);
    color: var(--text-muted);
    border-top: 1px solid #e2e8f0;
    font-size: 0.875rem;
    transition: background-color 0.3s;
}

footer ul {
    display: flex;
    gap: 2rem;
    list-style-type: none;
    padding: 0;
    margin: 0;
}

footer p {
    margin: 0;
    padding: 0;
    color: var(--text-muted);
}

h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--main-text-color);
    line-height: 1.3;
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.job-intro__buttons {
    display: grid;
    gap: 1.25rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.job-card-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    width: 100%;
    padding: 1.25rem 1.75rem;
    background-color: #ffffff !important;
    border: 2px solid var(--border-color, #e2e8f0) !important;
    border-radius: 14px;
    cursor: pointer;
    text-align: left;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    box-sizing: border-box;
}

.job-card-button:hover {
    border-color: var(--main-accent-color, #2354b0) !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(35, 84, 176, 0.15);
    background-color: #ffffff !important;
}

.job-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a !important;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.job-card-button:hover .job-card-title {
    color: var(--main-accent-color, #2354b0) !important;
}

.job-card-action {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--button-text-color, #ffffff) !important;
    background-color: var(--button-bg-color, var(--main-accent-color));
    padding: 0.6rem 1.125rem;
    border-radius: 999px;
    white-space: nowrap;
    transition: all 0.2s ease;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(35, 84, 176, 0.2);
}

.job-card-button:hover .job-card-action {
    transform: translateX(4px);
    background-color: var(--main-accent-hover);
}

/* ── Question Area ── */
.question__area {
    margin-bottom: 2rem;
}

.question__area p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.answers_button__area {
    display: grid;
    gap: 0.75rem;
    margin: 1.5rem 0;
}

.answers_button__area button.btn_answer {
    position: relative;
    overflow: hidden;
}

.answers_button__area button.btn_answer::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.2s;
}

.answers_button__area button.btn_answer:hover::after {
    opacity: 1;
}

/* Selected / active state for answer buttons */
.answers_button__area button.btn_answer.selected {
    border-color: var(--main-accent-color) !important;
    background-color: rgba(35, 84, 176, 0.06) !important;
    color: var(--main-accent-color) !important;
    box-shadow: 0 0 0 3px rgba(35, 84, 176, 0.12);
}

.answers_button__area button.btn_answer.selected::before {
    content: '✓';
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--main-accent-color);
}

.intro_button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 1rem 1.5rem;
    background-color: var(--button-bg-color);
    color: var(--button-text-color);
    font-weight: 600;
    font-size: 1rem;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 4px 6px -1px rgba(35, 84, 176, 0.2);
}

.intro_button:hover {
    background-color: var(--main-accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 10px 15px -3px rgba(35, 84, 176, 0.3);
}

.intro_button:active {
    transform: translateY(0);
}

.btn__container {
    width: 100%;
    margin-top: 2rem;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.btn_next, .btn_back {
    border: none;
    color: white;
    background-color: var(--main-accent-color);
    padding: 0.75rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn_next:hover, .btn_back:hover {
    background-color: var(--main-accent-hover);
}

.btn_next {
    margin-left: auto;
}

.btn_next:disabled,
.btn_back:disabled {
    cursor: not-allowed;
    opacity: 0.4;
}

#slider__container {
    width: 100%;
    margin: 1.5rem 0;
}

.comments {
    min-height: 1rem;
}

/* ── Contact Form ── */
#contact__form {
    padding: 0;
}

#contact__form > h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--main-text-color);
    margin-bottom: 1rem;
}

#contact__form > p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* Sections inside contact form — same spacing as question sections */
#contact__form .form-section {
    margin-top: 2.5rem;
}

#contact__form .form-section:first-of-type {
    margin-top: 2rem;
}

/* Section titles — use same progress bar style as questions */
#contact__form .progress__bar {
    margin-bottom: 1.5rem;
}

#contact__form .progress__bar p {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--main-accent-color);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
}

/* Form fields */
#contact__form .form-field {
    margin-bottom: 1.25rem;
}

#contact__form .form-field label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--main-text-color);
    margin-bottom: 0.5rem;
}

#contact__form .form-field input[type="text"],
#contact__form .form-field input[type="email"] {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    border-radius: 14px;
    border: 2px solid #e2e8f0;
    background-color: #f8fafc;
    box-sizing: border-box;
    transition: all 0.2s;
    color: var(--main-text-color);
    font-family: inherit;
}

#contact__form .form-field input[type="text"]:focus,
#contact__form .form-field input[type="email"]:focus {
    outline: none;
    border-color: var(--main-accent-color);
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(35, 84, 176, 0.1);
}

#contact__form .form-field textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 0.95rem;
    border-radius: 14px;
    border: 2px solid #e2e8f0;
    background-color: #f8fafc;
    box-sizing: border-box;
    font-family: inherit;
    transition: all 0.2s;
    resize: vertical;
    color: var(--main-text-color);
}

#contact__form .form-field textarea:focus {
    outline: none;
    border-color: var(--main-accent-color);
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(35, 84, 176, 0.1);
}

/* Phone area — same look as form sections */
#phone__area {
    margin-top: 1.25rem;
}

.submit_button__area {
    display: grid;
    place-items: center;
    margin-top: 2rem;
}

/* Tables */
th {
    text-align: center;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.75rem;
    color: var(--text-muted);
    border-bottom: 2px solid var(--border-color);
}

td {
    padding: 0.75rem;
    line-height: 1.5;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.td__left {
    text-align: left;
    font-weight: 500;
}

.progress__bar {
    margin-bottom: 1.5rem;
}

.progress__bar p {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--main-accent-color);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
}

.progress__track {
    width: 100%;
    height: 6px;
    background-color: #e2e8f0;
    border-radius: 999px;
    overflow: hidden;
}

.progress__fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--main-accent-color, #2354b0), var(--main-accent-hover, #1d4ed8));
    border-radius: 999px;
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.abstand {
    margin-top: 30px;
}

.answers_button__area {
    display: grid;
    gap: 0.875rem;
    margin: 1.5rem 0;
}

.multi_select {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
    width: 100%;
    margin: 1.5rem 0;
}

.nav_button__area {
    width: 100%;
    margin: 2.5rem 0 0 0;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

/* Buttons Answer */
.btn_answer {
    width: 100%;
    min-height: 60px;
    padding: 1.125rem 1.5rem;
    background-color: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    color: var(--main-text-color);
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.5;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.btn_answer:hover {
    background-color: var(--main-accent-background);
    border-color: var(--main-accent-color);
    color: var(--main-accent-color);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px -2px rgba(35, 84, 176, 0.15);
}

.btn_answer:active {
    transform: translateY(0);
}

.error__message, .sub__decoration {
    position: relative;
    padding: 1.25rem;
    border-radius: 12px;
    color: #b91c1c;
    width: 100%;
    margin: 1.5rem 0;
    background-color: #fef2f2;
    border: 1px solid #fee2e2;
    box-sizing: border-box;
    font-size: 0.9rem;
    line-height: 1.5;
}

.error__message:before,
.sub__decoration:before {
    content: ' ';
    position: absolute;
    width: 0;
    height: 0;
    right: 28px;
    top: -17px;
    border-left: 14px solid transparent;
    border-right: 14px solid transparent;
    border-bottom: 17px solid #fef2f2;
}

.sub__decoration {
    margin-top: 30px;
    background-color: #f8fafc;
    border-color: #e2e8f0;
    color: var(--main-text-color);
    display: flex;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 0.8rem;
}

.mini_button {
    background-color: white;
    color: var(--main-text-color);
    border: 1px solid var(--border-color);
    flex-basis: 30%;
    flex-grow: 1;
}

.icon__holder {
    font-size: 2rem;
    line-height: 2rem;
    width: 50px;
    height: 50px;
    margin: 0 auto;
}

/* Error messages */
.error__hidden {
    display: none;
}

.sub__hidden {
    display: none;
}

@media(hover: hover) and (pointer: coarse) {
    .btn_answer {
        background-color: #f8fafc;
        color: #334155;
        border: 2px solid #e2e8f0;
    }
    .btn_answer:hover {
        background-color: var(--main-accent-background);
        border-color: var(--main-accent-color);
        color: var(--main-accent-color);
    }
}

@media(max-width: 700px) {
    main {
        padding: 1rem 0.75rem;
    }
    section, #start:not(:empty) {
        margin: 0.5rem auto;
        padding: 1.35rem 1.125rem;
        border-radius: 14px;
    }
    .job-card-button {
        padding: 1rem 1.125rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.875rem;
    }
    .job-card-info {
        width: 100%;
    }
    .job-card-action {
        width: 100%;
        text-align: center;
        box-sizing: border-box;
        display: block;
    }
    table {
        width: 100%;
    }
    h2 {
        font-size: 1.25rem;
    }
    .answers_button__area button.btn_answer {
        padding: 0.875rem 1rem;
        min-height: 50px;
        font-size: 0.925rem;
    }
    /* Stack gender options vertically on small screens */
    #contact__form .gender-options {
        grid-template-columns: repeat(2, 1fr);
    }
    /* Stack time options vertically on small screens */
    #contact__form .time-options {
        grid-template-columns: 1fr;
    }
    /* Make submit button full-width on mobile */
    .submit_button__area button.intro_button {
        max-width: 100%;
    }
}

@media(min-width: 1024px) {
    #answer_6_2 {
        bottom: 30%;
    }
}

/* Form inputs styling */
.btn_navigation p {
    color: var(--main-text-color);
}

#phone__area {
    transition: all 0.3s ease-in-out;
    transform: scaleY(1);
}

.area__hidden {
    transform: scaleY(0);
    display: none;
}

input[type="text"],
input[type="email"] {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background-color: white;
    box-sizing: border-box;
    transition: all 0.2s;
}

input[type="text"]:focus, 
input[type="email"]:focus,
textarea:focus {
    outline: none;
    border-color: var(--main-accent-color);
    box-shadow: 0 0 0 3px rgba(35, 84, 176, 0.15);
}

/* Customize radio buttons */
input[type="radio"] {
    display: none;
}

input[type="radio"]+label {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.95rem;
    color: #334155;
    font-weight: 500;
    user-select: none;
    margin: 0.5rem 0;
}

input[type="radio"]+label::before {
    content: "";
    display: inline-block;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    background: white;
    transition: all 0.2s ease-in-out;
}

input[type="radio"]:checked+label::before {
    border-color: var(--main-accent-color);
    background: radial-gradient(var(--main-accent-color) 0%, var(--main-accent-color) 40%, transparent 45%, transparent);
}

input[type="radio"]:checked+label {
    color: var(--main-accent-color);
    font-weight: 600;
}

/* ── Submit Button ── */
.submit_button__area {
    display: grid;
    place-items: center;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 2px solid #e2e8f0;
}

.submit_button__area button.intro_button {
    width: 100%;
    max-width: 320px;
    padding: 1rem 2rem;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    border-radius: 14px;
    border: none;
    cursor: not-allowed;
    opacity: 0.45;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: none;
}

.submit_button__area button.intro_button:enabled {
    opacity: 1;
    cursor: pointer;
    box-shadow: 0 8px 24px -4px rgba(35, 84, 176, 0.35);
}

.submit_button__area button.intro_button:enabled:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px -4px rgba(35, 84, 176, 0.45);
}

.submit_button__area button.intro_button:enabled:active {
    transform: translateY(0);
}

/* Checkboxes styling */
input[type="checkbox"] {
    accent-color: var(--main-accent-color);
    width: 1.15rem;
    height: 1.15rem;
    cursor: pointer;
}

textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-sizing: border-box;
    font-family: inherit;
    transition: all 0.2s;
}

/* TOGGLE CHECKBOXES */
input[type="checkbox"].toggle {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
    opacity: 0;
}

input[type="checkbox"].toggle+label {
    display: flex;
    width: 100%;
    height: auto;
    min-height: 60px;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    color: #334155;
    background-color: #f8fafc;
    border: 2px solid #e2e8f0;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    box-sizing: border-box;
}

input[type="checkbox"].toggle:checked+label {
    background-color: rgba(35, 84, 176, 0.05);
    border-color: var(--main-accent-color);
    color: var(--main-accent-color);
}

input[type="checkbox"].toggle:checked+label > img {
    filter: brightness(0) saturate(100%) invert(31%) sepia(87%) saturate(1011%) CodeContent(206deg) brightness(85%) contrast(89%);
}

.btn__disabled {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
    transform: none !important;
}

.gfx_label {
    display: grid !important;
    place-items: center;
    place-content: center;
}

.gfx_label > img {
    width: 30px;
    height: 30px;
}

.mini_button > img {
    width: 30px;
    height: 30px;
    margin: 1rem auto;
}

.q_input {
    width: 100%;
}

/* ============================================
   LEGAL CONTAINER STYLES (Impressum & Datenschutz)
   ============================================ */
.legal-container {
    max-width: 850px !important;
    margin: 3rem auto !important;
    padding: 2.5rem !important;
    background: #ffffff !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06) !important;
    color: #1e293b !important;
    line-height: 1.7 !important;
    box-sizing: border-box !important;
}

.legal-container h1 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: #0f172a;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 0.75rem;
}

.legal-container h2 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    color: #f59e0b;
}

.legal-container h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: #1e2229;
}

.legal-container p, .legal-container ul {
    margin-bottom: 1.25rem;
    font-size: 0.975rem;
}

.legal-container a {
    color: #f59e0b;
    text-decoration: none;
    font-weight: 600;
}

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

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.75rem;
    font-weight: 700;
    color: #475569;
    text-decoration: none;
}

.back-link:hover {
    color: #f59e0b;
}

/* ============================================
   AKTUELLE STELLENANGEBOTE (1140px Layout)
   ============================================ */
.jobs-page-hero {
    background: linear-gradient(135deg, #1e2229 0%, #0f172a 100%);
    color: #ffffff;
    padding: 3.5rem 1rem 3rem 1rem;
    text-align: center;
}

.jobs-page-hero h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.jobs-page-hero p {
    font-size: 1.1rem;
    color: #94a3b8;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
}

.filter-controls-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 1.5rem 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    max-width: 1140px;
    margin: -2rem auto 2.5rem auto;
    position: relative;
    z-index: 10;
    box-sizing: border-box;
}

.filter-flex {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.search-input-wrapper {
    flex: 1;
    min-width: 260px;
    position: relative;
}

.search-input-wrapper input {
    width: 100%;
    padding: 0.85rem 1.2rem 0.85rem 2.75rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    outline: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.search-input-wrapper input:focus {
    border-color: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.1rem;
    color: #94a3b8;
}

.plz-chips-container {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
}

.plz-chip {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    color: #334155;
    padding: 0.4rem 0.9rem;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.plz-chip:hover, .plz-chip.active {
    background: #f59e0b;
    border-color: #f59e0b;
    color: #ffffff;
}

.jobs-section-container {
    max-width: 1140px;
    margin: 0 auto 4rem auto;
    padding: 0 1rem;
    box-sizing: border-box;
}

.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.75rem;
}

.job-card-item {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    padding: 1.75rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-sizing: border-box;
}

.job-card-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
    border-color: #f59e0b;
}

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

.plz-badge {
    background: rgba(245, 158, 11, 0.12);
    color: #d97706;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.35rem 0.75rem;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.job-card-logo {
    max-height: 40px;
    max-width: 130px;
    object-fit: contain;
}

.job-card-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.job-card-company {
    font-size: 0.95rem;
    color: #64748b;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.job-card-footer {
    margin-top: auto;
    padding-top: 1.25rem;
    border-top: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.apply-btn {
    background: #1e2229;
    color: #ffffff;
    padding: 0.65rem 1.25rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.apply-btn:hover {
    background: #f59e0b;
    color: #ffffff;
}

.no-results {
    text-align: center;
    padding: 4rem 2rem;
    background: #ffffff;
    border-radius: 16px;
    border: 1px dashed #cbd5e1;
    grid-column: 1 / -1;
}

.no-results h3 {
    font-size: 1.3rem;
    color: #334155;
    margin-bottom: 0.5rem;
}

.no-results p {
    color: #64748b;
    font-size: 0.95rem;
}

.subline {
    text-transform: none; 
}

/* ============================================
   MATRIX / TABELLEN-FRAGEN (Vorschlag 2)
   ============================================ */
.matrix-container {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin: 1.5rem 0;
    text-align: left;
}

.matrix-row {
    background: var(--card-bg, #ffffff);
    border: 1.5px solid var(--border-color, #e2e8f0);
    border-radius: 12px;
    padding: 1.1rem 1.25rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.matrix-row:hover,
.matrix-row:focus-within {
    border-color: var(--main-accent-color, #2354b0);
    box-shadow: 0 4px 12px rgba(35, 84, 176, 0.08);
}

.matrix-row-title {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--main-text-color, #0f172a);
    margin-bottom: 0.75rem;
}

.matrix-row-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.matrix-other-input {
    flex: 1;
    min-width: 180px;
    padding: 0.45rem 0.75rem;
    border: 1.5px solid var(--border-color, #cbd5e1);
    border-radius: 6px;
    font-size: 0.95rem;
    color: var(--main-text-color, #0f172a);
    outline: none;
    transition: border-color 0.2s ease;
}

.matrix-other-input:focus {
    border-color: var(--main-accent-color, #2354b0);
}

.matrix-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 0.6rem;
}

.matrix-option-btn {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.65rem 0.85rem;
    background: var(--bg-canvas, #f8fafc);
    border: 1.5px solid var(--border-color, #e2e8f0);
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--main-text-color, #334155);
    text-align: left;
    transition: all 0.2s ease;
}

.matrix-option-btn:hover {
    border-color: var(--main-accent-color, #2354b0);
    background: #ffffff;
}

.matrix-radio-indicator {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid #94a3b8;
    flex-shrink: 0;
    transition: all 0.2s ease;
    background: transparent;
}

.matrix-option-btn.selected {
    background: var(--main-accent-background, rgba(35, 84, 176, 0.1)) !important;
    border-color: var(--main-accent-color, #2354b0) !important;
    color: var(--main-accent-color, #2354b0) !important;
    font-weight: 700;
}

.matrix-option-btn.selected .matrix-radio-indicator {
    border-color: var(--main-accent-color, #2354b0) !important;
    background: var(--main-accent-color, #2354b0) !important;
    box-shadow: inset 0 0 0 3px #ffffff;
}

/* ============================================
   ZWEITER BUTTON & DIREKTKONTAKT-BOX (INTRO)
   ============================================ */
.btn-secondary-intro {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.85rem 1.5rem;
    background-color: transparent;
    color: var(--main-accent-color, #2354b0);
    font-weight: 700;
    font-size: 0.95rem;
    border: 2px solid var(--main-accent-color, #2354b0);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    margin-top: 0.75rem;
    box-sizing: border-box;
}

.btn-secondary-intro:hover,
.btn-secondary-intro.active {
    background-color: var(--main-accent-background, rgba(35, 84, 176, 0.08));
    border-color: var(--main-accent-hover, #1d4ed8);
    transform: translateY(-1px);
}

.direct-contact-box {
    margin-top: 1rem;
    background: var(--bg-canvas, #f8fafc);
    border: 1.5px solid var(--border-color, #e2e8f0);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    text-align: left;
    color: var(--main-text-color, #0f172a);
    font-size: 0.95rem;
    line-height: 1.6;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    animation: fadeInSlideDown 0.25s ease-out;
}

.direct-contact-content a,
.direct-contact-content a.contact-link {
    color: var(--main-accent-color, #2354b0) !important;
    text-decoration: underline;
    font-weight: 700;
    transition: opacity 0.2s ease;
}

.direct-contact-content a:hover,
.direct-contact-content a.contact-link:hover {
    opacity: 0.8;
}

@keyframes fadeInSlideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}