/* ==========================================================================
   Datenschutzerklärung SV-Büro Eberhardt – passend zu www.sv-eberhardt.de
   ========================================================================== */

/* Schriften von der Website (Server muss CORS für Fonts erlauben, sonst greift der Fallback) */
@font-face {
    font-display: swap;
    font-family: 'Montserrat';
    font-weight: 700;
    src: url('https://www.sv-eberhardt.de/fonts/montserrat-v25-latin-700.woff2') format('woff2');
}

@font-face {
    font-display: swap;
    font-family: 'Montserrat';
    font-weight: 600;
    src: url('https://www.sv-eberhardt.de/fonts/montserrat-v29-latin-600.woff2') format('woff2');
}

@font-face {
    font-display: swap;
    font-family: 'Source Sans 3';
    font-weight: 400;
    src: url('https://www.sv-eberhardt.de/fonts/source-sans-3-v15-latin-regular.woff2') format('woff2');
}

@font-face {
    font-display: swap;
    font-family: 'Source Sans 3';
    font-weight: 600;
    src: url('https://www.sv-eberhardt.de/fonts/source-sans-3-v15-latin-600.woff2') format('woff2');
}

:root {
    --sv-schrift: #4A4F55;
    --sv-orange: #F08B1C;
    --sv-orange-dunkel: #E47D10;
    --sv-dunkel: #26292C;
    --sv-hell: #F5F6F7;
    --sv-rand: #E3E5E8;
}

/* ---------- Seite ---------- */

html,
body {
    font-family: 'Source Sans 3', 'Segoe UI', Helvetica, Arial, sans-serif !important;
    font-size: 17px !important;
    line-height: 1.6 !important;
    color: var(--sv-schrift) !important;
}

body {
    background: linear-gradient(#fff, var(--sv-hell) 320px) !important;
    background-color: var(--sv-hell) !important;
    padding: 40px 20px !important;
    hyphens: auto;
    -webkit-hyphens: auto;
    overflow-wrap: break-word;
}

a {
    color: var(--sv-orange);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

a:hover {
    color: var(--sv-orange-dunkel);
}

b,
strong {
    font-weight: 600;
    color: var(--sv-dunkel);
}

/* ---------- Karte ---------- */

#main {
    max-width: 900px;
    margin: 0 auto !important;
    padding: 40px 56px 48px !important;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 6px 24px rgba(38, 41, 44, .08);
}

/* ---------- Impressum-Link oben ---------- */

.secure-imp {
    margin: 0 0 10px !important;
    text-align: right;
}

.securebutton-imp {
    position: static !important;
    display: inline-block;
    margin: 0 !important;
    padding: 6px 16px !important;
    border: 1px solid var(--sv-rand);
    border-radius: 30px;
    background: var(--sv-hell) !important;
    color: var(--sv-schrift) !important;
    font-family: 'Montserrat', 'Segoe UI', Helvetica, Arial, sans-serif;
    font-size: 13px !important;
    font-weight: 600;
    letter-spacing: .06em;
    text-decoration: none !important;
    transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}

.securebutton-imp:hover {
    background: var(--sv-orange) !important;
    border-color: var(--sv-orange);
    color: #fff !important;
}

/* ---------- Überschriften ---------- */

h1 {
    margin: 0 0 30px !important;
    font-family: 'Montserrat', 'Segoe UI', Helvetica, Arial, sans-serif !important;
    font-weight: 700 !important;
    font-size: 40px !important;
    line-height: 1.2 !important;
    color: var(--sv-schrift) !important;
    hyphens: manual;
}

/* kleine orange Linie wie bei den Überschriften der Website */
h1::before {
    content: "";
    display: block;
    width: 35px;
    height: 3px;
    margin-bottom: 18px;
    background: var(--sv-orange);
}

h4 {
    margin: 0 0 14px !important;
    font-family: 'Montserrat', 'Segoe UI', Helvetica, Arial, sans-serif !important;
    font-weight: 600 !important;
    font-size: 21px !important;
    line-height: 1.3 !important;
    color: var(--sv-schrift) !important;
}

/* Überschriften innerhalb eines Abschnitts etwas Abstand nach oben */
.policy_text > h4:not(:first-child) {
    margin-top: 34px !important;
}

h5 {
    margin: 26px 0 8px !important;
    font-family: 'Source Sans 3', 'Segoe UI', Helvetica, Arial, sans-serif !important;
    font-weight: 600 !important;
    font-size: 18px !important;
    line-height: 1.35 !important;
    color: var(--sv-dunkel) !important;
}

/* ---------- Abschnitte ---------- */

.policy_text {
    padding: 34px 0 0;
    margin: 34px 0 0;
    border-top: 1px solid var(--sv-rand);
}

h1 + .policy_text {
    padding-top: 0;
    margin-top: 0;
    border-top: 0;
}

.policy_text p {
    margin: 0 0 16px;
}

.policy_text > b {
    display: block;
    margin: 22px 0 8px;
    font-size: 18px;
}

/* ---------- Listen ---------- */

.policy_text ul {
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
}

.policy_text li {
    position: relative;
    margin: 0 0 6px;
    padding-left: 22px;
}

.policy_text li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: .7em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--sv-orange);
}

/* ---------- Matomo-Widerspruch (Opt-out) ---------- */

#matomoiframe {
    display: block;
    width: 100% !important;
    height: 170px !important;
    margin: 16px 0 6px;
    border: 1px solid var(--sv-rand) !important;
    border-radius: 10px;
    background: var(--sv-hell);
}

/* ---------- Mobil / kleines Popup-Fenster ---------- */

@media (max-width: 700px) {
    body {
        padding: 16px 12px !important;
    }

    #main {
        padding: 26px 22px 30px !important;
        border-radius: 14px;
    }

    h1 {
        font-size: 28px !important;
    }

    h4 {
        font-size: 19px !important;
    }

    h5 {
        font-size: 17px !important;
    }

    .policy_text {
        padding-top: 26px;
        margin-top: 26px;
    }

    #matomoiframe {
        height: 260px !important;
    }
}