/* ============================================================
   COMPONENTS.CSS — findedeinhandwerker.de
   Wiederverwendbare UI-Komponenten: Buttons, Cards, Forms, Nav
   ============================================================ */


/* ============================================================
   BUTTONS
   ============================================================ */

.fdh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
    border: 2px solid transparent;
    text-decoration: none;
    white-space: nowrap;
}

.fdh-btn:hover {
    text-decoration: none;
    transform: translateY(-1px);
}

.fdh-btn:active {
    transform: translateY(0);
}

/* Primär — Teal (einzige CTA-Farbe, kein Orange mehr) */
.fdh-btn-primary {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

.fdh-btn-primary:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    box-shadow: 0 4px 16px rgba(80, 201, 206, 0.35);
}

/* Sekundär — Teal */
.fdh-btn-secondary {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

.fdh-btn-secondary:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
}

/* Outline — Primary */
.fdh-btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.fdh-btn-outline:hover {
    background: var(--primary);
    color: white;
}

/* Outline — Teal */
.fdh-btn-outline-accent {
    background: transparent;
    color: var(--accent-dark);
    border-color: var(--accent);
}

.fdh-btn-outline-accent:hover {
    background: var(--accent);
    color: white;
}

/* Ghost */
.fdh-btn-ghost {
    background: transparent;
    color: var(--text-light);
    border-color: transparent;
}

.fdh-btn-ghost:hover {
    background: var(--bg-alt);
    color: var(--primary);
}

/* Größen */
.fdh-btn-sm { padding: 8px 16px; font-size: 14px; }
.fdh-btn-lg { padding: 16px 32px; font-size: 17px; }
.fdh-btn-xl { padding: 20px 40px; font-size: 18px; }

/* Deaktiviert */
.fdh-btn:disabled,
.fdh-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
    transform: none;
}

/* Volle Breite */
.fdh-btn-block { width: 100%; }


/* ============================================================
   NAVIGATION — Floating Pill / Frosted Glass
   Exakt wie im Prototyp
   ============================================================ */

/* Äußerer Wrapper: fixed, gibt das Padding für den Pill */
.fdh-nav-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-nav);
    padding: 12px 24px;
    pointer-events: none;
}

/* Die eigentliche Nav: Pill mit Frosted Glass */
.fdh-nav {
    max-width: var(--container-max);
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50px;
    padding: 0 8px 0 28px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
    pointer-events: all;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

/* Beim Scrollen: stärker opak */
.fdh-nav.scrolled {
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.12);
}

/* Logo */
.fdh-nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

.fdh-nav-logo-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    line-height: 1;
}

.fdh-nav-logo-text {
    font-family: 'Kurdis', 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 20px;
    color: var(--accent);   /* Teal — wie im Prototyp */
    line-height: 1;
}

.fdh-nav-logo-text span {
    color: var(--primary);  /* "dein" in Black Olive */
}

.fdh-nav-logo:hover {
    text-decoration: none;
}

/* Nav-Links */
.fdh-nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
}

.fdh-nav-link {
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);       /* Dunkel auf hellem Pill */
    text-decoration: none;
    transition: background var(--transition), color var(--transition);
}

.fdh-nav-link:hover {
    background: rgba(80, 201, 206, 0.1);
    color: var(--accent-dark);
    text-decoration: none;
}

.fdh-nav-link.active {
    background: var(--accent);
    color: white;
    font-weight: 600;
}

/* CTA-Button: Teal (wie im Prototyp — NICHT warm-orange) */
.fdh-nav-cta {
    background: var(--accent);
    color: white;
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background var(--transition), transform var(--transition);
    white-space: nowrap;
}

.fdh-nav-cta:hover {
    background: var(--accent-dark);
    color: white;
    text-decoration: none;
    transform: scale(1.02);
}

/* Mobile Hamburger */
.fdh-nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    border-radius: 50px;
    transition: background var(--transition);
}

.fdh-nav-hamburger:hover {
    background: rgba(80, 201, 206, 0.1);
}

.fdh-nav-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--primary);   /* Dunkel auf hellem Pill */
    border-radius: 2px;
    transition: transform var(--transition);
}

@media (max-width: 768px) {
    .fdh-nav-wrapper {
        padding: 10px 16px;
    }

    .fdh-nav {
        padding: 0 6px 0 16px;
    }

    .fdh-nav-links {
        display: none;
    }

    .fdh-nav-hamburger {
        display: flex;
        flex-shrink: 0;
    }

    /* Logo-Text kleiner damit Burger nicht überlappt */
    .fdh-nav-logo-text {
        font-size: 15px;
    }

    .fdh-nav-logo-icon {
        width: 26px;
        height: 26px;
        font-size: 15px;
    }

    /* Mobile Menu: klappt unterhalb der Nav auf */
    .fdh-nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: calc(100% + 8px);
        left: 16px;
        right: 16px;
        background: rgba(255, 255, 255, 0.96);
        backdrop-filter: blur(24px);
        border: 1px solid rgba(255, 255, 255, 0.4);
        border-radius: var(--radius-lg);
        padding: var(--space-md);
        gap: 4px;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    }

    .fdh-nav-links.open .fdh-nav-link {
        padding: 10px 16px;
    }

    .fdh-nav-links.open .fdh-nav-cta {
        margin-top: 8px;
        text-align: center;
    }
}


/* ============================================================
   HANDWERKER-CARD
   ============================================================ */

.fdh-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-card);
    transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
    position: relative;
}

.fdh-card:hover {
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-2px);
    border-color: var(--accent-light);
}

/* Basis-Betrieb: gedimmt */
.fdh-card.fdh-card-basis {
    opacity: 0.75;
    filter: grayscale(20%);
}

.fdh-card.fdh-card-basis:hover {
    opacity: 0.9;
}

/* Top-Betrieb: hervorgehoben mit Teal */
.fdh-card.fdh-card-top {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px var(--accent), var(--shadow-card);
}

.fdh-card-header {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.fdh-card-logo {
    width: 64px;
    height: 64px;
    border-radius: var(--radius);
    object-fit: cover;
    flex-shrink: 0;
    background: var(--bg-alt);
    border: 1px solid var(--border);
}

.fdh-card-logo-placeholder {
    width: 64px;
    height: 64px;
    border-radius: var(--radius);
    background: var(--primary);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Kurdis', sans-serif;
    font-weight: 800;
    font-size: 24px;
    flex-shrink: 0;
}

.fdh-card-meta {
    flex: 1;
    min-width: 0;
}

.fdh-card-name {
    font-family: 'Kurdis', sans-serif;
    font-weight: 700;
    font-size: 17px;
    color: var(--primary);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fdh-card-gewerk {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 6px;
}

.fdh-card-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.fdh-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-sm);
    padding-top: var(--space-md);
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
}

.fdh-card-distanz {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 500;
}

.fdh-card-distanz strong {
    color: var(--primary);
}

.fdh-card-actions {
    display: flex;
    gap: 8px;
}


/* ============================================================
   FORMULAR-ELEMENTE
   ============================================================ */

.fdh-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.fdh-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
}

.fdh-label.required::after {
    content: ' *';
    color: var(--error);
}

.fdh-input,
.fdh-select,
.fdh-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 15px;
    color: var(--text);
    background: white;
    transition: border-color var(--transition), box-shadow var(--transition);
    appearance: none;
}

.fdh-input:focus,
.fdh-select:focus,
.fdh-textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(80, 201, 206, 0.15);
}

.fdh-input::placeholder,
.fdh-textarea::placeholder {
    color: var(--text-light);
}

.fdh-input.error,
.fdh-select.error {
    border-color: var(--error);
}

.fdh-field-error {
    font-size: 13px;
    color: var(--error);
}

.fdh-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B7B80' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
    cursor: pointer;
}

.fdh-textarea {
    resize: vertical;
    min-height: 120px;
}

/* Suchfeld-Gruppe (Gewerk + PLZ + Button) */
.fdh-search-group {
    display: flex;
    gap: 0;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.fdh-search-group .fdh-select,
.fdh-search-group .fdh-input {
    border-radius: 0;
    border-right: none;
    flex: 1;
}

.fdh-search-group .fdh-btn {
    border-radius: 0;
    flex-shrink: 0;
    padding: 14px 28px;
}

@media (max-width: 640px) {
    .fdh-search-group {
        flex-direction: column;
    }

    .fdh-search-group .fdh-select,
    .fdh-search-group .fdh-input {
        border-right: 1.5px solid var(--border);
        border-bottom: none;
    }

    .fdh-search-group .fdh-btn {
        width: 100%;
        border-radius: 0 0 var(--radius) var(--radius);
    }
}

/* Checkbox */
.fdh-checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.fdh-checkbox {
    width: 18px;
    height: 18px;
    accent-color: var(--accent);
    cursor: pointer;
    flex-shrink: 0;
    margin-top: 2px;
}

.fdh-checkbox-label {
    font-size: 14px;
    color: var(--text);
    cursor: pointer;
    line-height: 1.5;
}

.fdh-checkbox-label a {
    color: var(--accent-dark);
    text-decoration: underline;
}


/* ============================================================
   SECTION-WRAPPER
   ============================================================ */

.fdh-section {
    padding: var(--space-3xl) var(--container-padding);
}

.fdh-section-alt {
    background: var(--bg-alt);
}

.fdh-section-dark {
    background: var(--primary-dark);
    color: white;
}

.fdh-section-dark h2,
.fdh-section-dark h3 {
    color: white;
}

.fdh-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

.fdh-section-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.fdh-section-header .fdh-label {
    color: var(--accent-dark);
    margin-bottom: var(--space-sm);
}


/* ============================================================
   TOAST / NOTIFICATIONS
   ============================================================ */

.fdh-toast-container {
    position: fixed;
    bottom: var(--space-lg);
    right: var(--space-lg);
    z-index: var(--z-toast);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    pointer-events: none;
}

.fdh-toast {
    background: var(--primary);
    color: white;
    padding: 14px 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-modal);
    font-size: 14px;
    font-weight: 500;
    pointer-events: all;
    animation: fdh-toast-in 0.3s ease;
    max-width: 320px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.fdh-toast.success { background: var(--success); }
.fdh-toast.error   { background: var(--error); }
.fdh-toast.warning { background: var(--warning); }

@keyframes fdh-toast-in {
    from { transform: translateY(20px); opacity: 0; }
    to   { transform: translateY(0); opacity: 1; }
}


/* ============================================================
   LOADING SPINNER
   ============================================================ */

.fdh-spinner {
    width: 24px;
    height: 24px;
    border: 3px solid rgba(80, 201, 206, 0.2);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: fdh-spin 0.7s linear infinite;
}

@keyframes fdh-spin {
    to { transform: rotate(360deg); }
}

.fdh-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-xl);
    color: var(--text-light);
    font-size: 14px;
}


/* ============================================================
   FRONTEND-AUTH — Login / Passwort-vergessen / Passwort-zurücksetzen
   Template: page-login.php, page-passwort-vergessen.php, page-passwort-zuruecksetzen.php
   ============================================================ */

.fdh-auth-page {
    min-height: calc(100vh - 160px);
    background: linear-gradient(180deg, #F6F8F6 0%, #EEF3F2 100%);
    /* Oben genug Luft, damit die schwebende Pill-Nav nicht über die Login-Card
       fällt. Die Nav ist ca. 80px hoch + 20px Abstand oben = 100px Mindestabstand. */
    padding: 140px 20px 60px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.fdh-auth-container {
    width: 100%;
    max-width: 440px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.fdh-auth-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px 36px 32px;
    box-shadow: 0 12px 32px rgba(46, 56, 46, 0.08), 0 2px 6px rgba(46, 56, 46, 0.04);
    border: 1px solid rgba(46, 56, 46, 0.06);
}

/* --- Header (Logo + Titel) --- */
.fdh-auth-header {
    text-align: center;
    margin-bottom: 28px;
}

.fdh-auth-logo-link {
    display: inline-block;
    text-decoration: none;
    margin-bottom: 24px;
}

.fdh-auth-brand {
    font-family: 'Kurdis', 'Inter', sans-serif;
    font-weight: 800;
    font-size: 22px;
    color: var(--primary);
    letter-spacing: -0.01em;
}

.fdh-auth-brand-dot {
    color: var(--accent);
}

.fdh-auth-title {
    font-family: 'Kurdis', 'Inter', sans-serif;
    font-size: 26px;
    font-weight: 800;
    color: var(--primary);
    margin: 0 0 8px;
    line-height: 1.2;
}

.fdh-auth-subtitle {
    font-size: 15px;
    color: var(--text-light, #6B6F6B);
    margin: 0;
    line-height: 1.5;
}

/* --- Alerts --- */
.fdh-auth-alert {
    padding: 14px 16px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
    border: 1px solid transparent;
}

.fdh-auth-alert--error {
    background: #FEF2F2;
    color: #991B1B;
    border-color: #FECACA;
}

.fdh-auth-alert--success {
    background: #F0FDF4;
    color: #166534;
    border-color: #BBF7D0;
}

.fdh-auth-alert strong {
    font-weight: 700;
}

/* --- Form --- */
.fdh-auth-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.fdh-auth-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.fdh-auth-field--row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-top: -4px;
    margin-bottom: 4px;
}

.fdh-auth-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 0.01em;
}

.fdh-auth-label-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.fdh-auth-input {
    width: 100%;
    padding: 13px 14px;
    font-size: 15px;
    border-radius: 10px;
    border: 1.5px solid #E5E7E5;
    background: #FAFBFA;
    transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}

.fdh-auth-input:focus {
    outline: none;
    border-color: var(--accent);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(80, 201, 206, 0.15);
}

.fdh-auth-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-light, #6B6F6B);
    cursor: pointer;
    user-select: none;
}

.fdh-auth-checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--accent);
    cursor: pointer;
}

/* --- Links --- */
.fdh-auth-link {
    color: var(--accent-dark, #3BA8AD);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.15s;
}

.fdh-auth-link:hover {
    color: var(--primary);
    text-decoration: underline;
}

.fdh-auth-link--muted {
    color: var(--text-light, #6B6F6B);
    font-weight: 500;
    font-size: 13px;
}

.fdh-auth-link--muted:hover {
    color: var(--accent-dark, #3BA8AD);
}

/* --- Submit-Button-Spacing --- */
.fdh-auth-form .fdh-btn-block {
    margin-top: 8px;
}

/* --- Footer (Zusätzliche Links unter dem Formular) --- */
.fdh-auth-footer {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #F0F2F0;
    text-align: center;
}

.fdh-auth-footer--center {
    text-align: center;
}

.fdh-auth-footer p {
    margin: 0;
    font-size: 14px;
    color: var(--text-light, #6B6F6B);
}

.fdh-auth-footer .fdh-auth-link {
    font-size: 14px;
}

/* --- Legal-Text unter der Card --- */
.fdh-auth-legal {
    text-align: center;
    font-size: 12px;
    color: var(--text-light, #6B6F6B);
    line-height: 1.6;
    margin: 0;
    padding: 0 20px;
}

.fdh-auth-legal a {
    color: var(--text-light, #6B6F6B);
    text-decoration: underline;
}

.fdh-auth-legal a:hover {
    color: var(--primary);
}

/* --- Responsive --- */
@media (max-width: 480px) {
    .fdh-auth-page {
        padding: 110px 16px 40px;
    }
    .fdh-auth-card {
        padding: 32px 24px 24px;
        border-radius: 14px;
    }
    .fdh-auth-title {
        font-size: 22px;
    }
}


/* ============================================================
   KHWK METTMANN — Co-Branded Landing Page
   ============================================================ */

/* --- Partner-Bar (co-brand strip) --- */
.fdh-khwk-partnerbar {
    background: #0F1B2D;
    color: #F6F8F6;
    padding: 14px 20px;
    border-bottom: 3px solid var(--accent);
}
.fdh-khwk-partnerbar-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    font-size: 14px;
    letter-spacing: 0.02em;
}
.fdh-khwk-partnerbar-label {
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--accent);
}
.fdh-khwk-partnerbar-sep {
    color: rgba(255,255,255,0.4);
    font-size: 16px;
    font-weight: 300;
}
.fdh-khwk-partnerbar-partner {
    font-weight: 600;
    color: #ffffff;
}

/* --- Hero --- */
.fdh-khwk-hero {
    background: linear-gradient(180deg, #0F1B2D 0%, #1A2942 100%);
    color: #ffffff;
    padding: 100px 20px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.fdh-khwk-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top, rgba(217, 119, 6, 0.15) 0%, transparent 60%);
    pointer-events: none;
}
.fdh-khwk-hero-inner {
    position: relative;
    max-width: 820px;
}
.fdh-khwk-hero h1 {
    color: #ffffff;
    font-size: clamp(30px, 4.5vw, 48px);
    line-height: 1.15;
    font-weight: 800;
    margin-bottom: 20px;
}
.fdh-khwk-hero-highlight {
    color: var(--accent);
}
.fdh-khwk-hero-lead {
    color: rgba(255,255,255,0.82);
    max-width: 640px;
    margin: 0 auto 36px;
    font-size: 18px;
    line-height: 1.55;
}
.fdh-khwk-hero-lead strong {
    color: #ffffff;
}
.fdh-khwk-hero-cta {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 32px;
}
.fdh-khwk-hero-trust {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 8px;
}

/* --- Offer Card --- */
.fdh-khwk-offer-card {
    max-width: 880px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 20px;
    padding: 48px 40px;
    box-shadow: 0 10px 40px rgba(15, 27, 45, 0.08);
    border: 1px solid rgba(15, 27, 45, 0.08);
    position: relative;
}
.fdh-khwk-offer-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #ffffff;
    padding: 6px 18px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
}
.fdh-khwk-offer-title {
    text-align: center;
    margin-bottom: 32px;
    font-size: 28px;
}
.fdh-khwk-offer-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
    margin-bottom: 28px;
}
.fdh-khwk-offer-col {
    text-align: center;
    padding: 24px 16px;
    border-radius: 14px;
}
.fdh-khwk-offer-col-strike {
    background: #F6F8F6;
    color: #6B7280;
}
.fdh-khwk-offer-col-highlight {
    background: linear-gradient(135deg, rgba(217, 119, 6, 0.08) 0%, rgba(217, 119, 6, 0.02) 100%);
    border: 2px solid var(--accent);
}
.fdh-khwk-offer-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    margin-bottom: 8px;
    color: inherit;
    opacity: 0.7;
}
.fdh-khwk-offer-price {
    font-size: 44px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 6px;
}
.fdh-khwk-offer-price-strike {
    text-decoration: line-through;
    text-decoration-color: #DC2626;
    text-decoration-thickness: 3px;
}
.fdh-khwk-offer-price-highlight {
    color: var(--accent);
}
.fdh-khwk-offer-sub {
    font-size: 13px;
    color: #6B7280;
}
.fdh-khwk-offer-arrow {
    font-size: 32px;
    color: var(--accent);
    font-weight: 300;
}
.fdh-khwk-offer-saving {
    text-align: center;
    font-size: 18px;
    margin-bottom: 32px;
    color: var(--text);
}
.fdh-khwk-offer-saving strong {
    color: var(--accent);
}
.fdh-khwk-offer-cta {
    max-width: 420px;
    margin: 0 auto;
}
.fdh-khwk-offer-fineprint {
    font-size: 12px;
    color: #6B7280;
    text-align: center;
    margin-top: 14px;
    line-height: 1.5;
}

/* --- Features Grid --- */
.fdh-khwk-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: var(--space-2xl);
}
.fdh-khwk-feature {
    background: #ffffff;
    padding: 28px 24px;
    border-radius: 14px;
    border: 1px solid rgba(15, 27, 45, 0.08);
    transition: transform .2s ease, box-shadow .2s ease;
}
.fdh-khwk-feature:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(15, 27, 45, 0.08);
}
.fdh-khwk-feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(217, 119, 6, 0.12) 0%, rgba(217, 119, 6, 0.04) 100%);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 14px;
}
.fdh-khwk-feature h3 {
    font-size: 17px;
    margin-bottom: 8px;
    color: var(--text);
}
.fdh-khwk-feature p {
    font-size: 14px;
    line-height: 1.55;
    color: #4B5563;
}

/* --- Steps --- */
.fdh-khwk-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
    margin-top: var(--space-2xl);
}
.fdh-khwk-step {
    background: #ffffff;
    padding: 32px 28px;
    border-radius: 14px;
    text-align: center;
    border: 1px solid rgba(15, 27, 45, 0.08);
    position: relative;
}
.fdh-khwk-step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 800;
    margin: 0 auto 18px;
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.3);
}
.fdh-khwk-step h3 {
    font-size: 18px;
    margin-bottom: 10px;
}
.fdh-khwk-step p {
    font-size: 14px;
    line-height: 1.6;
    color: #4B5563;
}

/* --- Trust Box --- */
.fdh-khwk-trust-box {
    max-width: 960px;
    margin: 0 auto;
    background: linear-gradient(135deg, #F6F8F6 0%, #EEF3F2 100%);
    border-radius: 20px;
    padding: 48px 40px;
    border: 1px solid rgba(15, 27, 45, 0.06);
}
.fdh-khwk-trust-title {
    text-align: center;
    font-size: 28px;
    margin-bottom: 16px;
}
.fdh-khwk-trust-lead {
    text-align: center;
    font-size: 16px;
    line-height: 1.6;
    color: #4B5563;
    max-width: 680px;
    margin: 0 auto 36px;
}
.fdh-khwk-trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}
.fdh-khwk-trust-item h3 {
    font-size: 16px;
    margin-bottom: 6px;
    color: var(--text);
}
.fdh-khwk-trust-item p {
    font-size: 13px;
    line-height: 1.55;
    color: #4B5563;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .fdh-khwk-hero {
        padding: 80px 20px 60px;
    }
    .fdh-khwk-offer-card {
        padding: 40px 24px 32px;
    }
    .fdh-khwk-offer-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .fdh-khwk-offer-arrow {
        transform: rotate(90deg);
    }
    .fdh-khwk-offer-price {
        font-size: 36px;
    }
    .fdh-khwk-trust-box {
        padding: 36px 24px;
    }
}
@media (max-width: 480px) {
    .fdh-khwk-partnerbar-inner {
        flex-direction: column;
        gap: 4px;
    }
    .fdh-khwk-partnerbar-sep {
        display: none;
    }
    .fdh-khwk-hero-cta .fdh-btn {
        width: 100%;
    }
}


/* ============================================================
   BKH BUNDESVERBAND KOOPERATION
   Landing Page: /bundesverband-kooperation/
   Template: page-bundesverband.php
   ============================================================ */

.fdh-bkh-partnerbar {
    background: #1a2332;
    border-bottom: 2px solid var(--accent);
    padding: 10px 0;
}
.fdh-bkh-partnerbar-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}
.fdh-bkh-partnerbar-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #8a9ab0;
    font-weight: 600;
}
.fdh-bkh-partnerbar-sep {
    color: var(--accent);
    font-size: 16px;
    font-weight: 300;
}
.fdh-bkh-partnerbar-partner {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -.2px;
}

.fdh-bkh-hero {
    background: linear-gradient(135deg, #0F1B2D 0%, #1A2942 60%, #0d2232 100%);
    padding: 96px 0 80px;
    position: relative;
    overflow: hidden;
}
.fdh-bkh-hero::before {
    content: '';
    position: absolute;
    top: -120px; right: -80px;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(80,201,206,.10) 0%, transparent 70%);
    pointer-events: none;
}
.fdh-bkh-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 760px;
}
.fdh-bkh-hero h1 {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -.5px;
}
.fdh-bkh-hero-highlight {
    color: var(--accent);
}
.fdh-bkh-hero-lead {
    color: rgba(255,255,255,.75);
    font-size: 17px;
    line-height: 1.7;
    max-width: 620px;
    margin-bottom: 36px;
}
.fdh-bkh-hero-cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}
.fdh-bkh-hero-trust {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.fdh-bkh-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1px;
    background: #e8ecf0;
    border-radius: 10px;
    overflow: hidden;
    margin: var(--space-2xl) 0;
}
.fdh-bkh-stat {
    background: #fff;
    padding: 32px 28px;
    text-align: center;
}
.fdh-bkh-stat-number {
    font-size: 40px;
    font-weight: 800;
    color: #2E382E;
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: -1px;
}
.fdh-bkh-stat-number span {
    color: var(--accent);
}
.fdh-bkh-stat-label {
    font-size: 13px;
    color: #667788;
    font-weight: 500;
    line-height: 1.4;
}

.fdh-bkh-platform-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: var(--space-xl);
}
.fdh-bkh-platform-card {
    background: #f7f8fa;
    border-radius: 10px;
    padding: 28px 24px;
    border-left: 4px solid var(--accent);
}
.fdh-bkh-platform-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: #2E382E;
    margin-bottom: 10px;
}
.fdh-bkh-platform-card p {
    font-size: 14px;
    color: #4a5568;
    line-height: 1.7;
}
.fdh-bkh-platform-card.fdh-bkh-card-dark {
    background: #2E382E;
    border-left-color: var(--accent);
}
.fdh-bkh-platform-card.fdh-bkh-card-dark h3 { color: #fff; }
.fdh-bkh-platform-card.fdh-bkh-card-dark p { color: rgba(255,255,255,.7); }

.fdh-bkh-pilot-box {
    background: linear-gradient(135deg, #2E382E 0%, #3a4a3a 100%);
    border-radius: 12px;
    padding: 40px 48px;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.fdh-bkh-pilot-box::before {
    content: '';
    position: absolute;
    bottom: -40px; right: -40px;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(80,201,206,.15) 0%, transparent 70%);
    pointer-events: none;
}
.fdh-bkh-pilot-badge {
    display: inline-block;
    background: var(--accent);
    color: #1a2332;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 16px;
}
.fdh-bkh-pilot-box h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 14px;
}
.fdh-bkh-pilot-box p {
    color: rgba(255,255,255,.75);
    font-size: 15px;
    line-height: 1.7;
    max-width: 560px;
}

.fdh-bkh-coop-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0;
    margin-top: var(--space-xl);
    position: relative;
}
.fdh-bkh-coop-steps::before {
    content: '';
    position: absolute;
    top: 32px; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent) 0%, #2E382E 100%);
    z-index: 0;
}
.fdh-bkh-coop-step {
    position: relative;
    z-index: 1;
    padding: 0 24px;
    text-align: center;
}
.fdh-bkh-coop-step-num {
    width: 64px; height: 64px;
    background: #2E382E;
    color: var(--accent);
    border-radius: 50%;
    font-size: 22px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border: 3px solid var(--accent);
}
.fdh-bkh-coop-step h3 {
    font-size: 15px;
    font-weight: 700;
    color: #2E382E;
    margin-bottom: 10px;
}
.fdh-bkh-coop-step p {
    font-size: 13.5px;
    color: #556;
    line-height: 1.6;
}

.fdh-bkh-energy-box {
    background: #f0fafb;
    border: 1.5px solid var(--accent);
    border-radius: 12px;
    padding: 36px 40px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 28px;
    align-items: start;
}
.fdh-bkh-energy-icon {
    font-size: 48px;
    line-height: 1;
}
.fdh-bkh-energy-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: #2E382E;
    margin-bottom: 12px;
}
.fdh-bkh-energy-content p {
    font-size: 14.5px;
    color: #4a5568;
    line-height: 1.75;
    margin-bottom: 10px;
}

.fdh-bkh-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: var(--space-xl);
}
.fdh-bkh-benefit {
    border-left: 3px solid var(--accent);
    padding: 16px 20px;
    background: #fafbfc;
    border-radius: 0 8px 8px 0;
}
.fdh-bkh-benefit h4 {
    font-size: 14px;
    font-weight: 700;
    color: #2E382E;
    margin-bottom: 8px;
}
.fdh-bkh-benefit p {
    font-size: 13px;
    color: #556677;
    line-height: 1.6;
}

.fdh-bkh-final-cta {
    background: linear-gradient(135deg, #0F1B2D 0%, #1A2942 100%);
    padding: 80px 0;
    text-align: center;
}
.fdh-bkh-final-cta h2 {
    color: #fff;
    font-size: clamp(22px, 3vw, 34px);
    font-weight: 700;
    margin-bottom: 16px;
}
.fdh-bkh-final-cta p {
    color: rgba(255,255,255,.65);
    font-size: 16px;
    max-width: 500px;
    margin: 0 auto 36px;
    line-height: 1.7;
}
.fdh-bkh-contact-grid {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 12px;
}
.fdh-bkh-contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,.55);
    font-size: 14px;
}
.fdh-bkh-contact-item a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

@media (max-width: 640px) {
    .fdh-bkh-hero { padding: 64px 0 56px; }
    .fdh-bkh-platform-grid { grid-template-columns: 1fr; }
    .fdh-bkh-coop-steps::before { display: none; }
    .fdh-bkh-coop-step { padding: 0 0 32px; text-align: left; }
    .fdh-bkh-coop-step-num { margin: 0 0 16px; }
    .fdh-bkh-pilot-box { padding: 28px 24px; }
    .fdh-bkh-energy-box { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .fdh-bkh-partnerbar-inner { flex-direction: column; gap: 4px; }
    .fdh-bkh-partnerbar-sep { display: none; }
    .fdh-bkh-hero-cta .fdh-btn { width: 100%; }
}

/* BKH — Origin Story + USP Grid */
.fdh-bkh-origin-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}
.fdh-bkh-origin-text h2 {
    font-size: clamp(22px, 2.8vw, 32px);
    font-weight: 800;
    color: #2E382E;
    line-height: 1.25;
    margin-bottom: 20px;
}
.fdh-bkh-origin-text p {
    font-size: 15px;
    line-height: 1.8;
    color: #3a4a5a;
    margin-bottom: 16px;
}
.fdh-bkh-origin-text p:last-child { margin-bottom: 0; }

.fdh-bkh-origin-usp {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.fdh-bkh-usp-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: #f7f8fa;
    border-radius: 10px;
    padding: 20px 22px;
    border-left: 4px solid var(--accent);
}
.fdh-bkh-usp-icon {
    font-size: 24px;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 2px;
}
.fdh-bkh-usp-item h4 {
    font-size: 14px;
    font-weight: 700;
    color: #2E382E;
    margin-bottom: 6px;
}
.fdh-bkh-usp-item p {
    font-size: 13.5px;
    color: #556677;
    line-height: 1.65;
    margin: 0;
}

@media (max-width: 768px) {
    .fdh-bkh-origin-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}
