/*
 * Nachtflug composition (site-local) — Figma 5:2 / 5:58 scale parity.
 *
 * Palette / tokens (figma implementation lock):
 *   night #071e0a · sage #506051 · brass #877a52 · gold #d3b86c
 *   cream #f3efe4 · white #ffffff
 *   radius: exactly 3px (cards, controls, buttons)
 *   targets: minimum 44x44px on mobile
 *
 * Scale values are frame-derived (Figma 5:2 desktop, 5:58 mobile at 390) and
 * expressed as CSS custom properties: mobile/390 in :root, desktop (>=48rem)
 * in the min-width media query. Big display sizes and wordmarks use clamp()/
 * max-width so they stay fluid below the 390 reference floor. The page width
 * is not hard-locked: a single max-width container (90rem) caps content at the
 * 1440 frame while remaining fully fluid below it.
 *
 * The :root block re-asserts the pff-* tokens this design depends on because
 * pff-core.layout.document emits the inline token <style> BEFORE the linked
 * stylesheets: the last linked stylesheet (this file) wins the cascade and
 * carries the rendered source of truth. The matching config overrides
 * (pff.core.tokens) stay in sync for the data layer.
 */

:root {
  /* palette + radius */
  --nf-night: #071e0a;
  --nf-sage: #506051;
  --nf-brass: #877a52;
  --nf-gold: #d3b86c;
  --nf-cream: #f3efe4;
  --nf-white: #ffffff;
  --nf-radius: 3px;
  /* consistent hairline that reads on both the sage and brass card fills */
  --nf-card-hairline: rgba(243, 239, 228, 0.22);

  /* layout (mobile / 390 reference) */
  --nf-container: 90rem;
  --nf-inset-x: 24px;

  /* header */
  --nf-header-h: 72px;
  --nf-emblem-h: 40px;
  --nf-menu-trigger-w: 76px;
  --nf-menu-trigger-h: 44px;

  /* hero */
  --nf-hero-wordmark: 342px;
  --nf-hero-tagline-fs: 17px;
  --nf-hero-cta-w: 220px;
  --nf-hero-cta-h: 50px;

  /* statement */
  --nf-statement-min-h: 390px;
  --nf-statement-pad-y: 52px;

  /* offer */
  --nf-offer-pad-y: 40px;
  --nf-offer-region-min-h: 0;
  --nf-offer-gap: 16px;
  --nf-offer-card-min-h: 330px;
  --nf-offer-card-pad-x: 24px;
  --nf-offer-card-pad-y: 38px;
  --nf-offer-card-title-fs: 42px;
  --nf-offer-media-h: 180px;

  /* history (consistent with statement, additional to the Figma frame) */
  --nf-history-min-h: 390px;
  --nf-history-pad-y: 52px;
  --nf-history-fs: 40px;
  --nf-history-media-h: 220px;

  /* reservation */
  --nf-reservation-min-h: 1010px;
  --nf-reservation-pad-y: 44px;
  --nf-reservation-heading-fs: 44px;
  --nf-control-h: 56px;
  --nf-panel-pad: 28px;
  --nf-panel-min-h: 0;

  /* footer */
  --nf-footer-min-h: 248px;
  --nf-footer-pad-y: 38px;
  --nf-footer-gap-x: 32px;
  --nf-footer-wordmark: 330px;

  /* Rendered pff-* token source of truth (cascade winner). */
  --pff-color-bg: var(--nf-cream);
  --pff-color-fg: var(--nf-night);
  --pff-color-muted: var(--nf-sage);
  --pff-color-accent: var(--nf-brass);
  --pff-color-surface: var(--nf-night);
  --pff-color-border: var(--nf-sage);
  --pff-color-focus: var(--nf-gold);
  --pff-radius-default: 3px;
  --pff-radius-sm: 3px;
  --pff-font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --pff-font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
}

@media (min-width: 48rem) {
  :root {
    --nf-inset-x: 72px;

    --nf-header-h: 88px;
    --nf-emblem-h: 48px;

    --nf-hero-wordmark: 900px;
    --nf-hero-tagline-fs: 24px;
    --nf-hero-cta-w: 216px;
    --nf-hero-cta-h: 56px;

    --nf-statement-min-h: 470px;
    --nf-statement-pad-y: 92px;

    --nf-offer-pad-y: 48px;
    --nf-offer-region-min-h: 720px;
    --nf-offer-gap: 20px;
    --nf-offer-card-min-h: 576px;
    --nf-offer-card-pad-x: 44px;
    --nf-offer-card-pad-y: 44px;
    --nf-offer-card-title-fs: 60px;
    --nf-offer-media-h: 260px;

    --nf-history-min-h: 470px;
    --nf-history-pad-y: 92px;
    --nf-history-fs: 58px;
    --nf-history-media-h: 360px;

    --nf-reservation-min-h: 920px;
    --nf-reservation-pad-y: 80px;
    --nf-reservation-heading-fs: 66px;
    --nf-panel-pad: 38px;
    --nf-panel-min-h: 760px;

    --nf-footer-min-h: 470px;
    --nf-footer-pad-y: 70px;
    --nf-footer-gap-x: 120px;
    --nf-footer-wordmark: 480px;
  }
}

/* ----------------------------------------------------------------- base ---- */

body {
  background: var(--nf-night);
  color: var(--nf-cream);
  font-family: var(--pff-font-sans);
}

.nf-container {
  width: 100%;
  max-width: var(--nf-container);
  margin-inline: auto;
  padding-inline: var(--nf-inset-x);
}

/* ---------------------------------------------------------------- header --- */

.nf-header {
  background: var(--nf-sage);
  color: var(--nf-cream);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(243, 239, 228, 0.14);
}

/* In-page anchors clear the sticky header instead of hiding under it. */
#home,
#angebot,
#geschichte,
#reservierungen,
#kontakt {
  scroll-margin-top: var(--nf-header-h);
}

.nf-header__bar {
  min-height: var(--nf-header-h);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nf-header__brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.nf-header__logo {
  height: var(--nf-emblem-h);
  width: auto;
}

.nf-header__brand-label {
  color: var(--nf-cream);
  font-weight: 600;
  letter-spacing: 0.06em;
}

.nf-header__nav {
  display: none;
  flex: 1;
  justify-content: center;
}

/* Wave 1b: configured social icons sit after the primary nav; the flex:1 nav
   pushes the group to the far right. Hidden below 48rem so the mobile bar
   (brand + menu toggle) never overflows; the footer keeps the same link. */
.nf-header__socials {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nf-header__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  color: var(--nf-cream);
  transition: color 200ms var(--pff-motion-ease-out);
}

.nf-header__social-link:hover,
.nf-header__social-link:focus-visible {
  color: var(--nf-gold);
}

.nf-header__social-icon {
  display: block;
}

.nf-header__nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nf-header__nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--nf-cream);
  text-decoration: none;
  letter-spacing: 0.1em;
  font-size: 0.8125rem;
  font-weight: 500;
}

.nf-header__nav-link:hover,
.nf-header__nav-link:focus-visible {
  color: var(--nf-gold);
}

/* native <details> mobile nav — usable without JavaScript */
.nf-mobile-nav {
  margin-inline-start: auto;
  position: relative;
}

.nf-mobile-nav__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-width: var(--nf-menu-trigger-w);
  min-height: var(--nf-menu-trigger-h);
  padding: 0 0.75rem;
  border: 1px solid var(--nf-brass);
  border-radius: var(--nf-radius);
  background: transparent;
  color: var(--nf-cream);
  font: inherit;
  cursor: pointer;
  list-style: none;
}

.nf-mobile-nav__toggle::-webkit-details-marker {
  display: none;
}

.nf-mobile-nav__label {
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
}

.nf-mobile-nav__icon--bars {
  width: 22px;
  height: 2px;
  background: var(--nf-cream);
  position: relative;
  flex: none;
}

.nf-mobile-nav__icon--bars::before,
.nf-mobile-nav__icon--bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: var(--nf-cream);
}

.nf-mobile-nav__icon--bars::before {
  top: -6px;
}

.nf-mobile-nav__icon--bars::after {
  top: 6px;
}

.nf-mobile-nav__icon--close {
  display: none;
  font-size: 1.5rem;
  line-height: 1;
}

.nf-mobile-nav[open] .nf-mobile-nav__icon--bars {
  display: none;
}

.nf-mobile-nav[open] .nf-mobile-nav__icon--close {
  display: inline-block;
}

.nf-mobile-nav__panel {
  position: absolute;
  inset-inline: auto 0;
  top: 100%;
  width: 13rem;
  max-width: calc(100vw - 2rem);
  box-sizing: border-box;
  background: var(--nf-sage);
  padding: 1rem var(--nf-inset-x) 1.75rem;
}

.nf-mobile-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.nf-mobile-nav__link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  color: var(--nf-cream);
  text-decoration: none;
  letter-spacing: 0.1em;
  font-weight: 500;
}

.nf-mobile-nav__link:hover,
.nf-mobile-nav__link:focus-visible {
  color: var(--nf-gold);
}

@media (min-width: 48rem) {
  .nf-header__nav {
    display: flex;
  }

  .nf-header__socials {
    display: flex;
    align-items: center;
    gap: 0.25rem;
  }

  .nf-mobile-nav {
    display: none;
  }
}

/* ------------------------------------------------------------------ hero --- */

.nf-hero {
  position: relative;
  /* Wave 1b: fill the visible viewport below the sticky header; svh keeps it
     usable with dynamic mobile browser chrome, vh is the fallback. */
  min-height: calc(100vh - var(--nf-header-h));
  min-height: calc(100svh - var(--nf-header-h));
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background: var(--nf-night);
}

.nf-hero__media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

/* Wave 1 (D1): the hero film paints over the approved still (which stays the
   poster/fallback layer); the ::after gradient keeps overlaying both. */
.nf-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.nf-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(7, 30, 10, 0.35), rgba(7, 30, 10, 0.6));
}

.nf-hero__inner {
  position: relative;
  z-index: 1;
  text-align: left;
}

.nf-hero__title {
  margin: 0;
}

/* Wordmark lockup — two CSS crops of the single unchanged gilded PNG so the
   NACHTFLUG line and the COCKTAILBAR LOUNGE subline align independently (flush
   right). Every offset is a percentage of the lockup width, so both crops stay
   pixel-aligned at any responsive size. Bands measured from the 4742×1004 PNG:
   name y 0–57.6% / full width; subline glyph box x 19.6–80.7%, y 79.8–99.7%. */
.nf-wordmark {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  width: min(var(--nf-wm-max, 342px), 100%);
}

.nf-wordmark--hero {
  --nf-wm-max: var(--nf-hero-wordmark);
  align-items: flex-start;
  margin-inline: 0;
}

.nf-wordmark--footer {
  --nf-wm-max: var(--nf-footer-wordmark);
  margin-inline: 0 auto;
}

.nf-wordmark__line {
  display: block;
  overflow: hidden;
}

.nf-wordmark__line--name {
  width: 100%;
  aspect-ratio: 4742 / 578;
}

.nf-wordmark__line--sub {
  width: 61.1345%;
  aspect-ratio: 2899 / 200;
  margin-top: 4%;
}

.nf-wordmark__img {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
}

.nf-wordmark__line--sub .nf-wordmark__img {
  width: 163.5737%;
  margin-left: -32.0110%;
  margin-top: -27.6302%;
}

.nf-hero__tagline {
  margin: 1.25rem 0 0;
  color: var(--nf-cream);
  letter-spacing: 0.08em;
  font-size: var(--nf-hero-tagline-fs);
}

.nf-hero__cta-wrap {
  margin: 1.75rem 0 0;
}

.nf-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.75rem 1.75rem;
  border: 0;
  border-radius: var(--nf-radius);
  background: var(--nf-sage);
  color: var(--nf-cream);
  font: inherit;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
}

.nf-button--presentation {
  background: var(--nf-brass);
  color: var(--nf-cream);
}

.nf-button[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

.nf-hero__cta {
  inline-size: var(--nf-hero-cta-w);
  block-size: var(--nf-hero-cta-h);
  padding: 0;
  background: var(--nf-brass);
  color: var(--nf-cream);
  letter-spacing: 0.08em;
}

.nf-hero__cta:hover,
.nf-hero__cta:focus-visible {
  background: var(--nf-gold);
  color: var(--nf-night);
}

@media (min-width: 48rem) {
  /* Wave 1b: the masthead composition stays left-aligned at every width. */
  .nf-wordmark--hero {
    align-items: flex-start;
    margin-inline: 0;
  }
}

/* ------------------------------------------------------------ statement ---- */

.nf-statement {
  background: var(--nf-sage);
  color: var(--nf-cream);
  min-height: var(--nf-statement-min-h);
  padding-block: var(--nf-statement-pad-y);
  display: flex;
  align-items: center;
  justify-content: center;
}

.nf-statement__inner {
  text-align: left;
}

.nf-statement__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1rem;
  color: var(--nf-gold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.9375rem;
  font-weight: 600;
}

/* Heritage mark: a short gilded rule gives "Seit 2001" deliberate presence. */
.nf-statement__eyebrow::before,
.nf-history__eyebrow::before {
  content: "";
  flex: none;
  inline-size: 32px;
  block-size: 2px;
  background: var(--nf-gold);
}

/* Wave 1 (D2): the legacy welcome story renders as readable paragraphs —
   lead in the display face, body paragraphs at a 65ch measure. */
.nf-statement__story {
  max-width: 65ch;
}

.nf-statement__paragraph {
  margin: 0;
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.75;
}

.nf-statement__paragraph + .nf-statement__paragraph {
  margin-top: 1.1em;
}

.nf-statement__paragraph--lead {
  font-family: var(--pff-font-display);
  font-weight: 500;
  font-size: clamp(21px, 2.4vw, 28px);
  line-height: 1.45;
  color: var(--nf-cream);
}

@media (min-width: 48rem) {
  .nf-statement__inner {
    display: grid;
    grid-template-columns: 220px minmax(0, 860px);
    gap: 140px;
    align-items: start;
    justify-content: start;
  }
}

/* ---------------------------------------------------------------- offer --- */

.nf-offer {
  background: var(--nf-night);
  color: var(--nf-cream);
  min-height: var(--nf-offer-region-min-h);
  padding-block: var(--nf-offer-pad-y);
}

.nf-offer__heading {
  margin: 0 0 2.5rem;
  text-align: center;
  font-family: var(--pff-font-display);
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--nf-gold);
}

.nf-offer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--nf-offer-gap);
}

.nf-offer__card {
  min-height: var(--nf-offer-card-min-h);
  border: 1px solid var(--nf-card-hairline);
  border-radius: var(--nf-radius);
  box-sizing: border-box;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Distinct fills, one shared border + join treatment across both cards. */
.nf-offer__card--drinks {
  background: var(--nf-sage);
}

.nf-offer__card--fingerfood {
  background: var(--nf-brass);
}

.nf-offer__card-media {
  flex: none;
  height: var(--nf-offer-media-h);
  overflow: hidden;
  background: var(--nf-night);
  border-bottom: 1px solid var(--nf-card-hairline);
}

.nf-offer__card-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.nf-offer__card-body {
  flex: 1 1 auto;
  padding: var(--nf-offer-card-pad-y) var(--nf-offer-card-pad-x);
  box-sizing: border-box;
}

.nf-offer__card-term {
  margin: 0 0 1rem;
  font-family: var(--pff-font-display);
  font-weight: 500;
  letter-spacing: 0.08em;
  font-size: clamp(30px, 11vw, var(--nf-offer-card-title-fs));
  color: var(--nf-gold);
}

.nf-offer__card-text {
  margin: 0 0 1.5rem;
  line-height: 1.6;
  color: var(--nf-cream);
}

.nf-offer__menu {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.nf-offer__menu-item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(243, 239, 228, 0.2);
}

.nf-offer__menu-name {
  font-weight: 600;
  color: var(--nf-cream);
}

.nf-offer__menu-detail {
  flex: 1 1 12rem;
  color: var(--nf-cream);
  opacity: 0.85;
  font-size: 0.9375rem;
}

.nf-offer__menu-price {
  margin-inline-start: auto;
  white-space: nowrap;
  color: var(--nf-gold);
}

.nf-offer__card-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 1rem;
  color: var(--nf-gold);
  text-decoration: none;
  border: 1px solid var(--nf-gold);
  border-radius: var(--nf-radius);
}

.nf-offer__card-link:hover,
.nf-offer__card-link:focus-visible {
  background: var(--nf-gold);
  color: var(--nf-night);
}

/* Wave 1 (D2): drink taxonomy — the 26 legacy Getränkekategorien in source
   order as an editorial index strip under the offer grid. Names only; gold
   hairline dashes separate the entries, wrap naturally at any width. */
.nf-taxonomy {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 1.75rem 0 0;
  border-top: 1px solid var(--nf-card-hairline);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.55rem 0;
}

.nf-taxonomy__item {
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--nf-cream);
}

.nf-taxonomy__item + .nf-taxonomy__item::before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  inline-size: 14px;
  block-size: 1px;
  background: var(--nf-gold);
  margin-inline: 0.9rem;
}

@media (min-width: 48rem) {
  .nf-offer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* --------------------------------------------------------------- history --- */
/* Additional to the condensed Figma frame; styled consistently with statement.
   Atmosphere photo is a single restrained media figure beside the copy. */

.nf-history {
  background: var(--nf-sage);
  color: var(--nf-cream);
  min-height: var(--nf-history-min-h);
  padding-block: var(--nf-history-pad-y);
  display: flex;
  align-items: center;
  justify-content: center;
}

.nf-history__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.75rem;
  align-items: center;
  width: 100%;
}

.nf-history__inner {
  max-width: 36rem;
  margin-inline: auto;
  text-align: center;
}

.nf-history__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1rem;
  color: var(--nf-gold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.9375rem;
  font-weight: 600;
}

.nf-history__heading {
  margin: 0 0 1rem;
  font-family: var(--pff-font-display);
  font-weight: 500;
  font-size: clamp(28px, 10vw, var(--nf-history-fs));
  line-height: 1.3;
}

.nf-history__text {
  margin: 0;
  line-height: 1.7;
}

.nf-history__story .nf-history__text + .nf-history__text {
  margin-top: 1em;
}

.nf-history__media {
  margin: 0;
  border-radius: var(--nf-radius);
  overflow: hidden;
  height: var(--nf-history-media-h);
  background: var(--nf-night);
}

.nf-history__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (min-width: 48rem) {
  .nf-history__layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 4rem;
  }

  .nf-history__inner {
    margin-inline: 0;
    text-align: left;
    max-width: none;
  }

  .nf-history__media {
    height: auto;
    min-height: var(--nf-history-media-h);
    aspect-ratio: 3 / 2;
  }
}

/* ------------------------------------------------------------ atmosphere --- */
/* Wave 1c correction: exactly one slide at every viewport width; all slides
   share one shallow cinematic landscape ratio (16:7) with object-fit cover
   (original files and CMS sequence untouched). The track scrolls/snaps
   natively; the inline script adds the ~4.5 s autoplay loop (wrap-around,
   combined hover/focus gating, no autoplay under reduced motion) — no
   disabled boundary states. */

.nf-atmosphere {
  background: var(--nf-night);
  padding-block: var(--nf-offer-pad-y);
}

.nf-atmosphere__track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--nf-gold) transparent;
}

.nf-atmosphere__slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  min-width: 0;
}

.nf-atmosphere__figure {
  margin: 0;
  border-radius: var(--nf-radius);
  overflow: hidden;
  background: var(--nf-sage);
  aspect-ratio: 16 / 7;
}

.nf-atmosphere__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.nf-atmosphere__controls {
  display: flex;
  gap: 0.75rem;
  margin: 1.5rem 0 0;
}

.nf-atmosphere__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--nf-card-hairline);
  border-radius: var(--nf-radius);
  background: transparent;
  color: var(--nf-cream);
  cursor: pointer;
  transition: background-color 200ms var(--pff-motion-ease-out), color 200ms var(--pff-motion-ease-out), opacity 200ms var(--pff-motion-ease-out);
}

.nf-atmosphere__arrow:hover,
.nf-atmosphere__arrow:focus-visible {
  background: var(--nf-gold);
  color: var(--nf-night);
}


/* ---------------------------------------------------------- reservation --- */
/* S03-3: non-submitting presentation group (no <form>, no action/endpoint).
   Mobile: single cream stack, full-width panel. Desktop: brass section,
   intro left (480) + cream presentation panel right (minmax(0,700)). */

.nf-reservation {
  background: var(--nf-cream);
  color: var(--nf-night);
  min-height: var(--nf-reservation-min-h);
  padding-block: var(--nf-reservation-pad-y);
}

.nf-reservation__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
}

.nf-reservation__heading {
  margin: 0 0 1rem;
  font-family: var(--pff-font-display);
  font-weight: 500;
  font-size: clamp(30px, 11vw, var(--nf-reservation-heading-fs));
  line-height: 1.2;
}

.nf-reservation__intro {
  margin: 0 0 1.25rem;
  line-height: 1.6;
}

.nf-reservation__note {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  opacity: 0.85;
}

.nf-reservation__panel {
  background: var(--nf-cream);
  color: var(--nf-night);
  border: 1px solid var(--nf-sage);
  border-radius: var(--nf-radius);
  padding: var(--nf-panel-pad);
  min-height: var(--nf-panel-min-h);
}

.nf-reservation__legend {
  margin: 0 0 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 1rem;
}

.nf-reservation__fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.nf-field {
  margin: 0;
  display: flex;
  flex-direction: column;
}

.nf-field--full,
.nf-consent,
.nf-reservation__actions {
  grid-column: 1 / -1;
}

.nf-field--duo {
  grid-column: span 1;
}

.nf-field__label {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.nf-field__input {
  width: 100%;
  min-height: var(--nf-control-h);
  box-sizing: border-box;
  border: 1px solid var(--nf-sage);
  border-radius: var(--nf-radius);
  background: var(--nf-white);
  color: var(--nf-night);
  padding: 0.5rem 0.75rem;
  font: inherit;
}

.nf-field__input:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.nf-consent__label {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  min-height: 44px;
  padding-block: 0.35rem;
  line-height: 1.5;
}

.nf-consent__input {
  flex: none;
  width: 1.125rem;
  height: 1.125rem;
  margin-top: 0.2rem;
}

.nf-consent__link {
  color: var(--nf-brass);
  text-decoration: underline;
}

.nf-reservation__actions .nf-button {
  min-height: var(--nf-control-h);
}

@media (min-width: 48rem) {
  .nf-reservation {
    background: var(--nf-brass);
    color: var(--nf-cream);
  }

  .nf-reservation__grid {
    grid-template-columns: 480px minmax(0, 700px);
    gap: 86px;
    align-items: start;
  }
}

/* ---------------------------------------------------------------- footer --- */

.nf-footer {
  background: var(--nf-night);
  color: var(--nf-cream);
  min-height: var(--nf-footer-min-h);
  padding-block: var(--nf-footer-pad-y);
}

.nf-footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem var(--nf-footer-gap-x);
}

.nf-footer__brand {
  margin: 0 0 1.25rem;
}

/* Footer wordmark uses the shared .nf-wordmark lockup (see hero block). */

.nf-footer__statement {
  margin: 0 0 1.5rem;
  font-family: var(--pff-font-display);
  font-weight: 500;
  font-size: 1.25rem;
  color: var(--nf-gold);
}

.nf-footer__address {
  font-style: normal;
  margin: 0 0 1.25rem;
  line-height: 1.7;
}

.nf-footer__link {
  color: var(--nf-cream);
  text-decoration: none;
}

.nf-footer__link:hover,
.nf-footer__link:focus-visible {
  color: var(--nf-gold);
}

.nf-footer__hours {
  margin: 0 0 1.25rem;
  line-height: 1.7;
}

.nf-footer__directions,
.nf-footer__social {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin: 0 0.75rem 0.75rem 0;
  padding: 0.5rem 0.875rem;
  color: var(--nf-gold);
  text-decoration: none;
  border: 1px solid var(--nf-brass);
  border-radius: var(--nf-radius);
}

.nf-footer__directions:hover,
.nf-footer__social:hover,
.nf-footer__directions:focus-visible,
.nf-footer__social:focus-visible {
  background: var(--nf-brass);
  color: var(--nf-cream);
}

.nf-footer__nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.nf-footer__nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--nf-cream);
  text-decoration: none;
  letter-spacing: 0.06em;
}

.nf-footer__nav-link:hover,
.nf-footer__nav-link:focus-visible {
  color: var(--nf-gold);
}

.nf-footer__meta {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.nf-footer__legal-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.nf-footer__legal-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--nf-cream);
  text-decoration: underline;
}

.nf-footer__copyright {
  margin: 0;
  color: var(--nf-sage);
  font-size: 0.8125rem;
}

/* Consent-gated map (pff-core.parts.map): quiet full-width block under the
   footer grid, themed by the shared --pff-* tokens (dark surface + 3px radius
   come from the Nachtflug token overrides). */
.nf-footer__map {
  margin-top: var(--pff-space-xl);
}

@media (min-width: 48rem) {
  .nf-footer__inner {
    grid-template-columns: 2fr 1fr 1fr;
    align-items: start;
  }

  .nf-footer__meta {
    align-items: flex-end;
    text-align: right;
  }
}

/* ----------------------------------------------------------------- legal --- */

.nf-legal {
  background: var(--nf-cream);
  color: var(--nf-night);
  padding-block: 4rem;
  min-height: 55vh;
}

.nf-legal__inner {
  max-width: 48rem;
  margin-inline: auto;
}

.nf-legal__title {
  margin: 0 0 1.5rem;
  font-family: var(--pff-font-display);
  font-weight: 500;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
}

.nf-legal__text {
  line-height: 1.7;
}

.nf-legal__text > :first-child {
  margin-top: 0;
}

.nf-legal__back {
  margin-top: 2rem;
}

.nf-legal__back-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.5rem 0.875rem;
  color: var(--nf-brass);
  text-decoration: none;
  border: 1px solid var(--nf-brass);
  border-radius: var(--nf-radius);
}

/* ==========================================================================
   Fable 5 §5 — Nachtflug polish + motion personality «Nachtleben» (T-NF-1,
   T-MOT-1). Candlelight, not disco: opacity-first motion, the family's
   longest durations, one gold sheen per page load. The 3px radius silhouette
   is never altered by any rule below. Token overrides on the shared core
   contract: this file loads after the core stylesheets, so these :root
   values win. Decorative reveals are the core CSS-only scroll-driven view()
   animations (double-gated, no JavaScript, content always visible without
   support or motion preference); the global reduced-motion kill switch
   covers every remaining transition and keyframe.
   ========================================================================== */

:root {
  --pff-motion-duration-fast: 200ms;
  --pff-motion-duration-base: 600ms;
  --pff-motion-duration-slow: 800ms;
  --pff-motion-ease-out: cubic-bezier(0.45, 0, 0.55, 1);
  --pff-motion-rise: 0px; /* opacity-first: sections never translate */
  --pff-motion-reveal-range: 60%; /* candlelight pace: the family's deepest entry */

  /* Fable 5 §5.1 — one lighting world. Safe CSS grade pulling the three
     photographic worlds (violet hero, red-neon interior, daylight food)
     toward one candlelight-amber + deep-green evening. Single tunable
     constant; the image bytes stay untouched. */
  --nf-photo-grade: sepia(0.18) saturate(0.88) brightness(0.96);
}

.nf-hero__media,
.nf-history__image,
.nf-offer__card-image {
  filter: var(--nf-photo-grade);
}

/* §5.2 — the reservation card states its inactive truth inside the panel:
   fields are disabled AND a notice chip promotes the phone path (number from
   the approved site contact field). */
.nf-reservation__chip {
  margin: 0 0 1rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--nf-gold);
  border-radius: var(--nf-radius);
  color: var(--nf-night);
  background: rgba(211, 184, 108, 0.14);
  font-size: 0.875rem;
  font-weight: 500;
}

.nf-reservation__chip-link {
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  white-space: nowrap;
}

/* §5.4 — Angebot panel balance: both cards share the dark panel value so the
   gold title contrast holds on both halves (the FINGER FOOD Speisekarte CTA
   awaits an approved menu asset — see report). */
.nf-offer__card--fingerfood {
  background: var(--nf-sage);
}

/* Page entry: stillness. The home sections carry pff-reveal-fade, which is
   an inert hook under the T-MOT-2 visibility invariant (a scroll-driven
   opacity fade blanks full-page captures) — the bands simply stand, always
   fully rendered. Nachtflug's entrance choreography is the load-time hero
   fade and the single gold sheen; candlelight does not flicker on scroll. */

/* Wordmark: one background-position luminance sweep, 1.2s ease-in-out, once
   on load, never loops — a sheen pass over the gilded lockup. */
.nf-wordmark--hero {
  position: relative;
}
.nf-wordmark--hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 42%, rgba(255, 246, 220, 0.35) 50%, transparent 58%);
  background-size: 280% 100%;
  /* Review 2026-08-14: no-repeat — with the default repeat the frozen end
     state (fill: both) tiled the sheen band back into the left edge of the
     lockup, leaving a permanent grey rectangle after the animation. With
     no-repeat the gradient sits fully outside the window at both ends. */
  background-repeat: no-repeat;
  background-position: 120% 0;
  animation: nf-sheen 1.2s var(--pff-motion-ease-out) 0.3s 1 both;
}
@keyframes nf-sheen {
  from { background-position: 120% 0; }
  to   { background-position: -80% 0; }
}

/* Hero: the photograph fades from black over 800ms on first load. */
.nf-hero__media {
  animation: nf-hero-in 800ms var(--pff-motion-ease-out) both;
}
@keyframes nf-hero-in {
  from { opacity: 0; }
}

/* Header/nav: links brighten from 80% to 100% cream over 200ms; the mask
   mark is static. */
.nf-header__nav-link {
  opacity: 0.8;
  transition: opacity 200ms var(--pff-motion-ease-out), color 200ms var(--pff-motion-ease-out);
}
.nf-header__nav-link:hover,
.nf-header__nav-link:focus-visible {
  opacity: 1;
}

/* Menu: the mobile menu fades over the page in 300ms — a dimmed room, not a
   sliding drawer. */
.nf-mobile-nav[open] .nf-mobile-nav__panel {
  animation: nf-menu-in 300ms var(--pff-motion-ease-out);
}
@keyframes nf-menu-in {
  from { opacity: 0; }
}

/* Buttons: ghost buttons glow on hover — a 3px gold halo over 250ms, no
   scale, radius stays 3px. */
.nf-button {
  transition: box-shadow 250ms var(--pff-motion-ease-out), background-color 250ms var(--pff-motion-ease-out), color 250ms var(--pff-motion-ease-out);
}
.nf-button:not([disabled]):hover,
.nf-button:not([disabled]):focus-visible {
  box-shadow: 0 0 0 3px rgba(211, 184, 108, 0.18);
}

/* Angebot cards: panel titles brighten and the card border shifts to gold
   over 250ms on hover; the PDF button underlines. */
.nf-offer__card {
  transition: border-color 250ms var(--pff-motion-ease-out);
}
.nf-offer__card:hover {
  border-color: var(--nf-gold);
}
.nf-offer__card-term {
  transition: color 250ms var(--pff-motion-ease-out);
}
.nf-offer__card-link {
  transition: text-decoration-color 250ms var(--pff-motion-ease-out), background-color 250ms var(--pff-motion-ease-out), color 250ms var(--pff-motion-ease-out);
}

/* Forms: field borders warm from neutral to gold on focus over 200ms —
   essential feedback, always active. */
.nf-field__input {
  transition: border-color 200ms var(--pff-motion-ease-out), box-shadow 200ms var(--pff-motion-ease-out);
}
.nf-field__input:focus-visible {
  border-color: var(--nf-gold);
  box-shadow: 0 0 0 3px rgba(211, 184, 108, 0.18);
  outline: none;
}

/* Links/CTAs: gold underline fade-in over 150ms. */
.nf-footer__nav-link,
.nf-reservation__chip-link {
  transition: text-decoration-color 150ms var(--pff-motion-ease-out), color 150ms var(--pff-motion-ease-out);
}

/* Route transitions: a 250ms fade through deep green between home and
   datenschutz; plain navigation stays the baseline where View Transitions
   are unavailable. */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
}

/* Reduced motion: the hero film stays hidden (the inline script also pauses
   it); the approved still in .nf-hero__media remains the hero visual. */
@media (prefers-reduced-motion: reduce) {
  .nf-hero__video {
    display: none;
  }
}
::view-transition {
  background: #0d2012;
}
::view-transition-old(root) {
  animation: nf-route-out 250ms var(--pff-motion-ease-out) both;
}
::view-transition-new(root) {
  animation: nf-route-in 250ms var(--pff-motion-ease-out) both;
}
@keyframes nf-route-out {
  from { opacity: 1; }
  to   { opacity: 0; }
}
@keyframes nf-route-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Footer: static. The sheen runs once per page load and never anywhere else. */

/* Reservation form status (mail 0823): quiet line under the note, 3px radius. */
.nf-reservation__status {
  margin: var(--pff-space-2xs, 0.5rem) 0 0;
  padding: 12px 16px;
  border: 1px solid currentColor;
  border-radius: 3px;
  font-size: 0.9375rem;
}
