/* CLAUDE: Vermietung-Seite Komponenten CSS */
/* CLAUDE: Enthält: Hero-Optimierung, FAQ-Accordion, Prozess-Timeline, Feature-Cards */
/* CLAUDE: Version: 2.0 - Stand: 2026-01-13 */
/* CLAUDE: Überarbeitet: Hero analog zu Verkaufsseite mit Trust-Bar unten */

/* ========================================
   CLAUDE: 1. HERO CONTAINER
   CLAUDE: Full-Width Cover mit 70vh Höhe (wie Verkauf)
   CLAUDE: Content am unteren Rand positioniert
   ======================================== */

/* CLAUDE: ÜBERGEORDNETE CONTAINER - Overflow erlauben für Full-Width */
/* CLAUDE: Ohne diese Regel wird der Hero durch overflow:hidden abgeschnitten */
html body,
html body .site-wrapper,
html body #main-content,
html body .site-main {
    overflow-x: clip !important;
}

/* CLAUDE: ARTICLE CONTAINER - Max-Width aufheben für Hero */
/* CLAUDE: Überschreibt layout.css Zeile 279-284 die article auf 750px begrenzt */
.site-main > article:has(.lhi-hero-vermietung) {
    max-width: none !important;
    padding-inline: 0 !important;
    width: 100% !important;
    overflow: visible !important;
}

/* CLAUDE: Haupt-Container - volle Viewport-Breite, 70vh Höhe */
/* CLAUDE: HÖCHSTE Spezifität für Full-Width */
html body .site-main > article > .alignfull:first-child.lhi-hero-vermietung.wp-block-cover,
html body .site-main > article > .lhi-hero-vermietung.wp-block-cover,
html body .lhi-hero-vermietung.wp-block-cover,
.lhi-hero-vermietung.wp-block-cover {
    /* CLAUDE: WICHTIG: Negatives margin-top für nahtlosen Header-Anschluss */
    margin-top: calc(-1 * var(--lhi-space-xl, 4rem)) !important;
    margin-bottom: 0 !important;
    /* CLAUDE: 70vh Höhe wie Verkaufsseite */
    min-height: 70vh !important;
    /* CLAUDE: FULL-WIDTH ERZWINGEN - Volle Viewport-Breite */
    width: 100vw !important;
    max-width: 100vw !important;
    /* CLAUDE: Technik: left 50% + negative margin = volle Breite aus Container ausbrechen */
    position: relative !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    /* CLAUDE: Overflow visible damit nichts abgeschnitten wird */
    overflow: visible !important;
    /* CLAUDE: Kein weißer Hintergrund mehr - Bild soll durchscheinen */
    background: transparent !important;
    background-color: transparent !important;
    /* CLAUDE: FLEXBOX für Content-Positionierung am unteren Rand */
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-end !important;
    /* CLAUDE: Padding entfernen - wird über inner-container gesteuert */
    padding: 0 !important;
    /* CLAUDE: Box-Sizing für korrekte Berechnung */
    box-sizing: border-box !important;
}

/* CLAUDE: Responsive: Tablet (601px - 767px) */
/* CLAUDE: FIX 2026-01-23: Spezifität muss gleich sein wie Desktop-Regel (html body prefix) */
/* CLAUDE: Auf Tablet noch Overlay-Layout, aber kleinere Höhe */
@media (min-width: 601px) and (max-width: 767px) {
    html body .site-main > article > .alignfull:first-child.lhi-hero-vermietung.wp-block-cover,
    html body .site-main > article > .lhi-hero-vermietung.wp-block-cover,
    html body .lhi-hero-vermietung.wp-block-cover,
    .lhi-hero-vermietung.wp-block-cover {
        /* CLAUDE: -40px entspricht --lhi-space-lg und gleicht site-main padding-block auf Tablet aus */
        margin-top: calc(-1 * var(--lhi-space-lg, 2.5rem)) !important;
        min-height: 55vh !important;
    }
}

/* CLAUDE: Responsive: Mobile (max 600px) - SPLIT-LAYOUT */
/* CLAUDE: Kein negatives margin nötig, da Split-Layout mit solidem Content-Hintergrund */
@media (max-width: 600px) {
    html body .site-main > article > .alignfull:first-child.lhi-hero-vermietung.wp-block-cover,
    html body .site-main > article > .lhi-hero-vermietung.wp-block-cover,
    html body .lhi-hero-vermietung.wp-block-cover,
    .lhi-hero-vermietung.wp-block-cover {
        /* CLAUDE: Kein negatives margin im Split-Layout - der Content-Bereich */
        /* CLAUDE: hat eigenen Hintergrund und braucht keine Überlappung */
        margin-top: calc(-1 * var(--lhi-space-lg, 2.5rem)) !important;
        min-height: auto !important;
    }
}

/* ========================================
   CLAUDE: 2. HINTERGRUNDBILD
   CLAUDE: Cover-Modus für optimale Darstellung
   ======================================== */

/* CLAUDE: Hero-Bild Basis-Styles - gelten für alle Viewports */
/* CLAUDE: object-fit: cover ist wichtig für alle Viewports */
html body .site-main > article > .alignfull:first-child.lhi-hero-vermietung.wp-block-cover .wp-block-cover__image-background,
html body .site-main > article > .lhi-hero-vermietung.wp-block-cover .wp-block-cover__image-background,
html body .lhi-hero-vermietung.wp-block-cover .wp-block-cover__image-background,
.lhi-hero-vermietung.wp-block-cover .wp-block-cover__image-background,
.lhi-hero-vermietung .wp-block-cover__image-background {
    /* CLAUDE: COVER nicht CONTAIN - füllt den Container vollständig aus */
    object-fit: cover !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    outline: none !important;
    max-width: none !important;
    max-height: none !important;
}

/* CLAUDE: Hero-Bild Desktop/Tablet (>600px) - Absolute Positionierung */
/* CLAUDE: FIX 2026-01-23: Diese Regeln nur für Desktop, damit Mobile Split-Layout funktioniert */
@media (min-width: 601px) {
    html body .site-main > article > .alignfull:first-child.lhi-hero-vermietung.wp-block-cover .wp-block-cover__image-background,
    html body .site-main > article > .lhi-hero-vermietung.wp-block-cover .wp-block-cover__image-background,
    html body .lhi-hero-vermietung.wp-block-cover .wp-block-cover__image-background,
    .lhi-hero-vermietung.wp-block-cover .wp-block-cover__image-background,
    .lhi-hero-vermietung .wp-block-cover__image-background {
        width: 100% !important;
        height: 100% !important;
        object-position: center center !important;
        /* CLAUDE: Nur auf Desktop/Tablet: Absolute Positionierung für Overlay-Effekt */
        position: absolute !important;
        inset: 0 !important;
        z-index: 0 !important;
    }
}

/* ========================================
   CLAUDE: 3. GRADIENT OVERLAY
   CLAUDE: Brauner Gradient wie Verkaufsseite
   ======================================== */

/* CLAUDE: WP background-dim komplett überschreiben */
.lhi-hero-vermietung .has-background-dim,
.lhi-hero-vermietung .has-background-dim-0,
.lhi-hero-vermietung.has-background-dim,
.lhi-hero-vermietung.has-background-dim:before,
.lhi-hero-vermietung .has-background-dim:before,
.lhi-hero-vermietung .wp-block-cover__background {
    background-color: transparent !important;
}

/* CLAUDE: Gradient-Overlay für Textlesbarkeit - BRAUN wie Verkauf */
.lhi-hero-vermietung .wp-block-cover__background {
    background: linear-gradient(
        to top,
        rgba(59, 42, 26, 0.92) 0%,
        rgba(59, 42, 26, 0.75) 25%,
        rgba(59, 42, 26, 0.45) 50%,
        rgba(59, 42, 26, 0.15) 75%,
        transparent 100%
    ) !important;
    opacity: 1 !important;
    width: 100% !important;
    height: 100% !important;
    inset: 0 !important;
    z-index: 1 !important;
    pointer-events: none !important;
}

/* ========================================
   CLAUDE: 4. CONTENT CONTAINER
   CLAUDE: Am unteren Rand positioniert
   ======================================== */

/* CLAUDE: Inner-Container für Content - am unteren Rand */
.lhi-hero-vermietung .wp-block-cover__inner-container {
    position: relative !important;
    z-index: 2 !important;
    width: 100% !important;
    max-width: 900px !important;
    margin: 0 auto !important;
    /* CLAUDE: Padding für Content-Bereich */
    padding: var(--wp--preset--spacing--lg, 2rem) !important;
    /* CLAUDE: Extra Padding unten für Trust-Bar */
    padding-bottom: calc(70px + var(--wp--preset--spacing--lg, 2rem)) !important;
    text-align: center !important;
    /* CLAUDE: Content am unteren Rand */
    margin-top: auto !important;
}

/* ========================================
   CLAUDE: 5. TYPOGRAFIE
   CLAUDE: Headline, Subtext mit Schatten
   ======================================== */

/* CLAUDE: Hauptüberschrift */
.lhi-hero-vermietung h1 {
    color: var(--wp--preset--color--white, #ffffff) !important;
    font-size: clamp(1.75rem, 5vw, 3rem) !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    margin: 0 0 var(--wp--preset--spacing--sm, 1rem) 0 !important;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5) !important;
}

/* CLAUDE: Untertitel/Beschreibung */
.lhi-hero-vermietung p:not(.lhi-hero-badge) {
    color: var(--wp--preset--color--porous-stone, #E8E4DF) !important;
    font-size: clamp(1rem, 2.5vw, 1.25rem) !important;
    line-height: 1.6 !important;
    margin: 0 0 var(--wp--preset--spacing--md, 1.5rem) 0 !important;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4) !important;
    max-width: 700px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* ========================================
   CLAUDE: 6. CTA BUTTONS
   CLAUDE: Styling für WP-Block-Buttons
   ======================================== */

/* CLAUDE: Button-Container */
.lhi-hero-vermietung .wp-block-buttons {
    justify-content: center !important;
    gap: var(--wp--preset--spacing--sm, 1rem) !important;
    margin-top: var(--wp--preset--spacing--md, 1.5rem) !important;
}

/* CLAUDE: Primärer Button - Gold */
.lhi-hero-vermietung .wp-block-button__link {
    background: var(--wp--preset--color--heritage-gold, #8a6b3f) !important;
    color: var(--wp--preset--color--white, #ffffff) !important;
    border: none !important;
    border-radius: 4px !important;
    padding: 1rem 2rem !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: background-color 0.3s ease, transform 0.2s ease !important;
}

.lhi-hero-vermietung .wp-block-button__link:hover {
    background: var(--wp--preset--color--chestnut, #7C4A21) !important;
    transform: translateY(-2px) !important;
}

/* ========================================
   CLAUDE: 7. TRUST BADGES LEISTE
   CLAUDE: Am unteren Rand mit Glasmorphismus (wie Verkauf)
   ======================================== */

/* CLAUDE: Trust-Badges Container - am unteren Rand fixiert */
.lhi-hero-badges {
    /* CLAUDE: Aus dem Flow nehmen und am unteren Rand positionieren */
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 3 !important;
    /* CLAUDE: Glasmorphismus-Effekt */
    background: rgba(59, 42, 26, 0.6) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    /* CLAUDE: Subtiler oberer Rand */
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    /* CLAUDE: Padding */
    padding: var(--wp--preset--spacing--sm, 1rem) var(--wp--preset--spacing--md, 1.5rem) !important;
    /* CLAUDE: Flexbox für Badges */
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: var(--wp--preset--spacing--md, 1.5rem) !important;
    /* CLAUDE: Margin entfernen */
    margin: 0 !important;
}

/* CLAUDE: Fallback für ältere Browser ohne backdrop-filter */
@supports not (backdrop-filter: blur(12px)) {
    .lhi-hero-badges {
        background: rgba(59, 42, 26, 0.85) !important;
    }
}

/* CLAUDE: Einzelnes Badge - NICHT mehr als Pill, sondern flach */
.lhi-hero-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    /* CLAUDE: Kein Pill-Hintergrund mehr */
    padding: 0 !important;
    background: transparent !important;
    backdrop-filter: none !important;
    border: none !important;
    border-radius: 0 !important;
    /* CLAUDE: Weiße Schrift */
    font-family: var(--lhi-font-sans) !important;
    font-size: 0.9rem !important;
    color: var(--wp--preset--color--white, #ffffff) !important;
    white-space: nowrap !important;
}

/* CLAUDE: SVG-Icons in Badges */
.lhi-hero-badge svg {
    width: 16px !important;
    height: 16px !important;
    flex-shrink: 0 !important;
    color: var(--wp--preset--color--heritage-gold, #8a6b3f) !important;
}

/* CLAUDE: Trennstriche zwischen Badges via CSS */
.lhi-hero-badge:not(:last-child)::after {
    content: '' !important;
    display: inline-block !important;
    width: 1px !important;
    height: 24px !important;
    background: rgba(255, 255, 255, 0.3) !important;
    margin-left: var(--wp--preset--spacing--md, 1.5rem) !important;
    vertical-align: middle !important;
}

/* ========================================
   CLAUDE: 8. RESPONSIVE - TABLET
   ======================================== */

@media (max-width: 900px) {
    .lhi-hero-vermietung .wp-block-cover__inner-container {
        padding: var(--wp--preset--spacing--md, 1.5rem) !important;
        padding-bottom: calc(60px + var(--wp--preset--spacing--md, 1.5rem)) !important;
    }

    .lhi-hero-badge {
        font-size: 0.85rem !important;
    }
}

/* ========================================
   CLAUDE: 9. RESPONSIVE - MOBILE (max 600px)
   CLAUDE: SPLIT-LAYOUT analog zu hero-verkauf.css
   CLAUDE: Bild oben (35vh), Content unten mit solidem Hintergrund
   ======================================== */

@media (max-width: 600px) {
    /* CLAUDE: SPLIT-LAYOUT - wp-block-cover wird Flex-Column */
    /* CLAUDE: Überschreibt Desktop-Styles komplett für Mobile */
    html body .lhi-hero-vermietung.wp-block-cover,
    .lhi-hero-vermietung.wp-block-cover {
        display: flex !important;
        flex-direction: column !important;
        min-height: auto !important;
        height: auto !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        /* CLAUDE: Kein negatives margin nötig - wird durch separaten Content-Bereich gelöst */
        overflow: visible !important;
    }

    /* CLAUDE: BILD-BEREICH - Wird zum Flex-Item mit fester Höhe */
    /* CLAUDE: order: -1 setzt das Bild VOR den inner-container im Flex-Layout */
    /* CLAUDE: Analog zu .lhi-hero-verkauf__image */
    html body .lhi-hero-vermietung.wp-block-cover .wp-block-cover__image-background,
    .lhi-hero-vermietung.wp-block-cover .wp-block-cover__image-background {
        /* CLAUDE: WICHTIG: relative Position macht es zum Flex-Item */
        position: relative !important;
        /* CLAUDE: WICHTIG: order: -1 zeigt Bild VOR dem Content */
        order: -1 !important;
        /* CLAUDE: Feste Höhe für Bild-Bereich */
        height: 35vh !important;
        min-height: 220px !important;
        max-height: 300px !important;
        width: 100% !important;
        flex-shrink: 0 !important;
        /* CLAUDE: inset: auto entfernt absolute Positionierung */
        inset: auto !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        /* CLAUDE: Fokus auf interessanten Bildbereich */
        object-position: center 40% !important;
        object-fit: cover !important;
        /* CLAUDE: z-index für Stacking */
        z-index: 0 !important;
    }

    /* CLAUDE: OVERLAY - Wird auch zum Flex-Item über dem Bild */
    /* CLAUDE: Muss VOR dem Bild positioniert werden (order: -2) */
    /* CLAUDE: Analog zu .lhi-hero-verkauf__overlay */
    html body .lhi-hero-vermietung.wp-block-cover .wp-block-cover__background,
    .lhi-hero-vermietung.wp-block-cover .wp-block-cover__background {
        /* CLAUDE: Absolute Position ÜBER dem Bild-Bereich */
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        /* CLAUDE: Höhe = Bild-Höhe */
        height: 35vh !important;
        min-height: 220px !important;
        max-height: 300px !important;
        bottom: auto !important;
        /* CLAUDE: Leichter Gradient nur am unteren Übergang zum Content */
        background: linear-gradient(
            to top,
            rgba(59, 42, 26, 0.6) 0%,
            rgba(59, 42, 26, 0.2) 30%,
            transparent 60%
        ) !important;
        /* CLAUDE: Über dem Bild */
        z-index: 1 !important;
    }

    /* CLAUDE: CONTENT-BEREICH - Solider Dark-Umber Hintergrund */
    /* CLAUDE: order: 1 stellt sicher, dass Content NACH dem Bild kommt */
    /* CLAUDE: Analog zu .lhi-hero-verkauf__content */
    html body .lhi-hero-vermietung.wp-block-cover .wp-block-cover__inner-container,
    .lhi-hero-vermietung.wp-block-cover .wp-block-cover__inner-container {
        position: relative !important;
        /* CLAUDE: order: 1 = nach dem Bild (order: -1) */
        order: 1 !important;
        z-index: 2 !important;
        /* CLAUDE: Solider Hintergrund für perfekte Lesbarkeit */
        background: var(--wp--preset--color--dark-umber, #3B2A1A) !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        /* CLAUDE: Padding für Content */
        padding: 1.5rem 1.25rem !important;
        /* CLAUDE: Extra padding-bottom für Trust-Bar (absolut positioniert) */
        padding-bottom: calc(1.5rem + 80px) !important;
        /* CLAUDE: Kein Border-Radius im Split-Layout */
        border-radius: 0 !important;
        margin: 0 !important;
        max-width: none !important;
        width: 100% !important;
        /* CLAUDE: Flex-grow um restlichen Platz zu füllen */
        flex-grow: 1 !important;
        text-align: center !important;
    }

    /* CLAUDE: Titel auf solidem Hintergrund - kein Text-Shadow nötig */
    .lhi-hero-vermietung h1 {
        font-size: clamp(1.4rem, 6vw, 1.8rem) !important;
        line-height: 1.25 !important;
        margin-bottom: 0.75rem !important;
        color: #ffffff !important;
        text-shadow: none !important;
    }

    /* CLAUDE: Untertitel - GARANTIERT LESBAR auf solidem Hintergrund */
    .lhi-hero-vermietung p:not(.lhi-hero-badge) {
        font-size: clamp(0.9rem, 3.5vw, 1.05rem) !important;
        line-height: 1.55 !important;
        margin-bottom: 1rem !important;
        max-width: 100% !important;
        color: var(--wp--preset--color--porous-stone, #E8E4DF) !important;
        text-shadow: none !important;
    }

    /* CLAUDE: Buttons untereinander */
    .lhi-hero-vermietung .wp-block-buttons {
        flex-direction: column !important;
        align-items: center !important;
        gap: 0.75rem !important;
        margin-top: 1rem !important;
    }

    /* CLAUDE: Buttons volle Breite mit Touch-freundlicher Größe */
    .lhi-hero-vermietung .wp-block-button__link {
        width: 100% !important;
        max-width: 320px !important;
        text-align: center !important;
        padding: 0.875rem 1.5rem !important;
        font-size: 0.95rem !important;
    }

    /* CLAUDE: Trust-Bar am unteren Rand des Content-Bereichs */
    /* CLAUDE: 1:1 wie .lhi-hero-verkauf__trust--integrated */
    .lhi-hero-badges {
        position: absolute !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        padding: 0.75rem 1rem !important;
        /* CLAUDE: Identischer Hintergrund wie Verkauf */
        background: rgba(0, 0, 0, 0.2) !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        z-index: 3 !important;
        /* CLAUDE: Flexbox - HORIZONTAL wie Verkauf */
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        align-items: center !important;
        /* CLAUDE: Gleicher Gap wie Verkauf: 0.5rem vertikal, 1rem horizontal */
        gap: 0.5rem 1rem !important;
    }

    /* CLAUDE: Badges - 1:1 wie .lhi-hero-verkauf__badge */
    .lhi-hero-badge {
        /* CLAUDE: Inline-flex für horizontale Anordnung */
        display: inline-flex !important;
        flex-direction: row !important;
        align-items: center !important;
        flex-shrink: 1 !important;
        /* CLAUDE: Gleiche Schriftgröße wie Verkauf */
        font-size: 0.7rem !important;
        /* CLAUDE: Gap zwischen Icon und Text */
        gap: 0.35rem !important;
        /* CLAUDE: Weiße Schrift */
        color: #ffffff !important;
        /* CLAUDE: Keine Zeilenumbrüche innerhalb eines Badges */
        white-space: nowrap !important;
    }

    /* CLAUDE: Divider zwischen Badges - simuliert wie Verkauf */
    /* CLAUDE: Verkauf hat .lhi-hero-verkauf__badge-divider, hier mit ::after */
    .lhi-hero-badge:not(:last-child)::after {
        content: '|' !important;
        display: inline-block !important;
        margin-left: 1rem !important;
        opacity: 0.4 !important;
        font-weight: 300 !important;
    }

    /* CLAUDE: SVG-Icons gleiche Größe wie Emojis bei Verkauf */
    .lhi-hero-badge svg {
        width: 14px !important;
        height: 14px !important;
        flex-shrink: 0 !important;
    }
}

/* ========================================
   CLAUDE: 9.1 RESPONSIVE - KLEINE MOBILE (max 480px)
   CLAUDE: Analog zu hero-verkauf.css
   ======================================== */

@media (max-width: 480px) {
    /* CLAUDE: Bild-Bereich etwas kleiner */
    html body .lhi-hero-vermietung.wp-block-cover .wp-block-cover__image-background {
        height: 30vh !important;
        min-height: 180px !important;
        max-height: 250px !important;
    }

    /* CLAUDE: Overlay an Bild-Größe anpassen */
    html body .lhi-hero-vermietung.wp-block-cover .wp-block-cover__background {
        height: 30vh !important;
        min-height: 180px !important;
        max-height: 250px !important;
    }

    /* CLAUDE: Content kompakter */
    html body .lhi-hero-vermietung.wp-block-cover .wp-block-cover__inner-container {
        padding: 1.25rem 1rem !important;
        padding-bottom: calc(1.25rem + 90px) !important;
    }

    /* CLAUDE: Titel noch kompakter */
    .lhi-hero-vermietung h1 {
        font-size: clamp(1.25rem, 5.5vw, 1.5rem) !important;
    }

    /* CLAUDE: Untertitel kompakter */
    .lhi-hero-vermietung p:not(.lhi-hero-badge) {
        font-size: 0.875rem !important;
    }

    /* CLAUDE: Badges kleiner */
    .lhi-hero-badge {
        font-size: 0.7rem !important;
    }
}

/* ========================================
   CLAUDE: 9.2 RESPONSIVE - EXTRA KLEINE (max 360px)
   CLAUDE: Sehr kleine Bildschirme (iPhone SE, etc.)
   ======================================== */

@media (max-width: 360px) {
    /* CLAUDE: Bild-Bereich minimal aber sichtbar */
    html body .lhi-hero-vermietung.wp-block-cover .wp-block-cover__image-background {
        height: 25vh !important;
        min-height: 150px !important;
        max-height: 200px !important;
    }

    /* CLAUDE: Overlay an Bild-Größe anpassen */
    html body .lhi-hero-vermietung.wp-block-cover .wp-block-cover__background {
        height: 25vh !important;
        min-height: 150px !important;
        max-height: 200px !important;
    }

    /* CLAUDE: Content minimal */
    html body .lhi-hero-vermietung.wp-block-cover .wp-block-cover__inner-container {
        padding: 1rem 0.75rem !important;
        padding-bottom: calc(1rem + 100px) !important;
    }

    /* CLAUDE: Titel für sehr kleine Bildschirme */
    .lhi-hero-vermietung h1 {
        font-size: 1.2rem !important;
        line-height: 1.3 !important;
    }

    /* CLAUDE: Untertitel minimiert */
    .lhi-hero-vermietung p:not(.lhi-hero-badge) {
        font-size: 0.8rem !important;
        line-height: 1.45 !important;
    }
}

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

@media (prefers-reduced-motion: reduce) {
    .lhi-hero-vermietung .wp-block-button__link {
        transition: none !important;
    }

    .lhi-hero-vermietung .wp-block-button__link:hover {
        transform: none !important;
    }
}

/* ========================================
   CLAUDE: PROZESS-TIMELINE (4 Schritte)
   ======================================== */

/* CLAUDE: Container für die Timeline */
.lhi-process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    position: relative;
    padding: 2rem 0;
    max-width: 1000px;
    margin: 0 auto;
}

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

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

/* CLAUDE: Icon-Container mit Nummer */
.lhi-process-icon {
    width: 64px;
    height: 64px;
    background: var(--lhi-color-white);
    border: 3px solid var(--lhi-color-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    box-shadow: var(--lhi-shadow-md);
    transition: transform var(--lhi-transition-normal),
                box-shadow var(--lhi-transition-normal);
}

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

.lhi-process-step:hover .lhi-process-icon {
    transform: scale(1.1);
    box-shadow: var(--lhi-shadow-lg);
    border-color: var(--lhi-color-accent);
}

.lhi-process-step:hover .lhi-process-icon svg {
    color: var(--lhi-color-accent);
}

/* CLAUDE: Schritt-Titel */
.lhi-process-title {
    font-family: var(--lhi-font-sans);
    font-size: 1rem;
    font-weight: 600;
    color: var(--lhi-color-text);
    margin-bottom: 0.5rem;
}

/* CLAUDE: Schritt-Beschreibung */
.lhi-process-desc {
    font-size: 0.875rem;
    color: var(--lhi-color-secondary);
    line-height: 1.5;
    max-width: 180px;
}

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

    .lhi-process-timeline::before {
        left: 32px;
        right: auto;
        top: 2rem;
        bottom: 2rem;
        width: 3px;
        height: auto;
    }

    .lhi-process-step {
        flex-direction: row;
        text-align: left;
        gap: 1rem;
    }

    .lhi-process-icon {
        flex-shrink: 0;
        margin-bottom: 0;
    }

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

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

/* ========================================
   CLAUDE: FEATURE-CARDS (Mieterauswahl)
   ======================================== */

/* CLAUDE: Grid-Container für Feature-Cards */
/* CLAUDE: v2.1 - Auf 4 Spalten erweitert für zusätzliche Soft Facts Card */
.lhi-feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* CLAUDE: Einzelne Feature-Card */
.lhi-feature-card {
    background: var(--lhi-color-white);
    border-radius: var(--lhi-radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: var(--lhi-shadow-md);
    transition: transform var(--lhi-transition-normal),
                box-shadow var(--lhi-transition-normal);
}

.lhi-feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--lhi-shadow-xl);
}

/* CLAUDE: Icon-Container in Feature-Card */
.lhi-feature-icon {
    width: 80px;
    height: 80px;
    background: var(--lhi-color-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: background var(--lhi-transition-normal);
}

.lhi-feature-card:hover .lhi-feature-icon {
    background: var(--lhi-color-gold);
}

.lhi-feature-icon svg {
    width: 36px;
    height: 36px;
    color: var(--lhi-color-gold);
    transition: color var(--lhi-transition-normal);
}

.lhi-feature-card:hover .lhi-feature-icon svg {
    color: var(--lhi-color-white);
}

/* CLAUDE: Feature-Card Titel */
.lhi-feature-title {
    font-family: var(--lhi-font-sans);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--lhi-color-text);
    margin-bottom: 0.75rem;
}

/* CLAUDE: Feature-Card Beschreibung */
.lhi-feature-desc {
    font-size: 0.9375rem;
    color: var(--lhi-color-secondary);
    line-height: 1.6;
}

/* CLAUDE: Tablet: 2 Spalten bei 4 Cards */
@media (max-width: 1024px) {
    .lhi-feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* CLAUDE: Mobile: 1 Spalte */
@media (max-width: 768px) {
    /* CLAUDE: FIX 2026-01-23 v2: Grid-Container - volle Breite, keine Manipulation */
    .lhi-feature-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        width: 100%;
        max-width: 100%;
        padding-inline: 0;
        margin-inline: 0;
        /* CLAUDE: Items horizontal zentrieren */
        justify-items: center;
    }

    /* CLAUDE: FIX 2026-01-23 v2: Feature-Cards - echte Zentrierung */
    .lhi-feature-card {
        /* CLAUDE: Responsive Breite: Viewport minus Padding */
        width: calc(100vw - 80px - 2rem);
        /* CLAUDE: 80px = Parent padding (40px links + 40px rechts) */
        /* CLAUDE: 2rem = zusätzlicher Abstand für Ästhetik */
        max-width: 320px;
        /* CLAUDE: ECHTE ZENTRIERUNG mit auto margins */
        margin-left: auto !important;
        margin-right: auto !important;
        box-sizing: border-box;
    }

    /* CLAUDE: FIX 2026-01-23 v2: TEXT-OVERFLOW VERHINDERN */
    /* CLAUDE: Lange deutsche Wörter wie "Mietschuldenfreiheitsbescheinigung" umbrechen */
    .lhi-feature-card,
    .lhi-feature-card p,
    .lhi-feature-card .lhi-feature-desc,
    .lhi-feature-card .lhi-feature-title {
        /* CLAUDE: Wörter umbrechen wenn nötig */
        overflow-wrap: break-word !important;
        word-wrap: break-word !important;
        /* CLAUDE: An beliebiger Stelle umbrechen bei Überlauf */
        word-break: break-word !important;
        /* CLAUDE: Silbentrennung für Deutsch aktivieren */
        hyphens: auto !important;
        -webkit-hyphens: auto !important;
        -ms-hyphens: auto !important;
    }

    /* CLAUDE: Card-Container Overflow verstecken als Sicherheit */
    .lhi-feature-card {
        overflow: hidden;
    }
}

/* CLAUDE: FIX 2026-01-23 v2: Sehr kleine Screens (iPhone SE, etc.) */
@media (max-width: 360px) {
    .lhi-feature-card {
        /* CLAUDE: Mehr Platz für Card auf kleinen Screens */
        width: calc(100vw - 80px - 1rem);
        max-width: none;
        padding: 1.5rem 1rem;
    }
}

/* CLAUDE: FIX 2026-01-23 v2: Mittlere Mobile (361-430px) */
@media (min-width: 361px) and (max-width: 430px) {
    .lhi-feature-card {
        /* CLAUDE: Optimale Breite für diese Range */
        width: calc(100vw - 80px - 2rem);
        max-width: 300px;
    }
}

/* CLAUDE: FIX 2026-01-23 v2: Größere Mobile (431-768px) */
@media (min-width: 431px) and (max-width: 768px) {
    .lhi-feature-card {
        /* CLAUDE: Größere max-width für breitere Screens */
        width: calc(100vw - 80px - 3rem);
        max-width: 340px;
    }
}

/* ========================================
   CLAUDE: FAQ ACCORDION
   ======================================== */

/* CLAUDE: FAQ-Container */
.lhi-faq-container {
    max-width: 800px;
    margin: 0 auto;
}

/* CLAUDE: Einzelnes FAQ-Item (details/summary) */
.lhi-faq-item {
    border: 1px solid var(--lhi-color-border);
    border-radius: var(--lhi-radius-md);
    margin-bottom: 0.75rem;
    overflow: hidden;
    background: var(--lhi-color-white);
}

/* CLAUDE: FAQ-Frage (summary) */
.lhi-faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    font-family: var(--lhi-font-sans);
    font-weight: 600;
    font-size: 1rem;
    color: var(--lhi-color-text);
    background: var(--lhi-color-white);
    transition: background var(--lhi-transition-fast);
    list-style: none;
}

.lhi-faq-question::-webkit-details-marker {
    display: none;
}

.lhi-faq-question:hover {
    background: var(--lhi-color-bg);
}

/* CLAUDE: Chevron-Icon */
.lhi-faq-chevron {
    width: 20px;
    height: 20px;
    color: var(--lhi-color-gold);
    transition: transform var(--lhi-transition-normal);
    flex-shrink: 0;
    margin-left: 1rem;
}

.lhi-faq-item[open] .lhi-faq-chevron {
    transform: rotate(180deg);
}

/* CLAUDE: FAQ-Antwort */
.lhi-faq-answer {
    padding: 0 1.5rem 1.5rem;
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--lhi-color-secondary);
}

.lhi-faq-answer p {
    margin: 0;
}

/* CLAUDE: Geöffneter Zustand */
.lhi-faq-item[open] .lhi-faq-question {
    background: var(--lhi-color-bg);
    border-bottom: 1px solid var(--lhi-color-border);
}

/* ========================================
   CLAUDE: SERVICE-GRID (Checkmarks)
   ======================================== */

/* CLAUDE: Service-Grid mit 2 Spalten */
.lhi-service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem 2rem;
    max-width: 800px;
    margin: 2rem auto;
}

/* CLAUDE: Einzelnes Service-Item */
.lhi-service-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

/* CLAUDE: Checkmark-Icon */
.lhi-service-check {
    width: 24px;
    height: 24px;
    color: var(--lhi-color-success);
    flex-shrink: 0;
    margin-top: 2px;
}

/* CLAUDE: Service-Text */
.lhi-service-text {
    font-size: 1rem;
    color: var(--lhi-color-text);
    line-height: 1.5;
}

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

/* ========================================
   CLAUDE: CTA-SEKTION OPTIMIERT
   ======================================== */

/* CLAUDE: CTA mit Gradient statt Gold-Hintergrund */
.lhi-cta-section {
    background: linear-gradient(135deg,
        var(--lhi-color-text) 0%,
        var(--lhi-color-secondary) 100%
    );
}

.lhi-cta-section h2,
.lhi-cta-section p {
    color: var(--lhi-color-white) !important;
}

.lhi-cta-section .wp-block-button__link {
    background: var(--lhi-color-gold) !important;
    color: var(--lhi-color-white) !important;
}

.lhi-cta-section .wp-block-button__link:hover {
    background: var(--lhi-color-gold-light) !important;
}

/* ========================================
   CLAUDE: SEKTIONS-TITEL STYLING
   ======================================== */

/* CLAUDE: Elegante Überschriften mit Unterlinien */
.lhi-section-title {
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
}

.lhi-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--lhi-color-gold);
    border-radius: 2px;
}

/* ========================================
   CLAUDE: UTILITY KLASSEN
   ======================================== */

/* CLAUDE: Zentrierter Container */
.lhi-container-narrow {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--lhi-container-padding);
    padding-right: var(--lhi-container-padding);
}

/* CLAUDE: Geo-Badge für regionale Hervorhebung */
.lhi-geo-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    background: var(--lhi-color-bg);
    border-radius: var(--lhi-radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--lhi-color-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
