/* ============================================
   Hund Stammbaum — Würfe Frontend
   Modern, Smart, Innovativ
   ============================================ */

:root {
    --wurf-primary: #1a2332;
    --wurf-secondary: #2d6bcf;
    --wurf-accent: #e8446d;
    --wurf-male: #3b82f6;
    --wurf-female: #ec4899;
    --wurf-bg: #f8fafc;
    --wurf-card: #ffffff;
    --wurf-text: #334155;
    --wurf-text-light: #94a3b8;
    --wurf-border: #e2e8f0;
    --wurf-radius: 16px;
    --wurf-radius-sm: 10px;
    --wurf-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    --wurf-shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
    --wurf-transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --wurf-glass: rgba(255, 255, 255, 0.12);
    --wurf-glass-border: rgba(255, 255, 255, 0.18);
}

/* ============================================
   WURF PAGE CONTAINER
   ============================================ */

.wrapper {
    margin-top: 0 !important;
}

.wurf-page {
    max-width: 1200px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--wurf-text);
    -webkit-font-smoothing: antialiased;
}

/* ============================================
   SECTION TITLE
   ============================================ */

.wurf-section__title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--wurf-primary);
    text-align: center;
    margin: 0 0 2.5rem;
    position: relative;
    letter-spacing: -0.02em;
}

.wurf-section__title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, var(--wurf-secondary), var(--wurf-accent));
    border-radius: 2px;
    margin: 12px auto 0;
}

/* ============================================
   HERO HEADER
   ============================================ */

.wurf-hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    border-radius: var(--wurf-radius);
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-color: var(--wurf-primary);
    margin-bottom: 0;
}

.wurf-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(10, 15, 26, 0.92) 0%,
        rgba(10, 15, 26, 0.5) 40%,
        rgba(10, 15, 26, 0.15) 100%
    );
    z-index: 1;
}

.wurf-hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 60px 30px 50px;
    max-width: 700px;
}

.wurf-hero__badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--wurf-secondary), var(--wurf-accent));
    color: #fff;
    padding: 6px 22px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
    box-shadow: 0 4px 15px rgba(45, 107, 207, 0.4);
}

.wurf-hero__title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 900;
    color: #fff;
    margin: 0 0 12px;
    letter-spacing: -0.03em;
    line-height: 1.15;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.wurf-hero__date {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    margin-bottom: 20px;
    font-weight: 500;
}

.wurf-hero__parents {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin: 0;
    font-weight: 500;
}

.wurf-hero__parent-male {
    color: var(--wurf-male);
    font-weight: 600;
}

.wurf-hero__parent-female {
    color: var(--wurf-female);
    font-weight: 600;
}

.wurf-hero__heart {
    display: inline-block;
    color: var(--wurf-accent);
    font-size: 1.3em;
    animation: wurf-heartbeat 1.5s ease-in-out infinite;
    margin: 0 6px;
}

@keyframes wurf-heartbeat {
    0%, 100% { transform: scale(1); }
    14% { transform: scale(1.2); }
    28% { transform: scale(1); }
    42% { transform: scale(1.15); }
    56% { transform: scale(1); }
}

/* Scroll Down Hint */
.wurf-hero__scroll-hint {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.wurf-hero__scroll-hint span {
    display: block;
    width: 24px;
    height: 24px;
    border-right: 2px solid rgba(255, 255, 255, 0.5);
    border-bottom: 2px solid rgba(255, 255, 255, 0.5);
    transform: rotate(45deg);
    animation: wurf-scroll-bounce 2s ease-in-out infinite;
}

@keyframes wurf-scroll-bounce {
    0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 0.4; }
    50% { transform: rotate(45deg) translate(6px, 6px); opacity: 1; }
}

/* ============================================
   STATS BAR
   ============================================ */

.wurf-stats {
    background: var(--wurf-card);
    margin: -30px 30px 40px;
    border-radius: var(--wurf-radius);
    box-shadow: var(--wurf-shadow-lg);
    position: relative;
    z-index: 3;
    overflow: hidden;
}

.wurf-stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--wurf-male), var(--wurf-accent), var(--wurf-female));
}

.wurf-stats__inner {
    display: flex;
    justify-content: center;
    gap: 0;
}

.wurf-stats__item {
    flex: 1;
    text-align: center;
    padding: 28px 20px;
    position: relative;
}

.wurf-stats__item + .wurf-stats__item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: var(--wurf-border);
}

.wurf-stats__number {
    display: block;
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 900;
    color: var(--wurf-primary);
    line-height: 1;
    margin-bottom: 6px;
}

.wurf-stats__item--male .wurf-stats__number {
    color: var(--wurf-male);
}

.wurf-stats__item--female .wurf-stats__number {
    color: var(--wurf-female);
}

.wurf-stats__label {
    font-size: 0.85rem;
    color: var(--wurf-text-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   ELTERNTIERE — PAARUNG VISUAL
   ============================================ */

.wurf-parents {
    padding: 0 20px 60px;
}

.wurf-parents__pairing {
    display: flex;
    align-items: stretch;
    gap: 0;
    max-width: 900px;
    margin: 0 auto;
}

.wurf-parent-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    border-radius: var(--wurf-radius);
    overflow: hidden;
    background: var(--wurf-card);
    box-shadow: var(--wurf-shadow);
    transition: transform var(--wurf-transition), box-shadow var(--wurf-transition);
}

.wurf-parent-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--wurf-shadow-lg);
}

.wurf-parent-card__image {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    flex: 1;
}

.wurf-parent-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.wurf-parent-card:hover .wurf-parent-card__image img {
    transform: scale(1.05);
}

.wurf-parent-card__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--wurf-bg), var(--wurf-border));
    font-size: 4rem;
    color: var(--wurf-text-light);
}

/* Glassmorphism Role Badge */
.wurf-parent-card__glass {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 14px 20px;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--wurf-glass-border);
}

.wurf-parent-card__role {
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.wurf-parent-card__info {
    padding: 18px 22px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.wurf-parent-card__gender {
    font-size: 1.4rem;
    line-height: 1;
}

.wurf-parent-card--vater .wurf-parent-card__gender {
    color: var(--wurf-male);
}

.wurf-parent-card--mutter .wurf-parent-card__gender {
    color: var(--wurf-female);
}

.wurf-parent-card__name {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--wurf-primary);
}

/* Heart Connector */
.wurf-parents__connector {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    flex-shrink: 0;
    align-self: center;
}

.wurf-parents__connector-line {
    width: 2px;
    height: 50px;
    background: linear-gradient(to bottom, transparent, var(--wurf-accent), transparent);
}

.wurf-parents__connector-heart {
    font-size: 2rem;
    color: var(--wurf-accent);
    animation: wurf-heartbeat 1.5s ease-in-out infinite;
    line-height: 1;
    padding: 8px 0;
    text-shadow: 0 0 20px rgba(232, 68, 109, 0.4);
}

/* ============================================
   INFO BLOCK
   ============================================ */

.wurf-info {
    padding: 0 20px 60px;
}

.wurf-info__card {
    max-width: 800px;
    margin: 0 auto;
    background: var(--wurf-card);
    border-radius: var(--wurf-radius);
    box-shadow: var(--wurf-shadow);
    padding: 35px;
    border: 1px solid var(--wurf-border);
}

.wurf-info__puppies {
    margin-bottom: 25px;
}

.wurf-info__group {
    margin-bottom: 16px;
}

.wurf-info__group:last-child {
    margin-bottom: 0;
}

.wurf-info__group-title {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0 0 10px;
}

.wurf-info__group-title--male {
    color: var(--wurf-male);
}

.wurf-info__group-title--female {
    color: var(--wurf-female);
}

.wurf-info__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.wurf-chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wurf-chip:hover {
    transform: translateY(-1px);
}

.wurf-chip--male {
    background: rgba(59, 130, 246, 0.1);
    color: var(--wurf-male);
    border: 1px solid rgba(59, 130, 246, 0.25);
}

.wurf-chip--male:hover {
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.wurf-chip--female {
    background: rgba(236, 72, 153, 0.1);
    color: var(--wurf-female);
    border: 1px solid rgba(236, 72, 153, 0.25);
}

.wurf-chip--female:hover {
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.15);
}

.wurf-info__text {
    color: var(--wurf-text);
    line-height: 1.8;
    font-size: 1.02rem;
    border-top: 1px solid var(--wurf-border);
    padding-top: 20px;
}

.wurf-info__text p {
    margin: 0 0 12px;
}

.wurf-info__text p:last-child {
    margin-bottom: 0;
}

/* ============================================
   WELPEN GALERIE
   ============================================ */

.wurf-gallery {
    padding: 0 20px 60px;
}

.wurf-gallery__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

/* Individual Puppy Card */
.wurf-puppy {
    border-radius: var(--wurf-radius);
    overflow: hidden;
    background: var(--wurf-card);
    box-shadow: var(--wurf-shadow);
    transition: transform var(--wurf-transition), box-shadow var(--wurf-transition);
    position: relative;
}

.wurf-puppy:hover {
    transform: translateY(-5px);
    box-shadow: var(--wurf-shadow-lg);
}

/* Gender accent bar */
.wurf-puppy::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 2;
}

.wurf-puppy--male::before {
    background: linear-gradient(90deg, var(--wurf-male), #60a5fa);
}

.wurf-puppy--female::before {
    background: linear-gradient(90deg, var(--wurf-female), #f472b6);
}

/* ============================================
   PUPPY CAROUSEL
   ============================================ */

.wurf-puppy__carousel {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--wurf-bg);
}

.wurf-puppy__slides {
    width: 100%;
    height: 100%;
    position: relative;
}

.wurf-puppy__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
    cursor: zoom-in;
}

.wurf-puppy__slide--active {
    opacity: 1;
}

.wurf-puppy__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Carousel Arrows */
.wurf-puppy__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #fff;
    font-size: 1.3rem;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s, background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0;
}

.wurf-puppy__carousel:hover .wurf-puppy__arrow {
    opacity: 1;
}

.wurf-puppy__arrow:hover {
    background: rgba(0, 0, 0, 0.65);
}

.wurf-puppy__arrow--prev { left: 10px; }
.wurf-puppy__arrow--next { right: 10px; }

/* Carousel Dots */
.wurf-puppy__dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 3;
}

.wurf-puppy__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}

.wurf-puppy__dot--active,
.wurf-puppy__dot:hover {
    background: #fff;
    transform: scale(1.3);
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
}

/* No photo placeholder */
.wurf-puppy__no-photo {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--wurf-text-light);
    background: linear-gradient(135deg, var(--wurf-bg), #e2e8f0);
}

/* Puppy Info */
.wurf-puppy__info {
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.wurf-puppy__gender-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 1rem;
    flex-shrink: 0;
}

.wurf-puppy__gender-badge--male {
    background: rgba(59, 130, 246, 0.12);
    color: var(--wurf-male);
}

.wurf-puppy__gender-badge--female {
    background: rgba(236, 72, 153, 0.12);
    color: var(--wurf-female);
}

.wurf-puppy__name {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--wurf-primary);
    flex: 1;
}

.wurf-puppy__photo-count {
    font-size: 0.78rem;
    color: var(--wurf-text-light);
    font-weight: 500;
    white-space: nowrap;
}

/* ============================================
   LIGHTBOX
   ============================================ */

.wurf-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.wurf-lightbox[aria-hidden="false"] {
    opacity: 1;
    visibility: visible;
}

.wurf-lightbox__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.wurf-lightbox__content {
    position: relative;
    z-index: 1;
    max-width: 92vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wurf-lightbox__img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.92);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.wurf-lightbox[aria-hidden="false"] .wurf-lightbox__img {
    transform: scale(1);
}

.wurf-lightbox__close {
    position: absolute;
    top: -48px;
    right: 0;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 1.8rem;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0;
}

.wurf-lightbox__close:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: rotate(90deg);
}

.wurf-lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0;
}

.wurf-lightbox__nav:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.wurf-lightbox__nav--prev { left: -70px; }
.wurf-lightbox__nav--next { right: -70px; }

.wurf-lightbox__caption {
    position: absolute;
    bottom: -40px;
    left: 0;
    right: 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* ============================================
   WÜRFE ÜBERSICHT — TIMELINE
   ============================================ */

.wuerfe-timeline {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Vertical line */
.wuerfe-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, transparent, var(--wurf-border) 5%, var(--wurf-border) 95%, transparent);
    transform: translateX(-50%);
}

.wuerfe-timeline__item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 50px;
    position: relative;
}

.wuerfe-timeline__item:last-child {
    margin-bottom: 0;
}

.wuerfe-timeline__item--left {
    flex-direction: row;
}

.wuerfe-timeline__item--right {
    flex-direction: row-reverse;
}

/* Timeline Node */
.wuerfe-timeline__node {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--wurf-secondary), var(--wurf-accent));
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 0 0 5px var(--wurf-bg), 0 4px 12px rgba(45, 107, 207, 0.3);
}

.wuerfe-timeline__node span {
    color: #fff;
    font-weight: 800;
    font-size: 0.95rem;
}

/* Timeline Card */
.wuerfe-timeline__card {
    width: calc(50% - 50px);
    background: var(--wurf-card);
    border-radius: var(--wurf-radius);
    overflow: hidden;
    box-shadow: var(--wurf-shadow);
    transition: transform var(--wurf-transition), box-shadow var(--wurf-transition);
}

.wuerfe-timeline__card:hover {
    transform: translateY(-4px);
    box-shadow: var(--wurf-shadow-lg);
}

.wuerfe-timeline__image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.wuerfe-timeline__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.wuerfe-timeline__card:hover .wuerfe-timeline__image img {
    transform: scale(1.05);
}

.wuerfe-timeline__image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.3), transparent);
}

.wuerfe-timeline__body {
    padding: 20px;
}

.wuerfe-timeline__header {
    margin-bottom: 10px;
}

.wuerfe-timeline__badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--wurf-secondary), var(--wurf-accent));
    color: #fff;
    padding: 3px 12px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.wuerfe-timeline__title {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--wurf-primary);
    margin: 0;
}

.wuerfe-timeline__meta {
    margin-bottom: 10px;
}

.wuerfe-timeline__date {
    font-size: 0.85rem;
    color: var(--wurf-text-light);
    font-weight: 500;
}

.wuerfe-timeline__parents {
    font-size: 0.95rem;
    color: var(--wurf-text);
    margin: 0 0 10px;
}

.wuerfe-timeline__parent--male { color: var(--wurf-male); font-weight: 600; }
.wuerfe-timeline__parent--female { color: var(--wurf-female); font-weight: 600; }
.wuerfe-timeline__x { color: var(--wurf-text-light); margin: 0 4px; }

.wuerfe-timeline__puppies {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.wuerfe-timeline__puppy-count {
    font-size: 0.82rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
}

.wuerfe-timeline__puppy-count--male {
    background: rgba(59, 130, 246, 0.1);
    color: var(--wurf-male);
}

.wuerfe-timeline__puppy-count--female {
    background: rgba(236, 72, 153, 0.1);
    color: var(--wurf-female);
}

/* ============================================
   EMPTY STATE
   ============================================ */

.wurf-empty {
    text-align: center;
    padding: 80px 30px;
    color: var(--wurf-text-light);
}

.wurf-empty__icon {
    display: block;
    font-size: 3.5rem;
    margin-bottom: 16px;
    opacity: 0.5;
}

.wurf-empty p {
    font-size: 1.1rem;
}

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */

.wurf-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.wurf-reveal--visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children */
.wurf-gallery__grid .wurf-puppy:nth-child(1) { transition-delay: 0s; }
.wurf-gallery__grid .wurf-puppy:nth-child(2) { transition-delay: 0.08s; }
.wurf-gallery__grid .wurf-puppy:nth-child(3) { transition-delay: 0.16s; }
.wurf-gallery__grid .wurf-puppy:nth-child(4) { transition-delay: 0.24s; }
.wurf-gallery__grid .wurf-puppy:nth-child(5) { transition-delay: 0.32s; }
.wurf-gallery__grid .wurf-puppy:nth-child(6) { transition-delay: 0.4s; }
.wurf-gallery__grid .wurf-puppy:nth-child(7) { transition-delay: 0.48s; }
.wurf-gallery__grid .wurf-puppy:nth-child(8) { transition-delay: 0.56s; }

/* ============================================
   RESPONSIVE
   ============================================ */


@media (max-width: 900px) {
    /* Timeline becomes single-column */
    .wuerfe-timeline::before {
        left: 22px;
    }

    .wuerfe-timeline__node {
        left: 22px;
        width: 36px;
        height: 36px;
    }

    .wuerfe-timeline__item--left,
    .wuerfe-timeline__item--right {
        flex-direction: row;
        padding-left: 60px;
    }

    .wuerfe-timeline__card {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .wurf-hero {
        min-height: 400px;
        border-radius: 0;
    }

    .wurf-hero__title {
        font-size: 1.8rem;
    }

    .wurf-hero__content {
        padding: 40px 20px 40px;
    }

    .wurf-stats {
        margin: -5px 15px 30px;
        border-radius: var(--wurf-radius-sm);
    }

    .wurf-stats__item {
        padding: 20px 12px;
    }

    /* Parents stacked */
    .wurf-parents__pairing {
        flex-direction: column;
        gap: 0;
    }

    .wurf-parents__connector {
        flex-direction: row;
        padding: 10px 0;
    }

    .wurf-parents__connector-line {
        width: 50px;
        height: 2px;
    }

    .wurf-parent-card__image {
        aspect-ratio: 16 / 10;
    }

    .wurf-gallery__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* Lightbox nav mobile */
    .wurf-lightbox__nav--prev { left: 10px; }
    .wurf-lightbox__nav--next { right: 10px; }
    .wurf-lightbox__close { top: 10px; right: 10px; }

    .wurf-lightbox__nav {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 700px) {
    .wurf-parent-card__name, .wurf-puppy__name {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }
}

@media (max-width: 480px) {
    .wurf-stats__inner {
        flex-direction: column;
    }

    .wurf-stats__item + .wurf-stats__item::before {
        left: 15%;
        top: 0;
        width: 70%;
        height: 1px;
    }

    .wurf-stats__item {
        padding: 16px;
    }

    .wurf-info__card {
        padding: 22px 18px;
    }
}

/* ============================================
   THEME: Doppeltes Featured Image auf Wurf-Seiten ausblenden
   ============================================ */

.single-wurf .featured-media,
.single-wurf .entry-title,
.single-wurf .post-title,
.single-wurf .page-title,
.single-wurf header.entry-header {
    display: none;
}

/* ============================================
   PRINT
   ============================================ */

@media print {
    .wurf-hero {
        min-height: auto;
        background: none !important;
    }

    .wurf-hero__overlay { display: none; }
    .wurf-hero__scroll-hint { display: none; }
    .wurf-lightbox { display: none; }

    .wurf-hero__content {
        color: #000;
    }

    .wurf-hero__title {
        color: #000;
        text-shadow: none;
    }

    .wurf-puppy,
    .wuerfe-timeline__card {
        box-shadow: none;
        border: 1px solid #ddd;
        break-inside: avoid;
    }

    .wurf-reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}
