/**
 * Pet Help – Hauptstylesheet
 * Farben: Primary #FF914D, Secondary #4F9DA6, BG #FFF8F2, Text #2B2B2B,
 * Accent #E8F6F3, Hover #FF6B35
 */

:root {
    --ph-primary: #ff914d;
    --ph-primary-dark: #e67d3a;
    --ph-secondary: #4f9da6;
    --ph-secondary-dark: #3d828a;
    --ph-bg: #fff8f2;
    --ph-text: #2b2b2b;
    --ph-accent: #e8f6f3;
    --ph-hover: #ff6b35;
    --ph-white: #ffffff;
    --ph-shadow: 0 14px 40px rgba(43, 43, 43, 0.08);
    --ph-shadow-hover: 0 24px 50px rgba(255, 107, 53, 0.16);
    --ph-radius: 1.25rem;
    --ph-radius-sm: 0.875rem;
    --ph-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --ph-font-head: "Poppins", system-ui, sans-serif;
    --ph-font-body: "Open Sans", system-ui, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--ph-font-body);
    color: var(--ph-text);
    background: var(--ph-bg);
    line-height: 1.65;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
.ph-heading {
    font-family: var(--ph-font-head);
    font-weight: 600;
    letter-spacing: -0.02em;
}

.ph-skip {
    position: absolute;
    left: 1rem;
    top: -100px;
    z-index: 2000;
    padding: 0.5rem 1rem;
    background: var(--ph-hover);
    color: #fff;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
}

.ph-skip:focus {
    top: 1rem;
}

/* ---------- Navbar ---------- */
.ph-header {
    position: sticky;
    top: 0;
    z-index: 1030;
}

.ph-navbar {
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(79, 157, 166, 0.15);
    box-shadow: 0 6px 24px rgba(43, 43, 43, 0.06);
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
    transition: box-shadow 0.35s var(--ph-ease);
}

.ph-navbar.ph-scrolled {
    box-shadow: 0 10px 36px rgba(43, 43, 43, 0.09);
}

.ph-nav-inner {
    position: relative;
}

.ph-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--ph-text) !important;
    text-decoration: none;
    font-family: var(--ph-font-head);
    font-weight: 700;
}

.ph-logo__mark {
    width: 2.65rem;
    height: 2.65rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--ph-radius-sm);
    background: linear-gradient(145deg, var(--ph-primary), var(--ph-secondary));
    color: #fff;
    font-size: 1.1rem;
    box-shadow: 0 8px 22px rgba(255, 145, 77, 0.35);
}

.ph-logo__mark--footer {
    box-shadow: none;
    width: 2.25rem;
    height: 2.25rem;
    font-size: 1rem;
}

.ph-logo__text {
    font-size: 1.15rem;
}

@media (min-width: 992px) {
    .ph-nav-center {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    .ph-nav-center .nav-link {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }
}

.ph-navbar .nav-link {
    color: var(--ph-text);
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
}

.ph-navbar .nav-link::after {
    content: "";
    position: absolute;
    left: 0.5rem;
    right: 0.5rem;
    bottom: 0.2rem;
    height: 2px;
    background: linear-gradient(90deg, var(--ph-primary), var(--ph-secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s var(--ph-ease);
    border-radius: 99px;
}

.ph-navbar .nav-link:hover::after,
.ph-navbar .nav-link.active::after {
    transform: scaleX(1);
}

.ph-navbar .nav-link.active {
    color: var(--ph-secondary-dark) !important;
}

.ph-toggler {
    border: none;
    border-radius: var(--ph-radius-sm);
    padding: 0.4rem 0.65rem;
    background: var(--ph-accent);
    box-shadow: var(--ph-shadow);
}

.ph-toggler .navbar-toggler-icon {
    --bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%232b2b2b' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.ph-btn-primary {
    background: var(--ph-primary);
    border: none;
    color: #fff !important;
    font-family: var(--ph-font-head);
    font-weight: 600;
    border-radius: 999px;
    padding: 0.55rem 1.25rem;
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 8px 24px rgba(255, 145, 77, 0.35);
}

.ph-btn-primary:hover {
    background: var(--ph-hover);
    transform: translateY(-2px);
    box-shadow: var(--ph-shadow-hover);
}

.ph-btn-outline {
    background: transparent;
    border: 2px solid var(--ph-secondary);
    color: var(--ph-secondary-dark);
    font-family: var(--ph-font-head);
    font-weight: 600;
    border-radius: 999px;
    padding: 0.5rem 1.2rem;
    transition: all 0.25s ease;
}

.ph-btn-outline:hover {
    background: var(--ph-secondary);
    color: #fff;
    border-color: var(--ph-secondary);
}

/* ---------- Hero ---------- */
.ph-hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    padding: 4.5rem 0 3.5rem;
    overflow: hidden;
}

.ph-hero__bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(125deg, var(--ph-accent) 0%, #fff 38%, #ffe8d6 72%, var(--ph-bg) 100%);
    background-size: 200% 200%;
    animation: phGrad 14s ease infinite;
    z-index: 0;
}

@keyframes phGrad {
    0%,
    100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.ph-hero__blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(55px);
    opacity: 0.45;
    z-index: 0;
}

.ph-hero__blob--1 {
    width: 320px;
    height: 320px;
    background: var(--ph-primary);
    top: -80px;
    right: 10%;
}

.ph-hero__blob--2 {
    width: 260px;
    height: 260px;
    background: var(--ph-secondary);
    bottom: 5%;
    left: 5%;
}

.ph-hero__content {
    position: relative;
    z-index: 2;
}

.ph-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.95rem;
    background: rgba(255, 255, 255, 0.86);
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--ph-secondary-dark);
    box-shadow: var(--ph-shadow);
}

.ph-hero h1 {
    font-size: clamp(2rem, 4.6vw, 3.35rem);
    line-height: 1.12;
    margin-bottom: 1rem;
}

.ph-hero__lead {
    font-size: 1.1rem;
    color: #444;
    max-width: 540px;
    margin-bottom: 1.75rem;
}

.ph-hero__img-wrap {
    position: relative;
    z-index: 2;
}

.ph-hero__img {
    border-radius: calc(var(--ph-radius) + 0.35rem);
    box-shadow: var(--ph-shadow-hover);
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 4/3;
}

.ph-hero__float {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border-radius: var(--ph-radius-sm);
    padding: 0.9rem 1.1rem;
    font-size: 0.88rem;
    box-shadow: var(--ph-shadow);
}

/* ---------- Sections ---------- */
.ph-section {
    padding: 4.5rem 0;
}

.ph-section--tint {
    background: var(--ph-accent);
}

.ph-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--ph-secondary);
}

.ph-card {
    background: var(--ph-white);
    border-radius: var(--ph-radius);
    border: 1px solid rgba(79, 157, 166, 0.14);
    box-shadow: var(--ph-shadow);
    padding: 1.75rem;
    height: 100%;
    transition: transform 0.35s var(--ph-ease), box-shadow 0.35s var(--ph-ease);
}

.ph-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--ph-shadow-hover);
}

.ph-card__icon {
    width: 3rem;
    height: 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.9rem;
    background: var(--ph-accent);
    color: var(--ph-secondary-dark);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.ph-service {
    border-radius: var(--ph-radius);
    overflow: hidden;
    background: #fff;
    box-shadow: var(--ph-shadow);
    height: 100%;
    transition: transform 0.35s var(--ph-ease);
}

.ph-service:hover {
    transform: translateY(-5px);
}

.ph-service img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.ph-service__body {
    padding: 1.35rem 1.5rem 1.5rem;
}

/* Recipe cards */
.ph-recipe {
    border-radius: var(--ph-radius);
    overflow: hidden;
    background: #fff;
    box-shadow: var(--ph-shadow);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.ph-recipe__img {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.ph-recipe__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s ease;
}

.ph-recipe:hover .ph-recipe__img img {
    transform: scale(1.05);
}

.ph-recipe__cat {
    position: absolute;
    top: 0.85rem;
    left: 0.85rem;
    background: rgba(255, 255, 255, 0.95);
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--ph-hover);
}

.ph-recipe__body {
    padding: 1.35rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.ph-recipe__steps {
    font-size: 0.85rem;
    color: #555;
}

/* Blog */
.ph-blog-card {
    border-radius: var(--ph-radius);
    overflow: hidden;
    background: #fff;
    box-shadow: var(--ph-shadow);
    height: 100%;
    transition: box-shadow 0.35s ease;
}

.ph-blog-card:hover {
    box-shadow: var(--ph-shadow-hover);
}

.ph-blog-card .thumb {
    aspect-ratio: 16/10;
    overflow: hidden;
}

.ph-blog-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s ease;
}

.ph-blog-card:hover img {
    transform: scale(1.04);
}

/* Testimonial */
.ph-quote {
    background: #fff;
    border-radius: var(--ph-radius);
    padding: 2rem;
    box-shadow: var(--ph-shadow);
    height: 100%;
    position: relative;
    border: 1px solid rgba(255, 145, 77, 0.12);
}

.ph-quote__avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--ph-accent);
}

/* Newsletter band */
.ph-news {
    background: linear-gradient(110deg, var(--ph-secondary) 0%, #2d7a82 48%, var(--ph-primary) 100%);
    border-radius: calc(var(--ph-radius) + 0.35rem);
    padding: 2.75rem 2rem;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.ph-news::before,
.ph-news::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
}
.ph-news::before {
    width: 200px;
    height: 200px;
    top: -70px;
    right: -40px;
}
.ph-news::after {
    width: 120px;
    height: 120px;
    bottom: -40px;
    left: 15%;
}

.ph-news .form-control {
    border-radius: 999px;
    border: none;
    padding: 0.75rem 1.25rem;
}

/* Footer */
.ph-footer {
    position: relative;
    background: linear-gradient(180deg, #2a2f35 0%, #1e2228 100%);
    color: #d6d8db;
    margin-top: 3rem;
}

.ph-footer__wave {
    height: 48px;
    background: var(--ph-bg);
    clip-path: ellipse(60% 100% at 50% 100%);
    margin-top: -47px;
}

.ph-footer__brand {
    font-family: var(--ph-font-head);
    font-weight: 700;
    font-size: 1.2rem;
    color: #fff;
}

.ph-footer__h {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 1rem;
}

.ph-footer__links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ph-footer__links a {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    font-size: 0.92rem;
    display: inline-block;
    padding: 0.2rem 0;
    transition: color 0.2s ease;
}

.ph-footer__links a:hover {
    color: var(--ph-primary);
}

.ph-footer__text {
    color: rgba(255, 255, 255, 0.72);
}

.ph-footer__hint {
    color: rgba(255, 255, 255, 0.48);
}

.ph-footer__hr {
    border-color: rgba(255, 255, 255, 0.12);
}

.ph-footer__bottom {
    color: rgba(255, 255, 255, 0.6);
}

.ph-tagline {
    color: var(--ph-primary);
    font-weight: 600;
}

.ph-social a {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    margin-right: 0.4rem;
    transition: background 0.25s ease, transform 0.25s ease;
}

.ph-social a:hover {
    background: var(--ph-primary);
    transform: translateY(-2px);
    color: #fff;
}

.ph-foot-newsletter .form-control {
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.ph-foot-newsletter .form-control::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

/* Scroll top */
.ph-top {
    position: fixed;
    right: 1.1rem;
    bottom: 1.1rem;
    z-index: 1040;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: var(--ph-primary);
    color: #fff;
    box-shadow: var(--ph-shadow-hover);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.2s;
}

.ph-top:hover {
    background: var(--ph-hover);
}

.ph-top.ph-top--show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Counters */
.ph-stat-num {
    font-family: var(--ph-font-head);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--ph-secondary-dark);
    line-height: 1;
}

.ph-stat-num.ph-counted {
    /* filled by JS */
}

/* Animations in view */
[data-ph-animate] {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.65s var(--ph-ease), transform 0.65s var(--ph-ease);
}

[data-ph-animate].ph-inview {
    opacity: 1;
    transform: none;
}

/* Pagination demo */
.ph-pagination .page-link {
    border-radius: 0.5rem;
    margin: 0 0.15rem;
    color: var(--ph-secondary-dark);
    border-color: rgba(79, 157, 166, 0.25);
}

.ph-pagination .page-item.active .page-link {
    background: var(--ph-secondary);
    border-color: var(--ph-secondary);
}

.ph-contact-card .ph-social a {
    background: var(--ph-accent);
    color: var(--ph-secondary-dark);
}

.ph-contact-card .ph-social a:hover {
    background: var(--ph-primary);
    color: #fff;
}

.ph-map {
    border-radius: var(--ph-radius);
    min-height: 300px;
    background: linear-gradient(135deg, var(--ph-accent), #ffe8d6);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    color: #555;
}

/* Policy */
.ph-policy h2 {
    font-size: 1.35rem;
    margin-top: 2rem;
}
.ph-policy h3 {
    font-size: 1.05rem;
    margin-top: 1.25rem;
}

@media (max-width: 991.98px) {
    .ph-hero {
        min-height: unset;
        padding-top: 5.5rem;
    }

    .ph-navbar .nav-link::after {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .ph-hero__bg {
        animation: none;
    }
    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
    }
    [data-ph-animate] {
        opacity: 1;
        transform: none;
    }
}
