/* ============================================================
   LAYOUT.CSS — findedeinhandwerker.de
   Grid-System, Responsive Helpers, Page-Layouts
   ============================================================ */


/* ============================================================
   GRID-SYSTEM
   ============================================================ */

.fdh-grid {
    display: grid;
    gap: var(--space-lg);
}

.fdh-grid-2 { grid-template-columns: repeat(2, 1fr); }
.fdh-grid-3 { grid-template-columns: repeat(3, 1fr); }
.fdh-grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Auto-fill Cards (für Handwerker-Grid) */
.fdh-grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--space-lg);
}

/* Sidebar-Layout (für Suchergebnisse: Liste + Karte) */
.fdh-layout-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    height: calc(100vh - var(--nav-height));
    overflow: hidden;
}

.fdh-layout-split-list {
    overflow-y: auto;
    padding: var(--space-lg);
    border-right: 1px solid var(--border);
}

.fdh-layout-split-map {
    position: sticky;
    top: 0;
    height: 100%;
}

/* Dashboard-Layout */
.fdh-layout-dashboard {
    display: grid;
    grid-template-columns: 240px 1fr;
    min-height: calc(100vh - var(--nav-height));
}

.fdh-dashboard-sidebar {
    background: var(--bg-alt);
    border-right: 1px solid var(--border);
    padding: var(--space-lg) var(--space-md);
}

.fdh-dashboard-main {
    padding: var(--space-xl);
    overflow-y: auto;
}


/* ============================================================
   FLEX UTILITIES
   ============================================================ */

.fdh-flex         { display: flex; }
.fdh-flex-center  { display: flex; align-items: center; justify-content: center; }
.fdh-flex-between { display: flex; align-items: center; justify-content: space-between; }
.fdh-flex-gap-sm  { gap: var(--space-sm); }
.fdh-flex-gap-md  { gap: var(--space-md); }
.fdh-flex-gap-lg  { gap: var(--space-lg); }
.fdh-flex-wrap    { flex-wrap: wrap; }


/* ============================================================
   SPACING UTILITIES
   ============================================================ */

.mt-sm  { margin-top: var(--space-sm); }
.mt-md  { margin-top: var(--space-md); }
.mt-lg  { margin-top: var(--space-lg); }
.mt-xl  { margin-top: var(--space-xl); }
.mb-sm  { margin-bottom: var(--space-sm); }
.mb-md  { margin-bottom: var(--space-md); }
.mb-lg  { margin-bottom: var(--space-lg); }
.mb-xl  { margin-bottom: var(--space-xl); }


/* ============================================================
   TEXT UTILITIES
   ============================================================ */

.text-center { text-align: center; }
.text-right  { text-align: right; }
.text-light  { color: var(--text-light); }
.text-accent { color: var(--accent-dark); }
.text-primary { color: var(--primary); }
.text-white  { color: white; }
.text-sm     { font-size: 14px; }
.text-xs     { font-size: 12px; }
.fw-600      { font-weight: 600; }
.fw-700      { font-weight: 700; }
.fw-800      { font-weight: 800; }


/* ============================================================
   RESPONSIVE BREAKPOINTS
   Desktop-First: Styles gelten ab Desktop, Overrides für Mobile
   ============================================================ */

/* Tablet: ≤ 1024px */
@media (max-width: 1024px) {
    .fdh-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .fdh-grid-3 { grid-template-columns: repeat(2, 1fr); }

    .fdh-layout-split {
        grid-template-columns: 1fr;
        height: auto;
        overflow: visible;
    }

    .fdh-layout-split-map {
        height: 400px;
        position: relative;
        order: -1; /* Karte oben auf Tablet */
    }

    .fdh-layout-split-list {
        border-right: none;
        border-top: 1px solid var(--border);
    }

    .fdh-layout-dashboard {
        grid-template-columns: 1fr;
    }

    .fdh-dashboard-sidebar {
        border-right: none;
        border-bottom: 1px solid var(--border);
    }
}

/* Mobile: ≤ 768px */
@media (max-width: 768px) {
    :root {
        --container-padding: 16px;
        --space-3xl: 56px;
        --space-2xl: 40px;
        --nav-height: 64px;
    }

    .fdh-grid-2,
    .fdh-grid-3,
    .fdh-grid-4 {
        grid-template-columns: 1fr;
    }

    .fdh-grid-cards {
        grid-template-columns: 1fr;
    }

    .fdh-dashboard-main {
        padding: var(--space-md);
    }

    /* Mobile: Karte als Toggle ausblenden */
    .fdh-layout-split-map {
        display: none;
    }

    .fdh-layout-split-map.show-mobile {
        display: block;
        height: 60vh;
    }
}

/* Kleine Handys: ≤ 480px */
@media (max-width: 480px) {
    :root {
        --container-padding: 12px;
    }

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


/* ============================================================
   SEITENSPEZIFISCHE LAYOUTS
   ============================================================ */

/* Startseite — Hero
   Kein padding-top für Nav nötig — Nav floated über dem Content */
.fdh-hero {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 80px var(--container-padding);
}

/* Hintergrundvideo */
.fdh-hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
}

/* Overlay — exakt wie im Prototyp: Black Olive rgba(46,56,46) */
.fdh-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(46, 56, 46, 0.55) 0%,
        rgba(46, 56, 46, 0.45) 50%,
        rgba(46, 56, 46, 0.65) 100%
    );
    z-index: 1;
}

/* Inhalt über Video + Overlay */
.fdh-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.fdh-hero h1 {
    color: white;
    margin-bottom: var(--space-md);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.fdh-hero .fdh-lead {
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin: 0 auto var(--space-xl);
}

/* Hero-CTA-Bereich (Button-Paar) */
.fdh-hero-ctas {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.fdh-hero-trust {
    font-size: 13px;
    color: rgba(255,255,255,0.65);
    text-align: center;
    margin: 0;
}

/* Hero-Anfrage-Block — bleibt im CSS für Abwärtskompatibilität */
.fdh-hero-anfrage {
    max-width: 720px;
    margin: 0 auto;
}

.fdh-hero-anfrage-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.fdh-hero-textarea {
    width: 100%;
    padding: 16px 20px;
    border: none;
    border-radius: 14px;
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.6;
    color: var(--primary);
    background: rgba(255,255,255,0.97);
    resize: none;
    outline: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    transition: box-shadow 0.2s;
}

.fdh-hero-textarea:focus {
    box-shadow: 0 4px 24px rgba(80,201,206,0.35);
}

.fdh-hero-textarea::placeholder {
    color: #9aab9a;
    font-style: italic;
}

.fdh-hero-anfrage-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.fdh-hero-hint {
    font-size: 13px;
    color: rgba(255,255,255,0.75);
    flex: 1;
}

@media (max-width: 600px) {
    .fdh-hero-anfrage-footer {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    .fdh-hero-hint { text-align: center; }
}

@media (max-width: 768px) {
    .fdh-hero {
        min-height: 100vh;
        padding: 60px var(--container-padding);
    }
}

/* Mobile Hero: ≤ 480px (iPhone SE und ähnliche) */
@media (max-width: 480px) {
    .fdh-hero {
        min-height: 100svh; /* safe viewport height — ohne Browser-Chrome */
        padding: 80px var(--container-padding) 60px;
        align-items: center;   /* vertikal zentriert — nicht oben einfrieren */
        justify-content: center;
    }

    /* Label kürzer / kleiner auf kleinen Screens */
    .fdh-hero-label {
        font-size: 10px;
        letter-spacing: 0.04em;
    }

    /* H1: kein erzwungener Zeilenumbruch auf kleinen Screens */
    .fdh-hero h1 br {
        display: none;
    }
    .fdh-hero h1 {
        font-size: clamp(26px, 7vw, 32px);
        margin-bottom: 12px;
    }

    /* Lead-Text kompakter */
    .fdh-hero .fdh-lead {
        font-size: 15px;
        margin-bottom: var(--space-lg);
    }

    /* CTAs: full-width gestapelt */
    .fdh-hero-ctas {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    .fdh-hero-ctas .fdh-btn {
        width: 100%;
        justify-content: center;
        font-size: 16px;
        padding: 14px 20px;
    }

    /* Trust-Zeile */
    .fdh-hero-trust {
        font-size: 12px;
    }
}

/* Gewerk-Grid auf Startseite */
.fdh-gewerk-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: var(--space-sm);
    max-width: var(--container-max);
    margin: 0 auto;
}

.fdh-gewerk-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: var(--space-md) var(--space-sm);
    border-radius: var(--radius);
    background: white;
    border: 1.5px solid var(--border);
    cursor: pointer;
    transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
    text-decoration: none;
    color: var(--text);
    font-size: 13px;
    font-weight: 500;
    text-align: center;
}

.fdh-gewerk-item:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-2px);
    color: var(--primary);
    text-decoration: none;
}

.fdh-gewerk-item svg,
.fdh-gewerk-item img {
    width: 32px;
    height: 32px;
}

@media (max-width: 1024px) {
    .fdh-gewerk-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 640px) {
    .fdh-gewerk-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 480px) {
    .fdh-gewerk-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Trust-Section */
.fdh-trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    text-align: center;
}

.fdh-trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
}

.fdh-trust-icon {
    width: 56px;
    height: 56px;
    background: rgba(80, 201, 206, 0.1);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.fdh-trust-icon svg { color: var(--accent-dark); }

@media (max-width: 640px) {
    .fdh-trust-grid { grid-template-columns: 1fr; }
}

/* Filter-Bar (Suchergebnisse) */
.fdh-filter-bar {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap;
}

.fdh-filter-bar .fdh-select {
    max-width: 180px;
    padding: 8px 36px 8px 12px;
    font-size: 14px;
}

.fdh-result-count {
    font-size: 14px;
    color: var(--text-light);
    margin-left: auto;
}

/* Mobile: Karte-Toggle-Button */
.fdh-map-toggle {
    display: none;
    position: fixed;
    bottom: var(--space-lg);
    left: 50%;
    transform: translateX(-50%);
    z-index: var(--z-nav);
    box-shadow: var(--shadow-modal);
}

@media (max-width: 768px) {
    .fdh-map-toggle { display: flex; }
}


/* ============================================================
   FOOTER
   ============================================================ */

.fdh-footer {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.75);
    padding: var(--space-3xl) var(--container-padding) var(--space-xl);
}

.fdh-footer-inner {
    max-width: var(--container-max);
    margin: 0 auto;
}

.fdh-footer-top {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: var(--space-2xl);
    padding-bottom: var(--space-2xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Linke Spalte: Logo + Kurztext */
.fdh-footer-brand {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.fdh-footer-logo {
    font-family: 'Kurdis', sans-serif;
    font-weight: 800;
    font-size: 18px;
    color: white;
    text-decoration: none;
    line-height: 1;
}

.fdh-footer-logo span {
    color: var(--accent);
}

.fdh-footer-logo:hover {
    color: white;
    text-decoration: none;
}

.fdh-footer-brand p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.6;
}

/* Rechte Spalte: Link-Gruppen */
.fdh-footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.fdh-footer-col h4 {
    font-family: 'Kurdis', sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: white;
    margin-bottom: var(--space-md);
    letter-spacing: 0.02em;
}

.fdh-footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fdh-footer-col a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    transition: color var(--transition);
}

.fdh-footer-col a:hover {
    color: var(--accent-light);
    text-decoration: none;
}

/* Unterer Bereich */
.fdh-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--space-lg);
    gap: var(--space-md);
    flex-wrap: wrap;
}

.fdh-footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}

.fdh-footer-bottom a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    transition: color var(--transition);
}

.fdh-footer-bottom a:hover {
    color: var(--accent-light);
}

.fdh-footer-innungshinweis {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--accent);
}

.fdh-footer-innungshinweis::before {
    content: '✓';
    font-weight: 700;
}

/* Responsive */
@media (max-width: 1024px) {
    .fdh-footer-top {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
}

@media (max-width: 640px) {
    .fdh-footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .fdh-footer-links {
        grid-template-columns: 1fr;
    }

    .fdh-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
}


/* ============================================================
   GEWERK-GRUPPEN — Startseite (5 Gruppen wie im Prototyp)
   ============================================================ */

.fdh-gewerke-section {
    padding-top: var(--space-2xl);
    padding-bottom: var(--space-2xl);
}

.fdh-gewerk-gruppe {
    margin-bottom: var(--space-xl);
}

.fdh-gewerk-gruppe:last-of-type {
    margin-bottom: 0;
}

.fdh-gewerk-gruppe-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Kurdis', sans-serif;
    font-weight: 700;
    font-size: 15px;
    color: var(--text);
    margin-bottom: var(--space-md);
    letter-spacing: -0.01em;
}

.fdh-gewerk-gruppe-title span {
    font-size: 18px;
    line-height: 1;
}

/* Grid innerhalb einer Gruppe — fluid, min 130px pro Item */
.fdh-gewerk-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 10px;
}

.fdh-gewerk-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 16px 10px 14px;
    border-radius: var(--radius);
    background: white;
    border: 1.5px solid var(--border);
    cursor: pointer;
    transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
    text-decoration: none;
    color: var(--text);
    text-align: center;
}

.fdh-gewerk-item:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 16px rgba(80, 201, 206, 0.15);
    transform: translateY(-2px);
    text-decoration: none;
    color: var(--primary);
}

.fdh-gewerk-icon {
    font-size: 26px;
    line-height: 1;
}

.fdh-gewerk-name {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--text);
}

.fdh-gewerk-count {
    font-size: 11px;
    color: var(--text-light);
    font-weight: 400;
}

.fdh-gewerk-alle-link {
    text-align: center;
    margin-top: var(--space-xl);
}

@media (max-width: 768px) {
    .fdh-gewerk-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }
}

@media (max-width: 480px) {
    .fdh-gewerk-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .fdh-gewerk-icon { font-size: 22px; }
    .fdh-gewerk-name { font-size: 12px; }
    .fdh-gewerk-count { display: none; } /* Platz sparen auf kleinen Bildschirmen */
}


/* ============================================================
   TRUST-SECTION — Warum Innungs-Handwerker?
   ============================================================ */

.fdh-trust-section {
    padding-top: var(--space-3xl);
    padding-bottom: var(--space-3xl);
}

.fdh-trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-2xl);
    text-align: center;
    margin-top: var(--space-2xl);
}

.fdh-trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    transition: box-shadow var(--transition), transform var(--transition);
}

.fdh-trust-item:hover {
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-2px);
}

.fdh-trust-icon {
    width: 64px;
    height: 64px;
    background: rgba(80, 201, 206, 0.1);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--accent-dark);
    flex-shrink: 0;
}

.fdh-trust-item h3 {
    font-size: 18px;
    color: var(--text);
    font-weight: 700;
}

.fdh-trust-item p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
}

@media (max-width: 768px) {
    .fdh-trust-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
}


/* ============================================================
   VERGLEICHSTABELLE — Warum FindeDeinHandwerker?
   ============================================================ */

.fdh-compare-section {
    padding-top: var(--space-3xl);
    padding-bottom: var(--space-3xl);
}

.fdh-compare-subtitle {
    color: var(--text-light);
    font-size: 16px;
    margin-top: var(--space-sm);
}

.fdh-compare-wrap {
    margin-top: var(--space-2xl);
    overflow-x: auto; /* Scroll auf Mobile */
    -webkit-overflow-scrolling: touch;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding-top: 18px; /* Platz für "★ Empfohlen" Badge über der Tabelle */
    background: white;
}

.fdh-compare-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
    background: white;
}

.fdh-compare-table thead th {
    padding: 16px 20px;
    text-align: center;
    font-family: 'Kurdis', sans-serif;
    font-weight: 700;
    font-size: 14px;
    border-bottom: 2px solid var(--border);
}

.fdh-compare-table thead th:first-child {
    text-align: left;
    color: var(--text-light);
    font-weight: 400;
}

.fdh-compare-table thead th.fdh-compare-us {
    background: rgba(80, 201, 206, 0.06);
    color: var(--accent-dark);
    position: relative;
    border-left: 2px solid var(--accent);
    border-right: 2px solid var(--accent);
}

/* "Unser" Highlight oben */
.fdh-compare-table thead th.fdh-compare-us::before {
    content: '★ Empfohlen';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 4px;
    white-space: nowrap;
    letter-spacing: 0.05em;
}

.fdh-compare-us-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--accent-dark);
}

.fdh-compare-table thead th.fdh-compare-them {
    color: var(--text-light);
    font-size: 13px;
    font-weight: 600;
}

.fdh-compare-table tbody td {
    padding: 14px 20px;
    font-size: 14px;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}

.fdh-compare-table tbody tr:last-child td {
    border-bottom: none;
}

.fdh-compare-table tbody td:first-child {
    font-weight: 500;
    color: var(--text);
}

.fdh-compare-table tbody td.fdh-compare-us {
    background: rgba(80, 201, 206, 0.04);
    text-align: center;
    border-left: 2px solid var(--accent);
    border-right: 2px solid var(--accent);
}

.fdh-compare-table tbody td.fdh-compare-them {
    text-align: center;
    background: var(--bg-alt);
}

.fdh-check {
    color: #16A34A;
    font-weight: 600;
    font-size: 13px;
}

.fdh-cross {
    color: #DC2626;
    font-size: 13px;
}

.fdh-meh {
    color: #EA580C;
    font-size: 13px;
}

.fdh-price-good {
    color: var(--accent-dark);
    font-weight: 700;
    font-size: 13px;
}

.fdh-price-bad {
    color: #DC2626;
    font-size: 12px;
}

@media (max-width: 768px) {
    .fdh-compare-section h2,
    .fdh-compare-subtitle {
        text-align: center;
    }
}


/* ============================================================
   KARTEN-PREVIEW
   ============================================================ */

.fdh-map-preview-section {
    background: linear-gradient(135deg, #E0F7FF 0%, #F0FAFB 100%);
    padding: 0;
    overflow: hidden;
}

.fdh-map-preview-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: var(--space-3xl) var(--container-padding);
}

.fdh-map-placeholder {
    border-radius: var(--radius-lg);
    height: 320px;
    border: 1px solid rgba(80, 201, 206, 0.25);
    box-shadow: 0 4px 24px rgba(80, 201, 206, 0.12);
    position: relative;
    overflow: hidden;
}

/* Leaflet-Karte füllt den Container komplett */
#fdh-startseite-map {
    position: absolute;
    inset: 0;
    z-index: 0;
    border-radius: var(--radius-lg);
    filter: saturate(0.7) brightness(1.05);
}

/* Halbtransparentes Overlay damit Text lesbar bleibt */
.fdh-map-overlay {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(255,255,255,0.55);
    backdrop-filter: blur(2px);
    border-radius: var(--radius-lg);
}

/* Simulierte Karten-Dots */
.fdh-map-dots {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.fdh-map-dot {
    position: absolute;
    width: 9px;
    height: 9px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0.7;
    box-shadow: 0 0 0 3px rgba(80,201,206,0.2);
}

/* Puls-Animation für aktive Dots */
@keyframes fdh-map-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(80,201,206,0.5); opacity: 0.9; }
    70%  { box-shadow: 0 0 0 10px rgba(80,201,206,0); opacity: 0.7; }
    100% { box-shadow: 0 0 0 0 rgba(80,201,206,0); opacity: 0.9; }
}

.fdh-map-dot.fdh-map-dot-active {
    width: 11px;
    height: 11px;
    opacity: 0.9;
    animation: fdh-map-pulse 2s ease-out infinite;
}

/* Verteilung der Dots — simuliert Handwerker-Dichte NRW/Deutschland */
.fdh-map-dot:nth-child(1)  { top: 28%;  left: 18%; width:9px; height:9px; }
.fdh-map-dot:nth-child(2)  { top: 52%;  left: 33%; }
.fdh-map-dot:nth-child(3)  { top: 22%;  left: 48%; width:12px; height:12px; opacity:0.3; }
.fdh-map-dot:nth-child(4)  { top: 63%;  left: 58%; }
.fdh-map-dot:nth-child(5)  { top: 38%;  left: 68%; }
.fdh-map-dot:nth-child(6)  { top: 72%;  left: 24%; width:10px; height:10px; }
.fdh-map-dot:nth-child(7)  { top: 18%;  left: 73%; }
.fdh-map-dot:nth-child(8)  { top: 78%;  left: 43%; }
.fdh-map-dot:nth-child(9)  { top: 44%;  left: 13%; }
.fdh-map-dot:nth-child(10) { top: 33%;  left: 80%; }
.fdh-map-dot:nth-child(11) { top: 58%;  left: 78%; width:9px; height:9px; }
.fdh-map-dot:nth-child(12) { top: 74%;  left: 63%; }
.fdh-map-dot:nth-child(13) { top: 15%;  left: 38%; }
.fdh-map-dot:nth-child(14) { top: 48%;  left: 52%; width:13px; height:13px; opacity:0.25; }
.fdh-map-dot:nth-child(15) { top: 85%;  left: 30%; }
.fdh-map-dot:nth-child(16) { top: 10%;  left: 60%; }
.fdh-map-dot:nth-child(17) { top: 67%;  left: 88%; }
.fdh-map-dot:nth-child(18) { top: 40%;  left: 90%; }

.fdh-map-label {
    font-family: 'Kurdis', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: var(--primary);
    position: relative;
    z-index: 1;
    text-align: center;
}

.fdh-map-sublabel {
    font-size: 14px;
    color: var(--text-muted);
    position: relative;
    z-index: 1;
    text-align: center;
}


/* ============================================================
   FÖRDERMITTEL-CHECKER
   ============================================================ */

.fdh-foerder-section {
    padding-top: var(--space-3xl);
    padding-bottom: var(--space-3xl);
}

.fdh-foerder-card {
    background: linear-gradient(135deg, #2E382E 0%, #3D4B3D 100%);
    border-radius: var(--radius-lg);
    padding: 48px;
    color: white;
    position: relative;
    overflow: hidden;
}

/* Deko-Circles */
.fdh-foerder-deco {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.fdh-foerder-deco-1 {
    top: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    border: 2px solid rgba(80, 201, 206, 0.1);
}

.fdh-foerder-deco-2 {
    bottom: -40px;
    right: 80px;
    width: 140px;
    height: 140px;
    border: 2px solid rgba(80, 201, 206, 0.08);
}

.fdh-foerder-header {
    position: relative;
    z-index: 1;
    text-align: center;
    margin-bottom: var(--space-xl);
}

.fdh-foerder-label {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}

.fdh-foerder-header h2 {
    color: white;
    font-size: 30px;
    margin-bottom: 8px;
}

.fdh-foerder-header p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.75);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.fdh-foerder-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    position: relative;
    z-index: 1;
    margin-bottom: var(--space-xl);
}

.fdh-foerder-item {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
    transition: background var(--transition), transform var(--transition);
}

.fdh-foerder-item:hover {
    background: rgba(255, 255, 255, 0.14);
    transform: translateY(-2px);
}

.fdh-foerder-icon {
    font-size: 32px;
    margin-bottom: 12px;
    line-height: 1;
}

.fdh-foerder-name {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
    color: rgba(255, 255, 255, 0.9);
}

.fdh-foerder-betrag {
    font-family: 'Kurdis', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: var(--accent-light);
    margin-bottom: 4px;
}

.fdh-foerder-quelle {
    font-size: 11px;
    opacity: 0.5;
    color: rgba(255, 255, 255, 0.7);
}

.fdh-foerder-cta {
    text-align: center;
    position: relative;
    z-index: 1;
}

.fdh-foerder-cta p {
    font-size: 13px;
    opacity: 0.6;
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.7);
}

.fdh-foerder-badge-info {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    padding: 14px 20px;
    margin-top: var(--space-lg);
    position: relative;
    z-index: 1;
}

.fdh-foerder-badge-icon {
    font-size: 28px;
    flex-shrink: 0;
    line-height: 1;
}

.fdh-foerder-badge-text {
    font-size: 13px;
    opacity: 0.75;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.8);
}

.fdh-foerder-badge-text strong {
    color: var(--accent-light);
    opacity: 1;
}

@media (max-width: 768px) {
    .fdh-foerder-card {
        padding: 32px 24px;
    }

    .fdh-foerder-grid {
        grid-template-columns: 1fr;
    }

    .fdh-foerder-badge-info {
        flex-direction: column;
        text-align: center;
    }
}

/* Fördermittel: kompakteres Layout auf kleinen Handys */
@media (max-width: 480px) {
    .fdh-foerder-card {
        padding: 28px 16px 24px;
        display: flex;
        flex-direction: column;
        align-items: center;   /* alles horizontal zentriert */
    }

    .fdh-foerder-header {
        margin-bottom: 16px;
        text-align: center;
        width: 100%;
    }

    .fdh-foerder-header h2 {
        font-size: 22px;
        margin-bottom: 8px;
    }

    /* Beschreibungstext: volle Deckkraft statt 0.75 — besser lesbar auf kleinen Screens */
    .fdh-foerder-header p {
        font-size: 14px;
        opacity: 0.85;
        line-height: 1.5;
    }

    /* Label: inline-block + keine volle Breite */
    .fdh-foerder-label {
        display: inline-block;
        font-size: 10px;
        padding: 4px 10px;
        margin-bottom: 10px;
        white-space: normal;
        line-height: 1.4;
        text-align: center;
        max-width: 260px;
    }

    .fdh-foerder-grid {
        gap: 8px;
        margin-bottom: 14px;
        width: 100%;
    }

    .fdh-foerder-item {
        padding: 14px 10px;
    }

    .fdh-foerder-item .fdh-foerder-icon {
        font-size: 20px;
    }

    .fdh-foerder-name  { font-size: 12px; }
    .fdh-foerder-betrag { font-size: 16px; }
    .fdh-foerder-quelle { font-size: 11px; }

    .fdh-foerder-cta {
        width: 100%;
        text-align: center;
    }
}

/* Fördermittel CTA: langer Button-Text → full-width + Zeilenumbruch erlaubt */
@media (max-width: 600px) {
    .fdh-foerder-cta .fdh-btn {
        width: 100%;
        white-space: normal;
        text-align: center;
        font-size: 15px;
        padding: 14px 20px;
        line-height: 1.4;
    }
}


/* ============================================================
   KUNDENMEINUNGEN / REVIEWS
   ============================================================ */

.fdh-reviews-section {
    padding-top: var(--space-3xl);
    padding-bottom: var(--space-3xl);
    background: var(--bg-alt);
}

.fdh-review-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-2xl);
}

.fdh-review-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    box-shadow: var(--shadow-card);
    transition: box-shadow var(--transition), transform var(--transition);
}

.fdh-review-card:hover {
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-2px);
}

.fdh-review-stars {
    color: #F59E0B;
    font-size: 18px;
    letter-spacing: 1px;
}

.fdh-review-text {
    font-size: 15px;
    color: var(--text);
    line-height: 1.7;
    font-style: italic;
    flex: 1;
}

.fdh-review-author {
    font-size: 13px;
    color: var(--text-light);
    font-weight: 500;
}

@media (max-width: 1024px) {
    .fdh-review-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .fdh-review-grid {
        grid-template-columns: 1fr;
    }
}


/* ============================================================
   CTA-SECTION für Handwerker — Buttons
   ============================================================ */

.fdh-hw-cta-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* Ghost-Button für dunkle Backgrounds */
.fdh-btn-ghost {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: rgba(255, 255, 255, 0.85) !important;
}

.fdh-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.7);
    color: white !important;
    text-decoration: none;
}

/* Accent-Button (Teal) */
.fdh-btn-accent {
    background: var(--accent);
    color: white !important;
}

.fdh-btn-accent:hover {
    background: var(--accent-dark);
    color: white !important;
    text-decoration: none;
}

/* Hero-spezifische Label/Lead-Styles */
.fdh-hero-label {
    color: var(--accent) !important;
    margin-bottom: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 12px;
}

.fdh-hero-lead {
    color: rgba(255, 255, 255, 0.85);
    max-width: 580px;
    margin: 0 auto var(--space-xl);
}

/* Section-Header Zentrierung */
.fdh-section-header {
    margin-bottom: var(--space-xl);
}

.fdh-section-header.text-center h2,
.fdh-section-header.text-center p {
    text-align: center;
}



/* ============================================================
   FÜR HANDWERKER — Pricing Page
   ============================================================ */

.fdh-hw-hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    padding: 120px var(--container-padding) 80px;
    text-align: center;
    color: white;
}

.fdh-hw-hero h1 { color: white; }

.fdh-hw-trust-badges {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 8px;
}

.fdh-hw-badge {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.85);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

/* Pricing Grid — 3 Karten */
.fdh-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    align-items: stretch; /* alle Karten gleiche Höhe */
    margin-top: var(--space-2xl);
}

.fdh-pricing-card {
    background: white;
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    padding: var(--space-xl);
    position: relative;
    transition: box-shadow var(--transition), transform var(--transition);
}

.fdh-pricing-card:hover {
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-3px);
}

.fdh-pricing-card-featured {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px var(--accent), var(--shadow-card-hover);
    transform: translateY(-4px);
}

.fdh-pricing-card-featured:hover {
    transform: translateY(-6px);
}

.fdh-pricing-badge-top {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 14px;
    border-radius: 20px;
    white-space: nowrap;
    letter-spacing: 0.04em;
}

.fdh-pricing-header { text-align: center; }

.fdh-pricing-header h3 {
    font-size: 22px;
    color: var(--text);
    margin-bottom: 4px;
}

.fdh-pricing-subtitle {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: var(--space-md);
}

.fdh-pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin: 8px 0 4px;
}

.fdh-price-amount {
    font-family: 'Kurdis', sans-serif;
    font-size: 36px;
    font-weight: 800;
    color: var(--text);
}

.fdh-pricing-card-featured .fdh-price-amount {
    color: var(--accent-dark);
}

.fdh-price-period {
    font-size: 16px;
    color: var(--text-light);
}

.fdh-price-monthly {
    font-size: 12px;
    color: var(--text-light);
    text-align: center;
}

.fdh-pricing-divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: var(--space-md) 0;
}

.fdh-pricing-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    flex: 1; /* füllt verfügbaren Platz → Button rutscht ans Ende */
    gap: 10px;
    margin-bottom: var(--space-lg);
    font-size: 14px;
    color: var(--text);
}

.fdh-pricing-features li::before {
    content: '✓ ';
    color: var(--success);
    font-weight: 700;
}

.fdh-pricing-features .fdh-feature-inherit {
    color: var(--text-light);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.fdh-pricing-features .fdh-feature-inherit::before { content: ''; }

.fdh-btn-block {
    width: 100%;
    justify-content: center;
    margin-top: auto; /* klebt am Ende des flex-containers */
}

.fdh-pricing-basis-hint {
    text-align: center;
    font-size: 14px;
    color: var(--text-light);
    margin-top: var(--space-xl);
    padding: var(--space-md) var(--space-lg);
    background: var(--bg-alt);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

/* Feature-Vergleichstabelle innerhalb der Pricing-Seite */
.fdh-hw-compare-section { padding-top: var(--space-3xl); }

.fdh-hw-compare-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
    background: white;
}

.fdh-hw-compare-table th,
.fdh-hw-compare-table td {
    padding: 12px 16px;
    font-size: 14px;
    border-bottom: 1px solid var(--border);
    text-align: center;
    vertical-align: middle;
}

.fdh-hw-compare-table thead th {
    background: var(--bg-alt);
    font-family: 'Kurdis', sans-serif;
    font-weight: 700;
    font-size: 13px;
    border-bottom: 2px solid var(--border);
}

.fdh-hw-compare-table thead th.fdh-hw-cmp-us {
    background: rgba(80,201,206,0.07);
    color: var(--accent-dark);
}

.fdh-hw-compare-table tbody td.fdh-hw-cmp-us {
    background: rgba(80,201,206,0.04);
}

.fdh-hw-cmp-feature { text-align: left !important; font-weight: 500; }

.fdh-hw-compare-table tbody tr:last-child td { border-bottom: none; }

/* FAQ Accordion */
.fdh-faq-section { padding-top: var(--space-3xl); padding-bottom: var(--space-3xl); }

.fdh-faq-list {
    max-width: 760px;
    margin: var(--space-2xl) auto 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.fdh-faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    background: white;
}

.fdh-faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    background: white;
    border: none;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    text-align: left;
    gap: var(--space-md);
    transition: background var(--transition);
}

.fdh-faq-question:hover { background: var(--bg-alt); }

.fdh-faq-question[aria-expanded="true"] { color: var(--accent-dark); }

.fdh-faq-icon {
    flex-shrink: 0;
    color: var(--text-light);
    transition: transform var(--transition);
}

.fdh-faq-question[aria-expanded="true"] .fdh-faq-icon {
    transform: rotate(180deg);
    color: var(--accent);
}

.fdh-faq-answer {
    padding: 0 20px 18px;
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
}

@media (max-width: 768px) {
    .fdh-pricing-grid { grid-template-columns: 1fr; }
    .fdh-pricing-card-featured { transform: none; }
}


/* ============================================================
   INNUNGEN — Kammer-Übersicht
   ============================================================ */

.fdh-innungen-hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    padding: 120px var(--container-padding) 80px;
    color: white;
}

.fdh-innungen-hero h1 { color: white; }

.fdh-innungen-stats { padding: var(--space-2xl) var(--container-padding); }

.fdh-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    text-align: center;
}

.fdh-stat-item {
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    background: white;
    border: 1px solid var(--border);
}

.fdh-stat-number {
    font-family: 'Kurdis', sans-serif;
    font-size: 40px;
    font-weight: 800;
    color: var(--accent-dark);
    line-height: 1;
    margin-bottom: 8px;
}

.fdh-stat-label {
    font-size: 14px;
    color: var(--text-light);
}

/* Karten-Map-Legende */
.fdh-map-legend {
    display: flex;
    gap: var(--space-lg);
    margin-top: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

.fdh-legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-light);
}

.fdh-legend-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    flex-shrink: 0;
}

.fdh-legend-active { background: var(--accent); }
.fdh-legend-planned { background: rgba(110,120,110,0.4); border: 2px dashed #9CA3AF; }

/* Kammer-Grid */
.fdh-kammer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.fdh-kammer-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    transition: box-shadow var(--transition), transform var(--transition);
}

.fdh-kammer-card:hover {
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-2px);
}

.fdh-kammer-card-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.fdh-kammer-icon { font-size: 28px; flex-shrink: 0; }

.fdh-kammer-name {
    font-family: 'Kurdis', sans-serif;
    font-weight: 700;
    font-size: 15px;
    color: var(--text);
    margin-bottom: 4px;
}

.fdh-kammer-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
    padding: var(--space-sm) 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.fdh-kammer-stat { text-align: center; }

.fdh-kammer-stat-number {
    font-family: 'Kurdis', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: var(--accent-dark);
    display: block;
}

.fdh-kammer-stat-label {
    font-size: 12px;
    color: var(--text-light);
}

.fdh-kammer-card-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-dark);
    text-decoration: none;
}

.fdh-kammer-card-link:hover {
    color: var(--accent);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .fdh-stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .fdh-stats-grid { grid-template-columns: 1fr 1fr; }
}


/* ============================================================
   DASHBOARD
   ============================================================ */

.fdh-claim-banner {
    background: linear-gradient(135deg, rgba(80,201,206,0.08), rgba(80,201,206,0.04));
    border-bottom: 2px solid var(--accent);
    padding: var(--space-md) var(--container-padding);
}

/* Setup-Hinweis-Card im Profil-Tab */
.fdh-setup-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px 24px;
    border-radius: 12px;
    border: 1.5px solid var(--border, #E5E7EB);
    margin-bottom: var(--space-lg);
}
.fdh-setup-card--new {
    background: linear-gradient(135deg, #FFF7ED, #FFFBF5);
    border-color: #FED7AA;
}
.fdh-setup-card--match {
    background: linear-gradient(135deg, #F0FDFA, #F7FFFE);
    border-color: var(--accent, #50C9CE);
}
.fdh-setup-card-icon {
    font-size: 28px;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 2px;
}
.fdh-setup-card-body {
    flex: 1;
}
.fdh-setup-card-body strong {
    display: block;
    font-size: 15px;
    color: var(--text, #111827);
    margin-bottom: 4px;
}
.fdh-setup-card-body p {
    font-size: 13px;
    color: var(--text-muted, #6B7280);
    margin: 0 0 12px;
}
.fdh-setup-card-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.fdh-claim-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.fdh-claim-text strong { font-size: 15px; color: var(--text); }
.fdh-claim-text p { font-size: 13px; color: var(--text-light); margin-top: 2px; }

.fdh-claim-actions {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    flex-shrink: 0;
}

.fdh-claim-close {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    color: var(--text-light);
    padding: 4px;
    line-height: 1;
}

/* Claim-Banner auf Profilseite (single-handwerker.php) */
.fdh-profil-claim-banner {
    background: linear-gradient(135deg, #2E382E, #3d4f3d);
    color: #fff;
    padding: 16px var(--container-padding);
}
.fdh-profil-claim-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    flex-wrap: wrap;
}
.fdh-profil-claim-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.fdh-profil-claim-text strong {
    font-size: 15px;
    color: #fff;
}
.fdh-profil-claim-text span {
    font-size: 13px;
    color: rgba(255,255,255,0.75);
}
@media (max-width: 600px) {
    .fdh-profil-claim-inner { flex-direction: column; align-items: flex-start; }
}

/* Claim-Banner Varianten im Dashboard */
.fdh-claim-banner--match {
    background: linear-gradient(135deg, rgba(80,201,206,0.12), rgba(80,201,206,0.05));
    border-bottom-color: var(--accent);
}
.fdh-claim-banner--new {
    background: linear-gradient(135deg, rgba(232,145,58,0.08), rgba(232,145,58,0.03));
    border-bottom-color: var(--cta-warm);
}

/* Erfolgs-Notice nach Speichern */
.fdh-notice {
    padding: 12px var(--container-padding);
    font-size: 14px;
    font-weight: 500;
    text-align: center;
}
.fdh-notice--success {
    background: #e8f5e9;
    color: #2e7d32;
    border-bottom: 2px solid #81c784;
}

/* ============================================================
   HANDWERKER-EINZELPROFIL (/handwerker/{slug}/)
   ============================================================ */

.fdh-profil-page {
    min-height: 100vh;
    background: var(--bg-alt);
}

.fdh-profil-hero {
    background: white;
    border-bottom: 1px solid var(--border);
    padding: calc(var(--nav-height) + 24px) 0 32px;
    box-shadow: 0 1px 4px rgba(46,56,46,0.06);
}

.fdh-profil-hero-inner {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    flex-wrap: wrap;
}

.fdh-profil-logo {
    width: 80px;
    height: 80px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    color: white;
    flex-shrink: 0;
    letter-spacing: -0.5px;
}

.fdh-profil-header-info { flex: 1; min-width: 200px; }

.fdh-profil-header-info h1 {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 4px;
}

.fdh-profil-gewerk {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.fdh-profil-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.fdh-badge-innung { background: rgba(22,163,74,0.1); color: #15803D; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 20px; }
.fdh-badge-verfuegbar { background: rgba(22,163,74,0.1); color: #15803D; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 20px; }

.fdh-profil-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 14px;
    color: var(--text-muted);
}

.fdh-profil-meta-locked { color: var(--border); font-style: italic; }

.fdh-profil-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-shrink: 0;
}

.fdh-btn-ghost-sm {
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: none;
    text-align: center;
}
.fdh-btn-ghost-sm:hover { color: var(--accent); }

/* Profil-Content Grid */
.fdh-profil-content {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 28px;
    padding: 32px var(--container-padding);
    align-items: start;
}

.fdh-profil-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 20px;
}

.fdh-profil-card h3 {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

.fdh-profil-text {
    font-size: 15px;
    line-height: 1.75;
    color: var(--text);
}

.fdh-leistungen-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 14px;
    color: var(--text);
}

.fdh-leistungen-list li::before { content: '✓  '; color: var(--success); font-weight: 700; }

/* Bewertungen */
.fdh-bewertung-summary {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 16px;
}

.fdh-bewertung-score {
    font-size: 40px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.fdh-bewertung-label { font-size: 13px; color: var(--text-muted); margin-top: 2px; }

.fdh-sterne-row { display: flex; gap: 2px; }
.fdh-stern-voll { color: var(--cta-warm); font-size: 16px; }
.fdh-stern-leer { color: var(--border); font-size: 16px; }

.fdh-bewertung-item {
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}
.fdh-bewertung-item:last-child { border-bottom: none; }

.fdh-bewertung-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.fdh-bewertung-datum { font-size: 12px; color: var(--text-muted); }
.fdh-bewertung-text { font-size: 14px; line-height: 1.6; color: var(--text); margin-bottom: 6px; font-style: italic; }
.fdh-bewertung-autor { font-size: 13px; color: var(--text-muted); }
.fdh-bewertung-autor span { color: var(--success); }

/* Kontakt Sidebar */
.fdh-kontakt-row { font-size: 14px; color: var(--text); margin-bottom: 10px; }
.fdh-kontakt-row a { color: var(--accent); text-decoration: none; }
.fdh-kontakt-row a:hover { text-decoration: underline; }

.fdh-basis-locked-hint { font-size: 14px; color: var(--text-muted); font-style: italic; }

.fdh-profil-map-placeholder {
    height: 120px;
    background: var(--bg-alt);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--text-muted);
}

/* Upgrade CTA */
.fdh-profil-upgrade-cta { border-color: var(--accent); background: linear-gradient(135deg, rgba(80,201,206,0.04), white); }
.fdh-upgrade-list { list-style: none; margin: 12px 0 16px; font-size: 14px; color: var(--text); display: flex; flex-direction: column; gap: 6px; }
.fdh-upgrade-list li::before { content: '✓  '; color: var(--success); font-weight: 700; }

/* Basis hint in archive card */
.fdh-basis-hint-inline { font-size: 12px; color: var(--text-muted); margin-top: 8px; }
.fdh-basis-hint-inline a { color: var(--accent); text-decoration: none; }
.fdh-basis-hint-inline a:hover { text-decoration: underline; }

@media (max-width: 768px) {
    /* Content-Grid auf 1 Spalte */
    .fdh-profil-content { grid-template-columns: 1fr; }

    /* Hero: Logo + Info bleiben nebeneinander (row), Actions rutschen in eigene Zeile */
    .fdh-profil-hero-inner {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 14px;
        align-items: flex-start;
    }

    /* Logo etwas kleiner auf Mobile */
    .fdh-profil-logo {
        width: 62px;
        height: 62px;
        font-size: 20px;
        border-radius: 10px;
    }

    /* Info nimmt verbleibende Breite */
    .fdh-profil-header-info {
        flex: 1;
        min-width: 0;
    }

    /* Name etwas kleiner */
    .fdh-profil-header-info h1 { font-size: 20px; }

    /* Actions: volle Breite → eigene Zeile unter Logo+Info */
    .fdh-profil-actions {
        flex-basis: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
    }

    /* Anfrage-Button dehnt sich aus */
    .fdh-profil-actions .fdh-btn-accent { flex: 1; text-align: center; min-width: 140px; }

    /* Anrufen bleibt kompakt daneben */
    .fdh-profil-actions .fdh-btn-outline { flex: 0 0 auto; }

    /* Zurück-Link bekommt eigene Zeile */
    .fdh-profil-actions .fdh-btn-ghost-sm {
        flex-basis: 100%;
        text-align: center;
    }
}

/* Dashboard Layout */
.fdh-dash-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    min-height: calc(100vh - var(--nav-height));
    padding-top: var(--nav-height);
}

.fdh-dash-sidebar {
    background: var(--bg-alt);
    border-right: 1px solid var(--border);
    padding: var(--space-lg) var(--space-md);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    position: sticky;
    top: var(--nav-height);
    height: calc(100vh - var(--nav-height));
    overflow-y: auto;
}

.fdh-dash-profile-mini {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md);
    background: white;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.fdh-dash-avatar {
    width: 40px;
    height: 40px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Kurdis', sans-serif;
    font-weight: 800;
    font-size: 14px;
    flex-shrink: 0;
}

.fdh-dash-profile-name {
    font-weight: 700;
    font-size: 13px;
    color: var(--text);
    line-height: 1.2;
}

.fdh-dash-profile-tier {
    font-size: 11px;
    color: var(--text-light);
    margin-top: 2px;
}

.fdh-dash-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.fdh-dash-tab {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: none;
    background: transparent;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-light);
    cursor: pointer;
    transition: background var(--transition), color var(--transition);
    text-align: left;
}

.fdh-dash-tab:hover {
    background: rgba(80,201,206,0.08);
    color: var(--text);
}

.fdh-dash-tab.active {
    background: rgba(80,201,206,0.12);
    color: var(--accent-dark);
    font-weight: 600;
}

.fdh-dash-tab-icon { font-size: 16px; flex-shrink: 0; }

.fdh-dash-sidebar-footer {
    margin-top: auto;
    padding-top: var(--space-md);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fdh-dash-logout-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 600;
    color: #9CA3AF;
    text-decoration: none;
    border-radius: 8px;
    transition: color .15s ease, background .15s ease;
}
.fdh-dash-logout-link:hover {
    color: #DC2626;
    background: rgba(220, 38, 38, 0.06);
}
.fdh-dash-logout-link span[aria-hidden="true"] {
    font-size: 15px;
    line-height: 1;
}

/* Dashboard Hauptbereich */
.fdh-dash-main {
    padding: var(--space-xl) 40px;
    min-width: 0;
    overflow-y: auto;
}

.fdh-dash-panel { display: none; }
.fdh-dash-panel.active { display: block; }

.fdh-dash-panel-header {
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid var(--border);
}

.fdh-dash-panel-header h2 { font-size: 24px; margin-bottom: 4px; }

.fdh-dash-panel-subheader {
    margin: var(--space-xl) 0 var(--space-md);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--border);
}

.fdh-dash-panel-subheader h3 { font-size: 17px; }

/* Formulare im Dashboard */
.fdh-dash-form { display: flex; flex-direction: column; gap: 0; }

.fdh-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.fdh-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: var(--space-md);
}

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

.fdh-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-size: 15px;
    font-family: inherit;
    resize: vertical;
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}

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

.fdh-range { width: 100%; accent-color: var(--accent); }

.fdh-form-actions { margin-top: var(--space-lg); }

/* Verfügbarkeit Radio-Cards */
.fdh-verfuegbar-auswahl {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.fdh-radio-card {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: border-color var(--transition), background var(--transition);
}

.fdh-radio-card:hover { border-color: var(--accent); background: rgba(80,201,206,0.03); }
.fdh-radio-card.selected { border-color: var(--accent); background: rgba(80,201,206,0.06); }
.fdh-radio-card input { position: absolute; opacity: 0; pointer-events: none; }

.fdh-radio-card div strong { display: block; font-size: 15px; color: var(--text); }
.fdh-radio-card div p { font-size: 13px; color: var(--text-light); margin-top: 2px; }

.fdh-ampel-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 0 3px rgba(0,0,0,0.06);
}

.fdh-ampel-gruen { background: var(--success); }
.fdh-ampel-gelb  { background: #EAB308; }
.fdh-ampel-rot   { background: var(--error); }

/* Fördermittel Badge Card */
.fdh-foerder-badge-card {
    display: flex;
    gap: var(--space-lg);
    background: linear-gradient(135deg, rgba(80,201,206,0.06), rgba(80,201,206,0.02));
    border: 1px solid rgba(80,201,206,0.25);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.fdh-foerder-badge-icon-big { font-size: 48px; flex-shrink: 0; line-height: 1; }
.fdh-foerder-badge-content h3 { font-size: 18px; margin-bottom: 8px; }
.fdh-foerder-badge-content p { font-size: 14px; color: var(--text-light); margin-bottom: 12px; }

/* Toggle Switch */
.fdh-toggle-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
}

.fdh-toggle-label input { position: absolute; opacity: 0; pointer-events: none; }

.fdh-toggle {
    width: 44px;
    height: 24px;
    background: var(--border);
    border-radius: 12px;
    position: relative;
    transition: background var(--transition);
    flex-shrink: 0;
}

.fdh-toggle::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    top: 2px;
    left: 2px;
    transition: left var(--transition);
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

.fdh-toggle-label input:checked ~ .fdh-toggle { background: var(--accent); }
.fdh-toggle-label input:checked ~ .fdh-toggle::after { left: 22px; }

/* Upgrade-Hinweis */
.fdh-upgrade-hint {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
}

.fdh-upgrade-hint p { margin-bottom: var(--space-md); font-size: 15px; }

/* Abo-Status-Card */
.fdh-abo-status-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-xl);
    background: white;
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    gap: var(--space-md);
}

.fdh-abo-tier-label { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 4px; }
.fdh-abo-preis { font-family: 'Kurdis', sans-serif; font-size: 28px; font-weight: 800; color: var(--text); }
.fdh-abo-verlaengerung { font-size: 12px; margin-top: 4px; }

/* Leistungen / Qualifikationen Editor */
.fdh-leistungen-editor,
.fdh-qualifikationen-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.fdh-leistung-item,
.fdh-quali-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.fdh-quali-icon { font-size: 18px; flex-shrink: 0; }

/* Portfolio Upload */
.fdh-portfolio-upload-area {
    margin-top: var(--space-md);
}

.fdh-portfolio-drop-inner {
    border: 2px dashed var(--border);
    border-radius: var(--radius-lg);
    padding: 48px 24px;
    text-align: center;
    cursor: pointer;
    transition: border-color var(--transition), background var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.fdh-portfolio-drop-inner:hover {
    border-color: var(--accent);
    background: rgba(80,201,206,0.03);
}

@media (max-width: 1024px) {
    .fdh-dash-layout { grid-template-columns: 1fr; }
    .fdh-dash-sidebar { position: static; height: auto; flex-direction: row; flex-wrap: wrap; overflow: visible; }
    .fdh-dash-nav { flex-direction: row; flex-wrap: wrap; }
}

@media (max-width: 640px) {
    .fdh-form-row { grid-template-columns: 1fr; }
    .fdh-dash-main { padding: var(--space-md); }
}


/* ============================================================
   FÖRDERMITTEL-SEITE
   ============================================================ */

.fdh-foerder-hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    padding: 120px var(--container-padding) 80px;
    text-align: center;
    color: white;
}

.fdh-foerder-hero h1 { color: white; }

.fdh-foerder-hero .fdh-foerder-label {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}

/* Förder-Programme Grid */
.fdh-foerder-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-2xl);
}

.fdh-foerder-prog-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    display: flex;
    gap: var(--space-md);
    transition: box-shadow var(--transition), transform var(--transition);
}

.fdh-foerder-prog-card:hover {
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-2px);
}

.fdh-foerder-prog-icon { font-size: 36px; flex-shrink: 0; line-height: 1; }

.fdh-foerder-prog-name {
    font-family: 'Kurdis', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: var(--text);
    margin-bottom: 2px;
}

.fdh-foerder-prog-betrag {
    font-family: 'Kurdis', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: var(--accent-dark);
    margin-bottom: 2px;
}

.fdh-foerder-prog-quelle {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 10px;
}

.fdh-foerder-prog-details {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 10px;
}

.fdh-foerder-prog-tags { display: flex; gap: 6px; flex-wrap: wrap; }

.fdh-foerder-badge-section { padding-top: var(--space-3xl); padding-bottom: var(--space-3xl); }

/* Disclaimer */
.fdh-disclaimer-box {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
}

.fdh-disclaimer-box strong { color: var(--text); }

.fdh-disclaimer-links {
    display: flex;
    gap: var(--space-lg);
    margin-top: var(--space-md);
}

.fdh-text-accent { color: var(--accent-dark); text-decoration: none; font-weight: 600; }
.fdh-text-accent:hover { color: var(--accent); text-decoration: underline; }

@media (max-width: 768px) {
    .fdh-foerder-cards-grid { grid-template-columns: 1fr; }
}


/* ============================================================
   GENERISCHE CONTENT-SEITEN (Impressum, AGB, Datenschutz etc.)
   ============================================================ */

.fdh-page-content {
    padding: 120px 0 80px; /* 120px oben wegen fixed Nav */
    min-height: 60vh;
}

.fdh-page-article {
    max-width: 780px;
    margin: 0 auto;
}

.fdh-page-header {
    margin-bottom: 48px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.fdh-page-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(28px, 4vw, 40px);
    color: var(--primary);
    margin: 0 0 8px;
}

.fdh-page-meta {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
}

/* Typografie im Content-Bereich */
.fdh-page-body h2 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 22px;
    color: var(--primary);
    margin: 40px 0 12px;
}

.fdh-page-body h3 {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 17px;
    color: var(--primary);
    margin: 28px 0 8px;
}

.fdh-page-body p {
    line-height: 1.75;
    color: var(--text-body);
    margin: 0 0 16px;
}

.fdh-page-body ul,
.fdh-page-body ol {
    padding-left: 24px;
    margin: 0 0 16px;
    line-height: 1.75;
    color: var(--text-body);
}

.fdh-page-body li {
    margin-bottom: 6px;
}

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

.fdh-page-body a:hover {
    color: var(--accent);
}

.fdh-page-body strong {
    color: var(--primary);
    font-weight: 600;
}

@media (max-width: 768px) {
    .fdh-page-content { padding: 100px 0 60px; }
}


/* ============================================================
   ANFRAGE-FLOW — 3-Step Lead-Formular
   ============================================================ */

/* ============================================================
   ANFRAGE-FLOW — Prototyp-getreues Design
   ============================================================ */

/* Outer Wrap: weißer Hintergrund, zentriert, Platz für fixed Nav */
.fdh-anfrage-wrap {
    max-width: 700px;
    margin: 0 auto;
    padding: 100px 24px 80px;
    min-height: 100vh;
}

/* Header */
.fdh-anfrage-header {
    margin-bottom: 32px;
}

.fdh-anfrage-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 32px;
    color: var(--primary);
    margin: 0 0 10px;
}

.fdh-anfrage-subtitle {
    font-size: 16px;
    color: var(--text-muted);
    margin: 0 0 32px;
    line-height: 1.6;
}

/* Step-Indikator: 3 dünne Balken — exakt wie Prototyp */
.fdh-step-indicator {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}

.fdh-step {
    flex: 1;
    height: 4px;
    border-radius: 2px;
    background: var(--border);
    transition: background 0.3s;
}

.fdh-step.active { background: var(--accent); }
.fdh-step.done   { background: var(--success); }

/* Step-Labels darunter */
.fdh-step-labels {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 28px;
}

/* Form-Step Wrapper */
.fdh-anfrage-step {
    width: 100%;
}

/* Form Card: Border only, kein Shadow — wie Prototyp */
.fdh-form-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px;
}

/* Form Groups */
.fdh-form-group {
    margin-bottom: 20px;
}

.fdh-form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 8px;
}

.fdh-form-group input,
.fdh-form-group textarea,
.fdh-form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 15px;
    font-family: var(--font-body);
    color: var(--primary);
    background: white;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

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

.fdh-form-group textarea {
    resize: vertical;
    min-height: 130px;
}

.fdh-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.fdh-form-hint {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 6px;
    display: block;
}

/* Mehrfach-Innungen */
.fdh-innung-nr-row {
    display: flex;
    gap: 8px;
    align-items: center;
}
.fdh-innung-nr-row .fdh-input { flex: 1; }
.fdh-innung-remove {
    flex-shrink: 0;
    width: 32px;
    height: 38px;
    border: 1px solid var(--border, #E5E7EB);
    border-radius: 6px;
    background: #fff;
    color: var(--text-muted, #6B7280);
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.15s, color 0.15s;
}
.fdh-innung-remove:hover {
    border-color: #EF4444;
    color: #EF4444;
}

/* Mehrfach-Gewerke Checkboxen im Dashboard */
.fdh-form-group--full {
    grid-column: 1 / -1; /* streckt über beide Spalten in fdh-form-row */
}

.fdh-gewerke-checkboxen {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 16px;
    border: 1px solid var(--border, #E5E7EB);
    border-radius: 8px;
    background: var(--bg-light, #F9FAFB);
}

.fdh-gewerke-gruppe-titel {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted, #6B7280);
    margin-bottom: 8px;
}

.fdh-gewerke-gruppe-items {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.fdh-checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border: 1.5px solid var(--border, #E5E7EB);
    border-radius: 20px;
    background: #fff;
    cursor: pointer;
    font-size: 13px;
    color: var(--text, #111827);
    transition: border-color 0.15s, background 0.15s;
    user-select: none;
}

.fdh-checkbox-label:hover {
    border-color: var(--primary, #1D4ED8);
    background: #EFF6FF;
}

.fdh-checkbox-label input[type="checkbox"] {
    display: none; /* Pill-Style — kein sichtbares Häkchen-Kästchen */
}

.fdh-checkbox-label:has(input:checked) {
    border-color: var(--primary, #1D4ED8);
    background: #1D4ED8;
    color: #fff;
}

.fdh-checkbox-icon {
    font-size: 15px;
    line-height: 1;
}

@media (max-width: 640px) {
    .fdh-gewerke-gruppe-items { gap: 6px; }
    .fdh-checkbox-label { font-size: 12px; padding: 5px 10px; }
}

/* Hint-Pill */
.fdh-anfrage-hint-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #E0F7FF;
    color: var(--accent-dark);
    font-size: 13px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 20px;
    margin-bottom: 20px;
}

/* Upload-Zone */
.fdh-upload-drop {
    border: 2px dashed var(--border);
    border-radius: 8px;
    padding: 24px 20px;
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: border-color 0.2s, background 0.2s;
}

.fdh-upload-drop:hover { border-color: var(--accent); background: #F0FAFB; }
.fdh-upload-drop.dragover { border-color: var(--accent); background: #E0F7FF; }

.fdh-upload-icon { font-size: 28px; margin-bottom: 4px; }
.fdh-upload-hint { font-size: 12px; color: var(--text-muted); margin-top: 4px; }

.fdh-upload-preview-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.fdh-upload-preview-list img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--border);
}

/* Step 2 — Analyse */
.fdh-analyse-box {
    background: linear-gradient(135deg, #E0F7FF, #F0FAFB);
    border: 1px solid var(--accent);
    border-radius: 14px;
    padding: 20px 24px;
    margin-bottom: 20px;
}

.fdh-analyse-title {
    font-weight: 700;
    font-size: 15px;
    color: var(--primary);
    margin-bottom: 8px;
}

.fdh-analyse-desc {
    font-size: 14px;
    color: var(--text-body);
    margin: 0 0 12px;
}

.fdh-analyse-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.fdh-badge-gewerk {
    background: var(--accent);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.fdh-analyse-tipp {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
}

/* Smart Radius */
.fdh-radius-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px 20px;
    margin-bottom: 20px;
}

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

.fdh-radius-hint { font-size: 12px; color: var(--text-muted); }

.fdh-radius-select-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.fdh-radius-select-label { font-size: 13px; color: var(--text-muted); white-space: nowrap; }

/* Fördermittel-Hinweis im Anfrage-Flow */
.fdh-foerder-hint-box {
    background: linear-gradient(135deg, #F0FDF4, #ECFDF5);
    border: 1px solid #BBF7D0;
    border-radius: 14px;
    padding: 18px 20px;
    margin-bottom: 24px;
}

.fdh-foerder-hint-badge {
    display: inline-block;
    background: var(--success);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 10px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.fdh-foerder-hint-body {
    display: flex;
    align-items: center;
    gap: 14px;
}

.fdh-foerder-hint-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.fdh-foerder-hint-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 13px;
    color: var(--text-body);
}

.fdh-foerder-hint-text strong { color: var(--primary); font-size: 14px; }

.fdh-foerder-hint-amount {
    text-align: center;
    flex-shrink: 0;
}

.fdh-foerder-hint-sum {
    display: block;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 20px;
    color: var(--success);
}

.fdh-foerder-hint-sum-label {
    font-size: 11px;
    color: var(--text-muted);
}

.fdh-foerder-hint-tipp {
    font-size: 12px;
    color: var(--text-muted);
    margin: 12px 0 0;
    padding-top: 10px;
    border-top: 1px solid rgba(80,201,206,0.15);
}

/* Weitere Förderprogramme — kleine Chips unter dem Primär-Programm */
.fdh-foerder-hint-weitere {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed #BBF7D0;
}

.fdh-foerder-weitere-badge {
    display: inline-block;
    background: rgba(255,255,255,0.7);
    border: 1px solid #BBF7D0;
    border-radius: 20px;
    padding: 3px 10px;
    font-size: 11px;
    color: var(--text-body);
    white-space: nowrap;
}

/* Handwerker-Checklist */
.fdh-hw-list-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    gap: 12px;
}

.fdh-hw-list-count {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
}

.fdh-hw-list-meta {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 2px;
}

.fdh-hw-list-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.fdh-hw-group-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    margin: 8px 0 6px;
}

.fdh-hw-checklist {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.fdh-hw-check-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: white;
    border: 2px solid var(--border);
    border-radius: 12px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}

.fdh-hw-check-card:hover { border-color: var(--accent); }

.fdh-hw-check-card:has(input:checked) {
    border-color: var(--accent);
    background: #F0FAFB;
}

.fdh-hw-checkbox {
    width: 20px;
    height: 20px;
    accent-color: var(--accent);
    flex-shrink: 0;
    cursor: pointer;
}

.fdh-hw-avatar {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 13px;
    color: white;
    flex-shrink: 0;
}

.fdh-hw-info { flex: 1; min-width: 0; }

.fdh-hw-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.fdh-hw-meta {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
}

.fdh-badge-premium {
    background: #FEF3C7;
    color: #92400E;
    padding: 2px 8px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
}

.fdh-badge-foerder {
    background: #D1FAE5;
    color: #065F46;
    padding: 2px 8px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
}

.fdh-badge-innung {
    background: var(--bg-alt);
    color: var(--primary);
    padding: 4px 10px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    flex-shrink: 0;
    white-space: nowrap;
}

/* Auswahl-Zusammenfassung */
.fdh-auswahl-summary {
    background: #F0FDF4;
    border: 1px solid #BBF7D0;
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 20px;
}

.fdh-auswahl-count {
    font-size: 14px;
    font-weight: 700;
    color: var(--success);
}

.fdh-auswahl-hint {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 3px;
}

/* Step 3 — Zusammenfassung */
.fdh-anfrage-summary-box {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 18px 20px;
    margin-bottom: 28px;
}

.fdh-anfrage-summary-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}

.fdh-anfrage-summary-list {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 4px 12px;
    font-size: 13px;
}

.fdh-anfrage-summary-list dt {
    color: var(--text-muted);
    font-weight: 600;
    white-space: nowrap;
}

.fdh-anfrage-summary-list dd {
    color: var(--text-body);
    margin: 0;
}

/* Datenschutz Checkbox */
.fdh-form-checkbox-group { margin-bottom: 8px; }

.fdh-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1.5;
}

.fdh-checkbox-label input[type="checkbox"] {
    margin-top: 2px;
    width: 16px;
    height: 16px;
    accent-color: var(--accent);
    flex-shrink: 0;
}

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

/* Navigation (Zurück/Weiter) */
.fdh-anfrage-nav {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.fdh-btn-block { width: 100%; }

.fdh-anfrage-legal {
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 16px;
}

/* Done-Screen */
.fdh-anfrage-done { text-align: center; }

.fdh-done-card {
    text-align: center;
    padding: 56px 36px;
}

.fdh-done-icon { font-size: 56px; margin-bottom: 20px; }

.fdh-done-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 28px;
    color: var(--primary);
    margin: 0 0 16px;
}

.fdh-done-text {
    font-size: 16px;
    color: var(--text-body);
    max-width: 480px;
    margin: 0 auto 32px;
    line-height: 1.65;
}

.fdh-done-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive ≤768px */
@media (max-width: 768px) {
    .fdh-form-card { padding: 24px 18px; }
    .fdh-radius-bar { flex-direction: column; align-items: flex-start; gap: 12px; }
    .fdh-hw-list-header { flex-direction: column; align-items: flex-start; }
    .fdh-foerder-hint-body { flex-wrap: wrap; }
    .fdh-foerder-hint-amount { width: 100%; text-align: left; }
    .fdh-step-labels { font-size: 10px; }
    .fdh-anfrage-nav { flex-direction: column; }
}

/* ≤480px — Anfrage-Flow: Betriebe-Cards vertikal stapeln */
@media (max-width: 480px) {
    /* Wrapper: weniger horizontales Padding für mehr Nutzfläche */
    .fdh-anfrage-wrap {
        padding: 84px 12px 60px;
    }

    .fdh-anfrage-title      { font-size: 22px; }
    .fdh-anfrage-subtitle   { font-size: 14px; margin-bottom: 16px; }

    /* Step-Labels bei 375px zu eng — ausblenden, Indikator-Balken reichen */
    .fdh-step-labels { display: none; }
    .fdh-step-indicator { margin-bottom: 20px; }

    /* Form-Card kompakter */
    .fdh-form-card { padding: 14px 12px; }

    /* List-Header kleiner */
    .fdh-hw-list-count { font-size: 14px; line-height: 1.3; }
    .fdh-hw-list-meta  { font-size: 12px; }

    /* ---- Check-Cards: Inhalt untereinander statt nebeneinander ---- */
    .fdh-hw-check-card {
        flex-wrap: wrap;          /* erlaubt mehrere Zeilen */
        align-items: flex-start;
        gap: 8px;
        padding: 10px 12px;
    }

    .fdh-hw-checkbox {
        width: 18px;
        height: 18px;
        margin-top: 3px;          /* optisch an Name ausrichten */
    }

    .fdh-hw-avatar {
        width: 34px;
        height: 34px;
        font-size: 11px;
        border-radius: 8px;
    }

    /* Info nimmt restliche Breite der ersten Zeile */
    .fdh-hw-info {
        flex: 1;
        min-width: 0;
    }

    .fdh-hw-name {
        font-size: 13px;
        gap: 4px;
        line-height: 1.3;
    }

    .fdh-hw-meta {
        font-size: 11px;
        margin-top: 3px;
        line-height: 1.4;
    }

    /* Innungsbetrieb-Badge: eigene volle Zeile, unter Name eingerückt
       Einrückung = checkbox(18px) + gap(8px) + avatar(34px) + gap(8px) = 68px
       max-width verhindert overflow: flex-basis 100% + margin würde sonst summieren */
    .fdh-badge-innung {
        flex-basis: 100%;
        max-width: calc(100% - 68px);  /* verhindert overflow */
        margin-left: 68px;
        font-size: 10px;
        padding: 3px 8px;
        display: inline-block;
        width: auto;
    }

    /* Auswahl-Summary */
    .fdh-auswahl-summary {
        padding: 12px;
    }
    .fdh-auswahl-count { font-size: 14px; }
    .fdh-auswahl-hint  { font-size: 12px; }
}


/* ============================================================
   HANDWERKER-ARCHIV — Suchergebnisseite (/handwerker/)
   ============================================================ */

.fdh-archive-wrap { min-height: 100vh; background: var(--bg-alt); }

/* Filter-Bar */
.fdh-filter-bar {
    position: sticky;
    top: var(--nav-height); /* direkt unter der fixed Nav */
    z-index: 100;
    background: white;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 12px rgba(46,56,46,0.06);
    padding: 14px 0;
}

.fdh-filter-form {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    flex-wrap: wrap;
}

.fdh-filter-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 130px;
}

.fdh-filter-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.fdh-filter-select,
.fdh-filter-input {
    padding: 9px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
    font-family: var(--font-body);
    color: var(--primary);
    background: white;
    width: 100%;
    transition: border-color 0.2s;
}

.fdh-filter-select:focus,
.fdh-filter-input:focus {
    border-color: var(--accent);
    outline: none;
}

.fdh-filter-btn-submit {
    align-self: flex-end;
    padding: 9px 20px;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Archiv-Content */
.fdh-archive-content { padding: 28px 0 60px; }

.fdh-archive-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.fdh-archive-headline h1 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(20px, 3vw, 28px);
    color: var(--primary);
    margin: 0 0 6px;
}

.fdh-archive-subline {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
}

/* Schnellfilter-Chips */
.fdh-quick-filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.fdh-chip {
    padding: 6px 14px;
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-body);
    background: white;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.fdh-chip:hover { border-color: var(--accent); color: var(--accent); }
.fdh-chip.active { background: var(--accent); color: white; border-color: var(--accent); }

/* Ergebnis-Cards */
.fdh-result-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.fdh-result-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 20px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.fdh-result-card:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 16px rgba(80,201,206,0.12);
}

.fdh-result-logo {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 15px;
    color: white;
    flex-shrink: 0;
}

.fdh-result-info { flex: 1; min-width: 0; }

.fdh-result-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 2px;
}

.fdh-badge-top {
    background: linear-gradient(135deg, #F59E0B, #D97706);
    color: white;
    padding: 2px 8px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
}

.fdh-badge-premium-sm {
    background: #EFF6FF;
    color: #1D4ED8;
    padding: 2px 8px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
}

.fdh-result-gewerk {
    font-size: 13px;
    color: var(--accent-dark);
    font-weight: 600;
    margin-bottom: 6px;
}

.fdh-result-meta {
    display: flex;
    gap: 12px;
    font-size: 13px;
    color: var(--text-muted);
    flex-wrap: wrap;
    margin-bottom: 6px;
}

.fdh-result-leistungen {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.fdh-result-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.fdh-result-tag {
    background: var(--bg-alt);
    color: var(--primary);
    font-size: 11px;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.fdh-result-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-shrink: 0;
    min-width: 140px;
    align-items: stretch;
}

/* CTA-Box am Ende der Ergebnisse */
.fdh-archive-cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: var(--primary);
    color: white;
    border-radius: 16px;
    padding: 24px 28px;
    flex-wrap: wrap;
}

.fdh-archive-cta-text {
    font-size: 15px;
    color: rgba(255,255,255,0.9);
    line-height: 1.5;
    flex: 1;
}

.fdh-archive-cta-text strong {
    display: block;
    color: white;
    font-size: 16px;
    margin-bottom: 4px;
}

/* Responsive */
@media (max-width: 768px) {
    .fdh-filter-form { flex-direction: column; }
    .fdh-filter-group { min-width: 100%; }
    .fdh-archive-header { flex-direction: column; }
    .fdh-result-card { flex-wrap: wrap; }
    .fdh-result-actions { flex-direction: row; min-width: 100%; }
    .fdh-archive-cta-box { flex-direction: column; text-align: center; }
}

/* ============================================================
   ARCHIVE SPLIT LAYOUT — Links Liste / Rechts Karte
   ============================================================ */

.fdh-archive-page {
    display: flex;
    flex-direction: column;
    height: 100vh;
    background: white; /* kein Blaugrau mehr */
}

/* Such-Header: Nav floatet darüber (wie Hero), Content startet unterhalb der Nav */
.fdh-search-header {
    flex-shrink: 0;
    background: white;
    border-bottom: 1px solid var(--border);
    padding: calc(var(--nav-height) + 20px) var(--container-padding) 16px;
    box-shadow: 0 1px 4px rgba(46,56,46,0.06);
}

.fdh-search-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 4px;
}

.fdh-search-meta {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 10px;
    overflow-wrap: break-word;
    word-break: break-word;
}

.fdh-search-edit-link {
    font-size: 12px;
    color: var(--accent);
    text-decoration: none;
    cursor: pointer;
    margin-left: 8px;
    white-space: nowrap;
}

.fdh-search-edit-link:hover { text-decoration: underline; }

/* Aufklapp-Filter: standardmäßig ausgeblendet */
.fdh-filter-form--collapsed {
    display: none;
    margin-bottom: 14px;
}

.fdh-filter-form--collapsed.open {
    display: flex;
}

/* Split-Container: flex-Basis = restliche Höhe */
.fdh-archive-split {
    display: flex;
    align-items: flex-start;
    flex: 1;
    min-height: 0; /* notwendig damit flex-children scrollen */
}

/* Linke Spalte: scrollbar, 55% */
.fdh-archive-left {
    flex: 0 0 55%;
    max-width: 55%;
    height: 100%;
    overflow-y: auto;
    padding: 20px 24px 40px;
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
}

.fdh-archive-left::-webkit-scrollbar { width: 5px; }
.fdh-archive-left::-webkit-scrollbar-track { background: transparent; }
.fdh-archive-left::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

/* Rechte Spalte: füllt Höhe des Split, kein extra sticky nötig */
.fdh-archive-right {
    flex: 0 0 45%;
    max-width: 45%;
    height: 100%;
    position: sticky;
    top: 0;
}

/* Map-Wrapper füllt gesamte rechte Spalte */
.fdh-archive-map-wrap {
    height: 100%;
    width: 100%;
}

.fdh-search-map {
    height: 100%;
    width: 100%;
    background: #e8f0e8;
}

/* List-Header */
.fdh-archive-list-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.fdh-archive-count {
    font-size: 15px;
    color: var(--text-body);
    margin-bottom: 2px;
}

.fdh-archive-count strong {
    color: var(--primary);
    font-size: 18px;
}

/* Chips-Zeile */
.fdh-chips-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

/* Bottom CTA */
.fdh-archive-bottom-cta {
    margin-top: 28px;
    padding: 24px;
    background: var(--primary);
    border-radius: 14px;
    text-align: center;
    color: white;
}

.fdh-archive-bottom-cta p {
    font-size: 15px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 14px;
}

/* Responsive: Stack auf Mobile */
@media (max-width: 960px) {
    /* Page-Container: nicht mehr auf 100vh einfrieren — Footer muss sichtbar sein */
    .fdh-archive-page {
        height: auto;
        min-height: 100vh;
    }

    .fdh-archive-split {
        flex-direction: column;
        height: auto;
    }

    .fdh-archive-left,
    .fdh-archive-right {
        flex: none;
        max-width: 100%;
        width: 100%;
        height: auto;
        overflow: visible;
        position: relative;
        top: 0;
    }

    .fdh-archive-right {
        height: 300px;
        order: -1; /* Karte oben, Liste unten auf Mobile */
    }

    .fdh-archive-map-wrap,
    .fdh-search-map {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .fdh-archive-page {
        padding-top: 0;
    }

    .fdh-search-header {
        padding: calc(var(--nav-height) + 12px) var(--container-padding) 12px;
    }

    .fdh-archive-right {
        height: 220px;
    }

    .fdh-archive-map-wrap,
    .fdh-search-map {
        height: 220px;
    }

    .fdh-archive-left {
        padding: 12px 12px 40px;
    }

    /* Chips-Zeile: horizontal scrollbar statt umbrechen */
    .fdh-chips-row {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 4px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .fdh-chips-row::-webkit-scrollbar { display: none; }

    /* Stufen-Legende komprimieren */
    .fdh-stufen-legende {
        font-size: 11px;
        flex-wrap: wrap;
        gap: 6px;
    }

    /* Result-Cards: kompakter */
    .fdh-archive-left .fdh-result-card {
        padding: 12px;
    }

    /* Betriebsname + Gewerk kleiner */
    .fdh-result-name {
        font-size: 14px;
    }
    .fdh-result-gewerk {
        font-size: 12px;
    }
    .fdh-result-meta {
        gap: 4px 8px;
        font-size: 12px;
    }

    /* Action-Buttons: 2-Spalten-Grid statt flex */
    .fdh-archive-left .fdh-result-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 6px;
    }
    .fdh-archive-left .fdh-result-actions .fdh-btn {
        font-size: 12px;
        padding: 8px 6px;
        text-align: center;
        justify-content: center;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    /* Top-Karte: 3 Buttons → dritter (Anrufen) voll-breit */
    .fdh-archive-left .fdh-result-card--top .fdh-result-actions .fdh-btn:last-child {
        grid-column: 1 / -1;
    }
    /* Basis-Karte: einziger Button voll-breit */
    .fdh-archive-left .fdh-result-card--basis .fdh-result-actions {
        grid-template-columns: 1fr;
    }

    /* ---- Proportionen an Anfrage-Flow-Cards angleichen ---- */

    /* Header: Avatar kleiner — auch für Top-Tier */
    .fdh-archive-left .fdh-result-logo,
    .fdh-result-card--top .fdh-result-logo,
    .fdh-result-card--premium .fdh-result-logo {
        width: 38px;
        height: 38px;
        font-size: 13px;
        box-shadow: none;
    }

    /* Top-Tier-Logo: Teal-Outline behalten, aber kleiner */
    .fdh-result-card--top .fdh-result-logo {
        box-shadow: 0 0 0 2px var(--cta-warm);
    }

    /* Name-Font auf Mobile normalisieren */
    .fdh-result-card--top .fdh-result-name {
        font-size: 14px;
    }

    /* Meta-Items: kompakterer Gap */
    .fdh-archive-left .fdh-result-meta {
        gap: 6px 10px;
        margin-bottom: 8px;
    }

    /* Beschreibung kompakter */
    .fdh-result-beschreibung {
        padding: 8px 10px;
        font-size: 12px;
        margin-bottom: 8px;
    }

    /* Leistungen kleiner */
    .fdh-archive-left .fdh-result-leistungen {
        font-size: 11px;
        margin-bottom: 8px;
    }

    /* TOP-Spotlight-Ribbon: etwas kleiner */
    .fdh-top-spotlight {
        font-size: 10px;
        padding: 3px 10px 5px;
        right: 12px;
    }

    /* TOP-Card padding-top: etwas reduzieren */
    .fdh-archive-left .fdh-result-card--top {
        padding-top: 28px;
        padding-left: 12px;
        padding-right: 12px;
    }
}

/* ============================================================
   ARCHIVE KARTEN — Prototyp-getreues Layout
   ============================================================ */

/* KRITISCH: altes display:flex der .fdh-result-card aufheben —
   Karten sind vertikal (block), nur result-header ist flex */
.fdh-archive-left .fdh-result-card {
    display: block;
    position: relative;
    overflow: hidden;
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 0; /* gap via result-list */
}

.fdh-archive-left .fdh-result-card:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 16px rgba(80,201,206,0.18);
}

/* Header-Zeile: Logo links, Name+Gewerk rechts */
.fdh-result-header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 12px;
}

.fdh-result-logo {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 18px;
    color: white;
    flex-shrink: 0;
}

.fdh-result-info { flex: 1; min-width: 0; }

.fdh-result-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 2px;
}

.fdh-result-gewerk {
    font-size: 13px;
    color: var(--text-muted);
}

/* Meta-Zeile — kein Pill-Background wie im Prototyp */
.fdh-archive-left .fdh-result-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.fdh-result-meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: var(--text-muted);
    background: none;
    padding: 0;
    border-radius: 0;
}

.fdh-meta-foerder {
    color: #0e7a5c;
    font-weight: 600;
    background: linear-gradient(135deg,rgba(80,201,206,0.12),rgba(22,163,74,0.08));
    padding: 2px 8px;
    border-radius: 4px;
}

/* Beschreibungsbox (nur TOP) */
.fdh-result-beschreibung {
    background: #fffbeb;
    border-radius: 8px;
    padding: 10px 14px;
    margin-bottom: 12px;
    font-size: 13px;
    color: var(--text-body);
    line-height: 1.5;
}

/* Leistungen */
.fdh-archive-left .fdh-result-leistungen {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

/* Action-Buttons am Kartenende */
.fdh-archive-left .fdh-result-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
    min-width: auto;
}

/* --- TIER: TOP-PLATZIERUNG --- */
.fdh-archive-left .fdh-result-card--top {
    border: 2px solid var(--cta-warm);
    background: linear-gradient(135deg, #FFFBF0 0%, #FFF8F0 50%, white 100%);
    box-shadow: 0 4px 16px rgba(232,145,58,0.15);
    padding-top: 34px;
}

.fdh-top-spotlight {
    position: absolute;
    top: -1px;
    right: 20px;
    background: linear-gradient(135deg, var(--cta-warm), #F5A04A);
    color: white;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 4px 12px 6px;
    border-radius: 0 0 6px 6px;
    box-shadow: 0 2px 6px rgba(232,145,58,0.3);
}

.fdh-result-card--top .fdh-result-logo {
    width: 60px;
    height: 60px;
    font-size: 20px;
    box-shadow: 0 0 0 3px var(--cta-warm), 0 0 12px rgba(232,145,58,0.3);
}

.fdh-result-card--top .fdh-result-name { font-size: 18px; }

/* --- TIER: PREMIUM --- */
.fdh-archive-left .fdh-result-card--premium {
    border-left: 3px solid var(--cta-warm);
    background: linear-gradient(135deg, #FFF8F0 0%, white 100%);
    box-shadow: 0 2px 8px rgba(232,145,58,0.08);
}

.fdh-result-card--premium .fdh-result-logo {
    box-shadow: 0 0 0 2px var(--cta-warm);
}

/* --- TIER: STARTER --- */
.fdh-archive-left .fdh-result-card--starter {
    border-left: 3px solid var(--accent);
}

/* --- TIER: BASIS --- */
.fdh-archive-left .fdh-result-card--basis {
    background: #f9f9f9;
    border: 1px dashed #d1d5db;
    padding-bottom: 64px;
}

.fdh-basis-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to bottom, transparent 40%, #f9f9f9ee 70%, #f9f9f9 100%);
    padding: 16px 20px 20px;
    text-align: center;
    border-radius: 0 0 12px 12px;
}

.fdh-basis-overlay p {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0 0 6px;
}

.fdh-basis-overlay a {
    color: var(--accent);
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
}

.fdh-basis-overlay a:hover { text-decoration: underline; }

/* Badge-Styles */
.fdh-badge-basis {
    background: #f3f4f6;
    color: #9ca3af;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 500;
}

.fdh-badge-starter {
    background: #E0F7FF;
    color: var(--accent);
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
}

/* Stufen-Legende */
.fdh-stufen-legende {
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 10px var(--container-padding) 14px;
    font-size: 12px;
    color: var(--text-muted);
    flex-wrap: wrap;
}

.fdh-stufen-legende span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.fdh-legende-dot {
    width: 10px;
    height: 10px;
    border-radius: 3px;
    display: inline-block;
    flex-shrink: 0;
}

.fdh-legende-dot--top    { background: linear-gradient(135deg, var(--cta-warm), #F5A04A); box-shadow: 0 0 4px rgba(232,145,58,0.4); }
.fdh-legende-dot--premium { background: var(--cta-warm); }
.fdh-legende-dot--starter { background: var(--accent); }
.fdh-legende-dot--basis  { background: #d1d5db; border: 1px dashed #9ca3af; }

/* Accent-Button (Teal) */
.fdh-btn-accent {
    background: var(--accent);
    color: white;
    border: none;
}

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

/* Ghost-Button für Hero (weiß auf dunklem Hintergrund) */
.fdh-btn-ghost {
    background: rgba(255,255,255,0.12);
    color: white;
    border: 1px solid rgba(255,255,255,0.4);
    backdrop-filter: blur(4px);
}

.fdh-btn-ghost:hover {
    background: rgba(255,255,255,0.22);
    color: white;
    border-color: rgba(255,255,255,0.6);
}


/* ============================================================
   PROFIL-SEITE — Neue Sektionen (v0.4.2)
   ============================================================ */

/* Badge-Varianten Profil-Hero */
.fdh-badge-quali {
    background: #e8f5e9;
    color: #2E7D32;
    border: 1px solid #a5d6a7;
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 20px;
    font-weight: 500;
}

.fdh-badge-foerder {
    background: #e8f5e9;
    color: #1B5E20;
    border: 1px solid #81c784;
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 20px;
    font-weight: 500;
}

/* Referenzprojekte 2x2 Grid */
.fdh-referenz-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 12px;
}

.fdh-referenz-item {
    border-radius: 10px;
    overflow: hidden;
    background: #f0f0f0;
}

.fdh-referenz-img {
    height: 130px;
    background: linear-gradient(135deg, #d0d0d0, #b8b8b8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #aaa;
}

.fdh-referenz-label {
    padding: 8px 10px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
    background: white;
}

/* Bewertung Google-Hint */
.fdh-bewertung-google-hint {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 2px;
}

/* Standort Map Placeholder mit Dot */
.fdh-profil-map-placeholder {
    height: 140px;
    background: linear-gradient(135deg, #e8f4e8 0%, #d4ecd4 100%);
    border-radius: 10px;
    margin-bottom: 12px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fdh-map-dot {
    width: 12px;
    height: 12px;
    background: var(--accent);
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    position: relative;
    z-index: 2;
}

.fdh-map-circle {
    position: absolute;
    width: 80px;
    height: 80px;
    border: 2px solid rgba(80, 201, 206, 0.4);
    border-radius: 50%;
    background: rgba(80, 201, 206, 0.1);
}

.fdh-standort-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 14px;
    color: var(--text);
}

.fdh-einsatzradius {
    font-size: 13px;
    color: var(--text-light);
}

/* Verfügbarkeit Sidebar Box */
.fdh-verfueg-box {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #f8fffe;
    border: 1px solid #e0f5f5;
    border-radius: 10px;
    padding: 14px 16px;
}

.fdh-verfueg-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 4px;
}

.fdh-verfueg-green .fdh-verfueg-dot { background: #4CAF50; }
.fdh-verfueg-yellow .fdh-verfueg-dot { background: #FF9800; }
.fdh-verfueg-red .fdh-verfueg-dot { background: #F44336; }

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

.fdh-verfueg-kw {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 2px;
}

/* Qualifikationen Sidebar Liste */
.fdh-quali-sidebar-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 4px;
}

.fdh-quali-sidebar-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.fdh-quali-sidebar-icon {
    font-size: 20px;
    flex-shrink: 0;
    line-height: 1.3;
}

.fdh-quali-sidebar-label {
    font-weight: 600;
    font-size: 14px;
    color: var(--text);
    line-height: 1.3;
}

.fdh-quali-sidebar-detail {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 1px;
}

/* TOP-Hero Akzent */
.fdh-profil-hero-top {
    border-bottom: 3px solid #E8913A;
}

/* Upgrade-Liste */
.fdh-upgrade-list {
    list-style: none;
    padding: 0;
    margin: 12px 0 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 14px;
    color: var(--text);
}

.fdh-upgrade-list li {
    padding: 0;
}


/* ============================================================
   DASHBOARD — Übersicht Tab (v0.4.2)
   ============================================================ */

/* Badge im Sidebar-Tab */
.fdh-dash-tab-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #E53935;
    color: white;
    font-size: 11px;
    font-weight: 700;
    border-radius: 10px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    margin-left: 4px;
}

/* Welcome Heading */
.fdh-dash-welcome {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 24px;
}

/* KPI Grid */
.fdh-dash-kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.fdh-dash-kpi-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
}

.fdh-dash-kpi-label {
    font-size: 12px;
    color: var(--text-light);
    font-weight: 500;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.fdh-dash-kpi-value {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 8px;
}

.fdh-dash-kpi-limit {
    font-size: 16px;
    font-weight: 400;
    color: var(--text-light);
}

.fdh-dash-kpi-star {
    font-size: 20px;
}

.fdh-dash-kpi-bar-wrap {
    height: 6px;
    background: #e8e8e8;
    border-radius: 3px;
    margin-bottom: 8px;
    overflow: hidden;
}

.fdh-dash-kpi-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), #E8913A);
    border-radius: 3px;
}

.fdh-dash-kpi-hint {
    font-size: 12px;
    color: var(--text-light);
}

.fdh-dash-kpi-up {
    color: #2E7D32;
}

/* Anfragen-Liste */
.fdh-dash-section-header {
    margin-bottom: 12px;
}

.fdh-dash-section-header h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
}

.fdh-dash-anfragen-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
}

.fdh-dash-anfrage-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: white;
    border-bottom: 1px solid var(--border);
    transition: background 0.15s;
}

.fdh-dash-anfrage-item:last-child {
    border-bottom: none;
}

.fdh-dash-anfrage-item:hover {
    background: #fafafa;
}

.fdh-dash-anfrage-neu {
    border-left: 3px solid var(--accent);
}

.fdh-dash-anfrage-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.fdh-dash-anfrage-content {
    flex: 1;
    min-width: 0;
}

.fdh-dash-anfrage-titel {
    font-weight: 600;
    font-size: 14px;
    color: var(--primary);
    margin-bottom: 2px;
}

.fdh-dash-anfrage-preview {
    font-size: 13px;
    color: var(--text-light);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fdh-dash-anfrage-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    flex-shrink: 0;
}

.fdh-dash-anfrage-zeit {
    font-size: 12px;
    color: var(--text-light);
}

/* Abo-Card im Übersicht-Tab */
.fdh-dash-abo-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px 24px;
}

.fdh-dash-abo-name {
    font-weight: 700;
    font-size: 16px;
    color: var(--primary);
    margin-bottom: 4px;
}

.fdh-dash-abo-details {
    font-size: 13px;
    color: var(--text-light);
    margin-top: 2px;
}

.fdh-dash-abo-badge {
    display: inline-flex;
    align-items: center;
    background: #e8f5e9;
    color: #2E7D32;
    border: 1px solid #a5d6a7;
    border-radius: 20px;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

/* Tab-Link (für "Upgrade →" innerhalb von Karten) */
.fdh-dash-tab-link {
    color: var(--accent);
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
}

.fdh-dash-tab-link:hover {
    text-decoration: underline;
}

/* Responsive: KPI Grid auf Tablets */
@media (max-width: 900px) {
    .fdh-dash-kpi-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .fdh-dash-kpi-grid {
        grid-template-columns: 1fr;
    }
    .fdh-referenz-grid {
        grid-template-columns: 1fr;
    }
    .fdh-dash-anfrage-item {
        flex-wrap: wrap;
    }
}


/* ============================================================
   LOGO-UPLOAD — Dashboard + Anzeige in Karten/Profil (v0.4.5)
   ============================================================ */

/* Upload-Sektion im Dashboard */
.fdh-logo-upload-section {
    background: #fafafa;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 28px;
}

.fdh-logo-upload-label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    color: var(--primary);
    margin-bottom: 14px;
}

.fdh-logo-upload-row {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Vorschau-Box */
.fdh-logo-preview {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    background: #e8e8e8;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--border);
}

.fdh-logo-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fdh-logo-preview-placeholder {
    font-size: 24px;
    font-weight: 800;
    color: white;
    background: var(--accent);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fdh-logo-upload-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
}

/* Ghost-Outline Button (für "Entfernen") */
.fdh-btn-ghost-outline {
    background: transparent;
    color: var(--text-light);
    border: 1px solid var(--border);
}
.fdh-btn-ghost-outline:hover {
    background: #f5f5f5;
    color: var(--text);
}

/* Logo-Bild in Suchkarten und Profil-Hero */
.fdh-result-logo.fdh-logo-has-img,
.fdh-profil-logo.fdh-logo-has-img {
    background: white !important;
    padding: 4px;
}

.fdh-result-logo img,
.fdh-profil-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: inherit;
}

/* ============================================================
   PROFIL-AKTIVIERUNGS-PORTAL (/profil-aktivieren/)
   ============================================================ */

.fdh-activate-page {
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding: var(--space-xl) 0;
    background: var(--bg-light, #f8f9fa);
}

.fdh-activate-container {
    max-width: 560px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
    width: 100%;
}

.fdh-activate-step {
    background: #fff;
    border-radius: 16px;
    padding: 48px 40px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    text-align: center;
}

.fdh-activate-icon {
    font-size: 48px;
    margin-bottom: 16px;
    line-height: 1;
}

.fdh-activate-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}

.fdh-activate-subtitle {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 32px;
}

.fdh-activate-input-row {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}

.fdh-activate-input {
    flex: 1;
    font-size: 15px;
}

.fdh-activate-hint {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 8px;
}

.fdh-activate-error {
    background: #fce8e8;
    color: #c62828;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 14px;
    text-align: left;
    margin-top: 8px;
}

/* Profil-Preview Card */
.fdh-profil-preview-card {
    background: #f8f9fa;
    border: 2px solid var(--accent);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
    text-align: left;
}

.fdh-preview-inner {
    display: flex;
    align-items: center;
    gap: 16px;
}

.fdh-preview-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #4a7a6a);
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.fdh-preview-name   { font-weight: 700; font-size: 16px; color: var(--text); }
.fdh-preview-gewerk { font-size: 13px; color: var(--text-light); margin-top: 2px; }
.fdh-preview-ort    { font-size: 13px; color: var(--text-light); margin-top: 2px; }

/* Aktions-Optionen */
.fdh-activate-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: left;
}

.fdh-activate-option {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border-radius: 12px;
    border: 2px solid transparent;
    cursor: pointer;
    background: #f8f9fa;
    width: 100%;
    text-align: left;
    text-decoration: none;
    transition: border-color 0.15s, background 0.15s;
}

.fdh-activate-option--primary {
    background: rgba(80,201,206,0.08);
    border-color: var(--accent);
    color: inherit;
}
.fdh-activate-option--primary:hover {
    background: rgba(80,201,206,0.15);
    color: inherit;
    text-decoration: none;
}

.fdh-activate-option--neutral { border-color: #e0e0e0; }
.fdh-activate-option--neutral:hover { border-color: var(--primary); background: #f0f0f0; }

.fdh-activate-option--danger { border-color: #e0e0e0; }
.fdh-activate-option--danger:hover { border-color: #e53935; background: #fff5f5; }

.fdh-activate-option-icon { font-size: 22px; flex-shrink: 0; }

.fdh-activate-option-content {
    flex: 1;
}
.fdh-activate-option-content strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}
.fdh-activate-option-content span {
    font-size: 13px;
    color: var(--text-light);
}

.fdh-activate-option-arrow {
    color: var(--text-light);
    font-size: 16px;
    flex-shrink: 0;
}

@media (max-width: 480px) {
    .fdh-activate-step { padding: 32px 20px; }
    .fdh-activate-input-row { flex-direction: column; }
}


/* ============================================================
   MOBILE GLOBAL — Button-Stacking & CTA-Fixes (≤480px)
   ============================================================ */

@media (max-width: 480px) {
    /* Handwerker-CTA-Buttons (Startseite, dark section) — nebeneinander → gestapelt */
    .fdh-hw-cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    /* Einzelner fdh-btn-lg in zentrierten Sections — full-width + Zeilenumbruch */
    .fdh-section-dark .text-center .fdh-btn-lg,
    .fdh-section-dark .fdh-container .fdh-btn-lg {
        width: 100%;
        white-space: normal;
        text-align: center;
        line-height: 1.4;
        padding: 14px 20px;
    }
}


/* ============================================================
   PAGE KAMMERN — Handwerkskammern & Innungen
   ============================================================ */

/* ---- Hero ---- */
.fdh-kammern-hero {
    background: linear-gradient(160deg, #1a2820 0%, #2E382E 50%, #1e3028 100%);
    color: white;
    padding: calc(var(--nav-height) + 64px) var(--container-padding) 88px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Subtiler Muster-Overlay */
.fdh-kammern-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 50%, rgba(80,201,206,0.07) 0%, transparent 50%),
                      radial-gradient(circle at 80% 20%, rgba(80,201,206,0.05) 0%, transparent 40%);
    pointer-events: none;
}

.fdh-kammern-hero .fdh-container {
    position: relative;
    z-index: 1;
}

.fdh-kammern-hero h1 {
    color: white;
    margin-bottom: 0;
    text-shadow: 0 2px 24px rgba(0,0,0,0.3);
}

.fdh-kammern-hero .fdh-lead {
    color: rgba(255,255,255,0.75);
    max-width: 560px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.7;
}

/* ---- Hierarchie-Visualisierung ---- */
.fdh-kammern-hierarchy {
    display: flex;
    align-items: stretch;
    justify-content: center;
    margin: 48px auto 0;
    flex-wrap: nowrap;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-xl);
    padding: 20px 28px;
    max-width: 820px;
    gap: 0;
}

.fdh-hier-arrow {
    color: rgba(255,255,255,0.3);
    font-size: 16px;
    margin: 0 6px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.fdh-hier-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 12px 14px;
    border-radius: var(--radius-md);
    flex: 1;
    min-width: 0;
}

.fdh-hier-item--highlight {
    background: rgba(80,201,206,0.14);
    border: 1px solid rgba(80,201,206,0.28);
}

.fdh-hier-icon {
    font-size: 22px;
    display: block;
    line-height: 1;
}

.fdh-hier-label {
    font-size: 12px;
    font-weight: 700;
    color: rgba(255,255,255,0.9);
    display: block;
    text-align: center;
    line-height: 1.3;
}

.fdh-hier-sub {
    font-size: 10px;
    color: rgba(255,255,255,0.45);
    display: block;
    text-align: center;
}

.fdh-hier-item--highlight .fdh-hier-label {
    color: var(--accent);
}

/* ---- Karte ---- */
.fdh-kammern-map-el {
    width: 100%;
    height: 480px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin-top: var(--space-xl);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-card);
}

/* ---- Nationale Stats ---- */
.fdh-kammern-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
    text-align: center;
}

.fdh-kammern-stat {
    padding: var(--space-xl) var(--space-lg);
    border-radius: var(--radius-lg);
    background: white;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
}

/* Accent-Linie oben auf jeder Stat-Karte */
.fdh-kammern-stat::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-dark));
}

.fdh-kammern-stat-number {
    display: block;
    font-family: 'Kurdis', sans-serif;
    font-size: 40px;
    font-weight: 800;
    color: var(--accent-dark);
    line-height: 1;
    margin-bottom: 10px;
}

.fdh-kammern-stat-label {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.5;
}

.fdh-kammern-stat-label small {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 2px;
}

/* ---- Region-Header (NRW-Titel + CTA) ---- */
.fdh-kammern-region-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
    flex-wrap: wrap;
}

.fdh-kammern-region-title-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.fdh-kammern-region-title-group h2 {
    margin-bottom: 0;
}

.fdh-kammern-region-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 4px 10px;
    border-radius: 20px;
    width: fit-content;
}

.fdh-kammern-region-badge--aktiv {
    background: rgba(80,201,206,0.12);
    color: var(--accent-dark);
    border: 1px solid rgba(80,201,206,0.35);
}

.fdh-kammern-region-meta {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
}

/* ---- KH-Karten-Grid ---- */
.fdh-kammern-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: var(--space-md);
}

/* ---- KH-Karte — Basis-Override für neue Kammern-Seite ---- */
.fdh-kammern-grid .fdh-kammer-card {
    border-left: 3px solid var(--accent);
    transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}

.fdh-kammern-grid .fdh-kammer-card:hover {
    border-left-color: var(--accent-dark);
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-2px);
}

/* ---- KH-Karte — innere Elemente ---- */
/* Base: .fdh-kammer-card schon definiert (background, border, flex-column etc.) */

.fdh-kammer-card-top {
    display: flex;
    align-items: center;
    gap: 12px;
}

.fdh-kammer-card-icon {
    font-size: 22px;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(80,201,206,0.08);
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.fdh-kammer-card-title-wrap {
    flex: 1;
    min-width: 0;
}

.fdh-kammer-card-name {
    font-family: 'Kurdis', sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: var(--text);
    line-height: 1.3;
}

.fdh-kammer-card-region {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 2px;
}

.fdh-kammer-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
    box-shadow: 0 0 0 3px rgba(80,201,206,0.2);
    align-self: flex-start;
    margin-top: 5px;
}

.fdh-kammer-card-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
    padding: var(--space-sm) 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.fdh-kammer-card-stat {
    text-align: center;
    padding: 4px 0;
}

.fdh-kammer-card-stat-num {
    display: block;
    font-family: 'Kurdis', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: var(--accent-dark);
    line-height: 1;
}

.fdh-kammer-card-stat-lbl {
    display: block;
    font-size: 11px;
    color: var(--text-light);
    margin-top: 3px;
}

/* ---- Hinweis unterhalb KH-Grid ---- */
.fdh-kammern-hinweis {
    margin-top: var(--space-xl);
    padding: var(--space-md) var(--space-lg);
    background: rgba(80,201,206,0.05);
    border: 1px solid rgba(80,201,206,0.15);
    border-radius: var(--radius-md);
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.6;
}

/* ---- Geplante Bundesländer ---- */
.fdh-kammern-geplant-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.fdh-kammern-geplant-card {
    background: white;
    border: 1px solid var(--border);
    border-top: 3px dashed rgba(155,165,155,0.4);
    border-radius: var(--radius-lg);
    padding: var(--space-lg) var(--space-md);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    opacity: 0.65;
    transition: opacity var(--transition), box-shadow var(--transition);
}

.fdh-kammern-geplant-card:hover {
    opacity: 0.9;
    box-shadow: var(--shadow-card);
}

.fdh-kammern-geplant-kuerzel {
    font-family: 'Kurdis', sans-serif;
    font-size: 20px;
    font-weight: 900;
    color: var(--text-muted);
    letter-spacing: 0.03em;
}

.fdh-kammern-geplant-name {
    font-size: 12px;
    font-weight: 600;
    color: var(--text);
    line-height: 1.3;
}

.fdh-kammern-geplant-meta {
    font-size: 11px;
    color: var(--text-light);
}

.fdh-kammern-geplant-zeitplan {
    font-size: 10px;
    font-weight: 700;
    color: var(--text-muted);
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 3px 9px;
    margin-top: 3px;
}

/* ---- PAGE KAMMERN: Responsive ---- */

@media (max-width: 960px) {
    .fdh-kammern-hierarchy {
        padding: 20px 24px;
    }
    .fdh-kammern-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    .fdh-kammern-map-el {
        height: 360px;
    }
}

@media (max-width: 768px) {
    .fdh-kammern-region-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-md);
    }
    .fdh-kammern-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .fdh-kammern-geplant-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 480px) {
    .fdh-kammern-hero {
        padding: calc(var(--nav-height) + 28px) var(--container-padding) 44px;
    }
    /* Hierarchy: 2x2 Grid-ähnlich via wrap */
    .fdh-kammern-hierarchy {
        flex-wrap: wrap;
        padding: 14px 16px;
        gap: 4px;
    }
    .fdh-hier-item {
        flex: 0 0 calc(50% - 20px);
        padding: 10px 8px;
    }
    /* Pfeile auf mobile ausblenden — zu eng */
    .fdh-hier-arrow {
        display: none;
    }
    .fdh-kammern-stats {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-sm);
    }
    .fdh-kammern-stat {
        padding: var(--space-md) var(--space-sm);
    }
    .fdh-kammern-stat-number {
        font-size: 28px;
    }
    .fdh-kammern-stat-label {
        font-size: 12px;
    }
    .fdh-kammern-grid {
        grid-template-columns: 1fr;
    }
    .fdh-kammern-geplant-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-sm);
    }
    .fdh-kammern-geplant-card {
        padding: 12px 8px;
        gap: 3px;
    }
    .fdh-kammern-map-el {
        height: 260px;
        border-radius: var(--radius-lg);
    }
    .fdh-kammern-region-header .fdh-btn {
        width: 100%;
        text-align: center;
    }
}


/* ============================================================
   DASHBOARD — Rechnungen Tab
   ============================================================ */

.fdh-rechnungen-table {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.fdh-rechnungen-head {
    display: grid;
    grid-template-columns: 100px 110px 1fr 140px 100px;
    gap: var(--space-md);
    padding: 10px 20px;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
    font-size: 11px;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.fdh-rechnung-row {
    display: grid;
    grid-template-columns: 100px 110px 1fr 140px 100px;
    gap: var(--space-md);
    padding: 14px 20px;
    align-items: center;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
    transition: background var(--transition);
}

.fdh-rechnung-row:last-child { border-bottom: none; }
.fdh-rechnung-row:hover { background: var(--bg-alt); }

.fdh-rechnung-nr    { font-weight: 700; color: var(--text); }
.fdh-rechnung-datum { color: var(--text-light); font-size: 13px; }
.fdh-rechnung-betrag { font-weight: 700; color: var(--accent-dark); }

.fdh-rechnung-status {
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    width: fit-content;
}

.fdh-rechnung-status--completed,
.fdh-rechnung-status--processing {
    background: rgba(80,201,206,0.1);
    color: var(--accent-dark);
}

.fdh-rechnung-status--pending,
.fdh-rechnung-status--on-hold {
    background: rgba(232,145,58,0.1);
    color: var(--cta-warm);
}

.fdh-rechnung-status--cancelled,
.fdh-rechnung-status--failed,
.fdh-rechnung-status--refunded {
    background: rgba(200,50,50,0.07);
    color: #c03030;
}

.fdh-dash-empty-state {
    text-align: center;
    padding: var(--space-xl) var(--space-lg);
    color: var(--text-light);
}

.fdh-dash-empty-icon {
    font-size: 48px;
    margin-bottom: 12px;
    display: block;
}

/* ============================================================
   DASHBOARD — Abo-Tab Aktionen
   ============================================================ */

.fdh-abo-aktionen {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-md);
    flex-wrap: wrap;
}

.fdh-abo-kuendigung-hint {
    margin-top: 12px;
    font-size: 13px;
    color: var(--text-light);
}

.fdh-abo-kuendigung-hint a {
    color: var(--accent-dark);
}

/* ============================================================
   DASHBOARD — Rechnungen Responsive
   ============================================================ */

@media (max-width: 768px) {
    .fdh-rechnungen-head { display: none; }

    .fdh-rechnung-row {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto auto;
        gap: 6px 12px;
        padding: 14px 16px;
    }

    .fdh-rechnung-nr     { grid-column: 1; grid-row: 1; }
    .fdh-rechnung-datum  { grid-column: 2; grid-row: 1; text-align: right; }
    .fdh-rechnung-betrag { grid-column: 1; grid-row: 2; }
    .fdh-rechnung-status { grid-column: 2; grid-row: 2; justify-self: end; }
    .fdh-rechnung-row > a { grid-column: 1 / -1; grid-row: 3; }

    .fdh-abo-aktionen { flex-direction: column; }
    .fdh-abo-aktionen .fdh-btn { width: 100%; text-align: center; }
}


/* ============================================================
   FEEDBACK- & BEWERTUNGS-SEITE
   /feedback/ und /bewertung/
   ============================================================ */

.fdh-feedback-page {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 1.5rem;
    background: var(--color-bg, #f5f5f3);
}

.fdh-feedback-container {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 32px rgba(0,0,0,0.08);
    padding: 3rem 2.5rem;
    max-width: 520px;
    width: 100%;
    text-align: center;
}

.fdh-feedback-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.fdh-feedback-icon--success {
    background: #d1fae5;
    color: #065f46;
}

.fdh-feedback-icon--warning {
    background: #fef3c7;
    color: #92400e;
}

.fdh-feedback-icon--info {
    background: #dbeafe;
    color: #1e40af;
}

.fdh-feedback-icon--error {
    background: #fee2e2;
    color: #991b1b;
}

.fdh-feedback-container h1 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--color-text, #1a1a1a);
}

.fdh-feedback-container p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.fdh-feedback-container a:not(.fdh-btn) {
    color: var(--color-primary, #e84b2b);
    text-decoration: underline;
}

.fdh-feedback-hint {
    font-size: 0.9rem;
    color: #888 !important;
}

.fdh-feedback-container .fdh-btn {
    margin-top: 1.5rem;
    display: inline-block;
}

/* Sterne-Bewertungs-Anzeige */
.fdh-sterne-anzeige {
    display: flex;
    justify-content: center;
    gap: 0.4rem;
    margin: 1.25rem 0;
}

.fdh-stern {
    font-size: 2.2rem;
    color: #d1d5db;
    line-height: 1;
}

.fdh-stern--aktiv {
    color: #f59e0b;
}

/* Responsive */
@media (max-width: 480px) {
    .fdh-feedback-container {
        padding: 2rem 1.25rem;
    }

    .fdh-feedback-container h1 {
        font-size: 1.3rem;
    }

    .fdh-stern {
        font-size: 1.8rem;
    }
}


/* ============================================================
   SUCHERGEBNIS — LEERER ZUSTAND
   ============================================================ */

.fdh-empty-state {
    text-align: center;
    padding: 3rem 2rem;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.fdh-empty-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.fdh-empty-state h3 {
    font-size: 1.3rem;
    color: var(--color-text, #1a1a1a);
    margin-bottom: 0.75rem;
}

.fdh-empty-state p {
    color: #6b7280;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}
