/* CLAUDE: Bewertungsseite Content-Sections CSS */
/* CLAUDE: Styles für alle SEO-optimierten Sections nach dem Wizard */
/* CLAUDE: Nutzt vorhandene Komponenten aus vermietung.css */
/* CLAUDE: Version: 1.0 - Stand: 2026-01-13 */

/* ========================================
   CLAUDE: 1. SECTION BASIS-STYLES
   CLAUDE: Gemeinsame Styles für alle Sections
   ======================================== */

/* CLAUDE: Basis-Section mit Padding */
.lhi-section {
    padding: var(--lhi-space-2xl, 4rem) 0;
    position: relative;
}

/* CLAUDE: Section mit Hintergrund (alternierend) */
.lhi-section--bg {
    background-color: var(--lhi-color-bg, #F8F6F3);
}

/* CLAUDE: Dunkle Section (Statistiken) */
.lhi-section--dark {
    background: linear-gradient(135deg,
        var(--lhi-color-text, #3B2A1A) 0%,
        var(--lhi-color-secondary, #5C4A3A) 100%
    );
    color: var(--lhi-color-white, #FFFFFF);
}

/* CLAUDE: CTA-Section mit Gold-Akzent */
.lhi-section--cta {
    background: linear-gradient(135deg,
        var(--lhi-color-gold, #8a6b3f) 0%,
        var(--lhi-color-chestnut, #7C4A21) 100%
    );
    color: var(--lhi-color-white, #FFFFFF);
    text-align: center;
}

/* CLAUDE: Container - max-width zentriert */
.lhi-section .lhi-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--lhi-space-md, 1.5rem);
}

/* ========================================
   CLAUDE: 2. SECTION HEADER
   CLAUDE: Titel und Untertitel
   ======================================== */

/* CLAUDE: Header-Container */
.lhi-section__header {
    text-align: center;
    margin-bottom: var(--lhi-space-xl, 3rem);
}

/* CLAUDE: Heller Header (für dunkle Sections) */
.lhi-section__header--light .lhi-section__title,
.lhi-section__header--light .lhi-section__subtitle {
    color: var(--lhi-color-white, #FFFFFF);
}

/* CLAUDE: Section-Titel */
.lhi-section__title {
    font-family: var(--lhi-font-serif, 'Playfair Display', serif);
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 700;
    color: var(--lhi-color-text, #3B2A1A);
    margin: 0 0 var(--lhi-space-sm, 1rem) 0;
    line-height: 1.2;
}

/* CLAUDE: Dunkle/CTA Sections - weißer Titel */
.lhi-section--dark .lhi-section__title,
.lhi-section--cta .lhi-section__title {
    color: var(--lhi-color-white, #FFFFFF);
}

/* CLAUDE: Section-Untertitel */
.lhi-section__subtitle {
    font-family: var(--lhi-font-sans, system-ui, sans-serif);
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: var(--lhi-color-secondary, #5C4A3A);
    margin: 0;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* CLAUDE: Dunkle/CTA Sections - heller Untertitel */
.lhi-section--dark .lhi-section__subtitle,
.lhi-section--cta .lhi-section__subtitle {
    color: var(--lhi-color-porous-stone, #E8E4DF);
}

/* CLAUDE: Hinweis-Text */
.lhi-section__note {
    text-align: center;
    font-size: var(--lhi-font-size-sm, 0.875rem);
    color: var(--lhi-color-secondary, #5C4A3A);
    margin-top: var(--lhi-space-lg, 2rem);
    font-style: italic;
}

/* ========================================
   CLAUDE: 3. PROZESS-TIMELINE
   CLAUDE: 4-Schritte horizontal
   ======================================== */

/* CLAUDE: Timeline-Container - 4 Spalten */
.lhi-process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--lhi-space-md, 1.5rem);
    position: relative;
    padding: var(--lhi-space-lg, 2rem) 0;
    max-width: 1000px;
    margin: 0 auto;
}

/* CLAUDE: Verbindungslinie zwischen Steps */
.lhi-process-timeline::before {
    content: '';
    position: absolute;
    top: calc(var(--lhi-space-lg, 2rem) + 32px);
    left: 12.5%;
    right: 12.5%;
    height: 3px;
    background: linear-gradient(90deg,
        var(--lhi-color-gold, #8a6b3f) 0%,
        var(--lhi-color-gold-light, #C19A6B) 100%
    );
    z-index: 0;
}

/* CLAUDE: Einzelner Prozess-Schritt */
.lhi-process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
}

/* CLAUDE: Icon-Container */
.lhi-process-icon {
    width: 64px;
    height: 64px;
    background: var(--lhi-color-white, #FFFFFF);
    border: 3px solid var(--lhi-color-gold, #8a6b3f);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--lhi-space-md, 1.5rem);
    box-shadow: var(--lhi-shadow-md, 0 4px 12px rgba(0,0,0,0.1));
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.lhi-process-icon svg {
    width: 28px;
    height: 28px;
    color: var(--lhi-color-gold, #8a6b3f);
}

/* CLAUDE: Hover-Effekt */
.lhi-process-step:hover .lhi-process-icon {
    transform: scale(1.1);
    box-shadow: var(--lhi-shadow-lg, 0 8px 24px rgba(0,0,0,0.15));
    border-color: var(--lhi-color-chestnut, #7C4A21);
}

.lhi-process-step:hover .lhi-process-icon svg {
    color: var(--lhi-color-chestnut, #7C4A21);
}

/* CLAUDE: Prozess-Titel */
.lhi-process-title {
    font-family: var(--lhi-font-sans, system-ui, sans-serif);
    font-size: 1rem;
    font-weight: 600;
    color: var(--lhi-color-text, #3B2A1A);
    margin: 0 0 var(--lhi-space-xs, 0.5rem) 0;
}

/* CLAUDE: Prozess-Beschreibung */
.lhi-process-desc {
    font-size: 0.875rem;
    color: var(--lhi-color-secondary, #5C4A3A);
    line-height: 1.5;
    max-width: 180px;
    margin: 0;
}

/* CLAUDE: Mobile - Vertikal */
@media (max-width: 768px) {
    .lhi-process-timeline {
        grid-template-columns: 1fr;
        gap: var(--lhi-space-lg, 2rem);
        padding-left: 3rem;
    }

    .lhi-process-timeline::before {
        left: 32px;
        right: auto;
        top: var(--lhi-space-lg, 2rem);
        bottom: var(--lhi-space-lg, 2rem);
        width: 3px;
        height: auto;
    }

    .lhi-process-step {
        flex-direction: row;
        text-align: left;
        gap: var(--lhi-space-md, 1.5rem);
    }

    .lhi-process-icon {
        flex-shrink: 0;
        margin-bottom: 0;
        width: 56px;
        height: 56px;
    }

    .lhi-process-content {
        flex: 1;
    }

    .lhi-process-desc {
        max-width: none;
    }
}

/* ========================================
   CLAUDE: 4. FEATURE/USP-CARDS
   CLAUDE: 3er Grid für USPs und Methoden
   ======================================== */

/* CLAUDE: Feature-Grid Container - bereits in vermietung.css */
/* CLAUDE: Ergänzende Styles hier */

.lhi-section--usps .lhi-feature-grid,
.lhi-section--methoden .lhi-feature-grid {
    max-width: 1000px;
    margin: 0 auto;
}

/* CLAUDE: Feature-Card - Methoden-Variante */
/* CLAUDE: Was: Flexbox für vertikale Ausrichtung der Card-Inhalte */
/* CLAUDE: Warum: Ermöglicht gleichmäßige Höhe und "Ideal für" unten */
/* CLAUDE: Anpassen: min-height bei Bedarf setzen für gleiche Card-Höhen */
.lhi-feature-card--methode {
    display: flex;
    flex-direction: column;
}

/* CLAUDE: Beschreibungstext flex-grow für Platzausgleich */
/* CLAUDE: Was: Füllt verfügbaren Platz zwischen Titel und "Ideal für" */
/* CLAUDE: Warum: Cards haben gleiche Höhe, Text verteilt sich gleichmäßig */
.lhi-feature-card--methode .lhi-feature-desc {
    flex: 1;
}

/* CLAUDE: "Ideal für" Badge */
/* CLAUDE: Was: Highlight-Text für Anwendungsbereich am Card-Ende */
/* CLAUDE: Warum: Normal im Flow statt absolute für Text-Umbruch */
/* CLAUDE: Anpassen: Farbe/Font-Size/Border hier ändern */
.lhi-feature-ideal {
    display: block;
    margin-top: var(--lhi-space-md, 1rem);
    padding-top: var(--lhi-space-sm, 0.75rem);
    border-top: 1px solid var(--lhi-color-border, #E5E0DA);
    font-size: 0.8125rem;
    color: var(--lhi-color-gold, #8a6b3f);
    font-weight: 600;
    line-height: 1.4;
}

/* ========================================
   CLAUDE: 5. REGIONEN-GRID
   CLAUDE: 8 Regionen-Cards mit Preisen
   ======================================== */

/* CLAUDE: Regionen-Grid - 4x2 */
.lhi-regionen-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--lhi-space-md, 1.5rem);
    max-width: 1100px;
    margin: 0 auto;
}

/* CLAUDE: Region-Card */
.lhi-region-card {
    background: var(--lhi-color-white, #FFFFFF);
    border-radius: var(--lhi-radius-md, 8px);
    padding: var(--lhi-space-md, 1.5rem);
    display: flex;
    align-items: flex-start;
    gap: var(--lhi-space-sm, 1rem);
    box-shadow: var(--lhi-shadow-sm, 0 2px 8px rgba(0,0,0,0.06));
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--lhi-color-border, #E5E0DA);
}

.lhi-region-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--lhi-shadow-md, 0 4px 12px rgba(0,0,0,0.1));
}

/* CLAUDE: Region-Icon */
.lhi-region-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: var(--lhi-color-bg, #F8F6F3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lhi-region-icon svg {
    width: 20px;
    height: 20px;
    color: var(--lhi-color-gold, #8a6b3f);
}

/* CLAUDE: Heilbronn-Region - Gold-Akzent */
.lhi-region-card[data-kategorie="heilbronn"] .lhi-region-icon {
    background: rgba(138, 107, 63, 0.1);
}

/* CLAUDE: Tauber-Region - Chestnut-Akzent */
.lhi-region-card[data-kategorie="tauber"] .lhi-region-icon {
    background: rgba(124, 74, 33, 0.1);
}

.lhi-region-card[data-kategorie="tauber"] .lhi-region-icon svg {
    color: var(--lhi-color-chestnut, #7C4A21);
}

/* CLAUDE: Region-Content */
.lhi-region-content {
    flex: 1;
    min-width: 0;
}

/* CLAUDE: Region-Name */
.lhi-region-name {
    font-family: var(--lhi-font-sans, system-ui, sans-serif);
    font-size: 1rem;
    font-weight: 600;
    color: var(--lhi-color-text, #3B2A1A);
    margin: 0 0 var(--lhi-space-xs, 0.25rem) 0;
}

/* CLAUDE: PLZ-Badge */
.lhi-region-plz {
    display: inline-block;
    font-size: 0.75rem;
    color: var(--lhi-color-secondary, #5C4A3A);
    background: var(--lhi-color-bg, #F8F6F3);
    padding: 2px 8px;
    border-radius: var(--lhi-radius-sm, 4px);
    margin-bottom: var(--lhi-space-xs, 0.5rem);
}

/* CLAUDE: Preis-Container */
.lhi-region-preis {
    display: flex;
    flex-direction: column;
    margin-top: var(--lhi-space-xs, 0.5rem);
}

/* CLAUDE: Preis-Range */
.lhi-region-preis-range {
    font-family: var(--lhi-font-sans, system-ui, sans-serif);
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--lhi-color-gold, #8a6b3f);
}

/* CLAUDE: Preis-Hinweis */
.lhi-region-preis-hinweis {
    font-size: 0.6875rem;
    color: var(--lhi-color-secondary, #5C4A3A);
}

/* CLAUDE: Tablet - 2 Spalten */
@media (max-width: 900px) {
    .lhi-regionen-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* CLAUDE: Mobile - 1 Spalte */
@media (max-width: 500px) {
    .lhi-regionen-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   CLAUDE: 6. STATISTIKEN-GRID
   CLAUDE: 4er Grid mit Zahlen
   ======================================== */

/* CLAUDE: Stats-Grid Container */
.lhi-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--lhi-space-lg, 2rem);
    max-width: 900px;
    margin: 0 auto;
}

/* CLAUDE: Einzelnes Stat-Item */
.lhi-stat-item {
    text-align: center;
}

/* CLAUDE: Stat-Icon */
.lhi-stat-icon {
    margin-bottom: var(--lhi-space-sm, 1rem);
}

.lhi-stat-icon svg {
    width: 32px;
    height: 32px;
    color: var(--lhi-color-gold, #8a6b3f);
}

/* CLAUDE: Stat-Zahl */
.lhi-stat-zahl {
    font-family: var(--lhi-font-serif, 'Playfair Display', serif);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--lhi-color-white, #FFFFFF);
    line-height: 1;
    margin-bottom: var(--lhi-space-xs, 0.5rem);
}

/* CLAUDE: Stat-Label */
.lhi-stat-label {
    font-family: var(--lhi-font-sans, system-ui, sans-serif);
    font-size: 0.875rem;
    color: var(--lhi-color-porous-stone, #E8E4DF);
    line-height: 1.4;
}

/* CLAUDE: Tablet - 2 Spalten */
@media (max-width: 768px) {
    .lhi-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--lhi-space-md, 1.5rem);
    }
}

/* ========================================
   CLAUDE: 7. CTA-BUTTONS
   CLAUDE: Button-Styles für CTA-Section
   ======================================== */

/* CLAUDE: Button-Container */
.lhi-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--lhi-space-md, 1.5rem);
    margin-top: var(--lhi-space-lg, 2rem);
}

/* CLAUDE: Button-Basis */
.lhi-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--lhi-space-xs, 0.5rem);
    padding: var(--lhi-space-sm, 1rem) var(--lhi-space-lg, 2rem);
    font-family: var(--lhi-font-sans, system-ui, sans-serif);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--lhi-radius-sm, 4px);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.lhi-btn svg {
    width: 20px;
    height: 20px;
}

/* CLAUDE: Großer Button */
.lhi-btn--lg {
    padding: var(--lhi-space-md, 1.5rem) var(--lhi-space-xl, 2.5rem);
    font-size: 1.125rem;
}

/* CLAUDE: Primary Button (weiß auf Gold-Hintergrund) */
.lhi-section--cta .lhi-btn--primary {
    background: var(--lhi-color-white, #FFFFFF);
    color: var(--lhi-color-gold, #8a6b3f);
    border-color: var(--lhi-color-white, #FFFFFF);
}

.lhi-section--cta .lhi-btn--primary:hover {
    background: transparent;
    color: var(--lhi-color-white, #FFFFFF);
    transform: translateY(-2px);
}

/* CLAUDE: Secondary Button (transparent mit Rand) */
.lhi-section--cta .lhi-btn--secondary {
    background: transparent;
    color: var(--lhi-color-white, #FFFFFF);
    border-color: rgba(255, 255, 255, 0.5);
}

.lhi-section--cta .lhi-btn--secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--lhi-color-white, #FFFFFF);
}

/* CLAUDE: Mobile - Buttons stapeln */
@media (max-width: 600px) {
    .lhi-cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .lhi-btn--lg {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

/* ========================================
   CLAUDE: 8. FAQ-ACCORDION ERGÄNZUNGEN
   CLAUDE: Zusätzliche Styles (Basis in vermietung.css)
   ======================================== */

/* CLAUDE: FAQ-Section Hintergrund */
.lhi-section--faq {
    background: var(--lhi-color-white, #FFFFFF);
}

/* CLAUDE: FAQ-Container breiter für mehr Fragen */
.lhi-section--faq .lhi-faq-container {
    max-width: 900px;
}

/* CLAUDE: Erstes Item offen - kein top-border */
.lhi-faq-item[open]:first-child .lhi-faq-question {
    border-radius: var(--lhi-radius-md, 8px) var(--lhi-radius-md, 8px) 0 0;
}

/* ========================================
   CLAUDE: 9. SMOOTH-SCROLL
   CLAUDE: Für CTA-Button zum Wizard
   ======================================== */

/* CLAUDE: Smooth-Scroll für Anchor-Links */
html {
    scroll-behavior: smooth;
}

/* CLAUDE: Scroll-Offset für Header */
#bewertung-formular {
    scroll-margin-top: var(--lhi-space-xl, 3rem);
}

/* ========================================
   CLAUDE: 10. REDUCED MOTION
   CLAUDE: Accessibility
   ======================================== */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .lhi-process-icon,
    .lhi-region-card,
    .lhi-feature-card,
    .lhi-btn {
        transition: none;
    }

    .lhi-process-step:hover .lhi-process-icon,
    .lhi-region-card:hover,
    .lhi-feature-card:hover,
    .lhi-btn:hover {
        transform: none;
    }
}

/* ========================================
   CLAUDE: 11. CTA-SECTION BUTTON FIX
   CLAUDE: Korrigiert weißen Button ohne sichtbaren Text
   ======================================== */

/* CLAUDE: Was: Secondary Button (weiß) in CTA-Section mit Outline-Style */
/* CLAUDE: Warum: Weißer Button auf goldenem Hintergrund braucht Kontrast */
/* CLAUDE: Anpassen: Border-Farbe und Text-Farbe bei Bedarf ändern */
.lhi-section--cta .wp-block-button__link.has-white-background-color {
    background: transparent !important;
    border: 2px solid var(--wp--preset--color--white, #FFFFFF) !important;
    color: var(--wp--preset--color--white, #FFFFFF) !important;
}

/* CLAUDE: Hover-Effekt für Secondary Button */
.lhi-section--cta .wp-block-button__link.has-white-background-color:hover {
    background: var(--wp--preset--color--white, #FFFFFF) !important;
    color: var(--wp--preset--color--dark-umber, #3B2A1A) !important;
}

/* ========================================
   CLAUDE: 12. FEATURE-CARD ICON FIX
   CLAUDE: Korrigiert SVG-Darstellung und Hover-Effekt
   ======================================== */

/* CLAUDE: Was: SVG-Elemente als Outline-Icons erzwingen */
/* CLAUDE: Warum: Einige SVG-Elemente (rect, circle, etc.) haben default fill */
/* CLAUDE: Anpassen: stroke-width für dickere Linien erhöhen */
.lhi-feature-icon svg,
.lhi-feature-icon svg rect,
.lhi-feature-icon svg circle,
.lhi-feature-icon svg path,
.lhi-feature-icon svg line,
.lhi-feature-icon svg polyline,
.lhi-feature-icon svg polygon {
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 1.5 !important;
}

/* CLAUDE: Sicherstellen, dass die Farbe vom inline style übernommen wird */
.lhi-feature-icon svg {
    color: var(--wp--preset--color--heritage-gold, #C19A6B) !important;
}

/* CLAUDE: Was: SVG-Farbe bei Hover mit !important erzwingen */
/* CLAUDE: Warum: Inline styles im HTML überschreiben normale CSS-Regeln */
/* CLAUDE: Anpassen: Hover-Farbe hier ändern (aktuell weiß) */
.lhi-feature-card:hover .lhi-feature-icon svg,
.lhi-feature-card:hover .lhi-feature-icon svg rect,
.lhi-feature-card:hover .lhi-feature-icon svg circle,
.lhi-feature-card:hover .lhi-feature-icon svg path,
.lhi-feature-card:hover .lhi-feature-icon svg line,
.lhi-feature-card:hover .lhi-feature-icon svg polyline,
.lhi-feature-card:hover .lhi-feature-icon svg polygon {
    color: var(--lhi-color-white, #FFFFFF) !important;
    stroke: var(--lhi-color-white, #FFFFFF) !important;
}

/* ========================================
   CLAUDE: 13. REGIONEN-CARDS LAYOUT FIX
   CLAUDE: Vertikales Stack-Layout für beste Lesbarkeit
   ======================================== */

/* CLAUDE: Was: Vertikales Flexbox-Layout für Region-Cards */
/* CLAUDE: Warum: Horizontales Layout führt zu Platzproblemen bei langen Namen */
/* CLAUDE: Anpassen: Abstände und Schriftgrößen hier ändern */

/* CLAUDE: Region-Card - Vertikales Stack-Layout */
.lhi-region-card.wp-block-group {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    padding: var(--wp--preset--spacing--md, 1.5rem) var(--wp--preset--spacing--sm, 1rem) !important;
    min-height: 120px !important;
    justify-content: center !important;
}

/* CLAUDE: Stadtname - Prominent oben */
/* CLAUDE: Was: Stadtname als Hauptelement, größer und fett */
/* CLAUDE: Warum: Wichtigste Information für den User */
.lhi-region-card.wp-block-group > h3 {
    margin: 0 0 var(--lhi-space-xs, 0.5rem) 0 !important;
    font-size: clamp(1rem, 2.5vw, 1.125rem) !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    word-break: break-word !important;
    hyphens: auto !important;
    text-align: center !important;
}

/* CLAUDE: PLZ - Dezent unter dem Stadtnamen */
/* CLAUDE: Was: PLZ als sekundäre Info, klein und grau */
/* CLAUDE: Warum: Weniger wichtig, aber hilfreich zur Orientierung */
.lhi-region-card.wp-block-group > p:first-of-type {
    margin: 0 0 var(--lhi-space-sm, 0.75rem) 0 !important;
    font-size: 0.75rem !important;
    color: var(--wp--preset--color--graphite, #594834) !important;
    opacity: 0.8 !important;
    text-align: center !important;
}

/* CLAUDE: Preis - Prominent unten */
/* CLAUDE: Was: Preisspanne als wichtiges Ergebnis, gold hervorgehoben */
/* CLAUDE: Warum: Call-to-Action - Preise interessieren den User */
.lhi-region-card.wp-block-group > p:last-of-type {
    margin: 0 !important;
    font-size: clamp(0.9rem, 2vw, 1rem) !important;
    font-weight: 700 !important;
    color: var(--wp--preset--color--heritage-gold, #8a6b3f) !important;
    text-align: center !important;
    line-height: 1.4 !important;
}

/* CLAUDE: Responsive: Desktop - 4 Spalten (Standard von Gutenberg) */
/* CLAUDE: Sicherstellen, dass flex-wrap deaktiviert bleibt */
@media (min-width: 901px) {
    .wp-block-columns:has(.lhi-region-card) {
        flex-wrap: nowrap !important;
    }
}

/* CLAUDE: Responsive: Tablet - 2 Spalten */
@media (max-width: 900px) {
    .wp-block-columns:has(.lhi-region-card) {
        flex-wrap: wrap !important;
    }

    .wp-block-columns:has(.lhi-region-card) > .wp-block-column {
        flex-basis: calc(50% - var(--wp--preset--spacing--sm, 1rem)) !important;
        min-width: calc(50% - var(--wp--preset--spacing--sm, 1rem)) !important;
    }

    .lhi-region-card.wp-block-group {
        min-height: 110px !important;
    }
}

/* CLAUDE: Responsive: Mobile - 2 Spalten beibehalten für kompakte Ansicht */
@media (max-width: 600px) {
    .wp-block-columns:has(.lhi-region-card) > .wp-block-column {
        flex-basis: calc(50% - 0.5rem) !important;
        min-width: calc(50% - 0.5rem) !important;
    }

    .lhi-region-card.wp-block-group {
        padding: var(--wp--preset--spacing--sm, 1rem) !important;
        min-height: 100px !important;
    }

    .lhi-region-card.wp-block-group > h3 {
        font-size: 0.9rem !important;
    }

    .lhi-region-card.wp-block-group > p:first-of-type {
        font-size: 0.7rem !important;
        margin-bottom: 0.5rem !important;
    }

    .lhi-region-card.wp-block-group > p:last-of-type {
        font-size: 0.85rem !important;
    }
}

/* CLAUDE: Sehr kleine Screens - 1 Spalte */
@media (max-width: 400px) {
    .wp-block-columns:has(.lhi-region-card) > .wp-block-column {
        flex-basis: 100% !important;
        min-width: 100% !important;
    }
}

/* ========================================
   CLAUDE: 14. PROZESS-SCHRITTE EQUAL HEIGHT + RESPONSIVE
   CLAUDE: Version 4.0 - 2026-01-23 - Fix für gleiche Card-Höhen
   CLAUDE: Problem: Cards hatten unterschiedliche Höhen durch verschiedene Textlängen
   CLAUDE: Lösung: align-items: stretch auf Container + height: 100% auf Cards
   ======================================== */

/* CLAUDE: Was: Columns-Container mit stretch statt center */
/* CLAUDE: Warum: WordPress Core CSS setzt .wp-block-columns{align-items:normal!important} */
/* CLAUDE: Anpassen: Hohe Spezifität nötig um WP-Core zu überschreiben */
.wp-block-group.lhi-section--prozess .wp-block-columns.is-layout-flex.wp-block-columns-is-layout-flex,
.lhi-section--prozess .wp-block-columns.alignwide.is-layout-flex {
    align-items: stretch !important;
}

/* CLAUDE: Was: Spalten als Flex-Container für volle Höhe */
/* CLAUDE: Warum: Columns müssen ihre Cards stretchen können */
/* CLAUDE: Anpassen: display: flex + flex-direction: column sorgt für stretch */
.lhi-section--prozess .wp-block-columns > .wp-block-column {
    display: flex !important;
    flex-direction: column !important;
}

/* CLAUDE: Was: Cards auf volle Höhe der Spalte dehnen */
/* CLAUDE: Warum: height: 100% + flex: 1 füllt verfügbaren Platz */
/* CLAUDE: Anpassen: justify-content: flex-start hält Content oben */
.lhi-section--prozess .lhi-process-step.wp-block-group,
.lhi-section--prozess .wp-block-group.lhi-process-step,
.lhi-section--prozess .lhi-process-step {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    text-align: center !important;
    gap: 0.5rem !important;
    height: 100% !important;
    flex: 1 !important;
}

/* CLAUDE: Titel volle Breite und KEIN Silbenumbruch */
.lhi-section--prozess .lhi-process-step h3,
.lhi-section--prozess .lhi-process-step .wp-block-heading {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 0.25rem 0 !important;
    word-break: normal !important;
    hyphens: none !important;
    -webkit-hyphens: none !important;
    overflow-wrap: normal !important;
    white-space: normal !important;
}

/* CLAUDE: Beschreibungstext unter dem Titel */
.lhi-section--prozess .lhi-process-step p {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
}

/* CLAUDE: Icon zentriert über dem Text */
.lhi-section--prozess .lhi-process-icon {
    margin-bottom: 0.75rem !important;
    flex-shrink: 0 !important;
    order: -1 !important;
}

/* CLAUDE: Desktop (> 782px) - 4 Spalten Standard */
@media (min-width: 783px) {
    .lhi-section--prozess .lhi-process-step h3 {
        font-size: 1rem !important;
    }
}

/* CLAUDE: Tablet (601-782px) - 2x2 Grid */
@media (max-width: 782px) {
    .lhi-section--prozess .wp-block-columns {
        flex-wrap: wrap !important;
    }

    .lhi-section--prozess .wp-block-columns > .wp-block-column {
        flex-basis: calc(50% - 0.75rem) !important;
        min-width: calc(50% - 0.75rem) !important;
        margin-bottom: var(--wp--preset--spacing--md, 1.5rem) !important;
    }

    /* CLAUDE: Card-Padding reduzieren */
    .lhi-section--prozess .lhi-process-step.wp-block-group,
    .lhi-section--prozess .wp-block-group.lhi-process-step,
    .lhi-section--prozess .lhi-process-step {
        padding: var(--wp--preset--spacing--sm, 1rem) !important;
        flex-direction: column !important;
    }

    /* CLAUDE: Titel etwas kleiner aber keine Silbenumbrüche */
    .lhi-section--prozess .lhi-process-step h3,
    .lhi-section--prozess .lhi-process-step .wp-block-heading {
        font-size: 0.9375rem !important;
        line-height: 1.4 !important;
        word-break: normal !important;
        hyphens: none !important;
    }

    /* CLAUDE: Beschreibung kleiner */
    .lhi-section--prozess .lhi-process-step p {
        font-size: 0.8125rem !important;
        line-height: 1.5 !important;
    }

    /* CLAUDE: Icon kleiner */
    .lhi-section--prozess .lhi-process-icon svg {
        width: 40px !important;
        height: 40px !important;
    }
}

/* CLAUDE: Mobile (< 600px) - 1 Spalte vertikal */
@media (max-width: 600px) {
    /* CLAUDE: Spalten auf volle Breite */
    .lhi-section--prozess .wp-block-columns > .wp-block-column {
        flex-basis: 100% !important;
        min-width: 100% !important;
    }

    /* CLAUDE: WICHTIG: Vertikales Layout beibehalten! */
    .lhi-section--prozess .lhi-process-step.wp-block-group,
    .lhi-section--prozess .wp-block-group.lhi-process-step,
    .lhi-section--prozess .lhi-process-step {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        padding: var(--wp--preset--spacing--md, 1.5rem) !important;
    }

    /* CLAUDE: Titel zentriert, volle Breite, kein Silbenumbruch */
    .lhi-section--prozess .lhi-process-step h3,
    .lhi-section--prozess .lhi-process-step .wp-block-heading {
        width: 100% !important;
        text-align: center !important;
        font-size: 1.0625rem !important;
        line-height: 1.3 !important;
        word-break: normal !important;
        hyphens: none !important;
        white-space: normal !important;
    }

    /* CLAUDE: Beschreibung zentriert */
    .lhi-section--prozess .lhi-process-step p {
        text-align: center !important;
        font-size: 0.875rem !important;
        line-height: 1.5 !important;
    }

    /* CLAUDE: Icon über dem Text */
    .lhi-section--prozess .lhi-process-icon {
        margin-bottom: 1rem !important;
    }

    .lhi-section--prozess .lhi-process-icon svg {
        width: 48px !important;
        height: 48px !important;
    }
}

/* CLAUDE: Sehr kleine Screens (< 400px) */
/* CLAUDE: Version 4.2 - 2026-01-23 - Fix für gleiche Höhen auf sehr kleinen Screens */
/* CLAUDE: Problem: Bei gestapelten Cards (1-Spalte) wirkt flex-stretch nicht auf Höhe */
/* CLAUDE: Lösung: min-height garantiert gleiche Optik bei unterschiedlichem Content */
@media (max-width: 400px) {
    /* CLAUDE: Was: Cards mit min-height für konsistentes Erscheinungsbild */
    /* CLAUDE: Warum: Gestapelte Cards brauchen min-height statt flex-stretch */
    /* CLAUDE: Anpassen: min-height von 200px bei Bedarf ändern */
    .lhi-section--prozess .lhi-process-step.wp-block-group,
    .lhi-section--prozess .wp-block-group.lhi-process-step,
    .lhi-section--prozess .lhi-process-step {
        padding: var(--wp--preset--spacing--sm, 1rem) !important;
        min-height: 220px !important;
    }

    .lhi-section--prozess .lhi-process-step h3,
    .lhi-section--prozess .lhi-process-step .wp-block-heading {
        font-size: 1rem !important;
    }

    .lhi-section--prozess .lhi-process-icon svg {
        width: 40px !important;
        height: 40px !important;
    }
}

/* ========================================
   CLAUDE: 15. BEWERTUNGSMETHODEN MOBILE FIX
   CLAUDE: 3-Spalten auf Mobile zu vertikal
   ======================================== */

/* CLAUDE: Was: Methoden-Karten auf Mobile vertikal stacken */
/* CLAUDE: Warum: 3 Spalten zu schmal, Wortumbruch problematisch */
/* CLAUDE: Anpassen: Breakpoint und Spacing hier ändern */

/* CLAUDE: Tablet - 2 Spalten (3. unten mittig) */
@media (max-width: 900px) {
    .lhi-section--methoden .wp-block-columns {
        flex-wrap: wrap !important;
        justify-content: center !important;
    }

    .lhi-section--methoden .wp-block-columns > .wp-block-column {
        flex-basis: calc(50% - 1rem) !important;
        min-width: calc(50% - 1rem) !important;
        max-width: 350px !important;
    }
}

/* CLAUDE: Mobile - 1 Spalte vertikal */
@media (max-width: 600px) {
    .lhi-section--methoden .wp-block-columns > .wp-block-column {
        flex-basis: 100% !important;
        min-width: 100% !important;
        max-width: none !important;
    }

    /* CLAUDE: Feature-Card Anpassungen für Mobile */
    .lhi-section--methoden .lhi-feature-card {
        padding: var(--wp--preset--spacing--md, 1.5rem) !important;
    }

    /* CLAUDE: Überschrift mit Wortumbruch */
    .lhi-section--methoden .lhi-feature-card h3 {
        font-size: clamp(1.125rem, 5vw, 1.5rem) !important;
        word-break: break-word !important;
        hyphens: auto !important;
        line-height: 1.3 !important;
    }

    /* CLAUDE: Icon kleiner auf Mobile */
    .lhi-section--methoden .lhi-feature-icon svg {
        width: 48px !important;
        height: 48px !important;
    }
}

/* ========================================
   CLAUDE: 16. GLOBALE TYPOGRAFIE-FIXES MOBILE
   CLAUDE: Wortumbruch für alle langen Überschriften
   ======================================== */

/* CLAUDE: Was: Globale Wortumbruch-Regeln für lange deutsche Wörter */
/* CLAUDE: Warum: Deutsche Sprache hat viele Komposita (z.B. Vergleichswertverfahren) */
/* CLAUDE: Anpassen: hyphens: auto erfordert lang="de" im HTML */

@media (max-width: 600px) {
    /* CLAUDE: Alle H3 Überschriften in Cards */
    .lhi-process-step h3,
    .lhi-feature-card h3,
    .wp-block-group h3.has-text-align-center {
        word-break: break-word !important;
        overflow-wrap: break-word !important;
        hyphens: auto !important;
        -webkit-hyphens: auto !important;
        -ms-hyphens: auto !important;
    }

    /* CLAUDE: Prevent orphan breaks - mindestens 3 Zeichen */
    .lhi-process-step h3,
    .lhi-feature-card h3 {
        -webkit-hyphenate-limit-chars: 6 3 3 !important;
        hyphenate-limit-chars: 6 3 3 !important;
    }
}

/* ========================================
   CLAUDE: 17. BEWERTUNGSMETHODEN-CARDS RESPONSIVE FIX
   CLAUDE: Version 2.0 - 2026-01-23
   CLAUDE: Problem: Cards bleiben auf Mobile horizontal statt vertikal zu stacken
   CLAUDE: Ursache: WordPress Core CSS (.wp-block-column min-width: 100%) überschreibt Grid
   CLAUDE: Lösung: Höchste Spezifität + explizite Column-Resets + Grid auf allen Breakpoints
   ======================================== */

/* ========================================
   CLAUDE: 17.1 GRID-CONTAINER - DESKTOP (≥901px)
   CLAUDE: 3 Spalten horizontal mit gleicher Höhe
   ======================================== */

/* CLAUDE: Was: Grid-Layout für den Columns-Container */
/* CLAUDE: Warum: Grid garantiert gleiche Höhen und Spaltenbreiten */
/* CLAUDE: Spezifität: html body prefix für höchste Priorität */
html body .lhi-section--methoden .wp-block-columns,
html body .lhi-section--methoden .wp-block-columns.is-layout-flex,
html body .lhi-section--methoden .wp-block-columns.alignwide,
html body .wp-block-group.lhi-section--methoden .wp-block-columns,
html body .wp-block-group.has-background.lhi-section--methoden .wp-block-columns {
    /* CLAUDE: Grid statt Flexbox */
    display: grid !important;
    /* CLAUDE: 3 gleich breite Spalten */
    grid-template-columns: repeat(3, 1fr) !important;
    /* CLAUDE: Gap zwischen den Cards */
    gap: 1.5rem !important;
    /* CLAUDE: Alle Items strecken sich auf volle Höhe */
    align-items: stretch !important;
    /* CLAUDE: Flex-wrap deaktivieren (für Grid irrelevant, aber sicherheitshalber) */
    flex-wrap: nowrap !important;
}

/* ========================================
   CLAUDE: 17.2 COLUMN-RESETS
   CLAUDE: WordPress setzt min-width: 100% - das muss überschrieben werden!
   ======================================== */

/* CLAUDE: Was: Explizite Resets für .wp-block-column */
/* CLAUDE: Warum: WP Core setzt flex-basis: 100% und min-width: 100% */
/* CLAUDE: Das verhindert, dass Grid die Spaltenbreite kontrolliert */
html body .lhi-section--methoden .wp-block-column,
html body .lhi-section--methoden .wp-block-column.is-layout-flow {
    /* CLAUDE: KRITISCH: min-width und flex-basis zurücksetzen! */
    min-width: 0 !important;
    max-width: none !important;
    flex-basis: auto !important;
    /* CLAUDE: Flexbox für inneres Strecken */
    display: flex !important;
    flex-direction: column !important;
    /* CLAUDE: Volle Höhe im Grid-Cell */
    height: 100% !important;
}

/* ========================================
   CLAUDE: 17.3 FEATURE-CARDS
   CLAUDE: Volle Höhe + Flex für Inhaltsverteilung
   ======================================== */

/* CLAUDE: Was: Feature-Card auf volle Höhe der Spalte */
/* CLAUDE: Warum: Alle Cards sollen gleich hoch sein */
html body .lhi-section--methoden .lhi-feature-card,
html body .lhi-section--methoden .wp-block-group.lhi-feature-card {
    /* CLAUDE: Volle Höhe der Spalte */
    height: 100% !important;
    /* CLAUDE: Flexbox für innere Verteilung */
    display: flex !important;
    flex-direction: column !important;
    /* CLAUDE: Flex-grow um Platz zu füllen */
    flex: 1 1 auto !important;
    /* CLAUDE: Box-Sizing für konsistente Breite */
    box-sizing: border-box !important;
}

/* CLAUDE: Was: Beschreibungstext soll sich strecken */
/* CLAUDE: Warum: Füllt den Raum zwischen Icon/Titel und "Ideal für" */
html body .lhi-section--methoden .lhi-feature-card > p:not([class*="font-size"]):not(:last-child) {
    flex: 1 1 auto !important;
}

/* ========================================
   CLAUDE: 17.4 ÜBERSCHRIFTEN
   CLAUDE: Keine Silbentrennung + responsive Schriftgröße
   ======================================== */

/* CLAUDE: Was: Überschriften OHNE Silbentrennung */
/* CLAUDE: Warum: "Vergleichswertve-rfahren" sieht schlecht aus */
html body .lhi-section--methoden .lhi-feature-card h3,
html body .lhi-section--methoden .lhi-feature-card .wp-block-heading {
    /* CLAUDE: KEINE Silbentrennung! */
    hyphens: none !important;
    -webkit-hyphens: none !important;
    -ms-hyphens: none !important;
    /* CLAUDE: Normale Wortumbrüche (nur an Leerzeichen) */
    word-break: normal !important;
    overflow-wrap: normal !important;
    /* CLAUDE: Responsive Schriftgröße */
    font-size: clamp(1.1rem, 2.5vw, 1.4rem) !important;
    /* CLAUDE: Engere Zeilenhöhe */
    line-height: 1.2 !important;
    /* CLAUDE: Margin unten */
    margin-bottom: 0.75rem !important;
}

/* ========================================
   CLAUDE: 17.5 TABLET (600px - 900px)
   CLAUDE: 2 Spalten + 3. Card zentriert
   ======================================== */

@media (max-width: 900px) {
    /* CLAUDE: Container: 2 Spalten */
    html body .lhi-section--methoden .wp-block-columns,
    html body .lhi-section--methoden .wp-block-columns.is-layout-flex,
    html body .lhi-section--methoden .wp-block-columns.alignwide,
    html body .wp-block-group.lhi-section--methoden .wp-block-columns,
    html body .wp-block-group.has-background.lhi-section--methoden .wp-block-columns {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
        align-items: stretch !important;
    }

    /* CLAUDE: Columns weiterhin mit Reset */
    html body .lhi-section--methoden .wp-block-column {
        min-width: 0 !important;
        flex-basis: auto !important;
    }

    /* CLAUDE: 3. Card zentriert unter den ersten beiden */
    html body .lhi-section--methoden .wp-block-column:nth-child(3) {
        grid-column: 1 / -1 !important;
        max-width: 50% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    /* CLAUDE: Überschriften etwas kleiner auf Tablet */
    html body .lhi-section--methoden .lhi-feature-card h3,
    html body .lhi-section--methoden .lhi-feature-card .wp-block-heading {
        font-size: clamp(1rem, 3vw, 1.25rem) !important;
    }
}

/* ========================================
   CLAUDE: 17.6 MOBILE (≤599px)
   CLAUDE: 1 Spalte vertikal gestapelt
   ======================================== */

@media (max-width: 599px) {
    /* CLAUDE: Container: 1 Spalte */
    html body .lhi-section--methoden .wp-block-columns,
    html body .lhi-section--methoden .wp-block-columns.is-layout-flex,
    html body .lhi-section--methoden .wp-block-columns.alignwide,
    html body .wp-block-group.lhi-section--methoden .wp-block-columns,
    html body .wp-block-group.has-background.lhi-section--methoden .wp-block-columns,
    html body .wp-block-group.has-background .lhi-section--methoden .wp-block-columns {
        /* CLAUDE: KRITISCH: 1 Spalte auf Mobile! */
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
        /* CLAUDE: KRITISCH: align-items: stretch für volle Breite! */
        align-items: stretch !important;
        /* CLAUDE: Zusätzlich justify-items für horizontale Streckung */
        justify-items: stretch !important;
    }

    /* CLAUDE: KRITISCH: Column-Resets für Mobile */
    html body .lhi-section--methoden .wp-block-column,
    html body .lhi-section--methoden .wp-block-column.is-layout-flow {
        /* CLAUDE: Volle Breite */
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        flex-basis: 100% !important;
        /* CLAUDE: 3. Card nicht mehr zentriert begrenzt */
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* CLAUDE: 3. Card auch volle Breite */
    html body .lhi-section--methoden .wp-block-column:nth-child(3) {
        grid-column: auto !important;
        max-width: 100% !important;
    }

    /* CLAUDE: Cards mit automatischer Höhe auf Mobile */
    html body .lhi-section--methoden .lhi-feature-card {
        height: auto !important;
        min-height: auto !important;
    }

    /* CLAUDE: Überschriften größer auf Mobile da mehr Platz */
    html body .lhi-section--methoden .lhi-feature-card h3,
    html body .lhi-section--methoden .lhi-feature-card .wp-block-heading {
        font-size: 1.25rem !important;
        line-height: 1.3 !important;
    }
}

/* ========================================
   CLAUDE: 17.7 SEHR KLEINE SCREENS (≤380px)
   CLAUDE: Extra kleine Schriftgröße für iPhone SE/5
   ======================================== */

@media (max-width: 380px) {
    /* CLAUDE: Überschriften etwas kleiner auf sehr kleinen Screens */
    html body .lhi-section--methoden .lhi-feature-card h3,
    html body .lhi-section--methoden .lhi-feature-card .wp-block-heading {
        font-size: 1.1rem !important;
        line-height: 1.3 !important;
    }
}
