/* GONDEL BAR — Anlass-Seiten (hochzeit, firmenfeier, private-feier, messe) und der Fußzeilen-Block „Anlässe“.
   Ergänzt site.css. Farben und Schriften nur über Tokens; eigene Werte stehen im :root-Block. */

:root {
  --an-glow: rgba(246, 182, 94, .13);
  --an-glow-weak: rgba(246, 182, 94, .05);
  --an-panel: rgba(239, 230, 212, .035);
  --an-shade: rgba(0, 0, 0, .5);
  --an-on-brass: #1b130b;
  --an-sec-gap: clamp(72px, 8.5vw, 132px);
  --an-radius: 22px;
}

.footer__anlaesse--err ul { justify-content: center; }

/* ---------------------------------------------------------------- Grundlage Anlass-Seiten */
.page-anlass { hyphens: none; -webkit-hyphens: none; }
.page-anlass main { overflow-wrap: break-word; }
.an-kopf-btn { min-height: 44px; padding: .45rem 1.15rem; font-size: .9rem; white-space: nowrap; }
.an-kopf-btn:focus-visible,
.page-anlass .btn:focus-visible { outline: 2px solid var(--brass-2); outline-offset: 3px; }

.an-h2 {
  font-family: var(--display); font-weight: 750;
  font-size: clamp(2rem, 4.2vw, 3.8rem);
  line-height: 1.06; letter-spacing: -.04em;
  max-width: 17ch;
}
.an-h3 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(1.45rem, 2.4vw, 2.1rem);
  line-height: 1.12; letter-spacing: -.035em;
}
.an-text { margin-top: 1.2rem; max-width: 56ch; color: var(--ink-2); font-size: clamp(1.02rem, 1.15vw, 1.15rem); }
.an-sec { position: relative; padding: var(--an-sec-gap) 0; }
.an-sec--tief { background: var(--forest-950); }
.an-sec--mitte { background: linear-gradient(180deg, var(--forest-950), var(--forest-850)); }
.an-sec--ticket { background: var(--forest-850); }
.an-sec--ab { background: linear-gradient(180deg, var(--forest-850), var(--forest-950)); }
.an-sec .btn-row { margin-top: var(--btn-gap); }

/* ---------------------------------------------------------------- Einstieg */
.an-hero {
  position: relative; overflow: hidden;
  padding-top: calc(var(--header-h) + clamp(56px, 9vw, 132px));
  background:
    radial-gradient(70% 60% at 80% 12%, var(--an-glow), transparent 70%),
    linear-gradient(180deg, var(--forest-950), var(--forest-900) 70%, var(--forest-950));
}
.an-hero__sterne {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 0; opacity: .6; pointer-events: none;
}
.an-hero__copy { position: relative; z-index: 2; }
.an-hero h1 {
  max-width: 13ch;
  font-family: var(--display); font-weight: 750;
  font-size: clamp(2.5rem, 6.6vw, 5.8rem);
  line-height: 1.02; letter-spacing: -.045em;
}
.an-light { display: block; color: var(--brass-2); font-weight: 300; letter-spacing: -.04em; }
.an-hero__lead { margin-top: clamp(1.2rem, 2vw, 1.7rem); max-width: 46ch; font-size: clamp(1.05rem, 1.3vw, 1.22rem); color: var(--ink-2); }
/* Landschaft liegt unter dem Text, nie dahinter */
.an-land { position: relative; z-index: 1; height: clamp(210px, 40vw, 620px); margin-top: clamp(-150px, -7vw, -24px); pointer-events: none; }
.an-land img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; }
.an-land::after { content: ""; position: absolute; inset: auto 0 0; height: 26%; background: linear-gradient(180deg, transparent, var(--forest-950)); }

/* ---------------------------------------------------------------- Anlässe als Zeilen */
.an-momente { margin-top: clamp(40px, 5vw, 72px); border-top: 1px solid var(--line); }
.an-moment {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) auto;
  gap: 10px clamp(24px, 3.4vw, 56px); align-items: baseline;
  padding: clamp(24px, 3vw, 38px) 0;
  border-bottom: 1px solid var(--line);
}
.an-moment h3 { font-family: var(--display); font-weight: 650; font-size: clamp(1.35rem, 2.3vw, 2rem); line-height: 1.15; letter-spacing: -.035em; }
.an-moment p { color: var(--ink-2); max-width: 46ch; }
.an-link {
  display: inline-flex; align-items: center; gap: .55rem; justify-self: start;
  padding: .45rem 0; white-space: nowrap;
  color: var(--brass-2); font-weight: 600; font-size: .95rem; text-decoration: none;
  border-bottom: 1px solid var(--line-brass);
  transition: color .3s ease, border-color .3s ease;
}
.an-link svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: translate .45s var(--ease-reveal); }
.an-link:focus-visible { outline: 2px solid var(--brass-2); outline-offset: 4px; border-radius: 4px; }
@media (hover: hover) {
  .an-link:hover { color: var(--ink); border-color: var(--brass-2); }
  .an-link:hover svg { translate: 4px 0; }
}

/* ---------------------------------------------------------------- Was drin ist */
.an-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(36px, 6vw, 110px); align-items: start; }
.an-daten { border-top: 1px solid var(--line-brass); }
.an-daten > div {
  display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: 6px 24px;
  padding: 1.15rem 0; border-bottom: 1px solid var(--line);
}
.an-daten dt { color: var(--ink-3); font-size: .95rem; line-height: 1.7; }
.an-daten dd { margin: 0; color: var(--ink); }
.an-daten dd p { color: var(--ink); }
.an-daten dd .an-chips + p { margin-top: .7rem; color: var(--ink-2); font-size: .95rem; }
.an-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.an-chips li {
  padding: .3rem .85rem; border: 1px solid var(--line-brass); border-radius: 999px;
  font-size: .93rem; line-height: 1.45; background: var(--an-panel);
}
.an-chips small { color: var(--ink-3); font-size: .86em; }

/* Abrechnung */
.an-wahl { margin-top: clamp(64px, 8vw, 112px); padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); }
.an-wahl__paar { margin-top: clamp(28px, 3vw, 40px); display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 18px; align-items: stretch; }
.an-wahl__eins { margin-top: clamp(28px, 3vw, 40px); max-width: 680px; }
.an-option {
  padding: clamp(24px, 3vw, 38px);
  border: 1px solid var(--line); border-radius: var(--an-radius);
  background: var(--an-panel);
}
.an-option h4 { font-family: var(--display); font-weight: 700; font-size: clamp(1.2rem, 1.6vw, 1.4rem); line-height: 1.2; letter-spacing: -.02em; color: var(--brass-2); }
.an-option > p { margin-top: .5rem; color: var(--ink-2); }
.an-option ul { margin-top: 1.1rem; display: grid; gap: .6rem; }
.an-option li { position: relative; padding-left: 1.5rem; color: var(--ink); font-size: .98rem; line-height: 1.5; }
.an-option li::before { content: ""; position: absolute; left: 0; top: .74em; width: .8rem; height: 1px; background: var(--brass); }
.an-oder { align-self: center; color: var(--brass-2); font-weight: 300; font-size: 1.35rem; letter-spacing: -.02em; }
.an-wahl__hinweis { margin-top: 1.1rem; color: var(--ink-3); font-size: .92rem; }

/* ---------------------------------------------------------------- Ablauf als Skipass-Karte */
.an-ticket {
  position: relative;
  margin-top: clamp(40px, 5vw, 64px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  border: 1px solid var(--line-brass); border-radius: var(--an-radius);
  background:
    radial-gradient(90% 80% at 100% 0%, var(--an-glow-weak), transparent 70%),
    linear-gradient(135deg, var(--forest-800), var(--forest-900));
  box-shadow: 0 30px 70px -36px var(--an-shade);
}
.an-ticket__teil { position: relative; padding: clamp(28px, 4vw, 56px); }
.an-ticket__teil--pass { border-left: 2px dashed var(--line-brass); }
/* ausgestanzte Halbkreise an der Abrisskante */
.an-ticket__teil--pass::before,
.an-ticket__teil--pass::after {
  content: ""; position: absolute; left: -18px; width: 34px; height: 34px; border-radius: 50%;
  background: var(--forest-850);
}
.an-ticket__teil--pass::before { top: -18px; }
.an-ticket__teil--pass::after { bottom: -18px; }
.an-ticket h3 { font-family: var(--display); font-weight: 700; font-size: clamp(1.5rem, 2.4vw, 2.1rem); line-height: 1.1; letter-spacing: -.035em; }
.an-ticket__teil--pass h3, .an-ticket__teil--pass .an-ticket__unter { padding-right: clamp(84px, 9vw, 120px); }
.an-ticket__unter { margin-top: .45rem; color: var(--ink-3); font-size: .95rem; }
.an-ticket__liste { margin-top: 1.4rem; display: grid; gap: .7rem; }
.an-ticket__liste li { position: relative; padding-left: 1.5rem; color: var(--ink); line-height: 1.5; }
.an-ticket__liste li::before { content: ""; position: absolute; left: 0; top: .74em; width: .8rem; height: 1px; background: var(--brass); }
.an-ticket__fuss { margin-top: 1.6rem; padding-top: 1.1rem; border-top: 1px solid var(--line); color: var(--ink-2); font-size: .95rem; }
.an-stempel {
  position: absolute; top: clamp(20px, 3vw, 36px); right: clamp(20px, 3vw, 36px);
  width: clamp(72px, 8vw, 104px); height: clamp(72px, 8vw, 104px);
  rotate: -10deg; opacity: .92;
}
.an-ticket__weg { margin-top: 1.4rem; display: grid; gap: 1.3rem; }
.an-ticket__weg li { position: relative; padding-left: 1.6rem; }
.an-ticket__weg li::before {
  content: ""; position: absolute; left: 0; top: .5em; width: 9px; height: 9px; border-radius: 50%;
  border: 1.5px solid var(--brass-2);
}
.an-ticket__weg li:last-child::before { background: var(--brass-2); }
.an-ticket__weg li:not(:last-child)::after {
  content: ""; position: absolute; left: 4px; top: calc(.5em + 13px); bottom: calc(-1.3rem + 4px); width: 1px; background: var(--line-brass);
}
.an-zeit { display: block; color: var(--brass-2); font-size: .9rem; font-weight: 600; }
.an-ticket__weg p { margin-top: .15rem; color: var(--ink); line-height: 1.5; }

/* ---------------------------------------------------------------- Fragen */
.an-faq { margin-top: clamp(36px, 4vw, 56px); max-width: 920px; border-top: 1px solid var(--line); }
.an-faq__item { border-bottom: 1px solid var(--line); }
.an-faq__item summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 1.3rem 0;
  font-weight: 650; font-size: clamp(1.06rem, 1.45vw, 1.28rem); line-height: 1.35; letter-spacing: -.015em;
  transition: color .3s ease;
}
.an-faq__item summary::-webkit-details-marker { display: none; }
.an-faq__item summary:focus-visible { outline: 2px solid var(--brass-2); outline-offset: 4px; border-radius: 6px; }
.an-faq__ic {
  flex: none; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line-brass); color: var(--brass-2);
  transition: rotate .45s var(--ease-reveal), background-color .3s ease, color .3s ease;
}
.an-faq__ic svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.an-faq__item[open] .an-faq__ic { rotate: 45deg; background: var(--brass-2); color: var(--an-on-brass); }
.an-faq__antwort { padding: 0 3.6rem 1.5rem 0; }
.an-faq__antwort p { color: var(--ink-2); max-width: 64ch; }
@media (hover: hover) { .an-faq__item summary:hover { color: var(--brass-2); } }

/* ---------------------------------------------------------------- Andere Anlässe */
.an-weiter { border-top: 1px solid var(--line); }
.an-weiter a {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 24px; align-items: center;
  padding: 1.35rem 0; border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.an-weiter strong { font-family: var(--display); font-weight: 650; font-size: clamp(1.3rem, 2.1vw, 1.85rem); line-height: 1.15; letter-spacing: -.03em; transition: color .3s ease; }
.an-weiter__txt { grid-column: 1; color: var(--ink-3); font-size: .98rem; line-height: 1.5; }
.an-weiter__pfeil {
  grid-column: 2; grid-row: 1 / span 2;
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line-brass); color: var(--brass-2);
  transition: background-color .35s ease, color .35s ease, translate .5s var(--ease-reveal);
}
.an-weiter__pfeil svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.an-weiter a:focus-visible { outline: 2px solid var(--brass-2); outline-offset: 4px; border-radius: 6px; }
@media (hover: hover) {
  .an-weiter a:hover strong { color: var(--brass-2); }
  .an-weiter a:hover .an-weiter__pfeil { background: var(--brass-2); color: var(--an-on-brass); translate: 4px 0; }
}

/* ---------------------------------------------------------------- Abschluss */
.an-schluss {
  padding: var(--an-sec-gap) 0;
  text-align: center;
  background: radial-gradient(60% 70% at 50% 100%, var(--an-glow), transparent 70%), var(--forest-950);
  border-top: 1px solid var(--line);
}
.an-schluss .an-h2 { margin-inline: auto; max-width: 15ch; }
.an-schluss .an-text { margin-inline: auto; max-width: 46ch; }
.an-schluss .btn-row { justify-content: center; }
.an-schluss__mail { margin-top: 1.5rem; color: var(--ink-3); font-size: .95rem; }
.an-schluss__mail a { color: var(--brass-2); text-underline-offset: 3px; }
.an-schluss__mail a:focus-visible { outline: 2px solid var(--brass-2); outline-offset: 3px; border-radius: 4px; }

/* ---------------------------------------------------------------- Tablet und Handy: gleiches Design, nur Größen und Abstände */
@media (max-width: 980px) {
  .an-grid { grid-template-columns: minmax(0, 1fr); }
  .an-moment { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }
  .an-moment .an-link { grid-column: 2; }
}
@media (max-width: 760px) {
  .an-moment { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .an-moment .an-link { grid-column: 1; margin-top: 6px; }
  .an-wahl__paar { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .an-oder { justify-self: center; }
  .an-ticket { grid-template-columns: minmax(0, 1fr); }
  .an-ticket__teil--pass { border-left: 0; border-top: 2px dashed var(--line-brass); }
  .an-ticket__teil--pass::before { top: -18px; left: -18px; }
  .an-ticket__teil--pass::after { top: -18px; bottom: auto; left: auto; right: -18px; }
  .an-daten > div { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .an-faq__antwort { padding-right: 0; }
}
@media (max-width: 480px) {
  .an-kopf-btn { padding: .4rem .95rem; font-size: .85rem; }
  .an-hero .btn-row .btn { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
  .an-link, .an-link svg, .an-faq__ic, .an-faq__item summary, .an-weiter strong, .an-weiter__pfeil, .footer__anlaesse a { transition: none; }
}
