/*
|--------------------------------------------------------------------------
| JustDate24 – öffentliche Unterseite „Sicherheit“
|--------------------------------------------------------------------------
| Vorgesehener Pfad:
| /pages/sicherheit/sicherheit.css
|--------------------------------------------------------------------------
*/

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

:root {
    --safety-navy: #082e69;
    --safety-navy-dark: #05285f;
    --safety-orange: #ff5c23;
    --safety-orange-soft: #fff7f2;
    --safety-blue: #2d72c9;
    --safety-light-blue: #78a9e6;
    --safety-green: #76b558;
    --safety-red: #ff5f5f;
    --safety-text: #0a2a59;
    --safety-muted: #516480;
    --safety-border: #d8e2ef;
    --safety-bg: #f7f9fc;
}

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

.safety-page {
    width: 100%;
    background:
        radial-gradient(circle at 20% 0%, rgba(255, 255, 255, .95), rgba(255, 255, 255, 0) 36%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    color: var(--safety-text);
    font-family: 'Roboto', Arial, sans-serif;
    padding: 12px 0 26px;
}

.safety-page a {
    color: inherit;
}

.safety-shell {
    width: min(100% - 46px, 1180px);
    margin: 0 auto;
}

.safety-svg-sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

/* BREADCRUMB */

.safety-breadcrumb {
    display: flex;
    align-items: center;
    gap: 7px;
    min-height: 28px;
    margin-bottom: 10px;
    color: #28456e;
    font-size: 11px;
    font-weight: 700;
}

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

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

/* HERO */

.safety-hero {
    display: grid;
    grid-template-columns: 38% 62%;
    min-height: 330px;
    margin-bottom: 12px;
    overflow: hidden;
    border-radius: 2px;
    background: #fff;
}

.safety-hero-copy {
    padding: 27px 30px 24px 12px;
}

.safety-hero-copy h1 {
    margin: 0;
    color: var(--safety-navy);
    font-size: clamp(40px, 4.3vw, 62px);
    font-weight: 900;
    letter-spacing: -2px;
    line-height: .95;
}

.safety-script {
    margin: 14px 0 18px;
    color: var(--safety-orange);
    font-family: 'Caveat', cursive;
    font-size: clamp(25px, 2.6vw, 37px);
    font-weight: 600;
    line-height: 1;
}

.safety-intro {
    max-width: 360px;
    margin: 0;
    color: #173b69;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.75;
}

.safety-hero-image {
    position: relative;
    min-height: 330px;
    background:
        linear-gradient(90deg, rgba(255,255,255,.28) 0%, rgba(255,255,255,0) 18%),
        url('/img/sicherheit_hero.png') center / cover no-repeat;
}

.safety-hero-claim {
    position: absolute;
    top: 66px;
    left: 36%;
    display: flex;
    flex-direction: column;
    color: #fff;
    font-family: 'Caveat', cursive;
    font-size: clamp(25px, 2.5vw, 38px);
    font-weight: 600;
    line-height: 1.02;
    text-shadow: 0 2px 5px rgba(0, 0, 0, .38);
    transform: rotate(-2deg);
}

.safety-hero-claim::after {
    content: "";
    width: 235px;
    height: 3px;
    margin-top: 8px;
    border-radius: 999px;
    background: var(--safety-orange);
    box-shadow: 0 1px 0 rgba(0, 0, 0, .18);
    transform: rotate(-4deg);
}

.safety-hero-claim i {
    position: absolute;
    right: -31px;
    bottom: -25px;
    width: 29px;
    height: 24px;
    border-right: 3px solid var(--safety-orange);
    border-bottom: 3px solid var(--safety-orange);
    border-radius: 0 0 18px 0;
    transform: rotate(24deg);
}

.safety-hero-claim i::after {
    content: "";
    position: absolute;
    right: -10px;
    top: -11px;
    width: 16px;
    height: 19px;
    border: 3px solid var(--safety-orange);
    border-left: 0;
    border-bottom: 0;
    border-radius: 0 13px 0 0;
}

/* ALLGEMEINE KARTEN */

.safety-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.safety-card {
    min-width: 0;
    min-height: 348px;
    padding: 17px 22px 15px;
    border: 1px solid var(--safety-border);
    border-radius: 10px;
    background: rgba(255, 255, 255, .95);
    box-shadow: 0 3px 12px rgba(20, 51, 92, .025);
}

.safety-card-heading {
    display: grid;
    grid-template-columns: 35px minmax(0, 1fr);
    gap: 11px;
    align-items: start;
}

.safety-number {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border-radius: 50%;
    background: var(--safety-navy);
    color: #fff;
    font-size: 18px;
    font-weight: 900;
    line-height: 1;
}

.safety-card-heading h2 {
    margin: 1px 0 4px;
    color: var(--safety-navy);
    font-size: 19px;
    font-weight: 900;
    line-height: 1.1;
}

.safety-card-heading p {
    margin: 0;
    color: var(--safety-orange);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.35;
}

.safety-card-body {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    margin-top: 18px;
}

.safety-icon {
    display: grid;
    place-items: center;
    width: 60px;
    height: 60px;
    border: 1px solid #dce7f3;
    border-radius: 50%;
    background: #f7fbff;
}

.safety-icon svg {
    width: 42px;
    height: 42px;
    fill: none;
    stroke: currentColor;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.safety-icon-solid svg {
    fill: currentColor;
    stroke: none;
}

.safety-icon-blue {
    color: var(--safety-blue);
}

.safety-icon-lightblue {
    color: var(--safety-light-blue);
}

.safety-icon-red {
    color: var(--safety-red);
    background: #fff9f9;
}

.safety-icon-green {
    color: var(--safety-green);
    background: #fbfff8;
}

.safety-icon-orange {
    color: #ff6f2e;
    background: #fff9f5;
}

.safety-copy-block {
    min-width: 0;
    color: #17355f;
    font-size: 12px;
    line-height: 1.45;
}

.safety-copy-block strong {
    display: block;
    margin-bottom: 7px;
    color: var(--safety-navy);
    font-size: 12px;
}

.safety-subheading {
    margin-top: 11px;
}

.safety-check-list {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: #15345f;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
}

.safety-check-list li {
    position: relative;
    padding-left: 19px;
}

.safety-check-list li::before {
    content: "✓";
    position: absolute;
    top: 0;
    left: 0;
    display: grid;
    place-items: center;
    width: 12px;
    height: 12px;
    margin-top: 2px;
    border-radius: 50%;
    background: var(--safety-navy);
    color: #fff;
    font-size: 8px;
    font-weight: 900;
    line-height: 1;
}

.safety-check-list-green li::before {
    background: var(--safety-green);
}

.safety-check-list-red li::before {
    background: var(--safety-red);
    content: "×";
}

.safety-paragraphs p {
    margin: 0 0 12px;
}

.safety-card-note {
    margin: 14px 0 0 78px;
    color: #17345e;
    font-size: 12px;
    font-weight: 500;
}

.safety-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    width: min(100%, 205px);
    min-height: 39px;
    margin: 16px auto 0;
    padding: 7px 14px;
    border: 1px solid #a8c8eb;
    border-radius: 5px;
    background: #fff;
    color: var(--safety-navy);
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.safety-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(24, 63, 109, .1);
}

.safety-button span {
    font-size: 19px;
    line-height: 1;
}

.safety-button-orange {
    border-color: #ff9c79;
    color: #e94a18;
}

.safety-button-orange:hover {
    background: #fff7f3;
}

/* INFO-ZEILEN */

.safety-info-rows {
    display: grid;
    gap: 7px;
    width: 100%;
}

.safety-info-rows div {
    display: grid;
    grid-template-columns: 24px auto 1fr;
    align-items: center;
    min-height: 28px;
    padding: 3px 7px;
    border-radius: 4px;
    background: #fff9f5;
    color: #14345e;
    font-size: 11px;
}

.safety-info-rows span {
    color: var(--safety-orange);
    font-size: 15px;
}

.safety-info-rows b {
    margin-right: 4px;
    color: var(--safety-orange);
}

/* COMMUNITY + HILFE */

.safety-wide-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 10px;
    margin-top: 10px;
}

.safety-wide-grid .safety-card {
    min-height: 246px;
}

.safety-community-row {
    display: grid;
    grid-template-columns: 78px repeat(5, minmax(70px, 1fr));
    align-items: start;
    gap: 15px;
    margin-top: 20px;
}

.safety-community-main-icon {
    color: var(--safety-light-blue);
}

.safety-community-main-icon svg {
    width: 72px;
    height: 72px;
    fill: currentColor;
    stroke: none;
}

.safety-value {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.safety-value span {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border: 1px solid #d8e3ef;
    border-radius: 50%;
    color: var(--safety-navy);
    background: #f8fbff;
}

.safety-value svg {
    width: 31px;
    height: 31px;
    fill: none;
    stroke: currentColor;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.safety-value b {
    color: #15345f;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.25;
}

.safety-community-note {
    margin: 15px 0 0 77px;
    color: #17345e;
    font-size: 11px;
    font-weight: 500;
}

.safety-help-copy {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    margin-top: 15px;
}

.safety-help-copy .safety-icon {
    width: 52px;
    height: 52px;
    border: 0;
    background: transparent;
}

.safety-help-copy .safety-icon svg {
    width: 47px;
    height: 47px;
}

.safety-help-copy p {
    margin: 0;
    color: #17345f;
    font-size: 12px;
    line-height: 1.5;
}

.safety-help-buttons {
    display: grid;
    gap: 5px;
    margin-top: 8px;
}

.safety-help-buttons .safety-button {
    width: 100%;
    max-width: none;
    min-height: 27px;
    margin: 0;
    padding: 3px 10px;
    font-size: 11px;
}

/* RESPEKT-BANNER */

.safety-respect-banner {
    display: grid;
    grid-template-columns: 40px 78px minmax(0, 1fr) 210px;
    align-items: center;
    gap: 18px;
    min-height: 142px;
    margin-top: 10px;
    padding: 19px 28px;
    border: 1px solid #f0e6dd;
    border-radius: 9px;
    background:
        linear-gradient(90deg, #fff8f3 0%, #ffffff 54%, #fff9f5 100%);
}

.safety-respect-icon {
    color: var(--safety-orange);
}

.safety-respect-icon svg {
    width: 70px;
    height: 70px;
    fill: none;
    stroke: currentColor;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.safety-respect-copy h2 {
    margin: 0 0 9px;
    color: var(--safety-navy);
    font-size: 20px;
    font-weight: 900;
}

.safety-respect-copy p {
    max-width: 600px;
    margin: 0;
    color: #17345e;
    font-size: 12px;
    line-height: 1.45;
}

.safety-respect-script {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-self: center;
    color: var(--safety-navy);
    font-family: 'Caveat', cursive;
    font-size: 27px;
    font-weight: 600;
    line-height: .8;
    transform: rotate(-5deg);
}

.safety-respect-script i {
    position: absolute;
    right: -42px;
    bottom: -14px;
    color: var(--safety-orange);
    font-family: Arial, sans-serif;
    font-size: 42px;
    font-style: normal;
    transform: rotate(15deg);
}

/* VERTRAUENSLEISTE */

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

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

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

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

.safety-trust-icon svg {
    width: 44px;
    height: 44px;
    fill: none;
    stroke: currentColor;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

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

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

.safety-trust-red {
    color: #ef4765;
}

.safety-trust-item h2 {
    margin: 0 0 4px;
    color: var(--safety-navy);
    font-size: 12px;
    font-weight: 900;
}

.safety-trust-item p {
    margin: 0;
    color: #314d70;
    font-size: 9px;
    line-height: 1.35;
}

/* TABLET */

@media (max-width: 1050px) {
    .safety-shell {
        width: min(100% - 30px, 960px);
    }

    .safety-hero {
        grid-template-columns: 42% 58%;
    }

    .safety-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .safety-community-row {
        grid-template-columns: repeat(3, 1fr);
    }

    .safety-community-main-icon {
        display: none;
    }

    .safety-community-note {
        margin-left: 0;
        text-align: center;
    }

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

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

/* MOBILE */

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

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

    .safety-breadcrumb {
        overflow-x: auto;
        white-space: nowrap;
        font-size: 10px;
    }

    .safety-hero {
        grid-template-columns: 1fr;
    }

    .safety-hero-copy {
        padding: 24px 16px 28px;
    }

    .safety-intro {
        max-width: none;
    }

    .safety-hero-image {
        min-height: 260px;
    }

    .safety-hero-claim {
        top: 48px;
        left: 36%;
        font-size: 28px;
    }

    .safety-card-grid,
    .safety-wide-grid {
        grid-template-columns: 1fr;
    }

    .safety-card {
        min-height: 0;
        padding: 17px 17px 18px;
    }

    .safety-card-body {
        grid-template-columns: 54px minmax(0, 1fr);
        gap: 11px;
    }

    .safety-icon {
        width: 50px;
        height: 50px;
    }

    .safety-icon svg {
        width: 35px;
        height: 35px;
    }

    .safety-card-note {
        margin-left: 65px;
    }

    .safety-community-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .safety-respect-banner {
        grid-template-columns: 40px 58px minmax(0, 1fr);
        padding: 18px 15px;
    }

    .safety-respect-icon svg {
        width: 54px;
        height: 54px;
    }

    .safety-respect-script {
        grid-column: 1 / -1;
        justify-self: center;
        margin: 8px 35px 6px 0;
    }

    .safety-trustbar {
        grid-template-columns: 1fr;
        padding-inline: 0;
    }

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

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

@media (max-width: 430px) {
    .safety-card-heading h2 {
        font-size: 17px;
    }

    .safety-card-body {
        grid-template-columns: 1fr;
    }

    .safety-card-body > .safety-icon {
        margin-inline: auto;
    }

    .safety-card-note {
        margin-left: 0;
        text-align: center;
    }

    .safety-info-rows div {
        grid-template-columns: 23px auto;
    }

    .safety-info-rows div b {
        margin-right: 4px;
    }

    .safety-community-row {
        grid-template-columns: 1fr 1fr;
    }

    .safety-respect-banner {
        grid-template-columns: 35px 1fr;
    }

    .safety-respect-icon {
        display: none;
    }

    .safety-respect-copy {
        grid-column: 2;
    }

    .safety-respect-copy h2 {
        font-size: 17px;
    }
}
