/* =========================================================
   Fischerhaus Wien — Coming soon / landing page
   Palette:
     --cream        #F6F1DC   base background
     --cream-light  #FBF6E2   contrast sections (lighter, not darker)
     --blue         #206FB9   foreground / brand
   Type:
     manofa (Adobe Fonts)     display
     system sans              body
   ========================================================= */

:root {
  --cream: #F6F1DC;
  --cream-light: #FBF6E2;
  --blue: #206FB9;
  --blue-ink: #185694;

  --display: "manofa", "manofa-condensed", Georgia, serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --max-w: 720px;
  --max-w-wide: 1080px;
  --nav-h: 72px;
  --radius: 22px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  position: relative;
  background: var(--cream);
  color: var(--blue);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* --------------------------------------------------------
   Film-grain overlay — grain-bg.jpg, scrolls with page.
   Knobs:
     opacity         = intensity
     background-size = grain scale
   -------------------------------------------------------- */
body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  pointer-events: none;
  z-index: 200;
  opacity: 0.55;
  mix-blend-mode: multiply;
  background-image: url("assets/grain-bg.jpg");
  background-size: 600px 600px;
  background-repeat: repeat;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -10000px;
  top: 8px;
  background: var(--blue);
  color: var(--cream);
  padding: 8px 14px;
  z-index: 1000;
  text-decoration: none;
  border-radius: 4px;
}
.skip-link:focus { left: 8px; }

a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--blue-ink); }

/* =========================================================
   NAVIGATION
   ========================================================= */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: var(--nav-h);
  padding: 0 clamp(1rem, 4vw, 2.5rem);
  background: rgba(246, 241, 220, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(32, 111, 185, 0.12);
}

.nav__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--blue); }
.nav__mark {
  width: 42px;
  height: 42px;
  object-fit: contain;
  display: block;
}
.nav__wordmark {
  display: block;
  height: 28px;
  width: auto;
  object-fit: contain;
}
@media (max-width: 720px) {
  .nav__wordmark { display: none; } /* mark alone on mobile */
}

.nav__links { display: flex; gap: clamp(1rem, 3vw, 2rem); }
.nav__links a {
  font-family: var(--display);
  font-weight: 400;
  font-style: italic;
  font-size: 1.05rem;
  text-decoration: none;
  padding: 6px 2px;
  border-bottom: 1px solid transparent;
  transition: border-color 120ms ease;
}
.nav__links a:hover { border-bottom-color: var(--blue); }

.nav__toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; color: var(--blue); }
.nav__toggle-bar { display: block; width: 26px; height: 2px; background: currentColor; margin: 5px 0; transition: transform 150ms ease, opacity 150ms ease; }
.nav[data-open="true"] .nav__toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav[data-open="true"] .nav__toggle-bar:nth-child(2) { opacity: 0; }
.nav[data-open="true"] .nav__toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 720px) {
  .nav__toggle { display: block; }
  .nav__links {
    display: none;                           /* fully removed when closed */
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid rgba(32, 111, 185, 0.15);
    padding: 1rem 0;
  }
  .nav__links a { padding: 12px 1.5rem; font-size: 1.15rem; border-bottom: 1px solid rgba(32, 111, 185, 0.08); }
  .nav__links a:last-child { border-bottom: 0; }
  .nav[data-open="true"] .nav__links { display: flex; }
}

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

.hero {
  text-align: center;
  padding: clamp(3rem, 10vw, 6rem) 1.5rem clamp(2.5rem, 6vw, 4rem);
  max-width: var(--max-w);
  margin: 0 auto;
}

.hero__mark {
  display: block;
  margin: 0 auto 1.2rem;
  width: clamp(160px, 30vw, 260px);
  height: auto;
}

.hero__wordmark {
  margin: 0 0 0.3rem;
  line-height: 1;
  display: flex;
  justify-content: center;
}
.hero__wordmark img {
  width: clamp(260px, 72vw, 560px);
  height: auto;
  display: block;
}

.hero__tagline {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  color: var(--blue);
  font-size: clamp(1.05rem, 2.6vw, 1.35rem);
  letter-spacing: 0.02em;
  margin: 0 0 1.6rem;
}
.hero__tagline em { font-style: italic; }

.hero__hours {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1rem, 2.4vw, 1.2rem);
  letter-spacing: 0.02em;
  margin: 0 0 1.6rem;
}

.hero__cta {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
}
.hero__cta-sub {
  margin: 0;
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
}

/* --------------------------------------------------------
   Status line — plain italic text, no border/pill.
   -------------------------------------------------------- */
.status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--display);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(1.05rem, 2.6vw, 1.25rem);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin: 0 0 0.45rem;
}
.status__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--blue);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .status__dot { animation: none; }
}

/* =========================================================
   PHONE CTA
   ========================================================= */

.phone-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  background: var(--blue);
  color: var(--cream);
  padding: 1rem 1.8rem;
  border-radius: 999px;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 700;
  font-style: normal;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  transition: transform 150ms ease, background 150ms ease, box-shadow 150ms ease;
  box-shadow: 0 4px 14px rgba(32, 111, 185, 0.18);
}
.phone-cta:hover {
  background: var(--blue-ink);
  color: var(--cream);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(32, 111, 185, 0.24);
}
.phone-cta__icon { width: 22px; height: 22px; }

/* --------------------------------------------------------
   Mobile hero — tighten spacing so the phone CTA fits
   above the fold on iPhone-size viewports.
   -------------------------------------------------------- */
@media (max-width: 520px) {
  .hero {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
  }
  .hero__mark {
    width: 130px;
    margin-bottom: 0.6rem;
  }
  .hero__wordmark { margin-bottom: 0.2rem; }
  .hero__wordmark img { width: 64vw; max-width: 320px; }
  .hero__tagline { font-size: 0.98rem; margin-bottom: 1.2rem; }
  .status { margin-bottom: 0.3rem; font-size: 1rem; }
  .hero__hours { margin-bottom: 1rem; font-size: 1rem; }
  .phone-cta { padding: 0.85rem 1.5rem; font-size: 1.05rem; }
  .hero__cta-sub { font-size: 0.88rem; }
}

/* =========================================================
   SPLIT SECTIONS (icon + text, alternating)
   ========================================================= */

.section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(4rem, 10vw, 7rem) 1.5rem;
}

.split {
  max-width: var(--max-w-wide);
  margin: 0 auto;
  padding: clamp(4rem, 10vw, 7rem) 1.5rem;
  display: grid;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}
.split--fish  { grid-template-columns: 2fr 3fr; }  /* fish 40% | text 60% */
.split--house { grid-template-columns: 3fr 2fr; }  /* text 60% | house 40% */

.split__icon {
  display: flex;
  align-items: center;
  justify-content: center;
}
.split__icon img {
  width: 100%;
  height: auto;
  max-width: 320px;
  display: block;
}
.split--house .split__icon img { max-width: 260px; }

.split__text p {
  margin: 0 0 1.1rem;
  font-size: 1.05rem;
  max-width: 46ch;
}
.split__text p:last-child { margin-bottom: 0; }

.split__heading {
  font-family: var(--display);
  font-weight: 700;
  font-style: italic;
  font-size: clamp(3rem, 12vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: 0.005em;
  margin: 0 0 1.5rem;
}

/* Heading and body always share the left edge of the text column */
.split__text    { text-align: left; }
.split__heading { text-align: left; }

@media (max-width: 720px) {
  .split--fish, .split--house {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .split__icon { max-width: 140px; margin: 0 auto; }
  .split__text { text-align: center !important; }
  .split__text p { margin-left: auto; margin-right: auto; }
  .split__heading,
  .split--fish .split__heading,
  .split--house .split__heading { text-align: center; }
  /* On mobile, always show icon first, then text — matches the fish/text order above */
  .split--house .split__icon { order: 1; }
  .split--house .split__text { order: 2; }
}

/* =========================================================
   RESERVIERUNG (accent panel — lighter cream)
   ========================================================= */

.reservierung {
  background: var(--cream-light);
  border-top: 1px solid rgba(32, 111, 185, 0.1);
  border-bottom: 1px solid rgba(32, 111, 185, 0.1);
  text-align: center;
  padding: clamp(3.5rem, 8vw, 5.5rem) 1.5rem;
}
.reservierung__inner { max-width: var(--max-w); margin: 0 auto; }
.reservierung__heading {
  font-family: var(--display);
  font-weight: 700;
  font-style: italic;
  font-size: clamp(2.4rem, 8vw, 4rem);
  line-height: 1;
  margin: 0 0 1.5rem;
}
.reservierung .phone-cta { margin: 0 0 1.2rem; }
.reservierung__note {
  margin: 0;
  font-size: 0.95rem;
  font-style: italic;
  opacity: 0.75;
  max-width: 44ch;
  margin: 0 auto;
}

/* =========================================================
   KONTAKT
   ========================================================= */

.kontakt { max-width: var(--max-w-wide); margin: 0 auto; padding: clamp(4rem, 10vw, 7rem) 1.5rem; text-align: center; }

.kontakt__heading {
  font-family: var(--display);
  font-weight: 700;
  font-style: italic;
  font-size: clamp(3rem, 12vw, 6.5rem);
  line-height: 0.95;
  margin: 0 0 3rem;
}

.contact {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 720px;
  margin: 0 auto 3rem;
}
@media (max-width: 640px) { .contact { grid-template-columns: 1fr; gap: 1.5rem; } }

.contact__label {
  font-family: var(--display);
  font-weight: 700;
  font-style: italic;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 0.5rem;
}
.contact__block p { margin: 0; font-size: 1.05rem; }

.map {
  max-width: 960px;
  margin: 0 auto;
  border: 1.5px solid rgba(32, 111, 185, 0.2);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cream-light);
  /* sit above the grain overlay so the map reads clean */
  position: relative;
  z-index: 201;
}
.map iframe { display: block; filter: grayscale(30%) contrast(1.05); }

/* =========================================================
   FOOTER
   ========================================================= */

.footer {
  border-top: 1px solid rgba(32, 111, 185, 0.15);
  padding: clamp(3rem, 6vw, 4rem) 1.5rem;
  text-align: center;
}
.footer__inner { max-width: var(--max-w); margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 1.2rem; }
.footer__mark {
  width: 84px;
  height: 84px;
  object-fit: contain;
  display: block;
  opacity: 0.75;
}
.footer__links { display: flex; gap: 2rem; font-family: var(--display); font-style: italic; font-size: 1rem; }
.footer__links a { text-decoration: none; border-bottom: 1px solid transparent; }
.footer__links a:hover { border-bottom-color: var(--blue); }
.footer__copy { font-size: 0.85rem; opacity: 0.6; margin: 0; }

/* =========================================================
   IMPRESSUM
   ========================================================= */

.prose { max-width: 680px; margin: 0 auto; padding: 4rem 1.5rem 6rem; text-align: left; }
.prose h1 {
  font-family: var(--display);
  font-weight: 700;
  font-style: italic;
  font-size: clamp(2.5rem, 8vw, 4rem);
  margin: 0 0 2rem;
  text-align: center;
  line-height: 1.05;
  hyphens: auto;
  -webkit-hyphens: auto;
  overflow-wrap: break-word;
  word-break: break-word;
}
.prose h2 {
  font-family: var(--display);
  font-weight: 700;
  font-style: italic;
  font-size: 1.4rem;
  margin: 2.2rem 0 0.6rem;
}
.prose p, .prose ul { margin: 0 0 1rem; font-size: 1rem; }
.prose ul { padding-left: 1.3rem; }
.prose li { margin-bottom: 0.3rem; }
.prose .placeholder {
  background: rgba(32, 111, 185, 0.1);
  padding: 1px 6px;
  border-radius: 3px;
  font-style: italic;
}
.prose .back {
  display: inline-block;
  margin-top: 2.5rem;
  font-family: var(--display);
  font-style: italic;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

@media (max-width: 420px) {
  .prose h1 { font-size: 2.1rem; }
}


/* --------------------------------------------------------
   404 page
   -------------------------------------------------------- */

.prose--center { text-align: center; }
.prose--center h1 {
  font-size: clamp(5rem, 18vw, 9rem);
  margin: 0 0 0.5rem;
  letter-spacing: 0.02em;
}
.prose__lede {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  color: var(--blue);
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  margin: 0 0 1.5rem;
}
.prose__cta { margin: 2.5rem 0 0; }
.prose__cta .phone-cta { font-size: 1.05rem; padding: 0.9rem 1.8rem; }

/* --------------------------------------------------------
   Cookie consent banner
   -------------------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 1000;
  background: var(--cream-light);
  color: var(--blue);
  border: 1px solid rgba(32, 111, 185, 0.2);
  border-radius: 10px;
  padding: 0.85rem 1.1rem;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
  max-width: 640px;
  margin: 0 auto;
  display: none;
  font-family: var(--body);
}
.cookie-banner[data-visible="true"] {
  display: block;
}
.cookie-banner__text {
  margin: 0 0 0.65rem;
  font-size: 0.82rem;
  line-height: 1.45;
}
.cookie-banner__text a {
  color: var(--blue);
  text-decoration: underline;
}
.cookie-banner__actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.cookie-banner__btn {
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.45rem 1rem;
  border-radius: 6px;
  border: 1px solid var(--blue);
  background: transparent;
  color: var(--blue);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.cookie-banner__btn:hover {
  background: rgba(32, 111, 185, 0.08);
}
.cookie-banner__btn--primary {
  background: var(--blue);
  color: var(--cream);
}
.cookie-banner__btn--primary:hover {
  background: var(--blue-ink);
  color: var(--cream);
}

/* --------------------------------------------------------
   Map placeholder (shown until consent or explicit load)
   -------------------------------------------------------- */
.map__placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1.1rem;
  padding: 2rem 1.5rem;
  min-height: 440px;
  background: rgba(32, 111, 185, 0.05);
  border: 1px dashed rgba(32, 111, 185, 0.35);
  border-radius: 8px;
  color: var(--blue);
}
.map__placeholder p {
  max-width: 440px;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
}
.map__placeholder a {
  color: var(--blue);
  text-decoration: underline;
}
.map__load {
  font-family: var(--body);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.7rem 1.4rem;
  border-radius: 6px;
  border: 1px solid var(--blue);
  background: var(--blue);
  color: var(--cream);
  cursor: pointer;
  transition: background 0.15s ease;
}
.map__load:hover {
  background: var(--blue-ink);
}

@media (max-width: 520px) {
  .cookie-banner {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
    padding: 0.75rem 0.9rem;
  }
  .cookie-banner__text {
    font-size: 0.8rem;
    margin-bottom: 0.55rem;
  }
  .cookie-banner__btn {
    font-size: 0.82rem;
    padding: 0.4rem 0.9rem;
  }
  .map__placeholder {
    min-height: 320px;
  }
}


/* =========================================================
   FEIERN (Celebrations) PAGE — feiern.html only
   -----------------------------------------------------------
   Everything below is scoped to .page-feiern (or unique
   .feiern-* class names) so it CANNOT affect index.html,
   the legal pages, or the 404. Reuses the shared .nav,
   .footer, .split and .phone-cta components from above.
   Layout map: A intro · C stats · B split · D cards ·
   B split · E info list · F reasons · G closing CTA.
   ========================================================= */

/* ---- Shared section heading (Layouts C, D, E, F) ---- */
.feiern-section-heading {
  font-family: var(--display);
  font-weight: 700;
  font-style: italic;
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  line-height: 1.02;
  text-align: center;
  margin: 0 0 2rem;
}

/* ---- Layout A: page intro ---- */
.feiern-intro {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(3rem, 9vw, 5.5rem) 1.5rem clamp(2rem, 5vw, 3rem);
  text-align: center;
}
.feiern-intro__heading {
  font-family: var(--display);
  font-weight: 700;
  font-style: italic;
  font-size: clamp(2.8rem, 11vw, 5.5rem);
  line-height: 0.98;
  margin: 0 0 1.6rem;
}
/* medium "standfirst" sentence — sits between heading and body */
.feiern-intro__standfirst {
  font-size: clamp(1.3rem, 3.2vw, 1.75rem);
  line-height: 1.4;
  max-width: 44ch;
  margin: 0 auto 1.5rem;
}
.feiern-intro__body {
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  max-width: 58ch;
  margin: 0 auto;
}

/* ---- Layout C: capacity stats ---- */
.feiern-stats {
  background: var(--cream-light);
  border-top: 1px solid rgba(32, 111, 185, 0.1);
  border-bottom: 1px solid rgba(32, 111, 185, 0.1);
  padding: clamp(3.5rem, 9vw, 6rem) 1.5rem;
}
.feiern-stats__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  text-align: center;
}
.feiern-stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  margin: 0 auto 2.5rem;
  max-width: 620px;
}
.feiern-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}
.feiern-stat__num {
  font-family: var(--display);
  font-weight: 700;
  font-style: italic;
  font-size: clamp(2.8rem, 9vw, 4.5rem);
  line-height: 0.9;
  color: var(--blue);
  white-space: nowrap;
}
/* small "ab" prefix so the big number (15) matches 100 / 70 in weight */
.feiern-stat__prefix {
  font-size: 0.42em;
  margin-right: 0.14em;
  vertical-align: baseline;
}
.feiern-stat__label {
  font-family: var(--display);
  font-style: italic;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.feiern-stats__body {
  max-width: 60ch;
  margin: 0 auto;
  font-size: 1.05rem;
}
@media (max-width: 560px) {
  .feiern-stats__grid { grid-template-columns: 1fr; gap: 1.6rem; }
}

/* ---- Layout B: split photo placeholders + toned-down heading ----
   Reuses .split / .split--fish / .split--house from above.
   The shared .split__icon img cap (320px) and mobile cap (140px)
   target <img>; our placeholder is a <div>, so we size it here. */
.page-feiern .split__icon { max-width: none; margin: 0; }
/* Placeholder box shown until a licensed photo is supplied.
   When swapping in a real <img class="feiern-photo">, this becomes
   image styling: width:100%; max-width:460px; max-height:600px;
   height:auto; display:block; border-radius:var(--radius). */
.feiern-photo {
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(32, 111, 185, 0.05);
  border: 1px dashed rgba(32, 111, 185, 0.35);
  border-radius: var(--radius);
}
.feiern-photo__label {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  color: rgba(32, 111, 185, 0.7);
}
.feiern-split__heading {
  /* smaller than the giant home-page split heading — these run longer.
     hyphens/break-word keep long German compounds from overflowing. */
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  line-height: 1.05;
  margin-bottom: 1.3rem;
  overflow-wrap: break-word;
  hyphens: auto;
  -webkit-hyphens: auto;
}
/* .split__icon fills its grid track (max-width:none above); the
   .feiern-photo placeholder caps and centres itself, so it does not
   need the img-oriented mobile 140px cap or grid auto-margins. */

/* ---- Layout D: 2x2 card grid ---- */
.feiern-cards {
  max-width: var(--max-w-wide);
  margin: 0 auto;
  padding: clamp(4rem, 10vw, 7rem) 1.5rem;
}
.feiern-cards__inner { max-width: 900px; margin: 0 auto; }
.feiern-cards__intro {
  text-align: center;
  max-width: 60ch;
  margin: 0 auto 2.5rem;
  font-size: 1.05rem;
}
.feiern-cards__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.2rem, 3vw, 1.8rem);
}
.feiern-card {
  background: var(--cream-light);
  border: 1px solid rgba(32, 111, 185, 0.12);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.1rem);
}
.feiern-card__title {
  font-family: var(--display);
  font-weight: 700;
  font-style: italic;
  font-size: 1.35rem;
  line-height: 1.1;
  margin: 0 0 0.7rem;
}
.feiern-card p { margin: 0; font-size: 1rem; }
@media (max-width: 640px) {
  .feiern-cards__grid { grid-template-columns: 1fr; }
}

/* ---- Layout E: info list (bold labels, 2 cols) ---- */
.feiern-info {
  max-width: var(--max-w-wide);
  margin: 0 auto;
  padding: clamp(4rem, 10vw, 7rem) 1.5rem;
}
.feiern-info__inner { max-width: 900px; margin: 0 auto; }
.feiern-info__intro {
  text-align: center;
  max-width: 60ch;
  margin: 0 auto 2.5rem;
  font-size: 1.05rem;
}
.feiern-info__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.5rem, 4vw, 2.5rem) clamp(2rem, 5vw, 3.5rem);
}
.feiern-info__item p { margin: 0.35rem 0 0; font-size: 1rem; }
.feiern-info__label {
  font-family: var(--body);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--blue-ink);
}
@media (max-width: 640px) {
  .feiern-info__grid { grid-template-columns: 1fr; gap: 1.6rem; }
}

/* ---- Layout F: reasons checklist (blue checks, distinct from E) ---- */
.feiern-reasons {
  background: var(--cream-light);
  border-top: 1px solid rgba(32, 111, 185, 0.1);
  border-bottom: 1px solid rgba(32, 111, 185, 0.1);
  padding: clamp(4rem, 10vw, 6.5rem) 1.5rem;
}
.feiern-reasons__inner { max-width: 720px; margin: 0 auto; }
.feiern-reasons__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.feiern-reason {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  line-height: 1.5;
}
.feiern-reason__check {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  margin-top: 0.15rem;
  color: var(--blue);
}

/* ---- Layout G: closing CTA + form placeholder ---- */
.feiern-cta {
  max-width: var(--max-w-wide);
  margin: 0 auto;
  padding: clamp(4rem, 10vw, 7rem) 1.5rem;
  text-align: center;
}
.feiern-cta__inner { max-width: var(--max-w); margin: 0 auto; }
.feiern-cta__heading {
  font-family: var(--display);
  font-weight: 700;
  font-style: italic;
  font-size: clamp(2.8rem, 10vw, 5rem);
  line-height: 0.98;
  margin: 0 0 1.4rem;
}
.feiern-cta__lead {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  margin: 0 0 1.2rem;
}
.feiern-cta__body {
  max-width: 58ch;
  margin: 0 auto 2.5rem;
  font-size: 1.05rem;
}
/* Contact form (Formspark) */
.feiern-form__intro {
  max-width: 560px;
  margin: 0 auto 1.5rem;
  text-align: left;
  font-size: 0.95rem;
}
.feiern-form {
  max-width: 560px;
  margin: 0 auto;
  text-align: left;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem 1.2rem;
}
.feiern-field { display: flex; flex-direction: column; min-width: 0; }
.feiern-field--full { grid-column: 1 / -1; }
.feiern-field label {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}
.feiern-field__req { color: var(--blue); }
.feiern-form input,
.feiern-form select,
.feiern-form textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--blue-ink);
  padding: 0.7rem 0.85rem;
  background: var(--cream-light);
  border: 1.5px solid rgba(32, 111, 185, 0.25);
  border-radius: 10px;
  transition: border-color 120ms ease, box-shadow 120ms ease;
}
.feiern-form input::placeholder,
.feiern-form textarea::placeholder { color: rgba(32, 111, 185, 0.45); }
.feiern-form input:focus,
.feiern-form select:focus,
.feiern-form textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(32, 111, 185, 0.15);
}
.feiern-form textarea { resize: vertical; min-height: 120px; }
/* Honeypot — visually removed but still in the DOM for bots */
.feiern-form__hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px; opacity: 0;
}
.feiern-form__consent {
  flex-direction: row;
  align-items: flex-start;
  gap: 0.6rem;
  font-weight: 400;
  font-size: 0.9rem;
  line-height: 1.5;
  cursor: pointer;
}
.feiern-form__consent input { width: auto; flex: 0 0 auto; margin-top: 0.2rem; }
.feiern-form__consent a { color: var(--blue); }
.feiern-form__error {
  grid-column: 1 / -1;
  margin: 0;
  color: #b23b3b;
  font-size: 0.9rem;
}
.feiern-form__submit {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: var(--blue);
  color: var(--cream);
  border: 0;
  padding: 1rem 2rem;
  border-radius: 999px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(32, 111, 185, 0.18);
  transition: background 150ms ease, transform 150ms ease, box-shadow 150ms ease;
}
.feiern-form__submit:hover {
  background: var(--blue-ink);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(32, 111, 185, 0.24);
}
.feiern-form__submit:disabled { opacity: 0.6; cursor: default; transform: none; box-shadow: none; }
.feiern-form__success {
  max-width: 560px;
  margin: 0 auto;
  padding: 2.2rem 1.5rem;
  text-align: center;
  background: var(--cream-light);
  border: 1px solid rgba(32, 111, 185, 0.2);
  border-radius: var(--radius);
}
.feiern-form__success:focus { outline: none; }
.feiern-form__success-title {
  font-family: var(--display);
  font-weight: 700;
  font-style: italic;
  font-size: 1.6rem;
  margin: 0 0 0.5rem;
}
.feiern-form__success p { margin: 0; font-size: 1.05rem; }
@media (max-width: 560px) {
  .feiern-form { grid-template-columns: 1fr; }
}
.feiern-cta__fallback {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.9rem;
}
/* "oder" divider between the form and the direct-contact buttons */
.feiern-or {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 560px;
  margin: 2.75rem auto;
}
.feiern-or::before,
.feiern-or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(32, 111, 185, 0.2);
}
.feiern-or span {
  font-family: var(--display);
  font-style: italic;
  font-size: 1rem;
  letter-spacing: 0.04em;
  color: rgba(32, 111, 185, 0.7);
}
/* Email CTA — outline pill, complements the solid phone pill.
   mailto opens the visitor's mail client; address is not shown. */
.feiern-email-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: transparent;
  color: var(--blue);
  padding: 1rem 1.8rem;
  border: 1.5px solid var(--blue);
  border-radius: 999px;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 700;
  font-style: normal;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  transition: background 150ms ease, color 150ms ease, transform 150ms ease;
}
.feiern-email-cta:hover {
  background: var(--blue);
  color: var(--cream);
  transform: translateY(-1px);
}
.feiern-email-cta__icon { width: 22px; height: 22px; }


/* ============================================================
   Feiern — photography (added with the Patricia Riener set)
   ============================================================ */

/* Photos use a much tighter corner than the site's --radius (22px),
   which is tuned for buttons and cards, not photography. */
.page-feiern { --photo-radius: 8px; }

/* ---- Layout A: hero under the standfirst ---- */
.feiern-hero {
  margin: 0 0 clamp(1.8rem, 4vw, 2.6rem);
}
/* Quiet credit line under the hero. The fuller recommendation lives
   under the gallery; this one only states ownership. */
.feiern-hero__credit {
  margin-top: 0.6rem;
  text-align: right;
  font-size: 0.82rem;
  letter-spacing: 0.01em;
  color: rgba(32, 111, 185, 0.65);
}
.feiern-hero__img,
.feiern-figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--photo-radius);
}

/* ---- Layout C: photo under the capacity copy ---- */
.feiern-figure {
  margin: clamp(2rem, 5vw, 3rem) 0 0;
}

/* ---- Layout B: real photos replace the old placeholder boxes ----
   SPECIFICITY NOTE: the shared decorative-icon rules cap these at
   320px (.split__icon img) and 260px (.split--house .split__icon img).
   Those are 0-2-1 selectors, so a plain "img.feiern-photo" (0-1-1)
   loses to them and the photos render tiny. This 0-3-1 selector wins
   and lets the photo fill its whole grid track. */
.page-feiern .split__icon img.feiern-photo {
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0;
  display: block;
  border-radius: var(--photo-radius);
  aspect-ratio: auto;          /* never crop — full frame always */
  background: none;
  border: 0;
}
/* The split is align-items:center, so a tall portrait simply grows
   past the text block instead of being squashed to match it. */
@media (max-width: 720px) {
  .page-feiern .split__icon img.feiern-photo { max-width: 420px; margin: 0 auto; }
}

/* ---- Gallery ---- */
.feiern-gallery {
  padding: clamp(4rem, 10vw, 7rem) 1.5rem;
}
.feiern-gallery__inner {
  max-width: var(--max-w-wide);
  margin: 0 auto;
}
.feiern-gallery__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: start;
}
@media (min-width: 560px) { .feiern-gallery__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .feiern-gallery__grid { grid-template-columns: repeat(3, 1fr); } }
/* JS adds .is-masonry once it has measured the photos */
.feiern-gallery__grid.is-masonry { grid-auto-rows: 8px; }
.feiern-gallery__grid.is-masonry .feiern-gallery__item { align-self: start; }

.feiern-gallery__item { margin: 0; }
.feiern-gallery__btn {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  border-radius: var(--photo-radius);
  overflow: hidden;
  line-height: 0;
}
.feiern-gallery__btn img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 350ms ease;
}
.feiern-gallery__btn:hover img,
.feiern-gallery__btn:focus-visible img { transform: scale(1.04); }
.feiern-gallery__btn:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.feiern-gallery__credit {
  max-width: 58ch;
  margin: clamp(2.5rem, 6vw, 3.5rem) auto 0;
  padding: clamp(1.4rem, 3vw, 1.9rem) clamp(1.4rem, 4vw, 2.4rem);
  text-align: center;
  font-size: clamp(1.05rem, 2.2vw, 1.18rem);
  line-height: 1.65;
  border: 1.5px solid rgba(32, 111, 185, 0.3);
  border-radius: var(--photo-radius);
  background: rgba(251, 246, 226, 0.6);
}
.feiern-gallery__credit a {
  color: var(--blue);
  text-underline-offset: 3px;
}
.feiern-gallery__credit a:hover { color: var(--blue-ink); }

/* ---- Lightbox ---- */
body.feiern-lb-open { overflow: hidden; }
.feiern-lb {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(20, 28, 38, 0.93);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3.5rem 1rem;
}
/* CRITICAL: .feiern-lb sets display:flex, which outranks the UA rule for
   [hidden] (display:none). Without this the overlay stays laid out over
   the whole page and swallows every click. */
.feiern-lb[hidden] { display: none; }
.feiern-lb__figure {
  margin: 0;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
}
.feiern-lb__img {
  max-width: min(92vw, 1600px);
  max-height: 78vh;
  width: auto;
  height: auto;
  display: block;
  border-radius: 6px;
  object-fit: contain;     /* full frame, never cropped */
}
.feiern-lb__caption {
  color: var(--cream);
  font-size: 0.95rem;
  text-align: center;
  max-width: 54ch;
  opacity: 0.85;
}
.feiern-lb__caption span:first-child {
  font-variant-numeric: tabular-nums;
  margin-right: 0.5rem;
  opacity: 0.7;
}
.feiern-lb__close,
.feiern-lb__nav {
  position: absolute;
  background: rgba(246, 241, 220, 0.12);
  color: var(--cream);
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  line-height: 1;
  transition: background 150ms ease;
}
.feiern-lb__close:hover,
.feiern-lb__nav:hover { background: rgba(246, 241, 220, 0.28); }
.feiern-lb__close:focus-visible,
.feiern-lb__nav:focus-visible { outline: 2px solid var(--cream); outline-offset: 2px; }
.feiern-lb__close {
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  font-size: 1.8rem;
}
.feiern-lb__nav {
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  font-size: 2rem;
}
.feiern-lb__nav--prev { left: 1rem; }
.feiern-lb__nav--next { right: 1rem; }

@media (max-width: 560px) {
  .feiern-lb { padding: 3.5rem 0.5rem; }
  .feiern-lb__img { max-height: 70vh; }
  .feiern-lb__nav { width: 42px; height: 42px; font-size: 1.7rem; }
  .feiern-lb__nav--prev { left: 0.4rem; }
  .feiern-lb__nav--next { right: 0.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  .feiern-gallery__btn img { transition: none; }
  .feiern-gallery__btn:hover img,
  .feiern-gallery__btn:focus-visible img { transform: none; }
}
