/* kundenklicks Global Brand CSS — v1.0.0
   Tokens: Navy #0F2942 · Green #109669 · Tint-Green (dark bg) #30C154 · Orange #FF6B35 (nur CTAs)
   Fonts self-hosted (DSGVO): Montserrat 600–700 (Headings) · Inter 400–600 (Body) */

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 600 700;
    font-display: swap;
    src: url('fonts/montserrat-var-latin.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400 600;
    font-display: swap;
    src: url('fonts/inter-var-latin.woff2') format('woff2');
}

:root {
    --kk-navy: #0F2942;
    --kk-green: #109669;
    --kk-green-tint: #30C154;
    --kk-orange: #FF6B35;
    --kk-text: #1F2933;
    --kk-bg: #F5F7FA;
    --kk-font-head: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --kk-font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body {
    font-family: var(--kk-font-body);
    color: var(--kk-text);
}

h1, h2, h3, h4, .site-title {
    font-family: var(--kk-font-head);
    color: var(--kk-navy);
}

/* ── Header-CTA als Button (Menü-Item mit Klasse kk-cta) ─── */
.main-header-menu .kk-cta > a,
.ast-builder-menu .kk-cta > a {
    background: var(--kk-orange);
    color: #fff !important;
    border-radius: 8px;
    padding: .55em 1.2em !important;
    font-weight: 600;
    margin-left: .75em;
    transition: filter .15s ease;
}
.main-header-menu .kk-cta > a:hover,
.ast-builder-menu .kk-cta > a:hover {
    filter: brightness(.92);
    color: #fff !important;
}

/* ── Buttons ─────────────────────────────────────────────── */
.kk-btn {
    display: inline-block;
    font-family: var(--kk-font-body);
    font-weight: 600;
    font-size: 1.05rem;
    line-height: 1.2;
    padding: 1em 1.8em;
    border-radius: 8px;
    border: 0;
    cursor: pointer;
    text-decoration: none !important;
    transition: filter .15s ease, transform .1s ease;
}
.kk-btn:hover { filter: brightness(.92); }
.kk-btn:active { transform: translateY(1px); }
.kk-btn-orange { background: var(--kk-orange); color: #fff !important; }

/* ── Sektions-Helfer (Funnel + Homepage) ─────────────────── */
.kk-section { padding: 4.5rem 1.5rem; }
.kk-section-navy { background: var(--kk-navy); color: #fff; }
.kk-section-navy h2, .kk-section-navy h3 { color: #fff; }
.kk-section-gray { background: var(--kk-bg); }
.kk-inner { max-width: 1140px; margin: 0 auto; }
.kk-inner-narrow { max-width: 760px; margin: 0 auto; }
.kk-accent-green { color: var(--kk-green); }
.kk-accent-orange { color: var(--kk-orange); }
.kk-section-navy .kk-accent-green { color: var(--kk-green-tint); }

/* ── SEO-Check Formular ──────────────────────────────────── */
.kkf-wrap {
    max-width: 560px;
    margin: 0 auto;
    background: #fff;
    border-radius: 12px;
    padding: 2.25rem 2rem;
    box-shadow: 0 8px 30px rgba(15, 41, 66, .10);
}
.kkf-field { margin-bottom: 1.15rem; }
.kkf-field label {
    display: block;
    font-weight: 600;
    font-size: .92rem;
    color: var(--kk-navy);
    margin-bottom: .35rem;
}
.kkf-field input[type="text"],
.kkf-field input[type="email"],
.kkf-field input[type="tel"],
.kkf-field textarea {
    width: 100%;
    padding: .75em .9em;
    border: 1px solid #D5DCE4;
    border-radius: 8px;
    font-family: var(--kk-font-body);
    font-size: 1rem;
    color: var(--kk-text);
    background: #fff;
}
.kkf-field textarea {
    resize: vertical;
    min-height: 8em;
}
.kkf-field input:focus,
.kkf-field textarea:focus {
    outline: 2px solid var(--kk-green);
    outline-offset: -1px;
    border-color: var(--kk-green);
}
.kkf-required { color: var(--kk-orange); }
.kkf-optional { font-weight: 400; color: #6B7A89; }
.kkf-consent label {
    display: flex;
    gap: .6rem;
    align-items: flex-start;
    font-weight: 400;
    font-size: .85rem;
    line-height: 1.45;
    color: var(--kk-text);
}
.kkf-consent input { margin-top: .2em; flex-shrink: 0; }
.kkf-submit { width: 100%; margin-top: .5rem; }
.kkf-trust {
    text-align: center;
    font-size: .8rem;
    color: #6B7A89;
    margin: .9rem 0 0;
}
.kkf-error {
    background: #FDECEA;
    border: 1px solid #F5C6C0;
    border-radius: 8px;
    padding: .8rem 1rem;
    margin-bottom: 1.2rem;
    color: #B3261E;
    font-size: .92rem;
}
.kkf-success {
    background: #E8F7EF;
    border: 1px solid #A9E4C6;
    border-radius: 8px;
    padding: 1rem 1.1rem;
    color: var(--kk-green);
    font-size: .95rem;
    font-weight: 600;
    text-align: center;
}

/* ═══════════════════════════════════════════════════════════
   Footer & Header Polish — v1.1.1 (2026-07-14)
   ═══════════════════════════════════════════════════════════ */

/* ── Footer-Widget-Links: klar & gut lesbar ──────────────── */
.site-footer .kk-footer-list { list-style: none; margin: 0; padding: 0; }
.site-footer .kk-footer-list li { margin: 0 0 .5rem; }
.site-footer .kk-footer-list a,
.site-footer .kk-footer-contact,
.site-footer .kk-footer-contact a {
    color: #48566A;
    text-decoration: none;
    font-size: .95rem;
    line-height: 1.5;
    transition: color .15s ease;
}
.site-footer .kk-footer-list a:hover,
.site-footer .kk-footer-contact a:hover { color: var(--kk-green); }
.site-footer .footer-widget-area h4 {
    font-size: 1rem;
    letter-spacing: .01em;
    margin: 0 0 1rem;
    color: var(--kk-navy);
}

/* ── Kontakt-Spalte: Icons + klare Zeilen ────────────────── */
.site-footer .kk-footer-contact {
    display: flex;
    align-items: baseline;
    gap: .55rem;
    margin: 0 0 .6rem;
}
.site-footer .kk-footer-contact::before {
    font-size: .95em;
    line-height: 1;
    flex-shrink: 0;
}
.site-footer .kk-c-mail::before { content: "\2709"; }   /* ✉ */
.site-footer .kk-c-tel::before  { content: "\260E"; }   /* ☎ */
.site-footer .kk-c-area::before { content: "\1F4CD"; }  /* 📍 */
.site-footer .kk-tel {
    cursor: pointer;
    color: var(--kk-green);
    font-weight: 600;
}

/* ── Letzte Zeile (Copyright/Rechtliches): kleiner & feiner ─ */
.site-below-footer-wrap .ast-footer-copyright p {
    font-size: .8rem;
    color: #7A8798;
    margin: 0;
}
.site-below-footer-wrap .ast-footer-copyright a {
    color: #7A8798;
    text-decoration: none;
    border-bottom: 1px solid rgba(122, 135, 152, .35);
    transition: color .15s ease, border-color .15s ease;
}
.site-below-footer-wrap .ast-footer-copyright a:hover {
    color: var(--kk-green);
    border-color: var(--kk-green);
}

/* ── Header: CTA sauber rechts, kein Zeilenumbruch ───────── */
@media (min-width: 922px) {
    .ast-primary-header-bar .main-header-menu {
        flex-wrap: nowrap;
        align-items: center;
    }
    .main-header-menu > .menu-item:not(.kk-cta) > .menu-link {
        padding-left: .6em;
        padding-right: .6em;
        font-size: 15px;
        font-weight: 500;
        white-space: nowrap;
    }
    .main-header-menu > .kk-cta { margin-left: 1.5rem; }
}
.main-header-menu .kk-cta > a,
.ast-builder-menu .kk-cta > a {
    padding: .6em 1.35em !important;
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
    line-height: 1.15;
    box-shadow: 0 2px 8px rgba(255, 107, 53, .28);
}

/* WhatsApp bleibt bottom-right; a11y-Widget (ea11y) liegt bottom-left → keine Kollision */
.plugoff-whatsapp-button { z-index: 999; }

/* ── Footer-Inhalt nicht am Rand kleben (Desktop + Mobil) ─────── */
.site-primary-footer-wrap .site-primary-footer-inner-wrap,
.site-below-footer-wrap .site-below-footer-inner-wrap {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
}

/* ── Footer: 3 Spalten nebeneinander auf Desktop (Astra-Row steht auf "stack") ─ */
@media (min-width: 922px) {
    .site-primary-footer-wrap .site-primary-footer-inner-wrap,
    .site-below-footer-wrap .site-below-footer-inner-wrap {
        padding-left: 2.5rem !important;
        padding-right: 2.5rem !important;
    }
    .site-primary-footer-wrap .site-primary-footer-inner-wrap {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
        align-items: start;
    }
    .site-primary-footer-wrap .site-footer-primary-section-1,
    .site-primary-footer-wrap .site-footer-primary-section-2,
    .site-primary-footer-wrap .site-footer-primary-section-3 {
        width: auto !important;
        max-width: none;
        padding: 0;
        text-align: left;
    }
}
