/* Startseite – nach dem freigegebenen Entwurf (Board „Startseite komplett", 18.11.2026).
   Nur auf der Startseite geladen, nach design.css. */

/* ---------- Hero ---------- */
.pwh-hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    color: #FFFFFF;
}

.pwh-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background: url("../images/hero-wein.webp") center 40% / cover no-repeat;
    transform-origin: 60% 45%;
    animation: pwh-breathe 14s ease-in-out infinite alternate;
}

.pwh-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(24, 16, 11, .80) 0%, rgba(24, 16, 11, .55) 60%, rgba(24, 16, 11, .35) 100%);
}

@keyframes pwh-breathe { from { transform: scale(1); } to { transform: scale(1.06); } }

.pwh-hero-in {
    min-height: 620px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 64px 0;
}

.pwh-hero .eyebrow { color: var(--gold-light); margin: 0 0 16px; font-size: 13px; }

.pwh-hero h1 {
    margin: 0;
    max-width: 720px;
    font-size: clamp(3rem, 6.2vw, 4.75rem);
    line-height: 1.02;
    font-weight: 500;
    color: #FFFFFF;
}

.pwh-hero-text {
    margin: 20px 0 0;
    max-width: 560px;
    font-size: 18px;
    line-height: 1.6;
    color: #F1E9DD;
}

.pwh-hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
/* Goldenes Leuchten der Hauptbuttons: siehe design.css (gilt auf allen Seiten) */
.pwh-hero .btn-line { color: #FFFFFF; }
.pwh-hero .btn-line:hover { background: rgba(255, 255, 255, .08); }

/* ---------- Öffnungszeiten-Balken ---------- */
.pwh-hours { background: var(--brown); color: #F5EFE6; }

.pwh-hours-in {
    min-height: 68px;
    padding: 14px 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 26px;
    font-size: 14px;
}

.pwh-hours-label { font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-light); }
.pwh-hours-days { display: flex; flex-wrap: wrap; gap: 8px 26px; }
.pwh-hours-mob { display: none; line-height: 1.5; }
.pwh-hours-addr { margin-left: auto; color: #CDBBA5; }
.pwh-muted { color: #CDBBA5; }

/* ---------- Aktuelles ---------- */
.pwh-akt { padding: 88px 0; }
.pwh-akt-head { padding-bottom: 28px; }
.pwh-akt-head h2 { margin: 0; }
.pwh-akt-text { margin-top: 18px; max-width: 720px; font-size: 17px; line-height: 1.7; color: var(--ink-soft); }
.pwh-akt-text p { margin: 0 0 12px; }
.pwh-akt-text strong { color: var(--ink); }
.pwh-akt-text a { color: var(--gold-text); text-decoration: underline; text-underline-offset: 3px; }
.pwh-akt-text h2, .pwh-akt-text h3 { font-size: 26px; margin: 22px 0 8px; }
.pwh-akt-text mark, .pwh-akt-text .has-inline-color { background: none; }

.pwh-car { position: relative; }

.pwh-stage {
    --cw: 440px;
    position: relative;
    height: calc(var(--cw) * 1.5 + 96px);
    overflow: hidden;
    touch-action: pan-y;
    user-select: none;
}

.pwh-card {
    position: absolute;
    top: 28px;
    left: 50%;
    width: var(--cw);
    transform: translateX(-50%) scale(.6);
    opacity: 0;
    pointer-events: none;
    transition: transform .55s cubic-bezier(.2, .7, .2, 1), opacity .55s ease, filter .55s ease;
}

.pwh-card.is-center { transform: translateX(-50%) scale(1); opacity: 1; z-index: 3; pointer-events: auto; }
.pwh-card.is-prev,
.pwh-card.is-next { opacity: .3; z-index: 2; filter: saturate(.6); pointer-events: auto; }
.pwh-card.is-prev { transform: translateX(calc(-50% - 64%)) scale(.74); }
.pwh-card.is-next { transform: translateX(calc(-50% + 64%)) scale(.74); }

.pwh-card-btn { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 16px; }
.pwh-card:not(.is-center) .pwh-card-btn { cursor: pointer; }
.pwh-card-btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.pwh-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: 16px;
    display: block;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .18);
    -webkit-user-drag: none;
}

.pwh-arrow {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 52px;
    height: 52px;
    transform: translateY(-50%);
    border: 0;
    border-radius: 999px;
    background: rgba(59, 36, 24, .85);
    color: #F5EFE6;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.pwh-arrow:hover { background: var(--brown); }
.pwh-arrow-l { left: calc(50% - var(--cw) / 2 - 76px); }
.pwh-arrow-r { right: calc(50% - var(--cw) / 2 - 76px); }

.pwh-dots { display: flex; gap: 4px; justify-content: center; align-items: center; }
.pwh-dot { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; background: none; border: 0; padding: 0; cursor: pointer; }
.pwh-dot span { width: 10px; height: 10px; border-radius: 999px; border: 1.5px solid var(--brown); transition: width .3s ease, background .3s ease; }
.pwh-dot.is-on span { width: 26px; background: var(--brown); }

.pwh-pause {
    width: 36px;
    height: 36px;
    margin-left: 10px;
    border-radius: 999px;
    border: 1.5px solid rgba(59, 36, 24, .45);
    background: none;
    color: var(--brown);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.pwh-pause .i-play { display: none; }
.pwh-pause.is-paused .i-play { display: block; }
.pwh-pause.is-paused .i-pause { display: none; }

.pwh-arrow:focus-visible, .pwh-dot:focus-visible, .pwh-pause:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }


/* Schnelles Tippen auf Knöpfe soll nicht die ganze Seite zoomen (Doppeltipp-Zoom aus) */
.pwh-car button, .pwh-lb button { touch-action: manipulation; }

/* ---------- Vollbild mit Zoom ---------- */
.pwh-lb { position: fixed; inset: 0; z-index: 2000; background: #0F0A07; outline: none; }
.pwh-lb[hidden] { display: none; }
.pwh-lb-scroll { position: absolute; top: 64px; left: 0; right: 0; bottom: 80px; overflow: auto; display: flex; touch-action: pan-x pan-y; overscroll-behavior: contain; }
.pwh-lb-scroll img { margin: auto; display: block; max-width: none; max-height: none; height: auto; border-radius: 8px; user-select: none; -webkit-user-drag: none; }
.pwh-lb-zoom { z-index: 3; position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; align-items: center; background: rgba(0, 0, 0, .5); padding: 6px; border-radius: 999px; }
.pwh-lb-zoom button { min-width: 48px; height: 48px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, .7); background: transparent; color: #FFFFFF; font-size: 22px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; font-family: inherit; }
.pwh-lb-zoom button:disabled { opacity: .35; cursor: default; }
.pwh-lb-zoom .pwh-lb-pct { font-size: 14px; padding: 0 12px; white-space: nowrap; }
.pwh-lb-close { z-index: 3; position: absolute; top: 10px; right: 10px; width: 48px; height: 48px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, .7); background: rgba(0, 0, 0, .3); color: #FFFFFF; display: flex; align-items: center; justify-content: center; cursor: pointer; }
body.pwh-lb-open { overflow: hidden; }
.pwh-lb-scroll { z-index: 1; }

/* Nachbar-Flyer im Vollbild: ganz leicht sichtbar, anklickbar (wie im Karussell) */
.pwh-lb-side {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: var(--lb-side-w, 260px);
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
    opacity: .22;
    filter: saturate(.6);
    transform: translateY(-50%) scale(.82);
    transition: opacity .25s ease;
}

.pwh-lb-side:hover { opacity: .4; }
.pwh-lb-side img { display: block; width: 100%; height: auto; border-radius: 8px; }
.pwh-lb-prev { right: calc(50% + var(--lb-half, 220px) + 12px); transform-origin: right center; }
.pwh-lb-next { left: calc(50% + var(--lb-half, 220px) + 12px); transform-origin: left center; }
.pwh-lb.is-single .pwh-lb-side,
.pwh-lb.is-single .pwh-lb-nav,
.pwh-lb.is-zoomed .pwh-lb-side { display: none; }

.pwh-lb-count {
    position: absolute;
    top: 22px;
    left: 0;
    right: 0;
    margin: 0;
    text-align: center;
    font-size: 14px;
    color: rgba(255, 255, 255, .75);
    pointer-events: none;
}

.pwh-lb.is-single .pwh-lb-count { display: none; }

/* ---------- Übrige Bereiche ---------- */
.pwh-welcome { padding-top: 40px; }
.pwh-welcome .image-card img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }

.pwh-karten h2 { margin: 0 0 32px; color: #FFFFFF; }
.pwh-link-card { display: flex; flex-direction: column; gap: 10px; color: #F5EFE6; transition: background .2s ease; }
.pwh-link-card:hover { background: #553828; }
.pwh-link-card h3 { margin: 0; }
.pwh-link-card p { margin: 0; }
.pwh-more { margin-top: 8px; font-size: 15px; font-weight: 600; color: var(--gold-light); }

.feature-image img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }

.pwh-gallery h2 { margin: 0 0 28px; }
.pwh-gallery .gallery-grid img { height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 14px; }

.pwh-feiern { background: #2A1A12; }
.pwh-feiern h2 { color: #FFFFFF; }
.pwh-feiern .event-banner { flex-wrap: wrap; }
.pwh-feiern .event-banner > div:first-child { max-width: 680px; }

.pwh-visit { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; align-items: start; }
.pwh-visit-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.pwh-hours-card { background: #FFFFFF; border-radius: var(--radius); padding: 28px 32px; box-shadow: 0 12px 30px rgba(0, 0, 0, .06); }
.pwh-hours-card h3 { margin: 0 0 14px; font-size: 28px; }
.pwh-hours-card dl { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; row-gap: 12px; column-gap: 20px; font-size: 16px; }
.pwh-hours-card dt { margin: 0; }
.pwh-hours-card dd { margin: 0; text-align: right; }
.pwh-hours-card .pwh-muted { color: #6B5444; }
.pwh-hours-card-addr { margin: 20px 0 0; padding-top: 16px; border-top: 1px solid rgba(26, 26, 26, .10); font-size: 15px; }

/* ---------- Handy ---------- */
@media (max-width: 760px) {
    .pwh-hero::after { background: linear-gradient(rgba(24, 16, 11, .62), rgba(24, 16, 11, .72)); }
    .pwh-hero-in { min-height: 520px; justify-content: flex-end; padding: 32px 0; }
    .pwh-hero h1 { font-size: 44px; }
    .pwh-hero-btns { flex-direction: column; }
    .pwh-hero-btns .btn { width: 100%; }
    .pwh-hours-days { display: none; }
    .pwh-hours-mob { display: block; }
    .pwh-hours-addr { margin-left: 0; }
    .pwh-akt { padding: 56px 0; }
    .pwh-stage { --cw: 64vw; }
    /* Handy: kleine Pfeile links/rechts neben dem Flyer, über den Nachbar-Flyern
       (Wischen kollidiert z. B. im Telegram-Browser mit „Zurück") */
    .pwh-arrow { width: 40px; height: 40px; background: none; color: var(--brown); }
    .pwh-arrow:hover { background: none; }
    .pwh-arrow svg { width: 28px; height: 28px; stroke-width: 2.5; filter: drop-shadow(0 0 3px rgba(245, 239, 230, .95)); }
    .pwh-arrow-l { left: calc((100% - var(--cw)) / 4 - 20px); }
    .pwh-arrow-r { right: calc((100% - var(--cw)) / 4 - 20px); }
    .pwh-lb-side { display: none; }
    .pwh-visit { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .pwh-gallery .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
    .pwh-hero::before { animation: none; }
    .pwh-card, .pwh-dot span { transition: none; }
}

/* Feiern & Erleben: Anrufen + WhatsApp mit vorbereitetem Text */
.pwh-feiern-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.pwh-feiern .btn-line { color: #FFFFFF; }
.pwh-feiern .btn-line:hover { background: rgba(255, 255, 255, .08); }
