/* Age gate, sign-up confirmation, the coming-soon page and the hidden /beheer page. Sits on top of site.css. */
.age-gate { max-width: 44rem; padding-top: 56px; padding-bottom: 80px; display: flex; flex-direction: column; gap: 22px; }
.age-gate .logo-full { width: min(220px, 60vw); height: auto; }
.age-gate h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
.age-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.age-gate .note { font-size: 15px; color: var(--grijs); }
.age-gate .motto { font-family: var(--font-title); font-weight: 800; font-size: 1.5rem; color: var(--blaufrankisch); }
body.age-page { background: var(--papier); }
body.age-page::before { content: ''; position: fixed; z-index: -1; width: 380px; height: 380px; border-radius: 50%; background: var(--gruner); right: -120px; top: -120px; }

/* Coming-soon page. Motion thesis: the page is uncorked once on arrival (the table
   comes into focus, the two cards fill up like a glass, the title rises out of its
   mask), then settles into one quiet loop: sunlight falling through a glass of wine
   onto the wooden table. Everything is visible by default; only transforms, opacity,
   filter and clip-path move. */
body.soon-page { background: #D9C9B4; --pour: cubic-bezier(0.16, 1, 0.3, 1); }
.table { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: #D9C9B4; }
.wood { position: absolute; inset: -5%; background: linear-gradient(rgba(251, 250, 247, 0.26), rgba(251, 250, 247, 0.26)), url(../img/foto-hout.webp) center / cover #D9C9B4; animation: focus-in 1.6s var(--pour) both, wood-drift 48s 1.6s ease-in-out infinite alternate; }
/* Light through a glass: a warm sun pool, and a wine-red shadow beside it on the table. */
.table-light { position: absolute; inset: 0; pointer-events: none; }
.table-light::before, .table-light::after { content: ''; position: absolute; border-radius: 50%; will-change: transform; }
.table-light::before { width: 62vmax; height: 46vmax; left: 34%; top: -8%; background: radial-gradient(closest-side, rgba(255, 244, 214, 0.75), rgba(255, 244, 214, 0.28) 55%, transparent); mix-blend-mode: soft-light; filter: blur(8px); animation: sun-drift 22s ease-in-out infinite alternate; }
.table-light::after { width: 44vmax; height: 26vmax; left: 58%; top: 52%; background: radial-gradient(closest-side, rgba(110, 23, 52, 0.26), rgba(242, 184, 168, 0.2) 55%, transparent); mix-blend-mode: multiply; filter: blur(28px); animation: wine-drift 22s ease-in-out infinite alternate; }
@keyframes focus-in { from { opacity: 0.4; filter: blur(16px) saturate(0.6); } to { opacity: 1; filter: none; } }
@keyframes wood-drift { from { transform: scale(1) translate(0, 0); } to { transform: scale(1.06) translate(-2%, 1.2%); } }
@keyframes sun-drift { from { transform: translate(0, 0) rotate(-8deg); } to { transform: translate(-22vw, 12vh) rotate(6deg); } }
@keyframes wine-drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(-20vw, 9vh) scale(1.15, 0.92); } }

/* Two cards: side by side on a computer, one under the other on a phone. */
.soon-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; padding-top: clamp(20px, 4vw, 56px); padding-bottom: clamp(32px, 6vw, 80px); align-items: start; }
/* On a computer both cards are exactly the same width and height (owner request);
   the sign-up block sits at the foot of its card so both cards end on one line. */
@media (min-width: 960px) {
  .soon-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; max-width: 1160px; align-items: stretch; }
  .soon-main > .stack { margin-top: auto; }
}
.soon-card { display: flex; flex-direction: column; gap: 20px; padding: clamp(24px, 4vw, 48px); background: rgba(251, 250, 247, 0.95); border-radius: var(--radius-l); box-shadow: 0 24px 48px -28px rgba(23, 20, 15, 0.45); animation: pour 0.9s var(--pour) both; animation-delay: 0.45s; }
.soon-about { animation-delay: 0.62s; }
.soon-about h2 { font-size: clamp(2rem, 3.4vw, 3.1rem); }
.soon-about .story { font-size: 18px; max-width: none; }
.soon-logo { width: min(200px, 50vw); height: auto; }
.soon-title { font-size: clamp(3rem, 6.6vw, 5.6rem); }
.soon-title .mask { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.soon-title .word { display: inline-block; animation: rise-out 0.85s var(--pour) both; animation-delay: calc(0.9s + var(--i, 0) * 120ms); }
/* The card fills from the bottom up, like wine poured into a glass. */
@keyframes pour { from { clip-path: inset(100% 0 0 0 round 28px); transform: translateY(18px); } to { clip-path: inset(0 0 0 0 round 28px); transform: none; } }
@keyframes rise-out { from { transform: translateY(105%); } to { transform: none; } }
.soon-page .footer { margin-top: 0; }

/* Less motion: no travelling, no blur. The cards still fade in so arrival reads. */
@media (prefers-reduced-motion: reduce) {
  .soon-card { animation: soft-in 0.4s ease-out both !important; }
  .table-light::before, .table-light::after { transform: none; }
}
@keyframes soft-in { from { opacity: 0; } to { opacity: 1; } }

/* Hidden admin page (/beheer) */
.beheer { max-width: 1100px; padding-top: 40px; padding-bottom: 80px; display: flex; flex-direction: column; gap: 20px; }
.beheer .logo-full { width: 140px; height: auto; }
.beheer h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.beheer form.signup { max-width: 28rem; }
.beheer-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.beheer-counts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.beheer-count { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--radius-s); background: var(--kurk); text-decoration: none; font-weight: 600; }
.beheer-count .n { font-family: var(--font-title); font-weight: 800; font-size: 2.4rem; line-height: 1; color: var(--blaufrankisch); }
.beheer-filter { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; padding-top: 16px; border-top: 2px solid var(--inkt); }
.beheer-filter label { display: flex; flex-direction: column; gap: 4px; font-size: 14px; font-weight: 600; }
.beheer-filter select { min-height: 44px; padding: 0 14px; border: 2px solid var(--inkt); border-radius: 999px; background: var(--papier); font-family: var(--font); font-size: 15px; }
.beheer-table { overflow-x: auto; border-top: 2px solid var(--inkt); }
.beheer-table table { width: 100%; border-collapse: collapse; font-size: 15px; }
.beheer-table th, .beheer-table td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--soft-line); white-space: nowrap; }
.beheer-table th { font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--grijs); }
