/* ===========================================================
   Händler-Seite — /haendler/
   Layout for [vrt_dealer_page] shortcode.
   Uses VRT brand red (#c0212d) + dark anthracite (#1a1a1a).
   ===========================================================*/

/* ---------- Page-wide ---------- */
body.vrt-dealer-page .content_wrap,
body.vrt-dealer-page .container {
    max-width: none;
    width: 100%;
    padding: 0;
    margin: 0;
}

body.vrt-dealer-page .content {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.vrt-dealer-page .content > article {
    margin: 0 !important;
    padding: 0 !important;
}

body.vrt-dealer-page .post_item .post_header {
    display: none;
}

.vrt-dealer {
    color: #1a1a1a;
    line-height: 1.55;
    font-size: 16px;
}

.vrt-dealer * {
    box-sizing: border-box;
}

/* ---------- Hero ---------- */
.vrt-dealer-hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    color: #fff;
    padding: 96px 24px 88px;
    position: relative;
    overflow: hidden;
}
/* Theme injects `.scheme_default h1..h6 { color: #1e1e1e }` (specificity 0,1,1)
   which makes our white hero headings unreadable on the dark gradient.
   Force white inside the dealer hero. */
.vrt-dealer-hero h1,
.vrt-dealer-hero h2,
.vrt-dealer-hero h3,
.vrt-dealer-hero h4,
.vrt-dealer-hero h5,
.vrt-dealer-hero h6,
.vrt-dealer-hero h1 a,
.vrt-dealer-hero h2 a,
.vrt-dealer-hero h3 a,
.vrt-dealer-hero h4 a,
.vrt-dealer-hero h5 a,
.vrt-dealer-hero h6 a,
.vrt-dealer-hero li a {
    color: #fff !important;
}

.vrt-dealer-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(192, 33, 45, 0.18), transparent 60%);
    pointer-events: none;
}

.vrt-dealer-hero__inner {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
}

.vrt-dealer-hero__eyebrow {
    color: #c0212d;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin: 0 0 18px;
}

.vrt-dealer-hero__title {
    font-size: clamp(32px, 4.5vw, 52px);
    line-height: 1.1;
    font-weight: 800;
    margin: 0 0 22px;
    color: #fff;
    max-width: 880px;
}

.vrt-dealer-hero__lead {
    font-size: clamp(16px, 1.4vw, 20px);
    line-height: 1.55;
    margin: 0 0 36px;
    max-width: 760px;
    color: #d0d0d0;
}

.vrt-dealer-hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.vrt-dealer-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    border-radius: 4px;
    transition: transform .15s ease, background-color .15s ease, color .15s ease;
    border: 2px solid transparent;
    line-height: 1;
}

.vrt-dealer-btn--primary {
    background: #c0212d;
    color: #fff !important;
}

.vrt-dealer-btn--primary:hover {
    background: #a01b25;
    color: #fff !important;
    transform: translateY(-1px);
}

.vrt-dealer-btn--secondary {
    background: transparent;
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.4);
}

.vrt-dealer-btn--secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: #fff;
}

/* ---------- About ---------- */
.vrt-dealer-about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.vrt-dealer-about__col h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 12px;
    color: #1a1a1a;
}

.vrt-dealer-about__col p,
.vrt-dealer-about__col ul {
    font-size: 15px;
    color: #555;
    line-height: 1.65;
}

.vrt-dealer-about__col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.vrt-dealer-about__col li {
    padding: 8px 0 8px 22px;
    position: relative;
    border-bottom: 1px solid #eee;
}

.vrt-dealer-about__col li:last-child {
    border-bottom: none;
}

.vrt-dealer-about__col li::before {
    content: '▸';
    position: absolute;
    left: 0;
    top: 8px;
    color: #c0212d;
}

.vrt-dealer-about__col li strong {
    color: #1a1a1a;
}

/* ---------- Trust block ---------- */
.vrt-dealer-trust {
    background: #fafafa;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    max-width: none;
    padding-left: 24px;
    padding-right: 24px;
}

.vrt-dealer-trust .vrt-dealer-section__head {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.vrt-dealer-trust__grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.vrt-dealer-trust__item {
    text-align: center;
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 6px;
    padding: 22px 18px;
}

.vrt-dealer-trust__title {
    font-weight: 700;
    color: #c0212d;
    font-size: 15px;
    margin-bottom: 6px;
}

.vrt-dealer-trust__text {
    font-size: 14px;
    color: #555;
    line-height: 1.4;
}

.vrt-dealer-trust__disclaimer {
    max-width: 760px;
    margin: 32px auto 0;
    text-align: center;
    font-size: 13.5px;
    color: #777;
    line-height: 1.55;
    font-style: italic;
}

.vrt-dealer-targets__note {
    max-width: 760px;
    margin: 32px auto 0;
    text-align: center;
    font-size: 13.5px;
    color: #777;
    line-height: 1.55;
    font-style: italic;
}

/* ---------- Generic section ---------- */
.vrt-dealer-section {
    padding: 80px 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.vrt-dealer-section__head {
    text-align: center;
    margin-bottom: 48px;
}

.vrt-dealer-section__head h2 {
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 800;
    color: #1a1a1a;
    margin: 0 0 12px;
}

.vrt-dealer-section__head p {
    font-size: 17px;
    color: #555;
    margin: 0;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

/* ---------- Target groups ---------- */
.vrt-dealer-targets__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.vrt-dealer-target-card {
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 6px;
    padding: 32px 28px;
    text-align: center;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.vrt-dealer-target-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-color: #c0212d;
}

.vrt-dealer-target-card__icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 18px;
    background: rgba(192, 33, 45, 0.1);
    color: #c0212d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vrt-dealer-target-card__icon .dashicons {
    font-size: 28px;
    width: 28px;
    height: 28px;
}

.vrt-dealer-target-card__title {
    font-size: 19px;
    font-weight: 700;
    margin: 0 0 12px;
    color: #1a1a1a;
}

.vrt-dealer-target-card__text {
    font-size: 15px;
    color: #555;
    line-height: 1.55;
    margin: 0;
}

/* ---------- Benefits ---------- */
.vrt-dealer-benefits {
    background: #fafafa;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    max-width: none;
    padding-left: 24px;
    padding-right: 24px;
}

.vrt-dealer-benefits .vrt-dealer-section__head {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.vrt-dealer-benefits__list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 1100px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px 36px;
}

.vrt-dealer-benefits__item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.vrt-dealer-benefits__check {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background: #c0212d;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 700;
    margin-top: 2px;
}

.vrt-dealer-benefits__item strong {
    display: block;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
    color: #1a1a1a;
}

.vrt-dealer-benefits__item p {
    margin: 0;
    font-size: 14.5px;
    color: #555;
    line-height: 1.55;
}

/* ---------- Products ---------- */
.vrt-dealer-products__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.vrt-dealer-product-card {
    display: block;
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 6px;
    padding: 30px 28px;
    color: inherit;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.vrt-dealer-product-card:hover {
    transform: translateY(-2px);
    border-color: #c0212d;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    color: inherit;
    text-decoration: none;
}

.vrt-dealer-product-card h3 {
    font-size: 20px;
    margin: 0 0 12px;
    color: #1a1a1a;
    font-weight: 700;
}

.vrt-dealer-product-card p {
    font-size: 15px;
    color: #555;
    margin: 0 0 18px;
    line-height: 1.55;
}

.vrt-dealer-product-card__more {
    color: #c0212d;
    font-weight: 700;
    font-size: 14px;
}

/* ---------- Process ---------- */
.vrt-dealer-process {
    background: #fafafa;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    max-width: none;
    padding-left: 24px;
    padding-right: 24px;
}

.vrt-dealer-process .vrt-dealer-section__head {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.vrt-dealer-process__list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 1100px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    counter-reset: step;
}

.vrt-dealer-process__step {
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 6px;
    padding: 24px 18px;
    text-align: center;
}

.vrt-dealer-process__num {
    display: inline-flex;
    width: 44px;
    height: 44px;
    background: #c0212d;
    color: #fff;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 18px;
    margin-bottom: 12px;
}

.vrt-dealer-process__step strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #1a1a1a;
}

.vrt-dealer-process__step p {
    font-size: 13.5px;
    color: #555;
    line-height: 1.5;
    margin: 0;
}

/* ---------- Form ---------- */
.vrt-dealer-form {
    background: #fff;
}

.vrt-dealer-form__form {
    max-width: 760px;
    margin: 0 auto;
    background: #f8f8f8;
    border: 1px solid #e6e6e6;
    border-radius: 6px;
    padding: 36px 32px;
}

.vrt-dealer-form__row {
    margin: 0 0 18px;
}

.vrt-dealer-form__row--two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.vrt-dealer-form__row > label {
    display: block;
    font-weight: 600;
    color: #1a1a1a;
    font-size: 14px;
}

.vrt-dealer-form input[type="text"],
.vrt-dealer-form input[type="email"],
.vrt-dealer-form input[type="tel"],
.vrt-dealer-form input[type="url"],
.vrt-dealer-form select,
.vrt-dealer-form textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 15px;
    font-family: inherit;
    background: #fff;
    margin-top: 6px;
    transition: border-color .15s ease, box-shadow .15s ease;
    font-weight: 400;
    color: #1a1a1a;
}

.vrt-dealer-form input:focus,
.vrt-dealer-form select:focus,
.vrt-dealer-form textarea:focus {
    outline: none;
    border-color: #c0212d;
    box-shadow: 0 0 0 3px rgba(192, 33, 45, 0.15);
}

.vrt-dealer-form__row--consent {
    margin-top: 24px;
}

.vrt-dealer-form__row--consent label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-weight: 400;
    font-size: 13.5px;
    color: #555;
    line-height: 1.5;
    cursor: pointer;
}

.vrt-dealer-form__row--consent input[type="checkbox"] {
    flex-shrink: 0;
    margin-top: 3px;
    accent-color: #c0212d;
    width: 18px;
    height: 18px;
}

.vrt-dealer-form__row--consent a {
    color: #c0212d;
    text-decoration: underline;
}

.vrt-dealer-form__row--submit {
    text-align: center;
    margin-top: 26px;
    margin-bottom: 0;
}

.vrt-dealer-form button[type="submit"],
.vrt-dealer-form__row--submit .vrt-dealer-btn {
    background: #c0212d;
    color: #fff;
    border: none;
    padding: 14px 36px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color .15s ease, transform .15s ease;
    line-height: 1;
}

.vrt-dealer-form button[type="submit"]:hover {
    background: #a01b25;
    transform: translateY(-1px);
}

/* Honeypot — visually hidden but still in DOM */
.vrt-dealer-form__hp {
    position: absolute;
    left: -9999px;
    top: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Success / errors */
.vrt-dealer-form__success {
    max-width: 760px;
    margin: 0 auto;
    background: #e8f5e9;
    border: 1px solid #66bb6a;
    border-left: 4px solid #2e7d32;
    border-radius: 6px;
    padding: 24px 28px;
    color: #1b5e20;
}

.vrt-dealer-form__success strong {
    display: block;
    font-size: 18px;
    margin-bottom: 8px;
}

.vrt-dealer-form__success p {
    margin: 0;
    font-size: 15px;
    line-height: 1.55;
    color: #1b5e20;
}

.vrt-dealer-form__errors {
    max-width: 760px;
    margin: 0 auto 24px;
    background: #fef2f3;
    border: 1px solid #f5a3a8;
    border-left: 4px solid #c0212d;
    border-radius: 6px;
    padding: 18px 22px;
    color: #8a1820;
}

.vrt-dealer-form__errors strong {
    display: block;
    font-size: 15px;
    margin-bottom: 8px;
}

.vrt-dealer-form__errors ul {
    margin: 0;
    padding-left: 22px;
    font-size: 14px;
    line-height: 1.55;
}

/* ---------- FAQ ---------- */
.vrt-dealer-faq__list {
    max-width: 760px;
    margin: 0 auto;
}

.vrt-dealer-faq__item {
    border: 1px solid #e6e6e6;
    border-radius: 6px;
    background: #fff;
    margin-bottom: 12px;
    transition: border-color .15s ease;
}

.vrt-dealer-faq__item[open] {
    border-color: #c0212d;
}

.vrt-dealer-faq__item summary {
    list-style: none;
    cursor: pointer;
    padding: 18px 22px;
    font-weight: 700;
    font-size: 15.5px;
    color: #1a1a1a;
    position: relative;
    padding-right: 48px;
}

.vrt-dealer-faq__item summary::-webkit-details-marker {
    display: none;
}

.vrt-dealer-faq__item summary::after {
    content: '+';
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    color: #c0212d;
    font-weight: 400;
    transition: transform .2s ease;
    line-height: 1;
}

.vrt-dealer-faq__item[open] summary::after {
    content: '−';
}

.vrt-dealer-faq__a {
    padding: 0 22px 20px;
    font-size: 14.5px;
    color: #555;
    line-height: 1.6;
}

.vrt-dealer-faq__a a {
    color: #c0212d;
}

/* ---------- Mobile ---------- */
@media (max-width: 900px) {
    .vrt-dealer-trust__grid { grid-template-columns: repeat(2, 1fr); }
    .vrt-dealer-targets__grid { grid-template-columns: 1fr; }
    .vrt-dealer-benefits__list { grid-template-columns: 1fr; }
    .vrt-dealer-products__grid { grid-template-columns: 1fr; }
    .vrt-dealer-process__list { grid-template-columns: repeat(2, 1fr); }
    .vrt-dealer-form__row--two { grid-template-columns: 1fr; }
    .vrt-dealer-section { padding: 56px 20px; }
    .vrt-dealer-hero { padding: 64px 20px 56px; }
    .vrt-dealer-form__inner { padding: 24px 20px; }
}

@media (max-width: 540px) {
    .vrt-dealer-trust__grid { grid-template-columns: 1fr; }
    .vrt-dealer-process__list { grid-template-columns: 1fr; }
    .vrt-dealer-hero__cta { flex-direction: column; }
    .vrt-dealer-btn { width: 100%; }
}
