/*
|--------------------------------------------------------------------------
| JustDate24 – Unterseite „Kontakt“
|--------------------------------------------------------------------------
| Pfad: /css/kontakt.css
|--------------------------------------------------------------------------
*/

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

:root {
    --contact-navy: #082f6b;
    --contact-orange: #ff6329;
    --contact-orange-dark: #e84f18;
    --contact-blue: #3774c7;
    --contact-green: #74b555;
    --contact-red: #ef526c;
    --contact-text: #1b3b64;
    --contact-muted: #526983;
    --contact-border: #dce5ef;
}

.contact-page,
.contact-page * {
    box-sizing: border-box;
}

.contact-page {
    width: 100%;
    background:
        radial-gradient(circle at 14% 0%, rgba(255,255,255,.98), transparent 34%),
        linear-gradient(180deg, #fff 0%, #f8fafc 100%);
    color: var(--contact-text);
    font-family: 'Roboto', Arial, sans-serif;
    padding: 10px 0 27px;
}

.contact-page a {
    color: inherit;
}

.contact-shell {
    width: min(100% - 40px, 1360px);
    margin: 0 auto;
}

.contact-icon-sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

/* HERO */

.contact-hero {
    display: grid;
    grid-template-columns: minmax(450px, 43%) minmax(0, 57%);
    min-height: 230px;
    margin-bottom: 15px;
    overflow: hidden;
    border-radius: 18px 0 0 18px;
    background: #fff;
}

.contact-hero-copy {
    position: relative;
    z-index: 2;
    padding: 20px 36px 24px;
    border: 3px solid var(--contact-orange);
    border-radius: 18px;
    background: rgba(255,255,255,.97);
    box-shadow: 0 5px 15px rgba(23, 52, 90, .05);
}

.contact-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 13px;
    color: #365274;
    font-size: 11px;
    font-weight: 700;
}

.contact-breadcrumb a {
    text-decoration: none;
}

.contact-breadcrumb a:hover {
    color: var(--contact-orange);
}

.contact-hero h1 {
    margin: 0;
    color: var(--contact-navy);
    font-size: clamp(50px, 5.3vw, 70px);
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 1;
}

.contact-hero-script {
    margin: 11px 0 10px;
    color: var(--contact-orange);
    font-family: 'Caveat', cursive;
    font-size: clamp(28px, 2.9vw, 39px);
    font-weight: 600;
    line-height: 1;
}

.contact-hero-text {
    margin: 0;
    color: #29486d;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.6;
}

.contact-hero-media {
    min-width: 0;
    min-height: 230px;
    overflow: hidden;
}

.contact-hero-media img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 230px;
    object-fit: cover;
    object-position: center;
}

/* MAIN LAYOUT */

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(350px, .95fr);
    gap: 15px;
    align-items: start;
}

.contact-form-card,
.contact-side-card {
    border: 1px solid var(--contact-border);
    border-radius: 10px;
    background: rgba(255,255,255,.98);
    box-shadow: 0 4px 16px rgba(22, 51, 90, .035);
}

.contact-form-card {
    padding: 22px 30px 17px;
}

.contact-form-card h2,
.contact-side-card h2 {
    margin: 0 0 14px;
    color: var(--contact-navy);
    font-size: 19px;
    font-weight: 900;
    line-height: 1.2;
}

.contact-form {
    display: grid;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.contact-field {
    margin-bottom: 14px;
}

.contact-field label {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--contact-navy);
    font-size: 13px;
    font-weight: 900;
}

.contact-field label span {
    color: var(--contact-orange);
}

.contact-field input,
.contact-field select,
.contact-field textarea {
    width: 100%;
    border: 1px solid #d7e1eb;
    border-radius: 4px;
    background: #fff;
    color: #27476d;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 13px;
    padding: 13px 14px;
    outline: none;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
    color: #8c98aa;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
    border-color: #a8bfdc;
    box-shadow: 0 0 0 3px rgba(55, 116, 199, .08);
}

.contact-field textarea {
    min-height: 118px;
    resize: vertical;
}

.contact-select-wrap {
    position: relative;
}

.contact-select-wrap select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 42px;
}

.contact-select-wrap > span {
    position: absolute;
    top: 50%;
    right: 14px;
    color: #506781;
    font-size: 20px;
    line-height: 1;
    transform: translateY(-58%);
    pointer-events: none;
}

.contact-consent {
    margin: 6px 0 12px;
}

.contact-consent label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #425875;
    font-size: 12px;
    line-height: 1.5;
}

.contact-consent input[type="checkbox"] {
    width: 16px;
    height: 16px;
    min-width: 16px;
    min-height: 16px;
    margin: 2px 0 0;
    flex-shrink: 0;
    accent-color: var(--contact-orange);
    cursor: pointer;
}

.contact-consent span {
    display: block;
}

.contact-consent a {
    color: var(--contact-orange);
    text-decoration: none;
}

.contact-consent a:hover {
    text-decoration: underline;
}

.contact-captcha-placeholder {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 12px;
    width: min(100%, 262px);
    min-height: 78px;
    padding: 11px 11px 9px;
    border: 1px solid #d2d7df;
    border-radius: 3px;
    background: #fafafa;
    box-shadow: inset 0 0 0 1px #f2f2f2;
}

.contact-captcha-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-captcha-checkbox span {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #c7ccd5;
    border-radius: 2px;
    background: #fff;
}

.contact-captcha-checkbox p {
    margin: 0;
    color: #464f5e;
    font-size: 12px;
}

.contact-captcha-branding {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
    text-align: right;
}

.contact-captcha-badge {
    color: #8a96a6;
    font-size: 11px;
    font-weight: 700;
}

.contact-captcha-branding small {
    color: #9ba3af;
    font-size: 8px;
    line-height: 1.2;
}

.contact-form-actions {
    margin-top: 10px;
}

.contact-submit-button,
.contact-outline-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    min-height: 37px;
    padding: 9px 24px;
    border-radius: 5px;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.contact-submit-button {
    min-width: 236px;
    border: 0;
    background: linear-gradient(180deg, #ff7c40, var(--contact-orange));
    color: #fff;
    box-shadow: 0 5px 12px rgba(255,99,41,.18);
}

.contact-submit-button:hover,
.contact-outline-button:hover {
    transform: translateY(-1px);
}

.contact-required-note {
    margin: 12px 0 0;
    color: #5b6f8a;
    font-size: 12px;
    font-weight: 700;
}

/* SIDEBAR */

.contact-sidebar {
    display: grid;
    gap: 10px;
}

.contact-side-card {
    padding: 16px 18px;
}

.contact-side-card-feedback {
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 16px;
    border-color: #f0e1d7;
    background: linear-gradient(110deg, #fffaf6 0%, #fff 100%);
}

.contact-side-card-privacy {
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr);
    align-items: center;
    gap: 15px;
    padding-top: 11px;
    padding-bottom: 12px;
    background: linear-gradient(110deg, #f7fbff 0%, #fff 100%);
}

.contact-side-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
}

.contact-side-icon svg,
.contact-trust-icon svg {
    width: 31px;
    height: 31px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contact-side-icon-heart {
    background: #fff2e8;
    color: var(--contact-orange);
}

.contact-side-icon-shield {
    background: #eef5fd;
    color: var(--contact-blue);
}

.contact-side-card p {
    margin: 0;
    color: #304f72;
    font-size: 12px;
    line-height: 1.6;
}

.contact-side-script {
    margin-top: 10px !important;
    color: var(--contact-orange) !important;
    font-family: 'Caveat', cursive;
    font-size: 26px !important;
    line-height: 1.05 !important;
}

.contact-faq-list {
    margin: 0 0 16px;
    padding: 0;
    list-style: none;
}

.contact-faq-list li {
    border-top: 1px solid #e7ecf2;
}

.contact-faq-list li:first-child {
    border-top: 0;
}

.contact-faq-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    min-height: 47px;
    color: var(--contact-navy);
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
}

.contact-faq-list a span {
    color: #4a6484;
    font-size: 20px;
    line-height: 1;
}

.contact-faq-list a:hover {
    color: var(--contact-orange);
}

.contact-outline-button {
    width: 100%;
    border: 1px solid #f1b699;
    background: #fff;
    color: var(--contact-orange-dark);
}

/* TRUST BAR */

.contact-trustbar {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 14px;
    padding: 14px 8px 0;
    border-top: 1px solid #e1e7ef;
}

.contact-trust-item {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    min-height: 66px;
    padding: 0 26px;
    border-right: 1px solid #e1e7ef;
}

.contact-trust-item:last-child {
    border-right: 0;
}

.contact-trust-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
}

.contact-trust-green {
    color: var(--contact-green);
}

.contact-trust-blue {
    color: var(--contact-blue);
}

.contact-trust-red {
    color: var(--contact-red);
}

.contact-trust-item p {
    margin: 0;
    color: #51657f;
    font-size: 9px;
    line-height: 1.4;
}

.contact-trust-item strong {
    display: block;
    margin-bottom: 3px;
    color: var(--contact-navy);
    font-size: 11px;
}



/* ==================================================
   FORMULARSTATUS UND SICHERHEIT
================================================== */

.contact-alert {
    margin: 0 0 18px;
    padding: 14px 16px;
    border: 1px solid transparent;
    border-radius: 7px;
    font-size: 12px;
    line-height: 1.55;
}

.contact-alert-success {
    border-color: #9ed89e;
    background: #f2fff2;
    color: #176b2b;
}

.contact-alert-error {
    border-color: #efb1b1;
    background: #fff3f3;
    color: #932323;
}

.contact-alert-error strong {
    display: block;
    margin-bottom: 5px;
}

.contact-alert-error ul {
    margin: 0;
    padding-left: 18px;
}

.contact-honeypot {
    position: absolute !important;
    left: -10000px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.contact-human-check {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 76px;
    align-items: center;
    gap: 16px;
    width: min(100%, 430px);
    padding: 13px 14px;
    border: 1px solid #d6e0eb;
    border-radius: 6px;
    background: #f8fbff;
}

.contact-human-check > div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-human-check strong {
    color: var(--contact-navy);
    font-size: 13px;
}

.contact-human-check small {
    color: #667992;
    font-size: 9px;
    line-height: 1.4;
}

.contact-human-check input {
    width: 76px;
    height: 43px;
    padding: 0 8px;
    border: 1px solid #c9d7e6;
    border-radius: 5px;
    background: #fff;
    color: var(--contact-navy);
    font-size: 18px;
    font-weight: 800;
    text-align: center;
    outline: none;
}

.contact-human-check input:focus {
    border-color: var(--contact-orange);
    box-shadow: 0 0 0 3px rgba(255, 99, 41, .10);
}

.contact-submit-button:disabled {
    cursor: not-allowed;
    opacity: .65;
}

/* RESPONSIVE */

@media (max-width: 1100px) {
    .contact-shell {
        width: min(100% - 28px, 980px);
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .contact-sidebar {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }

    .contact-side-card-privacy {
        grid-column: 1 / -1;
    }

    .contact-trustbar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 15px;
    }

    .contact-trust-item:nth-child(2) {
        border-right: 0;
    }
}

@media (max-width: 760px) {
    .contact-page {
        padding-top: 4px;
    }

    .contact-shell {
        width: min(100% - 18px, 650px);
    }

    .contact-hero {
        grid-template-columns: 1fr;
        border-radius: 18px;
    }

    .contact-hero-copy {
        padding: 20px 18px 22px;
    }

    .contact-hero-media,
    .contact-hero-media img {
        min-height: 220px;
    }

    .contact-form-card {
        padding: 18px;
    }

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

    .contact-sidebar {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .contact-hero h1 {
        font-size: 46px;
    }

    .contact-hero-script {
        font-size: 29px;
    }

    .contact-side-card-feedback,
    .contact-side-card-privacy {
        grid-template-columns: 1fr;
    }

    .contact-side-icon {
        margin: 0 auto;
    }

    .contact-side-card h2,
    .contact-side-card p,
    .contact-side-script {
        text-align: center;
    }

    .contact-submit-button {
        width: 100%;
        min-width: 0;
    }

    .contact-human-check {
        grid-template-columns: 1fr;
        width: 100%;
    }

    .contact-human-check input {
        width: 100%;
    }

    .contact-captcha-placeholder {
        width: 100%;
    }

    .contact-trustbar {
        grid-template-columns: 1fr;
    }

    .contact-trust-item,
    .contact-trust-item:nth-child(2) {
        border-right: 0;
        border-bottom: 1px solid #e1e7ef;
        padding: 12px 4px;
    }

    .contact-trust-item:last-child {
        border-bottom: 0;
    }
}
