/* ------------------------------------------------------------------
 * say-promotion.de — Custom Clean Overrides
 * Loaded after all theme styles. Refines typography, buttons,
 * forms and whitespace while keeping the existing brand palette.
 * ------------------------------------------------------------------ */

:root {
    --sp-accent:        #013354;
    --sp-accent-soft:   #356b8f;
    --sp-accent-light:  #c8d9ed;
    --sp-green-1:       #96c155;
    --sp-green-2:       #c7d76a;
    --sp-ink:           #1f2933;
    --sp-muted:         #5b6b78;
    --sp-line:          #e0e6ec;
    --sp-bg-soft:       #f6f8fb;
    --sp-radius:        10px;
    --sp-shadow-1:      0 2px 8px rgba(1, 51, 84, 0.06);
    --sp-shadow-2:      0 6px 24px rgba(1, 51, 84, 0.10);
    --sp-transition:    180ms ease;
}

/* ---------- Typography ---------- */

body,
body p,
body li,
.wpb_text_column p {
    color: var(--sp-ink);
    font-family: 'Source Sans Pro', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    font-feature-settings: 'kern' 1, 'liga' 1;
}

body p,
body li {
    line-height: 1.65;
}

h1, h2, h3, h4, h5, h6,
.uvc-main-heading h2,
.fancy-title,
.page-title-head h1 {
    font-family: 'Titillium Web', 'Source Sans Pro', system-ui, sans-serif;
    color: var(--sp-accent);
    letter-spacing: -0.005em;
}

h1, .page-title-head h1, .fancy-title { font-weight: 300; }
h2, h3 { font-weight: 400; }

a {
    transition: color var(--sp-transition);
}

/* ---------- Buttons ---------- */

.dt-btn,
.btn-shortcode,
button.dt-btn,
.wp-block-button__link {
    display: inline-block;
    padding: 12px 26px;
    border-radius: var(--sp-radius);
    background: linear-gradient(30deg, var(--sp-green-1) 0%, var(--sp-green-2) 100%) !important;
    color: #fff !important;
    font-weight: 400;
    line-height: 1.2;
    text-decoration: none;
    border: 0;
    cursor: pointer;
    box-shadow: var(--sp-shadow-1);
    transition: transform var(--sp-transition), box-shadow var(--sp-transition), opacity var(--sp-transition);
}

.dt-btn:hover,
.btn-shortcode:hover,
button.dt-btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--sp-shadow-2);
    opacity: 0.97;
    color: #fff !important;
}

.dt-btn-submit { min-width: 160px; }

/* Secondary "more-link" arrow links */
.more-link {
    color: var(--sp-accent-soft);
    text-decoration: none;
    font-weight: 400;
    border-bottom: 1px solid transparent;
    transition: color var(--sp-transition), border-color var(--sp-transition);
}
.more-link:hover {
    color: var(--sp-accent);
    border-bottom-color: var(--sp-accent);
}

/* ---------- Forms ---------- */

.dt-contact-form input[type="text"],
.dt-contact-form input[type="email"],
.dt-contact-form textarea,
.testen-form input[type="text"],
.testen-form input[type="email"],
input[type="text"],
input[type="email"],
input[type="password"],
textarea,
select {
    background: #fff;
    border: 1px solid var(--sp-line);
    border-radius: var(--sp-radius);
    padding: 11px 14px;
    font: 400 15px/1.4 'Source Sans Pro', system-ui, sans-serif;
    color: var(--sp-ink);
    transition: border-color var(--sp-transition), box-shadow var(--sp-transition);
    width: 100%;
    box-sizing: border-box;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--sp-accent-soft);
    box-shadow: 0 0 0 3px rgba(53, 107, 143, 0.15);
}

.dt-contact-form .form-fields > span,
.dt-contact-form .form-message {
    display: block;
    margin-bottom: 12px;
}

::placeholder { color: #9aa6b1; opacity: 1; }

/* Form validation message colors that fit the palette */
.kontakt-message {
    font-size: 15px;
    line-height: 1.5;
}

/* ---------- Cards & Images ---------- */

.slick-slide img,
.stripe-style-3 .wpb_single_image img,
.vc_single_image-wrapper img,
.widget .team-container img,
.team-media img {
    border-radius: var(--sp-radius);
}

.wpb_single_image .vc_single_image-wrapper {
    box-shadow: var(--sp-shadow-1);
    border-radius: var(--sp-radius);
    overflow: hidden;
}

.wpb_single_image .vc_single_image-wrapper img {
    transition: transform 400ms ease;
}
.wpb_single_image .vc_single_image-wrapper:hover img {
    transform: scale(1.02);
}

/* ---------- Page title / breadcrumbs ---------- */

#fancy-header.fancy-header {
    background: var(--sp-bg-soft);
    border-bottom: 1px solid var(--sp-line);
    padding: 28px 0;
}
#fancy-header .fancy-title { margin: 0 0 6px; }
.breadcrumbs a { color: var(--sp-accent-soft); }
.breadcrumbs a:hover { color: var(--sp-accent); }

.page-title.solid-bg {
    background: var(--sp-bg-soft);
    border-bottom: 1px solid var(--sp-line);
}

/* ---------- Layout polish ---------- */

#main { padding-top: 8px; padding-bottom: 0; }

.vc_row .vc_column-inner > .wpb_wrapper > .wpb_text_column {
    margin-bottom: 16px;
}

hr {
    border: 0;
    border-top: 1px solid var(--sp-line);
    margin: 28px 0;
}

/* Tighten generic empty-space spacers slightly */
.vc_empty_space { transition: none; }

/* ---------- Header / nav ---------- */

#primary-menu .menu-text { font-weight: 400; }
#primary-menu .current-menu-item > a .menu-text {
    color: var(--sp-accent);
}

.top-bar { background: var(--sp-accent); }
.top-bar .mini-contacts a { color: #fff; }
.top-bar .mini-contacts i { color: #fff; opacity: 0.85; }

/* ---------- Footer ---------- */

#footer { border-top: 1px solid var(--sp-line); }
#footer .widget-title {
    color: #fff;
    font-family: 'Titillium Web', system-ui, sans-serif;
    font-weight: 300;
    margin-bottom: 14px;
}
#bottom-bar { color: var(--sp-muted); font-size: 14px; }
#bottom-bar a { color: var(--sp-muted); }
#bottom-bar a:hover { color: var(--sp-accent); }

/* ---------- Tables / lists ---------- */

ul, ol { padding-left: 20px; }
ul li { margin-bottom: 4px; }

/* ---------- Honeypot helper (defensive) ---------- */
input[name="phone_extra"] { display: none !important; }

/* ---------- Responsive tweaks ---------- */

@media (max-width: 900px) {
    .dt-btn, .btn-shortcode { padding: 10px 22px; }
    h1, .page-title-head h1, .fancy-title { font-size: 28px; }
}

/* Reduce motion preference */
@media (prefers-reduced-motion: reduce) {
    .dt-btn:hover,
    .btn-shortcode:hover,
    .wpb_single_image .vc_single_image-wrapper:hover img {
        transform: none;
        transition: none;
    }
}

/* ==================================================================
 * SP-CLEAN: Layout primitives for the redesigned top-level pages
 * Used inside the existing The7 page chrome. Scoped via .sp-clean.
 * ================================================================== */

.sp-clean {
    color: var(--sp-ink);
    font: 400 17px/1.65 'Source Sans Pro', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

.sp-clean .sp-section {
    padding: 64px 0;
}
.sp-clean .sp-section--soft { background: var(--sp-bg-soft); }
.sp-clean .sp-section--accent {
    background: var(--sp-accent);
    color: #eef3f8;
}
.sp-clean .sp-section--accent h1,
.sp-clean .sp-section--accent h2,
.sp-clean .sp-section--accent h3 { color: #fff; }
.sp-clean .sp-section--tight { padding: 40px 0; }

.sp-clean .sp-wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

.sp-clean .sp-hero {
    padding: 96px 0 80px;
    background:
        linear-gradient(180deg, rgba(1,51,84,0.85) 0%, rgba(1,51,84,0.72) 100%),
        url('/assets/img/screenshots/screenshot-21.png') center / cover no-repeat;
    color: #fff;
    text-align: center;
}
.sp-clean .sp-hero h1 {
    font-size: clamp(34px, 5vw, 56px);
    font-weight: 200;
    color: #fff;
    margin: 0 0 16px;
    letter-spacing: -0.01em;
}
.sp-clean .sp-hero p.sp-lead {
    font-size: clamp(18px, 2vw, 22px);
    font-weight: 300;
    max-width: 780px;
    margin: 0 auto 28px;
    opacity: 0.95;
}
.sp-clean .sp-hero .sp-cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.sp-clean .sp-eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 13px;
    color: var(--sp-accent-soft);
    margin-bottom: 12px;
    font-weight: 600;
}
.sp-clean .sp-section--accent .sp-eyebrow { color: #97c0d8; }

.sp-clean h2.sp-h2 {
    font-size: clamp(26px, 3.4vw, 38px);
    font-weight: 300;
    margin: 0 0 14px;
    color: var(--sp-accent);
}
.sp-clean .sp-section--accent h2.sp-h2 { color: #fff; }
.sp-clean p.sp-intro {
    font-size: 18px;
    color: var(--sp-muted);
    max-width: 760px;
    margin: 0 0 36px;
}
.sp-clean .sp-section--accent p.sp-intro { color: #cfdbe6; }

.sp-clean .sp-grid {
    display: grid;
    gap: 24px;
}
.sp-clean .sp-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sp-clean .sp-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sp-clean .sp-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 900px) {
    .sp-clean .sp-grid--3,
    .sp-clean .sp-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
    .sp-clean .sp-grid--2,
    .sp-clean .sp-grid--3,
    .sp-clean .sp-grid--4 { grid-template-columns: 1fr; }
    .sp-clean .sp-section { padding: 48px 0; }
    .sp-clean .sp-hero { padding: 64px 0 56px; }
}

.sp-clean .sp-card {
    background: #fff;
    border-radius: var(--sp-radius);
    padding: 26px 24px;
    box-shadow: var(--sp-shadow-1);
    transition: transform var(--sp-transition), box-shadow var(--sp-transition);
}
.sp-clean .sp-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--sp-shadow-2);
}
.sp-clean .sp-card h3 {
    font-size: 19px;
    margin: 0 0 8px;
    color: var(--sp-accent);
    font-weight: 500;
}
.sp-clean .sp-card p { margin: 0 0 12px; color: var(--sp-muted); }
.sp-clean .sp-card .sp-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: linear-gradient(30deg, var(--sp-green-1), var(--sp-green-2));
    color: #fff;
    margin-bottom: 14px;
    font-size: 20px;
}
.sp-clean .sp-card .sp-card-link {
    color: var(--sp-accent-soft);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid transparent;
}
.sp-clean .sp-card .sp-card-link:hover {
    color: var(--sp-accent);
    border-bottom-color: var(--sp-accent);
}

.sp-clean .sp-pricing {
    background: #fff;
    border-radius: var(--sp-radius);
    padding: 32px 26px;
    box-shadow: var(--sp-shadow-1);
    border-top: 4px solid var(--sp-green-1);
    display: flex;
    flex-direction: column;
}
.sp-clean .sp-pricing--highlight { border-top-color: var(--sp-accent); }
.sp-clean .sp-pricing h3 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--sp-muted);
    margin: 0 0 16px;
    font-weight: 600;
}
.sp-clean .sp-pricing .sp-price {
    font-size: 38px;
    color: var(--sp-accent);
    font-weight: 300;
    line-height: 1;
}
.sp-clean .sp-pricing .sp-price small {
    display: block;
    font-size: 13px;
    color: var(--sp-muted);
    margin-top: 6px;
    font-weight: 400;
}
.sp-clean .sp-pricing ul {
    list-style: none;
    padding: 0;
    margin: 24px 0 0;
    color: var(--sp-ink);
    flex-grow: 1;
}
.sp-clean .sp-pricing li {
    padding: 8px 0 8px 26px;
    position: relative;
    border-bottom: 1px solid var(--sp-line);
    font-size: 15px;
}
.sp-clean .sp-pricing li:last-child { border-bottom: 0; }
.sp-clean .sp-pricing li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    width: 16px; height: 16px;
    background: var(--sp-green-1);
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M6.3 12L2.8 8.5l1.1-1.1 2.4 2.4 5.8-5.8 1.1 1.1z' fill='%23000'/></svg>") center/contain no-repeat;
            mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M6.3 12L2.8 8.5l1.1-1.1 2.4 2.4 5.8-5.8 1.1 1.1z' fill='%23000'/></svg>") center/contain no-repeat;
}

.sp-clean .sp-list-bullet {
    list-style: none;
    padding: 0;
    margin: 0;
}
.sp-clean .sp-list-bullet li {
    padding: 6px 0 6px 26px;
    position: relative;
    color: var(--sp-ink);
}
.sp-clean .sp-list-bullet li::before {
    content: "›";
    position: absolute;
    left: 6px; top: 4px;
    color: var(--sp-green-1);
    font-weight: 700;
    font-size: 18px;
}

.sp-clean .sp-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}
.sp-clean .sp-split--text-right > :first-child { order: 2; }
@media (max-width: 900px) {
    .sp-clean .sp-split { grid-template-columns: 1fr; gap: 28px; }
    .sp-clean .sp-split--text-right > :first-child { order: initial; }
}
.sp-clean .sp-split img {
    width: 100%;
    border-radius: var(--sp-radius);
    box-shadow: var(--sp-shadow-1);
    display: block;
}

.sp-clean .sp-customer-logos {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    align-items: center;
}
.sp-clean .sp-customer-logos a {
    display: block;
    background: #fff;
    border-radius: var(--sp-radius);
    padding: 18px;
    text-align: center;
    box-shadow: var(--sp-shadow-1);
    transition: transform var(--sp-transition), box-shadow var(--sp-transition);
}
.sp-clean .sp-customer-logos a:hover {
    transform: translateY(-2px);
    box-shadow: var(--sp-shadow-2);
}
.sp-clean .sp-customer-logos img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}
@media (max-width: 700px) {
    .sp-clean .sp-customer-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.sp-clean .sp-cta-strip {
    background: linear-gradient(135deg, var(--sp-accent) 0%, #054e7e 100%);
    color: #fff;
    padding: 48px 0;
    text-align: center;
}
.sp-clean .sp-cta-strip h2 {
    color: #fff;
    font-weight: 200;
    margin: 0 0 8px;
    font-size: clamp(24px, 3vw, 34px);
}
.sp-clean .sp-cta-strip p {
    color: #cfdbe6;
    margin: 0 0 22px;
    font-size: 18px;
}

.sp-clean .sp-meta-line {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    color: var(--sp-muted);
    font-size: 15px;
    margin-top: 12px;
}
.sp-clean .sp-meta-line strong { color: var(--sp-ink); font-weight: 500; }
