/* ==========================================================================
   Meilen-Steine Eventagentur – Stylesheet
   ========================================================================== */

@font-face { font-family: 'Cormorant Garamond'; src: url('/fonts/cormorant.woff') format('woff'); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Cormorant Garamond'; src: url('/fonts/cormorant-italic.woff') format('woff'); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: 'Pinyon Script'; src: url('/fonts/pinyon-script.woff') format('woff'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('/fonts/manrope.woff') format('woff'); font-weight: 200 800; font-style: normal; font-display: swap; }

:root {
  --gold: oklch(0.84 0.18 92);
  --gold-hover: oklch(0.88 0.17 95);
  --gold-deep: oklch(0.52 0.11 80);      /* Gold für kleine Schrift auf hellem Grund (Kontrast) */
  --gold-soft: oklch(0.93 0.08 95);
  --black: #14110c;
  --black-2: #1d1913;
  --ink: #1a1712;
  --text: #3f3a31;
  --muted: #6b6558;
  --white: #ffffff;
  --cream: #fdfbf4;
  --tint: oklch(0.975 0.03 95);
  --gold-band: oklch(0.955 0.055 95);
  --grey-box: #f3f2ef;
  --line: #e7e1d1;
  --serif: 'Cormorant Garamond', 'Cormorant', Georgia, 'Times New Roman', serif;
  --script: 'Pinyon Script', 'Snell Roundhand', 'Apple Chancery', cursive;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --band-y: clamp(72px, 10vw, 128px);
  --radius: 2px;
  --shadow: 0 18px 40px -18px rgba(40, 32, 12, 0.28);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--sans); font-size: 1.0625rem; line-height: 1.75; color: var(--text); background: var(--cream); overflow-x: clip; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 3px; }
a:hover { color: var(--gold-deep); }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; color: var(--ink); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.005em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
h3 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
p { margin: 0 0 1.1em; text-wrap: pretty; }
address { font-style: normal; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--gold); color: var(--black); padding: 10px 16px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }
.main:focus { outline: none; }
html.no-scroll, html.nav-open { overflow: hidden; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 880px; }
.center { text-align: center; }

/* ---------- Bausteine ---------- */
.eyebrow { font-family: var(--sans); font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); margin: 0 0 1rem; }
.eyebrow--light { color: var(--gold); }
.eyebrow--underline { display: inline-block; font-size: clamp(.95rem, 1.6vw, 1.15rem); letter-spacing: .28em; padding-bottom: .55rem; border-bottom: 3px solid var(--gold); }
.rule { display: block; width: 64px; height: 2px; background: var(--gold); margin: 0 0 1.4rem; }
.rule--center { margin-left: auto; margin-right: auto; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--muted); max-width: 72ch; }
.center .lead, .section-head .lead { margin-left: auto; margin-right: auto; }
.subtitle { font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 2.2rem); color: var(--ink); line-height: 1.25; margin: .2em 0 .8em; }
.display { font-size: clamp(2.5rem, 5.4vw, 4rem); }
.muted-dark { color: #5b4a22; }
.section-head { text-align: center; margin: 0 auto clamp(40px, 6vw, 64px); max-width: 920px; }
.section-head h2 { margin-bottom: .3em; }
.section-head .btn { margin-top: 1rem; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 48px; padding: .75em 1.6em; border: 1px solid transparent; border-radius: var(--radius); font-family: var(--sans); font-size: 1rem; font-weight: 600; line-height: 1.2; text-decoration: none; transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; }
.btn svg { transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--gold { background: var(--gold); color: var(--black); box-shadow: 0 6px 18px -8px oklch(0.6 0.15 85 / .7); }
.btn--gold:hover { background: var(--gold-hover); color: var(--black); transform: translateY(-1px); box-shadow: 0 10px 24px -10px oklch(0.6 0.15 85 / .8); }
.btn--dark { background: var(--black); color: var(--white); }
.btn--dark:hover { background: #2a251c; color: var(--white); }
.btn--outline { background: var(--white); color: var(--ink); border-color: var(--line); }
.btn--outline:hover { border-color: var(--gold); color: var(--ink); }
.btn--lg { min-height: 56px; padding: .9em 2em; font-size: 1.05rem; }
.btn[disabled] { opacity: .6; cursor: progress; }
.text-link { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--gold); padding-bottom: 2px; }

.framed { margin: 0; background: var(--white); padding: clamp(6px, .8vw, 10px); box-shadow: var(--shadow); overflow: hidden; }
.framed img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.framed[style*="aspect-ratio"] img { aspect-ratio: inherit; }

/* Abschnitte mit breiten weißen Trennlinien */
.band { position: relative; padding: var(--band-y) 0; }
.band + .band, .hero + .band { border-top: 14px solid var(--white); }
.band--white { background: var(--white); }
.band--cream { background: var(--cream); }
.band--tint { background: var(--tint); }
.band--gold { background: var(--gold-band); }
.band--dark { background: var(--black); color: #cfc8b8; }
.band--dark h2, .band--dark h3 { color: var(--white); }
.band--dark + .band, .band + .band--dark { border-top-color: var(--white); }

/* Scroll-Animation */
.js:not(.reveal-fallback) .reveal:not(.is-visible) { opacity: 0; transform: translateY(26px); }
.reveal { transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.reveal--late { --d: 140ms; }
@media (prefers-reduced-motion: reduce) { .js .reveal:not(.is-visible) { opacity: 1 !important; transform: none !important; } .reveal { transition: none; } }

/* ---------- Kopfzeile ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; background: rgba(20, 17, 12, .78); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 3px solid transparent; transition: background .3s, border-color .3s; }
.site-header.is-scrolled { background: rgba(20, 17, 12, .94); border-bottom-color: var(--gold); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.site-header__logo { display: block; flex: none; }
.site-header__logo .logo { height: 56px; width: auto; }
.site-nav { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 34px); }
.site-nav ul { display: flex; gap: clamp(14px, 2vw, 30px); list-style: none; margin: 0; padding: 0; }
.site-nav ul a { color: #efe9da; text-decoration: none; font-weight: 500; font-size: .98rem; padding: 6px 0; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.site-nav ul a:hover, .site-nav ul a[aria-current="page"] { color: var(--white); border-bottom-color: var(--gold); }
.nav-toggle { display: none; background: none; border: 0; color: var(--white); width: 48px; height: 48px; align-items: center; justify-content: center; margin-right: -10px; }
.main { padding-top: var(--header-h); }
.main--bare { padding-top: 0; }

@media (max-width: 1020px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { position: fixed; inset: var(--header-h) 0 0; background: var(--black); flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; padding: 24px var(--gutter) 40px; overflow-y: auto; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s, visibility .25s; }
  .site-header.is-open .site-nav { opacity: 1; transform: none; visibility: visible; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; font-family: var(--serif); font-size: 1.9rem; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .site-nav__cta { margin-top: 28px; }
  .site-header__logo .logo { height: 50px; }
}
html:not(.js) .nav-toggle { display: none; }
@media (max-width: 1020px) { html:not(.js) .site-nav { position: static; opacity: 1; visibility: visible; transform: none; background: transparent; padding: 0; } html:not(.js) .site-header__inner { height: auto; flex-wrap: wrap; padding: 10px 0; } }

/* ---------- Hero ---------- */
.hero { position: relative; display: grid; place-items: center; min-height: clamp(520px, 78vh, 820px); margin-top: calc(var(--header-h) * -1); padding: calc(var(--header-h) + 64px) 0 72px; background-color: var(--cream); background-size: cover; background-position: center 40%; text-align: center; }
.hero__inner { max-width: 980px; }
.hero__eyebrow { font-size: clamp(.72rem, 1.5vw, .9rem); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #6d5413; margin-bottom: 1.4rem; }
.hero__title { font-size: clamp(3rem, 8.4vw, 6.4rem); line-height: 1.02; font-weight: 500; margin-bottom: 2.4rem; color: var(--ink); }
.hero__title span { display: block; }
.hero__title-gold { color: #7a5c0e; }

/* ---------- Aktionen ---------- */
.promo-list { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(24px, 3vw, 40px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.promo-list--1 { max-width: 980px; margin: 0 auto; grid-template-columns: 1fr; }
.promo { background: var(--cream); border: 1px solid var(--line); display: flex; flex-direction: column; }
.promo-list--1 .promo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; }
.promo .framed { box-shadow: none; }
.promo__body { padding: clamp(22px, 3vw, 36px); }
.promo__date { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: .6rem; }
.promo__text { color: var(--muted); }
@media (max-width: 720px) { .promo-list--1 .promo { grid-template-columns: 1fr; } }

/* ---------- Begrüßung ---------- */
.welcome .display { margin-bottom: .3em; }
.tags { list-style: none; padding: 0; margin: 2rem auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.tags li { background: var(--gold-soft); border: 1px solid oklch(0.86 0.1 92); padding: .45em 1em; font-size: .95rem; color: var(--ink); }
.welcome__images { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2.4vw, 28px); max-width: 1000px; margin-top: clamp(48px, 7vw, 80px); }

/* ---------- Unser Ziel ---------- */
.goal .section-head h2 { font-size: clamp(2.2rem, 4.8vw, 3.8rem); margin-top: .6em; }
.goal__box { background: var(--grey-box); padding: clamp(28px, 5vw, 64px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 56px); max-width: 1100px; margin: 0 auto; font-size: 1.08rem; line-height: 1.95; }
.goal__box p:last-child { margin-bottom: 0; }
.goal .rule { margin-top: clamp(40px, 6vw, 64px); }
.goal__slogan { font-family: var(--serif); font-size: clamp(1.6rem, 3.2vw, 2.4rem); color: var(--ink); text-align: center; line-height: 1.25; margin: 0 auto; max-width: 900px; font-weight: 600; }
@media (max-width: 760px) { .goal__box { grid-template-columns: 1fr; } }

/* ---------- Team ---------- */
.team__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.team__text article { margin-bottom: clamp(28px, 4vw, 44px); }
.team__text article:last-child { margin-bottom: 0; }
.team__text h3 { font-size: clamp(1.8rem, 3vw, 2.3rem); margin-bottom: .35em; }
.team__claim { font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.3rem); color: var(--ink); line-height: 1.2; font-weight: 600; }
.team__photo { position: sticky; top: calc(var(--header-h) + 32px); }
@media (max-width: 860px) { .team__grid { grid-template-columns: 1fr; } .team__photo { position: static; max-width: 520px; margin: 0 auto; order: -1; } }

/* ---------- Leistungen (dunkel) ---------- */
.services-dark { overflow: hidden; }
.services-dark__fx, .cta-band__fx { position: absolute; color: #c9a24a; pointer-events: none; }
.services-dark__fx { width: clamp(220px, 30vw, 420px); top: clamp(-60px, -4vw, -20px); right: clamp(-150px, -9vw, -70px); opacity: .95; }
.num-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.num-cards li { padding: clamp(28px, 3.4vw, 44px); position: relative; }
.num-cards--light li { padding-inline: clamp(22px, 2.4vw, 32px); }
.num-cards__n { display: block; font-size: .95rem; font-weight: 600; margin-bottom: 2.2rem; }
.num-cards h3 { font-size: clamp(1.6rem, 2.4vw, 2rem); }
.num-cards p { margin: 0; }
.num-cards--dark { border-top: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08); }
.num-cards--dark li + li { border-left: 1px solid rgba(255,255,255,.1); }
.num-cards--dark .num-cards__n { color: var(--gold); }
.num-cards--dark p { color: #b9b19f; }
.num-cards--light { border: 1px solid oklch(0.82 0.08 90); }
.num-cards--light li + li { border-left: 1px solid oklch(0.82 0.08 90); }
.num-cards--light .num-cards__n { color: var(--muted); }
.num-cards--light p { color: var(--text); }
@media (max-width: 900px) {
  .num-cards--dark li + li, .num-cards--light li + li { border-left: 0; border-top: 1px solid rgba(255,255,255,.1); }
  .num-cards--light li + li { border-top-color: oklch(0.82 0.08 90); }
  .num-cards__n { margin-bottom: 1rem; }
}
@media (min-width: 901px) and (max-width: 1100px) {
  .num-cards--light { grid-template-columns: 1fr 1fr; }
  .num-cards--light li:nth-child(3) { border-left: 0; }
  .num-cards--light li:nth-child(n+3) { border-top: 1px solid oklch(0.82 0.08 90); }
}

/* ---------- DJ ---------- */
.dj__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.dj__images { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 1.8vw, 22px); }
.dj__big { grid-column: 1 / -1; }
.dj__text h2 { font-size: clamp(2.4rem, 4.6vw, 3.8rem); }
.dj__text .lead { margin-bottom: 2rem; }
@media (max-width: 860px) { .dj__grid { grid-template-columns: 1fr; } }

/* ---------- Anlässe ---------- */
.occasions .display { margin-bottom: .2em; }

/* ---------- Galerie ---------- */
.gallery-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2.2vw, 30px); }
.gallery-item { position: relative; display: block; width: 100%; border: 0; aspect-ratio: 3 / 4; cursor: zoom-in; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.gallery-item:hover img, .gallery-item:focus-visible img { transform: scale(1.04); }
.gallery-item__caption { position: absolute; left: clamp(6px, .8vw, 10px); right: clamp(6px, .8vw, 10px); bottom: clamp(6px, .8vw, 10px); padding: 28px 16px 12px; color: var(--white); font-size: .92rem; font-weight: 600; text-align: left; background: linear-gradient(transparent, rgba(0,0,0,.55)); opacity: 0; transition: opacity .3s; }
.gallery-item:hover .gallery-item__caption, .gallery-item:focus-visible .gallery-item__caption { opacity: 1; }
@media (max-width: 860px) { .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .gallery-grid { gap: 10px; } }
@media (hover: none) { .gallery-item__caption { display: none; } }

.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(12, 10, 7, .94); display: grid; place-items: center; padding: 56px 16px; animation: fade .25s; }
@keyframes fade { from { opacity: 0; } }
.lightbox__figure { margin: 0; max-width: min(1100px, 100%); max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lightbox__figure img { max-height: calc(100vh - 180px); width: auto; object-fit: contain; border: 8px solid var(--white); }
.lightbox__figure figcaption { color: #eee6d2; text-align: center; display: grid; gap: 2px; }
.lightbox__figure figcaption strong { font-family: var(--serif); font-size: 1.4rem; font-weight: 500; color: var(--white); }
.lightbox__close, .lightbox__nav { position: absolute; background: rgba(255,255,255,.08); color: var(--white); border: 0; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; transition: background .2s; }
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255,255,255,.2); }
.lightbox__close { top: 14px; right: 14px; }
.lightbox__nav--prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 14px; top: 50%; transform: translateY(-50%); }
.lightbox__count { position: absolute; bottom: 12px; left: 0; right: 0; text-align: center; color: #a89f8a; font-size: .85rem; margin: 0; }
@media (max-width: 600px) { .lightbox__nav { top: auto; bottom: 8px; transform: none; } }

/* ---------- Unterseiten ---------- */
.page-head { padding: clamp(64px, 9vw, 120px) 0 clamp(48px, 6vw, 72px); }
.page-head h1 { font-size: clamp(2.6rem, 6.4vw, 5rem); max-width: 22ch; }
.page-head .rule { width: 160px; margin-top: 1.6rem; }
.page-head .lead { margin: 0; }

.service-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 26px); }
.service-card { background: var(--white); border: 1px solid var(--line); padding: clamp(28px, 3vw, 40px) 22px; text-align: center; display: flex; flex-direction: column; align-items: center; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold); }
.service-card__n { font-size: .85rem; font-weight: 600; color: var(--muted); margin-bottom: .8rem; }
.service-card h2 { font-size: clamp(1.45rem, 2vw, 1.75rem); margin-bottom: .6em; }
.service-card .rule { margin-bottom: 1rem; }
.service-card p { color: var(--muted); font-size: .98rem; margin: 0; }
@media (max-width: 1020px) { .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .service-grid { grid-template-columns: 1fr; } }

.cta-band { overflow: hidden; }
.cta-band h2 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
.cta-band .lead { color: #cfc8b8; margin-bottom: 2rem; }
.cta-band__fx { width: clamp(200px, 26vw, 360px); left: clamp(-150px, -9vw, -70px); bottom: -80px; opacity: .6; }

/* Kontakt */
.contact__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; margin-bottom: clamp(40px, 6vw, 72px); }
.card { background: var(--white); padding: clamp(24px, 4vw, 48px); box-shadow: var(--shadow); }
.contact__form h2, .contact__info h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.contact-list { list-style: none; margin: 0 0 1.6rem; padding: 0; display: grid; gap: 22px; }
.contact-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.contact-list svg { width: 44px; height: 44px; padding: 11px; background: var(--gold-soft); color: var(--ink); border-radius: 50%; }
.contact-list__label { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep); }
.contact-list a { color: var(--ink); font-weight: 600; text-decoration: none; word-break: break-word; }
.contact-list a:hover { text-decoration: underline; }
@media (max-width: 860px) { .contact__grid { grid-template-columns: 1fr; } }

.form { display: grid; gap: 20px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; color: var(--ink); font-size: .95rem; }
.field input[type="text"], .field input[type="email"], .field input[type="password"], .field input[type="date"], .field input[type="url"], .field input[type="tel"], .field textarea, .field select { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--cream); border: 1px solid #d9d2c0; border-radius: var(--radius); padding: .8em .95em; min-height: 48px; transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 140px; line-height: 1.6; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold-deep); box-shadow: 0 0 0 3px oklch(0.84 0.18 92 / .35); background: var(--white); }
.field [aria-invalid="true"] { border-color: #b3261e; }
.field__error { color: #b3261e; font-size: .9rem; margin: 0; font-weight: 600; }
.field--check { grid-template-columns: 24px 1fr; align-items: start; column-gap: 12px; }
.field--check input { width: 22px; height: 22px; margin: 3px 0 0; accent-color: var(--gold-deep); }
.field--check label { font-weight: 400; font-size: .94rem; line-height: 1.55; color: var(--text); }
.field--check .field__error { grid-column: 2; }
.form__alert { background: #fdecea; color: #8a1c14; border-left: 4px solid #b3261e; padding: 12px 16px; margin: 0; font-weight: 600; }
.form__hint { font-size: .85rem; color: var(--muted); margin: -4px 0 0; }
.form .btn { justify-self: start; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-success { text-align: center; padding: clamp(16px, 3vw, 32px) 0; }
.form-success:focus { outline: none; }
.form-success__icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--gold); color: var(--black); margin-bottom: 1rem; }
.form-success h3 { font-size: 2rem; }

.map { position: relative; border: 10px solid var(--white); box-shadow: var(--shadow); background: var(--grey-box); }
.map iframe { display: block; width: 100%; height: clamp(320px, 45vw, 460px); border: 0; }
.map--placeholder { min-height: clamp(320px, 40vw, 420px); display: grid; place-items: center; text-align: center; padding: 32px 20px; background: repeating-linear-gradient(135deg, #f5f3ee 0 14px, #efece5 14px 28px); }
.map__box { max-width: 520px; background: var(--white); padding: clamp(24px, 4vw, 40px); display: grid; justify-items: center; gap: 4px; }
.map__box svg { color: var(--gold-deep); margin-bottom: 6px; }
.map__box p { font-size: .95rem; color: var(--muted); }
.map__link { font-size: .9rem; margin-top: 12px; }
.map__revoke { position: absolute; right: 10px; bottom: 10px; background: var(--white); border: 1px solid var(--line); padding: 6px 12px; font-size: .85rem; }

.legal h2 { font-size: clamp(1.6rem, 2.6vw, 2rem); margin-top: 2.2rem; }
.legal h3 { font-size: 1.35rem; margin-top: 1.4rem; }
.legal a { color: var(--gold-deep); font-weight: 600; }
.legal__note { color: var(--muted); font-size: .9rem; margin-top: 2.5rem; }

.notfound { min-height: 55vh; display: grid; align-items: center; }
.notfound__links { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- Fußzeile ---------- */
.site-footer { background: var(--black); color: #b9b19f; border-top: 14px solid var(--white); padding: clamp(56px, 8vw, 88px) 0 0; font-size: .98rem; }
.site-footer a { color: #efe9da; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.4fr; gap: 40px; padding-bottom: 48px; }
.site-footer__brand .logo { height: 76px; width: auto; margin-bottom: 18px; }
.site-footer__h { font-family: var(--sans); font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin: 0 0 16px; display: flex; align-items: center; gap: 8px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer__nav li { margin-bottom: 8px; }
.site-footer__contact address { display: grid; gap: 10px; }
.site-footer__contact address > * { display: inline-flex; align-items: flex-start; gap: 10px; }
.site-footer__contact svg { color: var(--gold); flex: none; margin-top: 5px; }
.site-footer__hours { margin-top: 24px; }
.site-footer__bottom { position: relative; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px 24px; padding-top: 22px; padding-bottom: 26px; font-size: .9rem; }
.site-footer__bottom::before { content: ''; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: rgba(255,255,255,.1); }
.site-footer__bottom p { margin: 0; }
.site-footer__bottom ul { display: flex; gap: 22px; }
.socials { display: flex; gap: 10px; margin-top: 18px; list-style: none; padding: 0; }
.socials a { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; }
.contact__info .socials a { border-color: var(--line); color: var(--ink); }
@media (max-width: 860px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .site-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* ---------- Anmeldung / Passwort ---------- */
.is-auth, .is-admin { background: var(--tint); }
.auth { min-height: 100vh; display: grid; place-items: center; padding: 32px 16px; }
.auth-card { width: 100%; max-width: 460px; background: var(--white); box-shadow: var(--shadow); padding: clamp(28px, 5vw, 44px); border-top: 4px solid var(--gold); }
.auth-card__logo { display: block; background: var(--black); margin: calc(clamp(28px, 5vw, 44px) * -1) calc(clamp(28px, 5vw, 44px) * -1) 28px; padding: 18px; text-align: center; }
.auth-card__logo .logo { height: 60px; width: auto; margin: 0 auto; }
.auth-card h1 { font-size: 2.1rem; }
.auth-card .btn { width: 100%; }
.auth-card__link { display: block; text-align: center; font-size: .92rem; margin-top: 4px; }
.auth-card__ok { display: grid; gap: 12px; }

/* ---------- Mobile Feinschliff ---------- */
@media (max-width: 640px) {
  :root { --header-h: 72px; }
  body { font-size: 1rem; }
  .band + .band, .hero + .band, .site-footer { border-top-width: 10px; }
  .hero { min-height: 540px; }
  .welcome__images { grid-template-columns: 1fr 1fr; gap: 10px; }
  .btn--lg { width: 100%; max-width: 340px; }
  .services-dark__fx { width: 200px; right: -90px; top: -50px; opacity: .55; }
  .num-cards--dark li { padding: 26px 4px; }
  .num-cards--light li { padding: 24px 20px; }
}

@media print {
  .site-header, .site-footer, .map, .skip-link { display: none !important; }
  .main { padding-top: 0; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ==========================================================================
   Lebendige Details
   ========================================================================== */

/* Überschrift im Hero wechselt weich */
.hero__title { margin-bottom: 1.8rem; }
.hero__word { animation: word-in .8s var(--ease) both; }
.hero__word--late { animation-delay: .12s; }
@keyframes word-in { from { opacity: 0; transform: translateY(.22em); filter: blur(6px); } }
[data-mood="calm"] .hero__title-gold { color: #5d5647; }

/* Anlass-Wähler */
.occ { margin: 0 auto 2.2rem; display: grid; gap: .8rem; justify-items: center; }
.occ__q { font-family: var(--script); font-size: clamp(1.7rem, 3vw, 2.2rem); color: #6d5413; margin: 0; line-height: 1; }
.occ__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.occ__chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 18px; border-radius: 99px; border: 1px solid oklch(0.62 0.12 85 / .55); background: rgba(255, 255, 255, .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: var(--ink); font-weight: 600; font-size: .95rem; transition: background .25s, border-color .25s, transform .25s var(--ease), box-shadow .25s; }
.occ__chip:hover { transform: translateY(-2px); border-color: var(--gold-deep); box-shadow: 0 8px 18px -10px rgba(80, 60, 10, .5); }
.occ__stone { width: 12px; height: 10px; border-radius: 55% 45% 50% 50% / 60% 55% 45% 40%; background: #d9cfb5; transition: background .25s, transform .25s; }
.occ__chip[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); }
.occ__chip[aria-pressed="true"] .occ__stone { background: var(--black); transform: scale(1.15); }
.occ__chip--calm[aria-pressed="true"] { background: #e9e5da; border-color: #b8b09c; }
.occ__chip--calm[aria-pressed="true"] .occ__stone { background: #6b6558; }

/* Meilenstein-Weg */
.ms-rail { position: fixed; z-index: 40; left: max(20px, calc((100vw - var(--container)) / 2 - 36px)); top: calc(var(--header-h) + 56px); bottom: 56px; width: 20px; display: none; }
.ms-rail__track { position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; transform: translateX(-50%); background: oklch(0.8 0.1 90 / .35); border-radius: 2px; overflow: hidden; }
.ms-rail__fill { position: absolute; inset: 0; background: linear-gradient(var(--gold), var(--gold-deep)); transform-origin: top; transition: transform .2s linear; }
.ms-rail ol { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; }
.ms-rail li { position: absolute; left: 50%; transform: translate(-50%, -50%); }
.ms-stone { position: relative; display: block; width: 16px; height: 13px; padding: 0; border: 2px solid oklch(0.62 0.12 85 / .6); border-radius: 55% 45% 50% 50% / 60% 55% 45% 40%; background: var(--cream); transition: background .35s, transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.ms-stone::after { content: ''; position: absolute; inset: -10px; }
.ms-stone.is-reached { background: var(--gold); border-color: var(--gold-deep); }
.ms-stone.is-current { transform: scale(1.45); box-shadow: 0 0 0 5px oklch(0.84 0.18 92 / .28), 0 0 18px oklch(0.84 0.18 92 / .8); }
.ms-stone__label { position: absolute; left: 26px; top: 50%; transform: translate(-6px, -50%); white-space: nowrap; background: var(--black); color: #fff; font-size: .78rem; font-weight: 600; padding: 5px 10px; border-radius: 99px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.ms-stone.is-current .ms-stone__label { font-size: .54rem; }
.ms-stone:hover .ms-stone__label, .ms-stone:focus-visible .ms-stone__label { opacity: 1; transform: translate(0, -50%); }
.ms-progress { position: fixed; z-index: 49; left: 0; right: 0; top: var(--header-h); height: 3px; pointer-events: none; }
.ms-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-deep), var(--gold)); transform-origin: left; transform: scaleX(0); }
@media (min-width: 1360px) { .ms-rail:not([hidden]) { display: block; } .ms-progress { display: none; } }

/* Feuerwerk zeichnet sich selbst */
.fireworks .fw-ray { stroke-dasharray: 1 1; stroke-dashoffset: 0; }
.js .fireworks.reveal.is-visible .fw-ray { animation: fw-draw 1.2s var(--ease) both; animation-delay: calc(var(--i) * 40ms); }
@keyframes fw-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.fireworks .fw-dot { transition: opacity .5s ease calc(700ms + var(--i) * 30ms); }
.js:not(.reveal-fallback) .fireworks.reveal:not(.is-visible) .fw-ray { stroke-dashoffset: 1; }
.js:not(.reveal-fallback) .fireworks.reveal:not(.is-visible) .fw-dot, .js:not(.reveal-fallback) .fireworks.reveal:not(.is-visible) .fw-star { opacity: 0; }
.fireworks.reveal { transform: none !important; opacity: 1 !important; }
.fw-star { transform-box: fill-box; transform-origin: center; animation: twinkle 3s ease-in-out infinite; animation-delay: calc(1.2s + var(--k) * .55s); }
@keyframes twinkle { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.65) rotate(20deg); } }
[data-mood="calm"] .fw-star { animation: none; }

/* Konfetti */
.fx-canvas { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 120; }

/* Equalizer bei DJ Papa Duck */
.dj__eyebrow { display: flex; align-items: center; justify-content: center; gap: 12px; }
.eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; }
.eq i { width: 3px; height: 100%; background: var(--gold-deep); border-radius: 2px; transform-origin: bottom; animation: eq 1s ease-in-out infinite alternate; }
.eq i:nth-child(2) { animation-duration: .7s; animation-delay: -.3s; }
.eq i:nth-child(3) { animation-duration: 1.2s; animation-delay: -.6s; }
.eq i:nth-child(4) { animation-duration: .85s; animation-delay: -.1s; }
.eq i:nth-child(5) { animation-duration: 1.05s; animation-delay: -.45s; }
@keyframes eq { from { transform: scaleY(.2); } to { transform: scaleY(1); } }
[data-mood="calm"] .eq i { animation: none; transform: scaleY(.45); }

/* Galerie als Fotowand */
.gallery-grid > li { position: relative; rotate: var(--rot, 0deg); transition: opacity .9s var(--ease), transform .9s var(--ease), rotate .5s var(--ease); transition-delay: var(--d, 0ms), var(--d, 0ms), 0ms; }
.gallery-grid > li:nth-child(4n+1) { --rot: -1.8deg; }
.gallery-grid > li:nth-child(4n+2) { --rot: 1.2deg; }
.gallery-grid > li:nth-child(4n+3) { --rot: -.8deg; }
.gallery-grid > li:nth-child(4n+4) { --rot: 2deg; }
.gallery-grid > li::before { content: ''; position: absolute; z-index: 2; top: -9px; left: 50%; width: 84px; height: 22px; transform: translateX(-50%) rotate(-3deg); background: rgba(255, 246, 214, .78); box-shadow: 0 1px 3px rgba(60, 40, 0, .12); pointer-events: none; }
.gallery-grid > li:nth-child(even)::before { transform: translateX(-50%) rotate(4deg); }
.gallery-grid > li:hover, .gallery-grid > li:focus-within { rotate: 0deg; z-index: 3; }
.gallery-item { transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.gallery-grid > li:hover .gallery-item, .gallery-item:focus-visible { transform: translateY(-6px) scale(1.02); box-shadow: 0 28px 50px -22px rgba(40, 32, 12, .45); }
@media (max-width: 600px) { .gallery-grid > li { --rot: 0deg !important; } .gallery-grid > li::before { width: 56px; height: 16px; top: -7px; } }

/* Handschrift */
.signature { font-family: var(--script); font-size: clamp(2.4rem, 4.4vw, 3.2rem); line-height: 1.1; color: var(--gold-deep); margin: 1.4rem 0 0; transform: rotate(-4deg); transform-origin: left center; }
.handnote { font-family: var(--script); font-size: clamp(1.9rem, 3vw, 2.4rem); line-height: 1.1; color: var(--gold-deep); margin: -.4rem 0 1.4rem; transform: rotate(-3deg); transform-origin: left center; }

/* Anfrage in Schritten */
.stepper fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 18px; min-width: 0; }
.stepper legend { font-family: var(--serif); font-size: clamp(1.4rem, 2.4vw, 1.7rem); color: var(--ink); padding: 0; margin-bottom: 14px; }
.js .stepper .step:not(.is-active) { display: none; }
.js .stepper .step.is-active { animation: step-in .45s var(--ease); }
@keyframes step-in { from { opacity: 0; transform: translateX(14px); } }
html:not(.js) .stepper .step + .step { margin-top: 28px; }
.stepper__track { list-style: none; margin: 0 0 8px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); position: relative; }
.stepper__track::before { content: ''; position: absolute; top: 17px; left: 16.6%; right: 16.6%; height: 2px; background: var(--line); }
.stepper__track li { position: relative; }
.stepper__track button { width: 100%; background: none; border: 0; padding: 0; display: grid; justify-items: center; gap: 6px; color: var(--muted); font-size: .82rem; font-weight: 600; cursor: default; }
.stepper__track li.is-done button { cursor: pointer; color: var(--ink); }
.stepper__stone { position: relative; z-index: 1; display: grid; place-items: center; width: 36px; height: 34px; border-radius: 55% 45% 50% 50% / 58% 55% 45% 42%; background: var(--white); border: 2px solid var(--line); color: var(--muted); font-weight: 700; transition: background .3s, border-color .3s, transform .3s var(--ease); }
.stepper__track li.is-current .stepper__stone { border-color: var(--gold-deep); color: var(--ink); transform: scale(1.1); box-shadow: 0 0 0 5px oklch(0.84 0.18 92 / .25); }
.stepper__track li.is-current button { color: var(--ink); }
.stepper__track li.is-done .stepper__stone { background: var(--gold); border-color: var(--gold); color: var(--black); }
.stepper__nav { display: flex; gap: 12px; flex-wrap: wrap; }
.stepper__nav .btn { justify-self: auto; }
.js .nojs-submit, html:not(.js) .stepper__nav, html:not(.js) .stepper__track { display: none; }
.choice-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.choice-chip { position: relative; }
.choice-chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice-chip span { display: inline-flex; align-items: center; min-height: 46px; padding: 8px 18px; border-radius: 99px; border: 1px solid #d9d2c0; background: var(--cream); font-weight: 600; color: var(--ink); transition: background .2s, border-color .2s; }
.choice-chip input:checked + span { background: var(--gold); border-color: var(--gold); }
.choice-chip input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.choice-chip:hover span { border-color: var(--gold-deep); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__row .form__hint { margin: 0; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } .stepper__label { font-size: .74rem; } }

/* Countdown */
.countdown__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.countdown__intro h2 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); }
.countdown__field { max-width: 300px; margin-top: 1.4rem; }
.countdown__card { background: var(--tint); border: 1px solid oklch(0.88 0.06 92); padding: clamp(26px, 4vw, 48px); min-height: 260px; display: grid; align-content: center; gap: 10px; text-align: center; justify-items: center; }
.countdown__empty { color: var(--muted); max-width: 34ch; margin: 0; font-size: 1.05rem; }
.countdown__big { font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3rem); color: var(--ink); margin: 0; line-height: 1; }
.countdown__num { display: block; font-size: clamp(4rem, 9vw, 6.5rem); font-weight: 600; color: var(--gold-deep); font-variant-numeric: tabular-nums; animation: word-in .6s var(--ease); }
.countdown__sub { margin: 0; color: var(--muted); }
.countdown__stones { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 420px; }
.countdown__stones li { width: 24px; height: 19px; border-radius: 55% 45% 50% 50% / 60% 55% 45% 40%; background: linear-gradient(145deg, #f7dc6f, #d4a017); box-shadow: inset 0 -2px 0 rgba(0,0,0,.12); animation: pop .5s var(--ease) both; animation-delay: calc(var(--k) * 45ms); }
.countdown__stones li:nth-child(odd) { border-radius: 45% 55% 48% 52% / 50% 60% 40% 50%; }
.countdown__stones .countdown__more { width: auto; height: auto; background: none; box-shadow: none; font-weight: 700; color: var(--gold-deep); }
@keyframes pop { from { opacity: 0; transform: scale(.3) translateY(8px); } }
.countdown__legend { font-size: .85rem; color: var(--muted); margin: 0; }
.countdown__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 10px; }
.countdown__copied { font-size: .9rem; margin: 0; color: var(--ink); user-select: all; }
@media (max-width: 860px) { .countdown__grid { grid-template-columns: 1fr; } }

/* Papa Duck in der Fußzeile */
.duck-stage { position: relative; height: 96px; margin-top: -40px; overflow-x: clip; }
.duck-walker { position: absolute; bottom: 4px; left: -110px; animation: duck-walk 30s linear infinite; animation-delay: 3s; }
@keyframes duck-walk { 0% { transform: translateX(0); } 60% { transform: translateX(calc(100vw + 220px)); } 100% { transform: translateX(calc(100vw + 220px)); } }
.duck { display: block; width: 68px; height: 62px; padding: 0; border: 0; background: none; cursor: pointer; }
.duck svg { width: 100%; height: 100%; overflow: visible; }
.duck__body { animation: bob .45s ease-in-out infinite alternate; transform-origin: 50% 90%; }
.duck__leg { transform-box: fill-box; transform-origin: top center; animation: leg .45s ease-in-out infinite alternate; }
.duck__leg--b { animation-direction: alternate-reverse; }
@keyframes bob { from { transform: rotate(-3deg) translateY(0); } to { transform: rotate(3deg) translateY(-2px); } }
@keyframes leg { from { transform: rotate(-18deg); } to { transform: rotate(18deg); } }
.duck-stage:hover .duck-walker, .duck-stage:focus-within .duck-walker, .duck-stage.is-talking .duck-walker,
.duck-stage:hover .duck__body, .duck-stage:focus-within .duck__body, .duck-stage.is-talking .duck__body,
.duck-stage:hover .duck__leg, .duck-stage:focus-within .duck__leg, .duck-stage.is-talking .duck__leg { animation-play-state: paused; }
.duck:hover svg, .duck:focus-visible svg { transform: scale(1.08); transition: transform .2s; }
.duck-bubble { position: absolute; bottom: 70px; left: 20px; width: max-content; max-width: 240px; margin: 0; background: var(--white); color: var(--ink); font-weight: 600; font-size: .9rem; padding: 8px 14px; border-radius: 16px; box-shadow: 0 10px 24px rgba(0,0,0,.25); animation: pop .35s var(--ease); }
.duck-bubble::after { content: ''; position: absolute; left: 22px; bottom: -7px; border: 8px solid transparent; border-top-color: var(--white); border-bottom: 0; }
.duck-bubble a { color: var(--gold-deep) !important; text-decoration: underline !important; margin-left: 4px; }
[data-mood="calm"] .duck-stage { display: none; }
@media (prefers-reduced-motion: reduce) {
  .duck-walker { animation: none; left: auto; right: max(20px, calc((100vw - var(--container)) / 2)); }
  .duck__body, .duck__leg, .eq i, .fw-star, .hero__word, .countdown__stones li, .countdown__num { animation: none !important; }
  .js .fireworks.reveal.is-visible .fw-ray { animation: none; }
}

/* ==========================================================================
   Verwaltungsbereich
   ========================================================================== */
.admin-loading { min-height: 100vh; display: grid; place-items: center; color: var(--muted); }
.adm { --nav-w: 260px; min-height: 100vh; display: grid; grid-template-columns: var(--nav-w) 1fr; grid-template-rows: 64px 1fr; background: #f7f5ef; font-size: 1rem; }
.adm-top { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; background: var(--black); color: #efe9da; padding: 0 20px; position: sticky; top: 0; z-index: 20; border-bottom: 3px solid var(--gold); }
.adm-top__logo .logo { height: 44px; width: auto; }
.adm-top__label { font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.adm-top__site { margin-left: auto; color: #efe9da; text-decoration: none; font-size: .92rem; }
.adm-top__menu { display: none; background: none; border: 0; color: #fff; width: 44px; height: 44px; place-items: center; margin-left: -8px; }
.adm-nav { background: var(--white); border-right: 1px solid var(--line); padding: 20px 12px; position: sticky; top: 64px; height: calc(100vh - 64px); overflow-y: auto; display: flex; flex-direction: column; }
.adm-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.adm-nav a { display: flex; align-items: center; justify-content: space-between; padding: 11px 14px; border-radius: 6px; color: var(--ink); text-decoration: none; font-weight: 500; }
.adm-nav a:hover { background: var(--tint); color: var(--ink); }
.adm-nav a[aria-current="page"] { background: var(--gold-soft); font-weight: 700; box-shadow: inset 3px 0 0 var(--gold-deep); }
.adm-nav__logout { margin-top: auto; background: none; border: 1px solid var(--line); border-radius: 6px; padding: 10px; color: var(--muted); }
.adm-count { background: var(--gold); color: var(--black); font-size: .78rem; font-weight: 800; border-radius: 99px; min-width: 24px; height: 24px; display: grid; place-items: center; padding: 0 6px; }
.adm-main { padding: clamp(20px, 3.5vw, 44px); max-width: 1120px; width: 100%; }
.adm-main:focus { outline: none; }
.adm-pagehead { margin-bottom: 28px; }
.adm-pagehead h1 { font-size: clamp(2rem, 3.4vw, 2.7rem); margin-bottom: .2em; }
.adm-pagehead p { color: var(--muted); max-width: 75ch; margin: 0; }
.adm h2 { font-size: 1.6rem; }
.adm-card { background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: clamp(18px, 2.4vw, 28px); margin-bottom: 18px; }
.adm-narrow { max-width: 560px; }
.adm-form { display: grid; gap: 18px; }
.adm-form .field input, .adm-form .field textarea, .adm-card .field input, .adm-card .field textarea { background: #fcfbf7; }
.adm-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.adm-label { font-weight: 600; color: var(--ink); font-size: .95rem; }
.adm-help { font-size: .86rem; color: var(--muted); margin: 0; }
.adm-muted { color: var(--muted); font-size: .92rem; margin: 0; }
.adm-empty { color: var(--muted); padding: 28px; text-align: center; background: var(--white); border: 1px dashed var(--line); border-radius: 8px; }
.adm-loading { color: var(--muted); }
.adm-list { list-style: none; margin: 0; padding: 0; }
.adm-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.adm-add { margin-bottom: 20px; }
.adm-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 42px; padding: 8px 16px; border-radius: 6px; border: 1px solid #d6cfbd; background: var(--white); color: var(--ink); font-weight: 600; font-size: .94rem; text-decoration: none; transition: background .15s, border-color .15s; }
.adm-btn:hover { border-color: var(--gold-deep); color: var(--ink); }
.adm-btn:disabled { opacity: .45; cursor: not-allowed; }
.adm-btn--primary { background: var(--gold); border-color: var(--gold); color: var(--black); }
.adm-btn--primary:hover { background: var(--gold-hover); }
.adm-btn--ghost { background: transparent; border-color: transparent; color: var(--muted); }
.adm-btn--danger { background: #b3261e; border-color: #b3261e; color: #fff; }
.adm-btn--danger:hover { color: #fff; background: #93201a; }
.adm-btn--danger-ghost { background: transparent; border-color: transparent; color: #b3261e; }
.adm-btn--icon { min-width: 42px; padding: 8px; font-size: 1.1rem; }
.adm-confirm { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; background: #fdecea; padding: 4px 4px 4px 12px; border-radius: 6px; color: #8a1c14; font-weight: 600; font-size: .92rem; }
.adm-badge { display: inline-block; font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 3px 9px; border-radius: 99px; }
.adm-badge--gold { background: var(--gold); color: var(--black); }
.adm-badge--green { background: #dff3e4; color: #1d6b33; }
.adm-badge--blue { background: #e3edfb; color: #1f4f96; }
.adm-badge--grey { background: #ecebe7; color: #5a574f; }
.adm-note { background: #fff8dc; border: 1px solid #f0dc8c; border-radius: 8px; padding: 16px 18px; margin: 18px 0; font-size: .95rem; }
.adm-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.adm-tile { background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 22px; text-align: left; display: grid; gap: 4px; transition: border-color .15s, transform .15s; }
.adm-tile:hover { border-color: var(--gold-deep); transform: translateY(-2px); }
.adm-tile strong { font-family: var(--serif); font-size: 2.8rem; line-height: 1; color: var(--ink); font-weight: 600; }
.adm-tile span { color: var(--muted); }
.adm-tile--hi { background: var(--gold-soft); border-color: var(--gold); }
.adm-quick { margin-top: 32px; }
.adm-quick ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.adm-quick button, .adm-quick a { background: none; border: 0; padding: 4px 0; color: var(--gold-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.adm-inq { background: var(--white); border: 1px solid var(--line); border-radius: 8px; margin-bottom: 10px; overflow: hidden; }
.adm-inq--new { border-color: var(--gold); box-shadow: inset 4px 0 0 var(--gold); }
.adm-inq__head { width: 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; text-align: left; padding: 16px 18px; background: none; border: 0; color: var(--ink); }
.adm-inq__mail { color: var(--muted); }
.adm-inq__head time { margin-left: auto; color: var(--muted); font-size: .9rem; }
.adm-inq__body { padding: 0 18px 18px; border-top: 1px solid var(--line); }
.adm-inq__msg { white-space: pre-wrap; background: #fbfaf6; padding: 16px; border-radius: 6px; margin: 16px 0 8px; }
.adm-inq__body .adm-actions { margin-top: 14px; }

.adm-promo { display: grid; grid-template-columns: 160px 1fr; gap: 18px; align-items: start; }
.adm-promo img, .adm-promo .adm-image__empty { width: 160px; height: 120px; object-fit: cover; border-radius: 6px; }
.adm-promo h3 { font-size: 1.5rem; margin: 6px 0 2px; }
.adm-promo .adm-actions { margin-top: 12px; }

.adm-image__row { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-top: 6px; }
.adm-image__preview { width: 160px; height: 120px; object-fit: cover; border-radius: 6px; border: 1px solid var(--line); }
.adm-image__empty { width: 160px; height: 120px; display: grid; place-items: center; background: #f1efe9; color: var(--muted); border-radius: 6px; font-size: .9rem; }
.adm-image__actions { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }

.adm-toggle { display: inline-flex; align-items: center; gap: 12px; cursor: pointer; font-weight: 500; color: var(--ink); position: relative; }
.adm-toggle input { position: absolute; opacity: 0; width: 44px; height: 26px; margin: 0; cursor: pointer; }
.adm-toggle__track { width: 44px; height: 26px; border-radius: 99px; background: #cfcabd; position: relative; flex: none; transition: background .2s; }
.adm-toggle__track span { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .2s; }
.adm-toggle input:checked + .adm-toggle__track { background: #2f8a4a; }
.adm-toggle input:checked + .adm-toggle__track span { transform: translateX(18px); }
.adm-toggle input:focus-visible + .adm-toggle__track { outline: 3px solid var(--gold); outline-offset: 2px; }

.adm-drop { border: 2px dashed #d3c9ad; border-radius: 10px; background: var(--white); padding: 28px; text-align: center; margin-bottom: 24px; display: grid; justify-items: center; gap: 8px; transition: background .2s, border-color .2s; }
.adm-drop p { margin: 0; }
.adm-drop.is-over { background: var(--gold-soft); border-color: var(--gold-deep); }
.adm-gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.adm-gitem { background: var(--white); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; }
.adm-gitem[draggable="true"] .adm-gitem__img { cursor: grab; }
.adm-gitem--off .adm-gitem__img img, .adm-gitem--off .adm-service__n { opacity: .45; }
.adm-gitem__img { position: relative; aspect-ratio: 4 / 3; background: #eee; }
.adm-gitem__img img { width: 100%; height: 100%; object-fit: cover; }
.adm-gitem__pos { position: absolute; top: 8px; left: 8px; background: rgba(20,17,12,.8); color: #fff; font-weight: 700; font-size: .85rem; min-width: 28px; height: 28px; border-radius: 99px; display: grid; place-items: center; }
.adm-gitem__off { position: absolute; top: 8px; right: 8px; }
.adm-gitem__fields { padding: 14px; display: grid; gap: 12px; }
.adm-gitem__fields .field textarea { min-height: 64px; }

.adm-service { display: grid; grid-template-columns: 56px 1fr; gap: 12px; }
.adm-service__n { font-family: var(--serif); font-size: 2rem; color: var(--gold-deep); line-height: 1; }
.adm-service__fields { display: grid; gap: 12px; }

.adm-details { padding: 0; }
.adm-details summary { cursor: pointer; padding: 18px 22px; font-weight: 700; font-size: 1.05rem; color: var(--ink); display: flex; gap: 12px; align-items: center; list-style: none; }
.adm-details summary::-webkit-details-marker { display: none; }
.adm-details summary::before { content: '+'; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--gold-soft); font-weight: 700; flex: none; }
.adm-details[open] summary::before { content: '–'; }
.adm-details[open] summary { border-bottom: 1px solid var(--line); }
.adm-details .adm-form { padding: 22px; }
.adm-listfield { border: 1px solid var(--line); border-radius: 8px; padding: 16px; display: grid; gap: 14px; }
.adm-listfield legend { font-weight: 700; color: var(--ink); padding: 0 6px; }
.adm-listfield__item { background: #fbfaf6; border-radius: 6px; padding: 14px; display: grid; gap: 12px; }
.adm-listfield__head { display: flex; justify-content: space-between; align-items: center; margin: 0; }
.adm-fieldset legend { font-family: var(--serif); font-size: 1.45rem; color: var(--ink); padding: 0 6px; }
.adm-fieldset { display: grid; gap: 16px; }
.adm-sticky-save { position: sticky; bottom: 0; background: linear-gradient(transparent, #f7f5ef 35%); padding: 24px 0 16px; }

.adm-toast-wrap { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 100; width: min(560px, calc(100% - 32px)); pointer-events: none; }
.adm-toast { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-radius: 8px; background: #1d3b27; color: #fff; font-weight: 600; box-shadow: 0 12px 30px rgba(0,0,0,.25); animation: fade .2s; }
.adm-toast--error { background: #8a1c14; }

@media (max-width: 900px) {
  .adm { grid-template-columns: 1fr; }
  .adm-top__menu { display: grid; }
  .adm-top__label { display: none; }
  .adm-nav { position: fixed; top: 64px; left: 0; bottom: 0; width: min(300px, 86vw); height: auto; z-index: 30; transform: translateX(-102%); transition: transform .25s; box-shadow: 0 0 40px rgba(0,0,0,.2); }
  .adm--menu .adm-nav { transform: none; }
  .adm-row { grid-template-columns: 1fr; }
  .adm-promo { grid-template-columns: 1fr; }
  .adm-promo img, .adm-promo .adm-image__empty { width: 100%; height: 180px; }
  .adm-top__site { font-size: .85rem; }
}

.adm-inq__facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 16px 0 0; }
.adm-inq__facts div { display: grid; }
.adm-inq__facts dt { font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-deep); }
.adm-inq__facts dd { margin: 0; font-weight: 600; color: var(--ink); }
@media (max-width: 640px) { .occ__chip { min-height: 40px; padding: 6px 14px; font-size: .88rem; } .occ__chips { gap: 8px; } }

.welcome__images .framed:first-child img { object-position: 30% 50%; }
.dj__big img { object-position: 60% 45%; }

.nojs-fallback { padding: calc(var(--header-h) + 24px) 16px 40px; }
.js .nojs-fallback { display: none; }
