/* =====================================================
TOWNWORK ANGEBOT ANNEHMEN CONTENT
Datei: angebot-annehmen-content.css
===================================================== */

:root {
    --tw-blue: #0d4f93;
    --tw-blue-dark: #061f5f;
    --tw-orange: #ff7417;
    --tw-orange-dark: #e65e08;
    --tw-text: #10244a;
    --tw-muted: #45556e;
    --tw-border: #dce5f1;
    --tw-white: #ffffff;
    --tw-shadow-soft: 0 18px 44px rgba(8, 38, 94, 0.14);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--tw-text);
    background: #ffffff;
}

.accept-page {
    width: 100%;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 12%, rgba(13, 79, 147, 0.11), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #e8f2fd 58%, #ffffff 100%);
}

/* MAIN AREA */

.accept-area {
    position: relative;
    min-height: 760px;
    padding: 44px 0 32px;
    display: grid;
    justify-items: center;
    align-content: start;
    gap: 18px;
    border-top: 3px solid var(--tw-orange);
}

.accept-skyline {
    position: absolute;
    bottom: 96px;
    width: 46%;
    height: 560px;
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.92;
    filter: brightness(0.78) contrast(1.12) saturate(1.2);
    mix-blend-mode: multiply;
    pointer-events: none;
    z-index: 0;
}

.accept-skyline-left {
    left: 0;
    background-image: url('/img/angebot_annehmen_img_hero_left.png');
    background-position: bottom left;
}

.accept-skyline-right {
    right: 0;
    background-image: url('/img/angebot_annehmen_img_hero_right.png');
    background-position: bottom right;
}

.accept-card,
.accept-info-card,
.accept-trustbar-inner {
    position: relative;
    z-index: 2;
}

.accept-card {
    width: min(820px, calc(100% - 64px));
    min-height: 500px;
    padding: 32px 68px 34px;
    text-align: center;
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid rgba(221, 230, 243, 0.95);
    border-radius: 14px;
    box-shadow: var(--tw-shadow-soft);
}

/* PROGRESS */

.accept-progress {
    margin: 0 auto 34px;
    display: grid;
    grid-template-columns: auto 1fr auto 1fr auto 1fr auto 1fr auto;
    align-items: start;
    gap: 0;
}

.progress-item {
    position: relative;
    min-width: 90px;
    display: grid;
    justify-items: center;
    gap: 10px;
    color: #4d5667;
}

.progress-item span {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #d9dde4;
    color: #5e6572;
    font-size: 19px;
    line-height: 1;
    font-weight: 900;
}

.progress-item strong {
    font-size: 13px;
    line-height: 1.25;
    font-weight: 900;
    white-space: nowrap;
}

.progress-item.is-active span {
    background: linear-gradient(180deg, #082d86 0%, #061f5f 100%);
    color: #ffffff;
}

.progress-item.is-active strong {
    color: var(--tw-blue-dark);
}

.progress-line {
    height: 2px;
    margin-top: 20px;
    background: #c9ced8;
}

/* CARD CONTENT */

.accept-icon {
    width: 86px;
    height: 86px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #eaf3ff;
}

.accept-icon img {
    width: 54px;
    height: 54px;
    object-fit: contain;
    display: block;
}

.accept-card h1 {
    margin: 0 0 14px;
    font-size: clamp(32px, 3.2vw, 43px);
    line-height: 1.12;
    font-weight: 900;
    letter-spacing: -0.8px;
    color: var(--tw-blue-dark);
}

.accept-text {
    max-width: 650px;
    margin: 0 auto 24px;
    font-size: 16px;
    line-height: 1.48;
    color: #18243d;
}

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

.accept-form label {
    display: block;
    margin: 0 0 8px;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 900;
    color: var(--tw-blue-dark);
}

.accept-input-wrap {
    position: relative;
    margin-bottom: 12px;
}

.accept-input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    width: 24px;
    height: 24px;
    transform: translateY(-50%);
    opacity: 0.58;
    pointer-events: none;
}

.accept-input-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    display: block;
}

.accept-input-wrap input {
    width: 100%;
    height: 50px;
    padding: 0 18px 0 50px;
    border: 2px solid #d1d7e1;
    border-radius: 8px;
    background: #ffffff;
    color: var(--tw-blue-dark);
    font-size: 17px;
    line-height: 1;
    font-weight: 600;
    outline: none;
    box-shadow: inset 0 1px 2px rgba(0,0,0,.03);
    transition: border-color .16s ease, box-shadow .16s ease;
}

.accept-input-wrap input:focus {
    border-color: #0d4f93;
    box-shadow: 0 0 0 4px rgba(13, 79, 147, 0.12);
}

.accept-submit {
    width: 100%;
    height: 58px;
    margin-top: 0;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    background: linear-gradient(180deg, #ff8425 0%, #fb5b00 100%);
    color: #ffffff;
    font-size: 19px;
    line-height: 1;
    font-weight: 900;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.32), 0 8px 18px rgba(230, 94, 8, .25);
}

.accept-submit span {
    font-size: 25px;
    line-height: 1;
}

.accept-hint {
    margin: 12px 0 0;
    font-size: 12px;
    line-height: 1.4;
    font-weight: 600;
    color: #62708a;
}

.accept-back {
    display: inline-block;
    margin-top: 24px;
    color: var(--tw-blue-dark);
    text-decoration: underline;
    font-size: 15px;
    line-height: 1.3;
    font-weight: 800;
}

/* INFO CARD */

.accept-info-card {
    width: min(820px, calc(100% - 64px));
    min-height: 130px;
    padding: 22px 22px;
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr) 220px;
    gap: 22px;
    align-items: center;
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid rgba(221, 230, 243, 0.95);
    border-radius: 14px;
    box-shadow: var(--tw-shadow-soft);
}

.accept-info-icon {
    width: 86px;
    height: 86px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #eaf3ff;
}

.accept-info-icon img {
    width: 62px;
    height: 62px;
    object-fit: contain;
    display: block;
}

.accept-info-text h2 {
    margin: 0 0 8px;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 900;
    color: var(--tw-blue-dark);
}

.accept-info-text p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 600;
    color: #23375d;
}

.accept-outline-btn {
    height: 44px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 2px solid var(--tw-orange);
    border-radius: 7px;
    color: var(--tw-orange);
    background: #ffffff;
    text-decoration: none;
    font-size: 14px;
    line-height: 1;
    font-weight: 900;
    white-space: nowrap;
}

/* TRUST BAR */

.accept-trustbar {
    padding: 0 0 58px;
}

.accept-trustbar-inner {
    width: min(1230px, calc(100% - 64px));
    margin: 0 auto;
    padding: 22px 24px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    background: #ffffff;
    border: 1px solid var(--tw-border);
    border-radius: 12px;
    box-shadow: var(--tw-shadow-soft);
}

.accept-trust-item {
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 15px;
    align-items: center;
}

.accept-trust-item:not(:last-child) {
    border-right: 1px solid var(--tw-border);
    padding-right: 18px;
}

.accept-trust-icon {
    width: 58px;
    height: 58px;
}

.accept-trust-icon img {
    width: 58px;
    height: 58px;
    object-fit: contain;
    display: block;
}

.accept-trust-item h2 {
    margin: 0 0 6px;
    font-size: 15px;
    line-height: 1.25;
    font-weight: 900;
    color: var(--tw-orange);
}

.accept-trust-item p {
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
    font-weight: 600;
    color: #2d3c4b;
}

/* RESPONSIVE */

@media (max-width: 980px) {
    .accept-card {
        padding: 30px 30px 38px;
    }

    .accept-progress {
        grid-template-columns: repeat(5, 1fr);
        gap: 10px;
    }

    .progress-line {
        display: none;
    }

    .progress-item {
        min-width: 0;
    }

    .progress-item strong {
        font-size: 11px;
        white-space: normal;
    }

    .accept-info-card {
        grid-template-columns: 84px minmax(0, 1fr);
    }

    .accept-outline-btn {
        grid-column: 1 / -1;
        width: 100%;
    }

    .accept-trustbar-inner {
        grid-template-columns: repeat(2, 1fr);
    }

    .accept-trust-item:not(:last-child) {
        border-right: 0;
        padding-right: 0;
    }
}

@media (max-width: 620px) {
    .accept-area {
        padding: 28px 0 30px;
    }

    .accept-card,
    .accept-info-card {
        width: min(100% - 28px, 520px);
    }

    .accept-card {
        padding: 24px 18px 32px;
    }

    .accept-progress {
        margin-bottom: 30px;
    }

    .progress-item span {
        width: 34px;
        height: 34px;
        font-size: 16px;
    }

    .accept-text {
        font-size: 15px;
    }

    .accept-info-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .accept-info-icon {
        margin: 0 auto;
    }

    .accept-trustbar-inner {
        width: min(100% - 28px, 520px);
        grid-template-columns: 1fr;
    }
}

/* FORM MESSAGES */
.accept-message {
    margin: 0 0 16px;
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.45;
    font-weight: 700;
}

.accept-message p {
    margin: 0 0 6px;
}

.accept-message p:last-child {
    margin-bottom: 0;
}

.accept-message-error {
    background: #fff1f1;
    border: 1px solid #ffcaca;
    color: #8a1f1f;
}

.accept-message-success {
    background: #eefaf1;
    border: 1px solid #bfe9c8;
    color: #146b27;
}

.accept-message a {
    color: inherit;
    font-weight: 900;
    text-decoration: underline;
}
