/*
Onepager Styles – Küker & Böttcher Wärmepumpen Truck Event
Basiswerte (Farben, Radien, Buttons, Formular-Look) aus dem Haupt-Theme
(Backauf Theme) übernommen und für die Onepager-Struktur angepasst.
*/

/*******************
*** RESET
*******************/
*, *::before, *::after { box-sizing: border-box; }
html, body, div, span, h1, h2, h3, h4, h5, h6, p, a, ul, li, form, label, footer, header, nav, main, section {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

html {
    scroll-behavior: smooth;
}

header, main, section, footer, nav { display: block; }
body { line-height: 1; }
ul { list-style: none; }

body {
    font-family: arial, helvetica, sans-serif;
    color: #111;
    background-color: #ffffff;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

p { margin-bottom: 1em; line-height: 1.6; }
h1, h2, h3, h4, h5, h6 { margin-bottom: 0.5em; line-height: 1.25; }

.center { text-align: center; }
.hugeHeadline { font-size: 38px !important; }

/*******************
*** FARBEN / VARIABLEN (aus Haupt-Theme übernommen)
*******************/
:root {
    --kb-red: #e20015;
    --kb-red-dark: #c0000f;
    --kb-red-light: #fbefef;
    --kb-text: #111111;
}

/*******************
*** HEADER / NAV
*******************/
.kb-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background-color: transparent;
    padding: 20px 40px 0;
}

.kb-nav {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    border-radius: 35px;
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    background-color: #ffffff;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(10px);
}

/* Doppel-Logo (K&B + Woldenga) nebeneinander */
.kb-nav #logo {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
}
.kb-nav #logo img {
    max-height: 44px;
    width: auto;
    max-width: 150px;
}

.kb-nav__links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.kb-nav__links a {
    text-decoration: none;
    font-weight: 500;
    color: #111;
}

.kb-nav__links a:hover { color: var(--kb-red); }

.nav-actions { flex-shrink: 0; }

.nav-kontakt {
    background-color: var(--kb-red);
    color: #ffffff !important;
    padding: 15px 30px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    white-space: nowrap;
    display: inline-block;
    transition: background-color 0.2s ease;
}

.nav-kontakt:hover { background-color: var(--kb-red-dark); }

@media (max-width: 700px) {
    .kb-header { padding: 12px 16px 0; }
    .kb-nav { height: auto; min-height: 65px; padding: 10px 16px; flex-wrap: wrap; gap: 10px; border-radius: 24px; }
    .kb-nav__links { display: none; }
    .kb-nav #logo { gap: 10px; }
    .kb-nav #logo img { max-height: 32px; max-width: 110px; }
    .nav-kontakt { padding: 11px 18px; font-size: 12px; }
}

/*******************
*** HERO
*******************/
.heroWrapper {
    position: relative;
    margin: 0;
}

.heroWrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.5) 100%);
    pointer-events: none;
    z-index: 1;
}

.heroIMG {
    margin: 0;
}

.heroIMG img {
    height: 90vh;
    width: 100vw;
    object-fit: cover;
    display: block;
}

.heroText {
    position: absolute;
    left: 8%;
    max-width: 42%;
    top: 50%;
    transform: translateY(-50%);
    color: #ffffff;
    z-index: 2;
}

.heroEyebrow {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    color: #ffffff !important;
}

.heroText .hugeHeadline {
    font-size: 56px !important;
    color: #ffffff !important;
    margin-bottom: 20px;
}

.heroBullets { margin-bottom: 30px; }
.heroBullets li {
    font-size: 17px;
    padding-left: 26px;
    position: relative;
    margin-bottom: 10px;
    color: #ffffff;
}
.heroBullets li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--kb-red);
}

.heroButtons { display: flex; flex-wrap: wrap; gap: 16px; }

.heroButton {
    color: #ffffff !important;
    background-color: transparent !important;
    padding: 14px 26px;
    border-radius: 999px;
    border: 1px solid #ffffff;
    text-decoration: none !important;
    font-weight: 600;
    transition: background-color 0.2s ease, color 0.2s ease;
}
.heroButton:hover { background-color: #ffffff !important; color: #111 !important; }

.heroButtonWhite {
    color: #111 !important;
    background-color: #ffffff !important;
    padding: 14px 26px;
    border-radius: 999px;
    text-decoration: none !important;
    font-weight: 600;
    transition: background-color 0.2s ease;
}
.heroButtonWhite:hover { background-color: #eeeeee !important; }

@media (max-width: 768px) {
    .heroIMG img { height: 70vh; }
    .heroText {
        left: 0;
        right: 0;
        bottom: 0;
        top: auto;
        transform: none;
        max-width: 100%;
        width: 100%;
        padding: 60px 24px 32px;
        background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.35) 60%, rgba(0,0,0,0) 100%);
        position: absolute;
    }
    .heroText .hugeHeadline { font-size: 32px !important; }
    .heroButton, .heroButtonWhite { padding: 10px 18px; font-size: 14px; }
}

/*******************
*** TRUST / BADGES
*******************/
.trustRow { padding: 60px 24px; }
.trustLabel { font-size: 15px; color: #666; margin-bottom: 24px; }
.trustLogos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 50px;
}
.trustLogos img { max-height: 70px; width: auto; }
.trustLogo--dark { background-color: #111; padding: 10px 16px; border-radius: 8px; }

/*******************
*** RED BACKGROUND SECTIONS (aus Haupt-Theme: .redBG)
*******************/
.redBG {
    padding: 80px 40px;
    background-color: var(--kb-red-light);
    border-radius: 50px;
    max-width: 1400px;
    margin: 40px auto;
}

/*******************
*** INFO CARDS (Wann / Wo / Was)
*******************/
.infoRow {
    display: flex;
    gap: 30px;
    margin-top: 50px;
    flex-wrap: wrap;
    justify-content: center;
}

.infoCard {
    background-color: #ffffff;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    flex: 1 1 300px;
    max-width: 380px;
    display: flex;
    flex-direction: column;
}

.infoCard img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.infoCard h3 { font-size: 22px; padding: 20px 24px 0; }
.infoCard p { padding: 0 24px 24px; font-size: 15px; color: #333; margin-bottom: 0; }

@media (max-width: 700px) {
    .redBG { padding: 50px 24px; border-radius: 25px; }
    .infoRow { flex-direction: column; align-items: stretch; }
    .infoCard { flex: 1 1 100%; width: 100%; max-width: 100%; }
}

/*******************
*** ABOUT / TEXT SECTION
*******************/
.aboutSection {
    max-width: 800px;
    margin: 80px auto;
    padding: 0 24px;
}

.aboutList { margin: 0 0 1.5em 0; }
.aboutList li {
    padding-left: 24px;
    position: relative;
    margin-bottom: 14px;
    line-height: 1.6;
}
.aboutList li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--kb-red);
}

.aboutSection .center { margin-top: 40px; }

/*******************
*** BUTTONS (aus Haupt-Theme: .btn-mehr / .btn-mehr-red)
*******************/
.btn-mehr {
    display: inline-block;
    padding: 12px 28px;
    background-color: transparent;
    color: var(--kb-red);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none !important;
    border: 1px solid var(--kb-red);
    border-radius: 30px;
    cursor: pointer;
    transition: background-color 0.25s ease, color 0.25s ease;
    margin: 6px;
}
.btn-mehr:hover { background-color: var(--kb-red); color: #ffffff !important; }

.btn-mehr-red {
    display: inline-block;
    padding: 12px 28px;
    background-color: var(--kb-red);
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none !important;
    border: 1px solid var(--kb-red);
    border-radius: 30px;
    cursor: pointer;
    transition: background-color 0.25s ease, color 0.25s ease;
    margin: 6px;
}
.btn-mehr-red:hover { background-color: #ffffff; color: var(--kb-red) !important; }

/*******************
*** FORMULAR (aus Haupt-Theme: .wpcf7 – als eigenständiges Formular übernommen)
*******************/
.formSection { text-align: center; }
.formIntro { color: #555; margin-bottom: 40px; }

.kb-form {
    max-width: 700px;
    margin: 0 auto;
    text-align: left;
}

.kb-form p { margin: 0 0 24px 0; }

.kb-form label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    color: #111 !important;
    margin-bottom: 10px;
}

.kb-form label .required { color: var(--kb-red) !important; }

.kb-form-control-wrap { display: block; }

.kb-form input[type="text"],
.kb-form input[type="email"],
.kb-form input[type="tel"],
.kb-form textarea {
    width: 100%;
    border: none;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: none;
    padding: 0 24px;
    font-size: 16px;
    font-weight: 400;
    color: #111;
    min-height: 56px;
    outline: none;
}

.kb-form textarea {
    border-radius: 28px;
    min-height: 160px;
    padding: 18px 24px;
    resize: vertical;
    font-family: inherit;
}

.kb-form input::placeholder,
.kb-form textarea::placeholder { color: #999; }

.kb-form input:focus,
.kb-form textarea:focus {
    background: #ffffff;
    box-shadow: 0 0 0 2px rgba(255,255,255,0.65), 0 0 0 4px rgba(226,0,21,0.12);
}

.kb-honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.kb-acceptance label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    font-weight: 400;
}
.kb-acceptance input[type="checkbox"] {
    margin: 4px 0 0 0;
    accent-color: var(--kb-red);
    transform: scale(1.15);
    flex-shrink: 0;
}
.kb-acceptance a { color: #111 !important; text-decoration: underline; }

.kb-form button[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 0 36px;
    border: none;
    border-radius: 999px;
    background: var(--kb-red);
    color: #ffffff;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}
.kb-form button[type="submit"]:hover {
    transform: translateY(-1px);
    filter: brightness(0.95);
}

.kb-form-response {
    max-width: 700px;
    margin: 0 auto 30px;
    padding: 18px 22px;
    border-radius: 18px;
    font-size: 15px;
    text-align: left;
}
.kb-form-response--success {
    background-color: #e7f6ec;
    color: #1e6b3a;
    border: 1px solid #b9e3c6;
}
.kb-form-response--error {
    background-color: #fdecec;
    color: #a3121f;
    border: 1px solid #f3c1c1;
}
.kb-form-response--error p { margin-bottom: 4px; }
.kb-form-response--error p:last-child { margin-bottom: 0; }

/*******************
*** FOOTER
*******************/
.kb-footer {
    margin: 60px auto 0;
    max-width: 1400px;
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
    background-color: var(--kb-red-light);
    padding: 60px 40px 40px;
    text-align: center;
}

.kb-footer img { max-width: 140px; margin: 0 auto 24px; }

.kb-footer__links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.kb-footer__links a {
    text-decoration: none;
    color: #111;
    font-size: 14px;
}
.kb-footer__links a:hover { color: var(--kb-red); }

.kb-footer__copy { font-size: 13px; color: #777; margin-bottom: 0; }

@media (max-width: 700px) {
    .kb-footer { border-top-left-radius: 25px; border-top-right-radius: 25px; padding: 40px 24px 30px; }
}