* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #F2EFE3;
    color: #222;
    display: flex;
    flex-direction: column;
}

.site-header {
    background: #F2EFE3;
    padding: 24px 24px 10px;
}

.site-header-inner {
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
    text-align: left;
}

.main-logo {
    width: 52%;
    max-width: 602px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.container {
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
    padding: 24px 22px 36px;
    flex: 1;
}

.card {
    background: #fff;
    border-radius: 18px;
    padding: 34px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.08);
}

h1 {
    font-size: 32px;
    margin-top: 0;
    color: #244a82;
}

h2 {
    color: #244a82;
}

.subline {
    font-size: 19px;
    line-height: 1.45;
    margin-bottom: 22px;
}

.highlight {
    background: #244a82;
    color: #fff;
    padding: 18px;
    border-radius: 14px;
    margin: 24px 0;
    font-size: 20px;
    font-weight: bold;
}

ul {
    line-height: 1.7;
    font-size: 17px;
    padding-left: 22px;
}

.career-form {
    margin-top: 26px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 22px;
}

.form-field-full {
    grid-column: 1 / -1;
}

label {
    display: block;
    margin-bottom: 7px;
    font-weight: bold;
}

input,
textarea {
    width: 100%;
    padding: 14px;
    border-radius: 10px;
    border: 1px solid #ccc;
    font-size: 16px;
    background: #fff;
}

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

button {
    margin-top: 24px;
    width: 100%;
    padding: 16px;
    background: #244a82;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 19px;
    font-weight: bold;
    cursor: pointer;
}

button:hover {
    background: #1b3965;
}

.success {
    background: #dff5e1;
    color: #146b24;
    padding: 18px;
    border-radius: 12px;
    font-weight: bold;
    margin-bottom: 20px;
}

.error {
    background: #ffe1e1;
    color: #9b0000;
    padding: 18px;
    border-radius: 12px;
    font-weight: bold;
    margin-bottom: 20px;
}

.hint {
    font-size: 13px;
    color: #666;
    margin-top: 7px;
}

.checkbox-field label {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
    font-weight: normal;
    line-height: 1.45;
    cursor: pointer;
}

.checkbox-field input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin: 2px 0 0 0;
    padding: 0;
    flex: 0 0 20px;
}

.site-footer {
    margin-top: auto;
}

.footer-bar {
    position: relative;
    height: 110px;
    background: #244a82;
}

.footer-bubble {
    position: absolute;
    right: 48px;
    bottom: 18px;
    width: 150px;
    height: auto;
}

	
@media (max-width: 700px) {
    .site-header {
        padding: 18px 16px 6px;
    }

    .site-header-inner {
        width: 100%;
        max-width: none;
        margin: 0 auto;
        text-align: center;
    }

    .main-logo {
        width: 310px;
        max-width: 100%;
        height: auto;
        display: block;
        margin: 0 auto;
    }


    .container {
        padding: 8px 16px 24px;
    }

    .card {
        padding: 24px 20px;
        border-radius: 14px;
    }

    h1 {
        font-size: 26px;
    }

    .subline {
        font-size: 18px;
    }

    .highlight {
        font-size: 18px;
        padding: 16px 18px;
    }

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

    .card ul {
        padding-left: 20px;
        margin-left: 0;
    }

    .card li {
        padding-left: 0;
        margin-bottom: 6px;
    }

    .footer-bar {
        height: 90px;
    }

    .footer-bubble {
        right: 20px;
        bottom: 15px;
        width: 105px;
    }
}

/* === Funnel-Steuerung === */
.funnel-step { display: none; }
.funnel-step.active { display: block; }

.funnel-page { display: none; }
.funnel-page.active { display: block; }

.hero-points {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 18px 0;
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 18px;
}

.choice {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 8px 0;
    padding: 11px 12px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-weight: normal;
    cursor: pointer;
}

.choice input[type="radio"] {
    width: 18px;
    height: 18px;
    margin: 0;
    flex: 0 0 18px;
}

.step-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.step-actions button {
    margin-top: 0;
}

.step-actions .secondary {
    background: #e9e9e9;
    color: #222;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e6e6e6;
    border-radius: 999px;
    overflow: hidden;
}

.progress-bar span {
    display: block;
    height: 100%;
    width: 0;
    background: #244a82;
}

.progress-text {
    margin-top: 7px;
    font-size: 13px;
    color: #666;
}

.full {
    grid-column: 1 / -1;
}

@media (max-width: 700px) {
    .hero-points,
    .benefit-grid {
        grid-template-columns: 1fr;
    }

    .step-actions {
        flex-direction: column;
    }
}
