/* -------------------------------------------------------
   GRUNDLAYOUT
------------------------------------------------------- */
body.ponyhof-hansen-standalone {
    margin: 0;
    background: #fffaf3;
    font-family: "Poppins", sans-serif;
    color: #4a3b32;
}

.ph-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 30px 20px 60px;
}

/* -------------------------------------------------------
   HERO
------------------------------------------------------- */
.ph-hero {
    background: linear-gradient(135deg, #ffb3c6, #ffe8a3);
    padding: 60px 30px 80px;
    border-radius: 24px;
    text-align: center;
    color: #4a3b32;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    margin-bottom: 40px;
}

.ph-logo img {
    width: 120px;
    height: auto;
    margin-bottom: 10px;
}

.ph-hero h1 {
    font-family: "Baloo 2", cursive;
    font-size: 3rem;
    margin: 0;
}

.ph-subtitle {
    font-size: 1.3rem;
    margin-top: 10px;
}

/* -------------------------------------------------------
   INTRO
------------------------------------------------------- */
.ph-intro {
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 50px;
}

/* -------------------------------------------------------
   PONYS
------------------------------------------------------- */
.ph-ponies h2,
.ph-offers h2,
.ph-info h2,
.ph-contact h2 {
    font-family: "Baloo 2", cursive;
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.ph-pony-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.ph-pony-card {
    background: #fff;
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

.ph-pony-img {
    width: 180px;
    height: 300px;
    margin: 0 auto 15px;
    background-size: cover;
    background-position: center;
    border-radius: 20px;
}

/* Pony-Bilder */
.ph-pony-1 { background-image: url('/wp-content/uploads/2026/04/luna-1.png'); }
.ph-pony-2 { background-image: url('/wp-content/uploads/2026/04/max-2-e1775863762137.png'); }
.ph-pony-3 { background-image: url('/wp-content/uploads/2026/04/flocke-1.png'); }

/* -------------------------------------------------------
   ANGEBOTE
------------------------------------------------------- */
.ph-offer-list {
    list-style: none;
    padding: 0;
    font-size: 1.2rem;
}

.ph-offer-list li {
    background: #e8faff;
    padding: 12px 18px;
    border-radius: 12px;
    margin-bottom: 10px;
}

/* -------------------------------------------------------
   INFO & KONTAKT
------------------------------------------------------- */
.ph-info p,
.ph-contact p {
    font-size: 1.2rem;
}

/* -------------------------------------------------------
   HEADERBILD
------------------------------------------------------- */
.ponyhof-hero {
    width: 100%;
    height: 480px;
    overflow: hidden;
    position: relative;
}

.ponyhof-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* -------------------------------------------------------
   NAVIGATION (DESKTOP)
------------------------------------------------------- */
.ponyhof-nav {
    width: 100%;
    background: linear-gradient(90deg, #f9e4c8 0%, #fff7e6 50%, #dff3ff 100%);
    border-bottom: 3px solid #8b5a2b;
    position: sticky;
    top: 0;
    z-index: 1000;
    font-family: "Comic Neue", "Segoe UI", sans-serif;
}

.ph-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
}

.ph-logo {
    font-size: 24px;
    font-weight: 700;
    color: #5e3c1d;
    text-decoration: none;
}

.ph-menu {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.ph-menu a {
    text-decoration: none;
    color: #5e3c1d;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s ease, transform 0.2s ease;
}

.ph-menu a:hover {
    color: #e58a2a;
    transform: scale(1.05);
}

/* Checkbox verstecken (nur Desktop) */
.ph-checkbox {
    display: none;
}

/* Hamburger-Button (nur Mobil sichtbar) */
.ph-toggle {
    display: none;
    font-size: 28px;
    color: #5e3c1d;
    cursor: pointer;
    user-select: none;
}

/* -------------------------------------------------------
   RESPONSIVE (MOBIL)
------------------------------------------------------- */
@media (max-width: 768px) {

    .ponyhof-hero {
        height: 280px;
    }

    .ph-menu {
        position: absolute;
        top: 60px;
        right: 20px;
        background: #fff7e6;
        border: 2px solid #8b5a2b;
        border-radius: 8px;
        padding: 10px;
        flex-direction: column;
        gap: 15px;
        display: none !important;
    }

    .ph-checkbox:checked ~ .ph-menu {
        display: flex !important;
    }

    .ph-toggle {
        display: block;
    }
}

/* -------------------------------------------------------
   KLEINERE ÜBERSCHRIFT
------------------------------------------------------- */
@media (max-width: 600px) {
    .ph-hero h1 {
        font-size: 2.4rem;
    }
}
/* --- Galerie Grid --- */
.ph-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.ph-gallery-grid figure {
    margin: 0;
    text-align: center;
}

.ph-gallery-grid img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.ph-gallery-grid img:hover {
    transform: scale(1.05);
}

.ph-gallery-grid figcaption {
    margin-top: 8px;
    font-size: 0.95rem;
    color: #5e3c1d;
}

/* --- Lightbox --- */
.ph-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(4px);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.ph-lightbox:target {
    display: flex;
}

.ph-lightbox img {
    max-width: 90%;
   max-height: 95vh; /* nutzt fast die gesamte Bildschirmhöhe */
    height: auto;
    width: auto;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0,0,0,0.4);
}

/* --- Close Button --- */
.ph-lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 40px;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

/* --- Slider Navigation --- */
.ph-lightbox-prev,
.ph-lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 50px;
    color: #fff;
    text-decoration: none;
    padding: 10px;
}

.ph-lightbox-prev { left: 40px; }
.ph-lightbox-next { right: 40px; }

.ph-lightbox-prev:hover,
.ph-lightbox-next:hover {
    color: #ffddaa;
}
/* Sticky Footer im Ponyhof-Look */
.ph-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 999;

    background: rgba(247, 243, 236, 0.92); /* warmes Naturbeige, leicht transparent */
    color: #5a3b1e; /* warmes Stall-/Holzbraun */
    text-align: center;
    padding: 14px 20px;
    font-size: 0.9rem;

    border-top: 3px solid #d8c9b6; /* natürliche, dezente Linie */
    box-shadow: 0 -4px 12px rgba(0,0,0,0.08); /* leichter Schatten für Tiefe */
    backdrop-filter: blur(6px); /* moderner, weicher Effekt */
}

/* Text */
.ph-footer p {
    margin: 0;
    line-height: 1.4;
    font-weight: 500;
}

/* Link im Footer */
.ph-footer a {
    color: #7a4f28; /* warmes Braun, gut lesbar */
    text-decoration: none;
    font-weight: 600;
    margin-left: 6px;
}

.ph-footer a:hover {
    text-decoration: underline;
}

/* Abstand zum Seiteninhalt, damit nichts verdeckt wird */
body.ponyhof-hansen-standalone {
    padding-bottom: 80px;
}
