/**
 * ============================================================================
 * landingpage-polish.css — Visual Polish-Pass v0.5.6
 * ============================================================================
 * Plugin:  dg-ferienhaus-ort-hund
 * Lädt:    NACH landingpage.css (Override-Layer)
 *
 * Zweck:
 * Verleiht der Landingpage visuellen Rhythmus und Premium-Anmutung ohne
 * die Templates anzufassen. Vier Hebel:
 *
 *   1. SECTION-RHYTHMUS — alternierende Backgrounds (weiß ↔ silber-tint)
 *      damit die Page nicht wie eine Bleiwüste wirkt
 *   2. SPACING — vergrößertes Padding zwischen Sektionen für mehr Atem
 *   3. SECTION-HEADERS — einheitliche Größenhierarchie + roter Akzent
 *   4. CARDS — stärkere Hover-States, runder, edler
 *
 * Mobile-Variante am Ende.
 *
 * Inhaltsverzeichnis:
 *   1. Section-Rhythmus (alternierende BGs)        Zeile  35 –  90
 *   2. Spacing & Sektion-Padding                   Zeile  92 – 145
 *   3. Section-Headers (H2 + Subtitle + Akzent)    Zeile 147 – 220
 *   4. Card-Polish (Häuser, POIs, DogFriendly…)    Zeile 222 – 305
 *   5. CTA-Footer Refinement                       Zeile 307 – 340
 *   6. Mobile (≤ 768px)                            Zeile 342 – 410
 * ============================================================================
 */

/* ============================================================================
   1. SECTION-RHYTHMUS — alternierende Backgrounds
   ============================================================================
   Strategie: Zebra-Pattern mit silbernem Glassmorphism-Tint.
   Hero (Bild), USP (weiß), Einleitung (silber), Search (weiß),
   Houses (silber), Map (weiß), Erleben (silber), DogFriendly (weiß),
   Prakt (silber), FAQ (weiß), Verwandte (silber), CTA (rot).
*/

.dg-fhoh-page {
    background: #ffffff;
}

/* SILBER-Sektionen — subtil aber deutlich genug für visuelle Trennung */
.dg-fhoh-einleitung,
.dg-fhoh-houses,
.dg-fhoh-erleben,
.dg-fhoh-prakt,
.dg-fhoh-verwandte {
    background:
        linear-gradient(180deg,
            #f8fafc 0%,
            #f1f5f9 50%,
            #f8fafc 100%);
    position: relative;
}

/* Subtile Trenn-Linie oben für die silbernen Sektionen */
.dg-fhoh-einleitung::before,
.dg-fhoh-houses::before,
.dg-fhoh-erleben::before,
.dg-fhoh-prakt::before,
.dg-fhoh-verwandte::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #dc2626, transparent);
    border-radius: 0 0 4px 4px;
}

/* WEISS-Sektionen — explizit weiß setzen damit nichts verschluckt wird */
.dg-fhoh-usp,
.dg-fhoh-search,
.dg-fhoh-map,
.dg-fhoh-dogfriendly,
.dg-fhoh-faq {
    background: #ffffff;
    position: relative;
}

/* ============================================================================
   2. SPACING & SEKTION-PADDING — mehr Atem
   ============================================================================ */

.dg-fhoh-einleitung {
    padding: 90px 24px 90px;
}

.dg-fhoh-houses,
.dg-fhoh-erleben,
.dg-fhoh-dogfriendly,
.dg-fhoh-prakt,
.dg-fhoh-verwandte {
    padding: 90px 24px 90px;
}

.dg-fhoh-faq {
    padding: 90px 24px 100px;
}

.dg-fhoh-map {
    padding: 90px 24px 90px;
}

.dg-fhoh-search {
    padding: 70px 24px 70px;
}

.dg-fhoh-usp {
    padding: 50px 24px 60px;
}

/* Mehr Abstand zwischen Section-Header und Inhalt */
.dg-fhoh-houses-header,
.dg-fhoh-erleben-header,
.dg-fhoh-dogfriendly-header,
.dg-fhoh-prakt-header,
.dg-fhoh-faq-header,
.dg-fhoh-verwandte-header,
.dg-fhoh-map-header {
    margin-bottom: 48px !important;
}

/* ============================================================================
   3. SECTION-HEADERS — einheitliche Hierarchie
   ============================================================================
   Wir vereinheitlichen ALLE H2-Sektion-Titel auf eine Größe und fügen
   einen roten Akzent darunter hinzu. Wirkt wie ein Designsystem.
*/

.dg-fhoh-houses-title,
.dg-fhoh-erleben-title,
.dg-fhoh-dogfriendly-title,
.dg-fhoh-prakt-title,
.dg-fhoh-faq-title,
.dg-fhoh-verwandte-title,
.dg-fhoh-map-title,
.dg-fhoh-search-title {
    font-size: clamp(26px, 3.2vw, 36px) !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    line-height: 1.2 !important;
    margin: 0 0 14px 0 !important;
    letter-spacing: -0.02em !important;
    text-align: center;
}

/* Subtitles unter den Section-Titeln */
.dg-fhoh-houses-subtitle,
.dg-fhoh-erleben-subtitle,
.dg-fhoh-dogfriendly-subtitle,
.dg-fhoh-prakt-subtitle,
.dg-fhoh-faq-subtitle,
.dg-fhoh-verwandte-subtitle,
.dg-fhoh-map-subtitle {
    font-size: 16px !important;
    color: #64748b !important;
    text-align: center;
    margin: 0 0 8px 0 !important;
    line-height: 1.5;
}

/* Roter Akzent-Strich unter jedem Section-Header */
.dg-fhoh-houses-header::after,
.dg-fhoh-erleben-header::after,
.dg-fhoh-dogfriendly-header::after,
.dg-fhoh-prakt-header::after,
.dg-fhoh-faq-header::after,
.dg-fhoh-verwandte-header::after,
.dg-fhoh-map-header::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: #dc2626;
    border-radius: 2px;
    margin: 18px auto 0;
}

/* Einleitungs-Card aufwerten — größer, mehr Schatten */
.dg-fhoh-einleitung-inner {
    max-width: 860px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 24px;
    padding: 48px 56px 52px;
    box-shadow:
        0 1px 3px rgba(15, 23, 42, 0.04),
        0 12px 32px rgba(15, 23, 42, 0.06);
}

.dg-fhoh-einleitung-body {
    font-size: 16.5px !important;
    line-height: 1.75 !important;
    color: #334155 !important;
}

.dg-fhoh-einleitung-body p {
    margin: 0 0 18px 0;
}
.dg-fhoh-einleitung-body p:last-child {
    margin-bottom: 0;
}

/* ============================================================================
   4. CARD-POLISH — runder, edler, stärkere Hover
   ============================================================================ */

/* Generisches Polish für alle Karten-artigen Elemente */
.dg-fhoh-houses-card,
.dg-fhoh-erleben-card,
.dg-fhoh-dogfriendly-card,
.dg-fhoh-prakt-card,
.dg-fhoh-verwandte-card,
.dg-fhoh-haus-card,
.dg-fhoh-poi-card {
    border-radius: 20px !important;
    overflow: hidden;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.25s ease;
    border: 1px solid #e2e8f0;
    background: #ffffff;
}

.dg-fhoh-houses-card:hover,
.dg-fhoh-erleben-card:hover,
.dg-fhoh-dogfriendly-card:hover,
.dg-fhoh-prakt-card:hover,
.dg-fhoh-verwandte-card:hover,
.dg-fhoh-haus-card:hover,
.dg-fhoh-poi-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 1px 3px rgba(15, 23, 42, 0.05),
        0 20px 40px rgba(15, 23, 42, 0.12);
    border-color: rgba(220, 38, 38, 0.25);
}

/* Block 9 — Praktische Infos: Cards größer, weniger gequetscht */
.dg-fhoh-prakt-grid {
    gap: 28px !important;
}

.dg-fhoh-prakt-card {
    padding: 36px 32px 32px !important;
    border-radius: 22px !important;
}

.dg-fhoh-prakt-card-icon {
    font-size: 42px !important;
    margin-bottom: 18px !important;
}

.dg-fhoh-prakt-card-title {
    font-size: 19px !important;
    margin-bottom: 14px !important;
}

.dg-fhoh-prakt-card-text {
    font-size: 15px !important;
    line-height: 1.7 !important;
}

/* Block 10 — FAQ: aufgewerteter Look, ruhigere Farben */
.dg-fhoh-faq-inner {
    max-width: 860px !important;
}

.dg-fhoh-faq-item {
    border-radius: 16px !important;
    border: 1px solid #e2e8f0 !important;
    background: #ffffff;
    transition: all 0.2s ease;
}

.dg-fhoh-faq-item[open] {
    border-color: #dc2626 !important;
    box-shadow: 0 6px 24px rgba(220, 38, 38, 0.08) !important;
}

.dg-fhoh-faq-question {
    padding: 22px 26px !important;
    font-size: 17px !important;
}

.dg-fhoh-faq-answer {
    padding: 8px 26px 26px 26px !important;
    font-size: 15.5px !important;
    line-height: 1.75 !important;
}

/* ============================================================================
   5. CTA-FOOTER REFINEMENT
   ============================================================================ */

.dg-fhoh-cta {
    padding: 90px 24px 100px !important;
    background: linear-gradient(180deg, #ffffff 0%, #fef2f2 100%);
}

.dg-fhoh-cta-inner {
    box-shadow:
        0 1px 3px rgba(15, 23, 42, 0.05),
        0 24px 60px rgba(220, 38, 38, 0.12) !important;
    border-radius: 28px !important;
    border: 1px solid rgba(220, 38, 38, 0.15) !important;
}

/* ============================================================================
   6. MOBILE (≤ 768px) — angepasstes Spacing, gleicher Rhythmus
   ============================================================================ */

@media (max-width: 768px) {

    /* Padding-Reduktion auf Mobile, aber Rhythmus bleibt */
    .dg-fhoh-einleitung,
    .dg-fhoh-houses,
    .dg-fhoh-erleben,
    .dg-fhoh-dogfriendly,
    .dg-fhoh-prakt,
    .dg-fhoh-verwandte,
    .dg-fhoh-faq,
    .dg-fhoh-map {
        padding: 56px 16px 56px;
    }

    .dg-fhoh-cta {
        padding: 56px 16px 70px !important;
    }

    .dg-fhoh-search {
        padding: 40px 16px 50px;
    }

    .dg-fhoh-usp {
        padding: 30px 16px 40px;
    }

    /* Section-Header Abstand kleiner */
    .dg-fhoh-houses-header,
    .dg-fhoh-erleben-header,
    .dg-fhoh-dogfriendly-header,
    .dg-fhoh-prakt-header,
    .dg-fhoh-faq-header,
    .dg-fhoh-verwandte-header,
    .dg-fhoh-map-header {
        margin-bottom: 32px !important;
    }

    /* Section-Titel etwas kleiner */
    .dg-fhoh-houses-title,
    .dg-fhoh-erleben-title,
    .dg-fhoh-dogfriendly-title,
    .dg-fhoh-prakt-title,
    .dg-fhoh-faq-title,
    .dg-fhoh-verwandte-title,
    .dg-fhoh-map-title,
    .dg-fhoh-search-title {
        font-size: 24px !important;
    }

    /* Einleitungs-Card */
    .dg-fhoh-einleitung-inner {
        padding: 32px 26px 36px;
        border-radius: 20px;
    }

    .dg-fhoh-einleitung-body {
        font-size: 15.5px !important;
        line-height: 1.7 !important;
    }

    /* Praktische Infos: 1 Spalte mit größeren Cards */
    .dg-fhoh-prakt-grid {
        gap: 16px !important;
    }

    .dg-fhoh-prakt-card {
        padding: 26px 24px 24px !important;
    }

    /* FAQ kompakter */
    .dg-fhoh-faq-question {
        padding: 18px 20px !important;
        font-size: 15.5px !important;
    }

    .dg-fhoh-faq-answer {
        padding: 6px 20px 22px 20px !important;
        font-size: 14.5px !important;
    }

    /* Card-Hover auf Mobile dezenter (kein Translate weil Touch) */
    .dg-fhoh-houses-card:hover,
    .dg-fhoh-erleben-card:hover,
    .dg-fhoh-dogfriendly-card:hover,
    .dg-fhoh-prakt-card:hover,
    .dg-fhoh-verwandte-card:hover {
        transform: none;
    }
}

/* ============================================================================
   7. v0.5.7 — 2-SPALTEN-ROWS (Compact Layout)
   ============================================================================
   Zwei Sektionen nebeneinander auf Desktop, gestapelt auf Tablet/Mobile.
   Die enthaltenen Blocks verlieren ihren eigenen Section-BG/Padding und
   werden vom Row-Wrapper kontrolliert.

   Row A: Einleitung ↔ Karte
   Row B: Erleben ↔ DogFriendly
*/

.dg-fhoh-row-2col {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 90px 24px;
    align-items: stretch;
    position: relative;
}

/* Roter Akzent oben — wie bei den anderen silbernen Sektionen */
.dg-fhoh-row-2col::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #dc2626, transparent);
    border-radius: 0 0 4px 4px;
}

/* Innere Sections werden zu Spalten — eigene Backgrounds wegnehmen */
.dg-fhoh-row-2col > section {
    flex: 1 1 calc(50% - 16px);
    min-width: 380px;
    max-width: calc(50% - 16px);
    background: #ffffff !important;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 40px 36px !important;
    margin: 0 !important;
    box-shadow:
        0 1px 3px rgba(15, 23, 42, 0.04),
        0 12px 32px rgba(15, 23, 42, 0.06);
}

/* ::before der inneren Sections unterdrücken (sonst doppelte rote Akzente) */
.dg-fhoh-row-2col > section::before {
    display: none !important;
}

/* Einleitungs-Card-Wrapper innen aufheben (war doppelt) */
.dg-fhoh-row-einleitung-karte .dg-fhoh-einleitung-inner {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    max-width: none;
}

/* Karte in Row: nimmt verfügbare Höhe ein */
.dg-fhoh-row-einleitung-karte .dg-fhoh-map-inner,
.dg-fhoh-row-einleitung-karte .dg-fhoh-map-container {
    height: 100% !important;
    min-height: 380px;
}

/* Erleben + DogFriendly in Row: 2x2 Grid statt 3x3 */
.dg-fhoh-row-erleben-dogfriendly .dg-fhoh-erleben-grid,
.dg-fhoh-row-erleben-dogfriendly .dg-fhoh-dogfriendly-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px !important;
}

/* Cards in den Row-Sektionen: kleiner und kompakter */
.dg-fhoh-row-erleben-dogfriendly .dg-fhoh-erleben-card,
.dg-fhoh-row-erleben-dogfriendly .dg-fhoh-dogfriendly-card {
    border-radius: 14px !important;
}

.dg-fhoh-row-erleben-dogfriendly .dg-fhoh-erleben-card img,
.dg-fhoh-row-erleben-dogfriendly .dg-fhoh-dogfriendly-card img {
    height: 130px !important;
    object-fit: cover;
}

/* Section-Titel in Row-Sektionen kleiner und linksbündig */
.dg-fhoh-row-2col .dg-fhoh-erleben-title,
.dg-fhoh-row-2col .dg-fhoh-dogfriendly-title,
.dg-fhoh-row-2col .dg-fhoh-map-title {
    font-size: clamp(20px, 2vw, 26px) !important;
    text-align: left !important;
}

.dg-fhoh-row-2col .dg-fhoh-erleben-header,
.dg-fhoh-row-2col .dg-fhoh-dogfriendly-header,
.dg-fhoh-row-2col .dg-fhoh-map-header {
    text-align: left !important;
    margin-bottom: 24px !important;
}

.dg-fhoh-row-2col .dg-fhoh-erleben-header::after,
.dg-fhoh-row-2col .dg-fhoh-dogfriendly-header::after,
.dg-fhoh-row-2col .dg-fhoh-map-header::after {
    margin-left: 0 !important;
    margin-right: auto !important;
}

.dg-fhoh-row-2col .dg-fhoh-erleben-subtitle,
.dg-fhoh-row-2col .dg-fhoh-dogfriendly-subtitle,
.dg-fhoh-row-2col .dg-fhoh-map-subtitle {
    text-align: left !important;
}

/* Einleitung in der Row */
.dg-fhoh-row-einleitung-karte .dg-fhoh-einleitung-body {
    font-size: 16px !important;
    line-height: 1.7 !important;
}

/* ============================================================================
   8. v0.5.7 — Kompaktere Verwandte Orte
   ============================================================================ */

.dg-fhoh-verwandte-grid {
    grid-template-columns: repeat(6, 1fr) !important;
    gap: 16px !important;
}

.dg-fhoh-verwandte-card {
    border-radius: 14px !important;
}

.dg-fhoh-verwandte-card img {
    height: 100px !important;
    object-fit: cover;
}

.dg-fhoh-verwandte-card-name {
    font-size: 14px !important;
}

.dg-fhoh-verwandte-card-meta {
    font-size: 12px !important;
}

/* ============================================================================
   9. v0.5.7 — Mobile Anpassungen für Compact Layout
   ============================================================================ */

@media (max-width: 1024px) {
    /* Tablet & kleiner: 2-Spalten-Rows werden gestapelt */
    .dg-fhoh-row-2col {
        flex-direction: column;
        gap: 24px;
        padding: 60px 16px;
    }

    .dg-fhoh-row-2col > section {
        flex: 1 1 100%;
        min-width: 0;
        max-width: 100%;
        padding: 32px 28px !important;
    }

    /* Erleben/DF auf Mobile: weiter 2 Spalten innen */
    .dg-fhoh-row-erleben-dogfriendly .dg-fhoh-erleben-grid,
    .dg-fhoh-row-erleben-dogfriendly .dg-fhoh-dogfriendly-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* Verwandte Orte: 3 Spalten auf Tablet */
    .dg-fhoh-verwandte-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

/* ============================================================================
   10. v0.5.7 — Top Häuser: Prominenter "Alle ansehen"-Button
   ============================================================================
   Der bisherige Link unter dem Reveal-Button wird zu einem prominenten
   roten Button, da v0.5.7 nur 6 Häuser initial zeigt.
*/

.dg-fhoh-houses-allhouses {
    text-align: center;
    margin-top: 36px;
}

.dg-fhoh-houses-allhouses a {
    display: inline-block;
    background: #dc2626;
    color: #ffffff !important;
    text-decoration: none !important;
    font-weight: 700;
    font-size: 16px;
    padding: 16px 36px;
    border-radius: 100px;
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.dg-fhoh-houses-allhouses a:hover {
    background: #b91c1c;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(220, 38, 38, 0.32);
}

/* Reveal-Button etwas dezenter dafür */
.dg-fhoh-houses-loadmore-btn {
    background: #ffffff !important;
    color: #475569 !important;
    border: 1.5px solid #e2e8f0 !important;
    transition: all 0.2s ease;
}

.dg-fhoh-houses-loadmore-btn:hover {
    border-color: #dc2626 !important;
    color: #dc2626 !important;
}

@media (max-width: 640px) {
    .dg-fhoh-row-erleben-dogfriendly .dg-fhoh-erleben-card img,
    .dg-fhoh-row-erleben-dogfriendly .dg-fhoh-dogfriendly-card img {
        height: 100px !important;
    }

    /* Verwandte Orte: 2 Spalten auf Phone */
    .dg-fhoh-verwandte-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .dg-fhoh-row-2col > section {
        padding: 26px 22px !important;
    }

    /* Allhouses-Button auf Mobile noch prominent */
    .dg-fhoh-houses-allhouses a {
        padding: 14px 28px;
        font-size: 15px;
        display: block;
        max-width: 320px;
        margin: 0 auto;
    }
}

/* ============================================================================
   ============================================================================
   v0.5.8 — BUG-FIX + DRASTISCHE VERKLEINERUNG
   ============================================================================
   ============================================================================
   1. BUG: Card-Image hatte aspect-ratio 4/3 → bei 250px Card-Breite
      wurde der Container 187px hoch, das Image aber nur 130px (mein
      height-override) → 57px weißer Raum unter dem Bild
   2. USP-Tiles waren riesig (Number 36px, Padding 28x24)
   3. Search-Widget zu pompös
   4. Einleitung/Karte hatten unterschiedliche Höhen (ungleiche Spalten)
   5. Erleben/DF Cards in Row noch zu groß
*/

/* ----------------------------------------------------------------------------
   1. BUG-FIX — Card-Image-Container aspect-ratio überschreiben
   ---------------------------------------------------------------------------- */

.dg-fhoh-row-erleben-dogfriendly .dg-fhoh-erleben-card-image,
.dg-fhoh-row-erleben-dogfriendly .dg-fhoh-dogfriendly-card-image {
    aspect-ratio: 16 / 10 !important;  /* statt 4/3 */
    height: auto !important;
}

/* Bilder füllen den Container */
.dg-fhoh-row-erleben-dogfriendly .dg-fhoh-erleben-card-image img,
.dg-fhoh-row-erleben-dogfriendly .dg-fhoh-dogfriendly-card-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

/* Title-Min-Height entfernen (wirkte wie zusätzlicher Whitespace) */
.dg-fhoh-row-erleben-dogfriendly .dg-fhoh-erleben-card-title,
.dg-fhoh-row-erleben-dogfriendly .dg-fhoh-dogfriendly-card-title {
    min-height: 0 !important;
    font-size: 14px !important;
    margin: 0 0 6px 0 !important;
    -webkit-line-clamp: 2 !important;
}

/* Card-Body kompakter */
.dg-fhoh-row-erleben-dogfriendly .dg-fhoh-erleben-card-body,
.dg-fhoh-row-erleben-dogfriendly .dg-fhoh-dogfriendly-card-body {
    padding: 12px 14px 14px !important;
}

/* CTA-Link kleiner */
.dg-fhoh-row-erleben-dogfriendly .dg-fhoh-erleben-card-cta,
.dg-fhoh-row-erleben-dogfriendly .dg-fhoh-dogfriendly-card-cta {
    font-size: 12px !important;
}

/* Ort-Anzeige bei DF-Card kleiner */
.dg-fhoh-row-erleben-dogfriendly .dg-fhoh-dogfriendly-card-ort {
    font-size: 12px !important;
    margin: 0 0 6px 0 !important;
}

/* Distance-Badge kleiner */
.dg-fhoh-row-erleben-dogfriendly .dg-fhoh-erleben-distance,
.dg-fhoh-row-erleben-dogfriendly .dg-fhoh-dogfriendly-distance {
    font-size: 11px !important;
    padding: 4px 9px !important;
    top: 8px !important;
    right: 8px !important;
}

/* Kategorie-Badge bei DF-Card auch kleiner */
.dg-fhoh-row-erleben-dogfriendly .dg-fhoh-dogfriendly-card-badge {
    font-size: 10px !important;
    padding: 4px 9px !important;
    top: 8px !important;
    left: 8px !important;
}

/* Card-Border-Radius im Row kompakter */
.dg-fhoh-row-erleben-dogfriendly .dg-fhoh-erleben-card,
.dg-fhoh-row-erleben-dogfriendly .dg-fhoh-dogfriendly-card {
    border-radius: 12px !important;
}

/* ----------------------------------------------------------------------------
   2. USP-TILES drastisch verkleinern (v0.5.10: noch flacher)
   ---------------------------------------------------------------------------- */

.dg-fhoh-usp {
    padding: 24px 24px 24px !important;
    margin-top: -28px !important;
}

.dg-fhoh-usp-inner {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 12px !important;
    max-width: 1100px !important;
}

.dg-fhoh-usp-card {
    padding: 14px 18px !important;
    border-radius: 14px !important;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06),
                0 1px 3px rgba(15, 23, 42, 0.04) !important;
    /* Horizontal-Layout: Icon links, Text-Block rechts */
    display: flex !important;
    align-items: center !important;
    text-align: left !important;
    gap: 14px !important;
}

.dg-fhoh-usp-icon {
    width: 42px !important;
    height: 42px !important;
    margin: 0 !important;
    border-radius: 11px !important;
    flex-shrink: 0 !important;
}

.dg-fhoh-usp-icon svg,
.dg-fhoh-usp-icon img {
    width: 20px !important;
    height: 20px !important;
}

/* Text-Block rechts vom Icon (Wrapper aus dem Template) */
.dg-fhoh-usp-text {
    display: flex;
    flex-direction: column;
    min-width: 0; /* erlaubt text-overflow */
    flex: 1;
}

.dg-fhoh-usp-number {
    font-size: 22px !important;
    font-weight: 800 !important;
    color: #dc2626 !important;
    line-height: 1.1 !important;
    margin: 0 0 2px 0 !important;
    letter-spacing: -0.02em !important;
    font-variant-numeric: tabular-nums !important;
    text-align: left !important;
}

.dg-fhoh-usp-number-small {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    line-height: 1.2 !important;
    margin: 0 0 2px 0 !important;
    text-align: left !important;
}

.dg-fhoh-usp-label {
    font-size: 11px !important;
    line-height: 1.3 !important;
    color: #64748b !important;
    margin: 0 !important;
    text-align: left !important;
}

.dg-fhoh-usp-label small {
    font-size: 10px !important;
    display: block;
    margin-top: 1px;
    color: #94a3b8;
}

/* ----------------------------------------------------------------------------
   3. v0.5.12 — SCHMALE SUCHBAR (kompletter Rewrite)
   ----------------------------------------------------------------------------
   Eine schmale Suchbar mit Anreise (optional), Dauer, Personen, Button —
   alles in einer Zeile. Kein Toggle mehr, kein Card-Wrapper, kein Heading.
*/

.dg-fhoh-search {
    padding: 24px 24px 36px !important;
    background: #ffffff !important;
}

.dg-fhoh-search-wrap {
    max-width: 1080px;
    margin: 0 auto;
}

/* === Die Suchbar selbst === */
.dg-fhoh-search-bar {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.1fr auto;
    gap: 0;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 6px 6px 6px 0;
    box-shadow:
        0 1px 3px rgba(15, 23, 42, 0.04),
        0 12px 32px rgba(15, 23, 42, 0.06);
    align-items: stretch;
}

.dg-fhoh-search-cell {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10px 18px;
    border-right: 1px solid #f1f5f9;
    min-width: 0;
    transition: background 0.15s ease;
}

.dg-fhoh-search-cell:hover {
    background: #f8fafc;
}

.dg-fhoh-search-cell label {
    font-size: 10px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #94a3b8 !important;
    margin: 0 0 2px 0 !important;
    line-height: 1 !important;
    pointer-events: none;
}

.dg-fhoh-search-cell input,
.dg-fhoh-search-cell select {
    width: 100% !important;
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #1e293b !important;
    line-height: 1.4 !important;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    box-shadow: none !important;
    outline: none !important;
    min-height: 22px;
}

.dg-fhoh-search-cell input:focus,
.dg-fhoh-search-cell select:focus {
    outline: none !important;
    box-shadow: none !important;
}

.dg-fhoh-search-cell input[type="date"] {
    font-family: inherit !important;
}

.dg-fhoh-search-cell input[type="date"]:invalid,
.dg-fhoh-search-cell input[type="date"][value=""] {
    color: #94a3b8 !important;
    font-weight: 500 !important;
}

/* Dauer-Cell wird gemutet wenn keine Anreise gesetzt ist */
.dg-fhoh-search-cell--duration.is-muted select {
    color: #cbd5e1 !important;
}
.dg-fhoh-search-cell--duration.is-muted label {
    color: #cbd5e1 !important;
}

.dg-fhoh-search-cell--duration.is-active {
    background: #fef9f9;
}

/* Custom Dropdown-Pfeil für Selects */
.dg-fhoh-search-cell--duration,
.dg-fhoh-search-cell--persons {
    position: relative;
}
.dg-fhoh-search-cell--duration::after,
.dg-fhoh-search-cell--persons::after {
    content: "";
    position: absolute;
    right: 14px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: 2px solid #94a3b8;
    border-bottom: 2px solid #94a3b8;
    transform: translateY(-70%) rotate(45deg);
    pointer-events: none;
}
.dg-fhoh-search-cell--duration select,
.dg-fhoh-search-cell--persons select {
    padding-right: 18px !important;
}

/* Submit-Button — direkt in der Bar, rechts angedockt */
.dg-fhoh-search-btn {
    border: none !important;
    background: #dc2626 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    padding: 0 28px !important;
    border-radius: 12px !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.25) !important;
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease !important;
    white-space: nowrap;
    margin: 0 !important;
}

.dg-fhoh-search-btn:hover {
    background: #b91c1c !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(220, 38, 38, 0.32) !important;
}

.dg-fhoh-search-btn svg {
    flex-shrink: 0;
}

/* Hint-Zeile darunter */
.dg-fhoh-search-hint-mini {
    font-size: 12px !important;
    color: #64748b !important;
    text-align: center;
    margin: 12px 0 0 0 !important;
    line-height: 1.5;
}

.dg-fhoh-search-hint-mini strong {
    color: #1e293b;
    font-weight: 700;
}

/* === Filter-Chips als zweite Zeile === */
.dg-fhoh-search-chips {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
}

.dg-fhoh-search-chips-label {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.dg-fhoh-search-chips-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.dg-fhoh-search-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 14px !important;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: #475569 !important;
    text-decoration: none !important;
    transition: all 0.15s ease;
}

.dg-fhoh-search-chip:hover {
    background: #ffffff;
    border-color: #dc2626;
    color: #dc2626 !important;
    transform: translateY(-1px);
}

.dg-fhoh-search-chip.is-active {
    background: #dc2626;
    border-color: #dc2626;
    color: #ffffff !important;
}

.dg-fhoh-search-chip-icon {
    font-size: 14px;
    line-height: 1;
}

.dg-fhoh-search-reset-link {
    font-size: 12px;
    color: #64748b !important;
    text-decoration: none !important;
    margin-left: 8px;
}
.dg-fhoh-search-reset-link:hover {
    color: #dc2626 !important;
}

/* === Mobile === */
@media (max-width: 768px) {
    .dg-fhoh-search {
        padding: 18px 14px 30px !important;
    }

    .dg-fhoh-search-bar {
        grid-template-columns: 1fr 1fr;
        padding: 6px;
        gap: 4px;
    }

    .dg-fhoh-search-cell {
        border-right: none;
        background: #f8fafc;
        border-radius: 10px;
        padding: 10px 14px;
    }

    .dg-fhoh-search-cell--date {
        grid-column: 1 / -1;
    }

    .dg-fhoh-search-btn {
        grid-column: 1 / -1;
        padding: 12px 20px !important;
        justify-content: center;
        margin-top: 4px !important;
        border-radius: 10px !important;
    }

    .dg-fhoh-search-hint-mini {
        font-size: 11px !important;
        margin-top: 10px !important;
        padding: 0 8px;
    }

    .dg-fhoh-search-chips {
        margin-top: 14px;
        padding-top: 14px;
    }

    .dg-fhoh-search-chips-label {
        width: 100%;
        text-align: center;
        margin-bottom: 4px;
    }

    .dg-fhoh-search-chips-list {
        justify-content: center;
        width: 100%;
    }
}

/* ----------------------------------------------------------------------------
   4. EINLEITUNG ↔ KARTE — gleiche Höhe, kompakter
   ---------------------------------------------------------------------------- */

.dg-fhoh-row-2col {
    align-items: stretch !important;
}

.dg-fhoh-row-2col > section {
    display: flex !important;
    flex-direction: column !important;
    padding: 32px 32px !important;
}

/* Einleitung kompakter (innen) */
.dg-fhoh-row-einleitung-karte .dg-fhoh-einleitung-body {
    font-size: 15px !important;
    line-height: 1.65 !important;
    flex: 1;
}

.dg-fhoh-row-einleitung-karte .dg-fhoh-einleitung-body p {
    margin-bottom: 12px !important;
}

/* Karten-Section: Inhalt füllt verfügbare Höhe */
.dg-fhoh-row-einleitung-karte .dg-fhoh-map,
.dg-fhoh-row-einleitung-karte .dg-fhoh-map-inner {
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
}

.dg-fhoh-row-einleitung-karte .dg-fhoh-map-container,
.dg-fhoh-row-einleitung-karte #dg-fhoh-map,
.dg-fhoh-row-einleitung-karte .leaflet-container {
    flex: 1 !important;
    min-height: 420px !important;
    height: auto !important;
}

/* Falls die Karte einen Header hat: kompakter */
.dg-fhoh-row-einleitung-karte .dg-fhoh-map-header {
    margin-bottom: 14px !important;
}

/* ----------------------------------------------------------------------------
   5. TOP HÄUSER kompakter
   ---------------------------------------------------------------------------- */

.dg-fhoh-houses {
    padding: 50px 24px 60px !important;
}

.dg-fhoh-houses-header {
    margin-bottom: 30px !important;
}

.dg-fhoh-house-card-image,
.dg-fhoh-houses-card-image {
    aspect-ratio: 16 / 11 !important;
}

/* Card-Body kompakter */
.dg-fhoh-house-card-body,
.dg-fhoh-houses-card-body {
    padding: 14px 16px 16px !important;
}

/* ----------------------------------------------------------------------------
   6. VERWANDTE ORTE noch kompakter
   ---------------------------------------------------------------------------- */

.dg-fhoh-verwandte-card-image {
    aspect-ratio: 16 / 10 !important;
}

.dg-fhoh-verwandte-card-image img {
    width: 100% !important;
    height: 100% !important;
}

.dg-fhoh-verwandte {
    padding: 60px 24px 60px !important;
}

/* ----------------------------------------------------------------------------
   7. SECTION-PADDING generell etwas reduzieren (war 90px → jetzt 60-70px)
   ---------------------------------------------------------------------------- */

.dg-fhoh-houses,
.dg-fhoh-erleben,
.dg-fhoh-dogfriendly,
.dg-fhoh-prakt,
.dg-fhoh-verwandte,
.dg-fhoh-faq,
.dg-fhoh-map {
    padding: 60px 24px 60px;
}

.dg-fhoh-row-2col {
    padding: 60px 24px !important;
}

.dg-fhoh-cta {
    padding: 60px 24px 70px !important;
}

/* ----------------------------------------------------------------------------
   8. v0.5.8 — Mobile Anpassungen für die neuen Compact-Werte
   ---------------------------------------------------------------------------- */

@media (max-width: 1024px) {
    .dg-fhoh-usp-inner {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Auf sehr kleinen Phones: 1 Spalte (vertikal gestapelt, jede Card bleibt horizontal) */
@media (max-width: 520px) {
    .dg-fhoh-usp-inner {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }
}

/* ============================================================================
   ============================================================================
   v0.5.9 — Whitespace zwischen YooTheme-Header und Hero killen
   ============================================================================
   ============================================================================
   YooTheme Pro fügt am Body/Container Standard-Padding/Margin hinzu
   (.tm-content, .tm-main, .uk-section, .tm-page-content). Auf der FHOH-
   Landingpage wollen wir edge-to-edge Hero direkt unter dem Menü.
   Wir nutzen :has() (Chrome 105+, Safari 15.4+, Firefox 121+) um nur
   zu greifen wenn die Page tatsächlich aktiv ist. Fallback: keiner
   nötig — auf älteren Browsern bleibt der Spalt einfach drin.
*/

body:has(.dg-fhoh-page) .tm-content,
body:has(.dg-fhoh-page) .tm-main,
body:has(.dg-fhoh-page) .uk-section,
body:has(.dg-fhoh-page) .tm-page-content,
body:has(.dg-fhoh-page) .tm-main > .uk-container,
body:has(.dg-fhoh-page) main.tm-main {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

body:has(.dg-fhoh-page) .tm-main > .uk-container {
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Sicherheitshalber auch auf der .dg-fhoh-page selbst */
.dg-fhoh-page {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

@media (max-width: 768px) {
    .dg-fhoh-usp {
        padding: 20px 16px 24px !important;
        margin-top: -24px !important;
    }

    .dg-fhoh-usp-card {
        padding: 14px 14px !important;
    }

    .dg-fhoh-usp-number {
        font-size: 22px !important;
    }

    /* Karte auf Mobile niedriger */
    .dg-fhoh-row-einleitung-karte .dg-fhoh-map-container,
    .dg-fhoh-row-einleitung-karte #dg-fhoh-map,
    .dg-fhoh-row-einleitung-karte .leaflet-container {
        min-height: 300px !important;
    }
}
