/* ==============================================
   SMOKE AT THE WATER – style.css
   Variables · Reset · Typography · Layout
   Components · Pages · Responsive · Motion
   ============================================== */

/* ── 1. CUSTOM PROPERTIES ── */
:root {
  /* Brand colors */
  --color-sand:       #F5E6C8;
  --color-sand-dark:  #EDD9A3;
  --color-blue:       #1A3A5C;
  --color-blue-dark:  #12253D;
  --color-amber:      #E8892A;
  --color-amber-dark: #D47820;
  --color-white:      #FFFFFF;
  --color-muted:      #7A8FA6;

  /* Typography */
  --font-heading: 'Pacifico', cursive;
  --font-body:    'Open Sans', sans-serif;

  /* Spacing scale */
  --space-xs:  0.5rem;   /*  8px */
  --space-sm:  1rem;     /* 16px */
  --space-md:  2rem;     /* 32px */
  --space-lg:  4rem;     /* 64px */
  --space-xl:  6rem;     /* 96px */

  /* Layout */
  --container-max: 1200px;
  --nav-height:    72px;

  /* Z-index scale */
  --z-content:  10;
  --z-dropdown: 20;
  --z-nav:      30;
  --z-lightbox: 50;

  /* Transitions */
  --t-fast: 150ms ease;
  --t-base: 200ms ease;
  --t-slow: 300ms ease;

  /* Radii */
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 28px;
}


/* ── 2. RESET & BASE ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--font-body);
  color: var(--color-blue-dark);
  background-color: var(--color-white);
  line-height: 1.65;
  overflow-x: hidden;
}
img, picture, video {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  cursor: pointer;
  font-family: var(--font-body);
  border: none;
  background: none;
}
ul, ol {
  list-style: none;
}
address {
  font-style: normal;
}


/* ── 3. TYPOGRAPHY ── */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-blue);
  line-height: 1.2;
  font-weight: 400; /* Pacifico is display weight */
}
h1 { font-size: clamp(2.25rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.875rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.125rem; }
p  { line-height: 1.75; max-width: 65ch; }


/* ── 4. UTILITIES ── */
.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 1.5rem;
}
@media (min-width: 768px)  { .container { padding-inline: 2rem; } }
@media (min-width: 1440px) { .container { padding-inline: 3rem; } }

.section {
  padding-block: var(--space-xl);
}
.section--sand {
  background-color: var(--color-sand);
}
.section--blue {
  background-color: var(--color-blue);
  color: var(--color-white);
}
.section--blue h2,
.section--blue h3,
.section--blue h4 {
  color: var(--color-white);
}
.section--white {
  background-color: var(--color-white);
}

.section__header {
  text-align: center;
  margin-bottom: var(--space-lg);
}
.section__label {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-amber);
  margin-bottom: var(--space-xs);
}
.section__title {
  margin-bottom: 0.75rem;
}
.section__subtitle {
  color: var(--color-muted);
  font-size: 1.0625rem;
  max-width: 50ch;
  margin-inline: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: var(--r-md);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  min-height: 44px;
  text-decoration: none;
  transition: background-color var(--t-base), color var(--t-base),
              border-color var(--t-base), box-shadow var(--t-base),
              transform var(--t-base);
}
.btn:focus-visible {
  outline: 3px solid var(--color-amber);
  outline-offset: 3px;
}
.btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.btn--primary {
  background-color: var(--color-amber);
  color: var(--color-white);
}
.btn--primary:hover {
  background-color: var(--color-amber-dark);
  box-shadow: 0 4px 20px rgba(232,137,42,0.4);
  transform: translateY(-1px);
}

.btn--ghost {
  background-color: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255,255,255,0.7);
}
.btn--ghost:hover {
  background-color: rgba(255,255,255,0.15);
  border-color: var(--color-white);
}

.btn--outline {
  background-color: transparent;
  color: var(--color-blue);
  border: 2px solid var(--color-blue);
}
.btn--outline:hover {
  background-color: var(--color-blue);
  color: var(--color-white);
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--t-slow), transform var(--t-slow);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }
.reveal-delay-3 { transition-delay: 300ms; }


/* ── 5. SITE HEADER & NAV ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  background-color: var(--color-white);
  transition: box-shadow var(--t-base);
}
.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(26,58,92,0.1);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 1.5rem;
}
@media (min-width: 768px)  { .nav { padding-inline: 2rem; } }

.nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.nav__logo img {
  height: 44px;
  width: auto;
}
.nav__logo:focus-visible {
  outline: 3px solid var(--color-amber);
  outline-offset: 4px;
  border-radius: var(--r-sm);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav__links a {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0.5rem 0.875rem;
  min-height: 44px;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--color-blue);
  border-radius: var(--r-sm);
  transition: color var(--t-base), background-color var(--t-base);
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0.875rem;
  right: 0.875rem;
  height: 2px;
  background-color: var(--color-amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-base);
  border-radius: 1px;
}
.nav__links a:hover {
  color: var(--color-amber);
  background-color: rgba(232,137,42,0.06);
}
.nav__links a:hover::after,
.nav__links a.active::after {
  transform: scaleX(1);
}
.nav__links a.active {
  color: var(--color-amber);
}
.nav__links a:focus-visible {
  outline: 3px solid var(--color-amber);
  outline-offset: 2px;
}

/* Hamburger button */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: var(--r-sm);
  transition: background-color var(--t-base);
}
.nav__hamburger:hover {
  background-color: rgba(26,58,92,0.07);
}
.nav__hamburger:focus-visible {
  outline: 3px solid var(--color-amber);
  outline-offset: 2px;
}
.nav__hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-blue);
  border-radius: 2px;
  transition: transform var(--t-base), opacity var(--t-base);
}
/* Hamburger → X animation */
.site-header.nav--open .nav__hamburger span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.site-header.nav--open .nav__hamburger span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.site-header.nav--open .nav__hamburger span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}


/* ── 6. MOBILE NAV (max 767px) ── */
@media (max-width: 767px) {
  .nav__hamburger {
    display: flex;
  }
  .nav__links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background-color: var(--color-white);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1.5rem 1.25rem;
    box-shadow: 0 8px 32px rgba(26,58,92,0.12);
    border-top: 1px solid var(--color-sand-dark);
    z-index: var(--z-dropdown);
  }
  .site-header.nav--open .nav__links {
    display: flex;
  }
  .nav__links a {
    padding: 0.875rem 0.5rem;
    border-radius: 0;
    border-bottom: 1px solid var(--color-sand);
    font-size: 1rem;
  }
  .nav__links a:last-child {
    border-bottom: none;
  }
  .nav__links a::after {
    bottom: 0;
    left: 0.5rem;
    right: 0.5rem;
  }
}


/* ── 7. HERO ── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  padding-bottom: var(--space-xl);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(18,37,61,0.25) 0%,
    rgba(18,37,61,0.15) 40%,
    rgba(18,37,61,0.72) 100%
  );
}
.hero__content {
  position: relative;
  z-index: var(--z-content);
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 1.5rem;
}
@media (min-width: 768px) { .hero__content { padding-inline: 2rem; } }

.hero__content h1 {
  color: #0CC0DF;
  -webkit-text-stroke: 6px #FF914D;
  paint-order: stroke fill;
  text-shadow: none;
  margin-bottom: 1rem;
  max-width: 20ch;
}
.hero__content p {
  color: rgba(255,255,255,0.88);
  font-size: clamp(1rem, 2.5vw, 1.3125rem);
  margin-bottom: 2.25rem;
  max-width: 44ch;
  text-shadow: 0 1px 8px rgba(0,0,0,0.3);
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Page hero (inner pages) */
.page-hero {
  background-color: var(--color-blue);
  padding-block: calc(var(--space-lg) + 1rem);
  text-align: center;
}
.page-hero__inner {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 1.5rem;
}
.page-hero h1 {
  color: var(--color-white);
  font-size: clamp(2rem, 5vw, 3.25rem);
  margin-bottom: 0.75rem;
}
.page-hero p {
  color: rgba(255,255,255,0.7);
  font-size: 1.0625rem;
  margin-inline: auto;
}


/* ── 8. ABOUT SECTION ── */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}
.about__img {
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(26,58,92,0.15);
}
.about__img img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.about__img:hover img {
  transform: scale(1.03);
}
.about__text .section__label {
  margin-bottom: var(--space-xs);
}
.about__text h2 {
  margin-bottom: 1.5rem;
}
.about__text p {
  color: var(--color-muted);
  margin-bottom: 1.25rem;
}
.about__text p:first-of-type {
  font-size: 1.125rem;
  color: var(--color-blue-dark);
  font-weight: 600;
}
.about__text .btn {
  margin-top: 0.75rem;
}

@media (max-width: 767px) {
  .about__grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
}


/* ── 9. GALLERY ── */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
@media (max-width: 640px) {
  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-md);
  cursor: pointer;
  aspect-ratio: 1 / 1;
  background-color: var(--color-sand);
}
.gallery-item:focus-visible {
  outline: 3px solid var(--color-amber);
  outline-offset: 2px;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.gallery-item:hover img {
  transform: scale(1.07);
}
.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,58,92,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--t-base);
}
.gallery-item:hover .gallery-item__overlay,
.gallery-item:focus-visible .gallery-item__overlay {
  opacity: 1;
}
.gallery-item__overlay svg {
  color: var(--color-white);
  width: 40px;
  height: 40px;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.4));
}


/* ── 10. CTA BANNER ── */
.cta-banner {
  position: relative;
  padding-block: var(--space-xl);
  background-size: cover;
  background-position: center;
  overflow: hidden;
  text-align: center;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(18,37,61,0.88) 0%,
    rgba(232,137,42,0.45) 100%
  );
}
.cta-banner__content {
  position: relative;
  z-index: var(--z-content);
  max-width: 600px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}
.cta-banner__content h2 {
  color: var(--color-white);
  margin-bottom: 1rem;
}
.cta-banner__content p {
  color: rgba(255,255,255,0.82);
  font-size: 1.125rem;
  margin: 0 auto 2.25rem;
}


/* ── 11. MENU CARDS (speisekarte.html) ── */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
@media (max-width: 640px) {
  .menu-grid {
    grid-template-columns: 1fr;
  }
}

.menu-card {
  background-color: var(--color-white);
  border-radius: var(--r-xl);
  box-shadow: 0 2px 20px rgba(26,58,92,0.07);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: box-shadow var(--t-base), transform var(--t-base), border-color var(--t-base);
}
.menu-card:hover {
  box-shadow: 0 8px 40px rgba(26,58,92,0.15);
  transform: translateY(-3px);
  border-color: var(--color-amber);
}
.menu-card:focus-visible {
  outline: 3px solid var(--color-amber);
  outline-offset: 2px;
}
.menu-card__img-wrap {
  overflow: hidden;
  background-color: var(--color-sand);
}
.menu-card__img-wrap img {
  width: 100%;
  max-height: 400px;
  object-fit: contain;
  transition: transform 0.4s ease;
}
.menu-card:hover .menu-card__img-wrap img {
  transform: scale(1.03);
}
.menu-card__info {
  padding: 1.25rem 1.5rem 1.5rem;
}
.menu-card__info h3 {
  color: var(--color-blue);
  margin-bottom: 0.25rem;
  font-size: 1.375rem;
}
.menu-card__info p {
  color: var(--color-muted);
  font-size: 0.875rem;
  max-width: none;
}
.menu-card__zoom {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: 0.875rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-amber);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.menu-card__zoom svg {
  width: 16px;
  height: 16px;
}


/* ── 12. CONTACT PAGE (kontakt.html) ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: start;
}
@media (max-width: 767px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
}

.contact-block__title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-blue);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--color-sand-dark);
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
}
.hours-table tr {
  border-bottom: 1px solid var(--color-sand-dark);
}
.hours-table tr:last-child {
  border-bottom: none;
}
.hours-table td {
  padding: 0.875rem 0;
  font-size: 0.9375rem;
  vertical-align: middle;
}
.hours-table td:last-child {
  text-align: right;
  font-weight: 700;
  color: var(--color-amber);
}
.hours-note {
  margin-top: 1rem;
  padding: 0.875rem 1rem;
  background-color: var(--color-sand);
  border-radius: var(--r-sm);
  font-size: 0.875rem;
  color: var(--color-muted);
  line-height: 1.5;
}

.address-block {
  margin-bottom: 1.5rem;
}
.address-block p {
  line-height: 1.75;
  color: var(--color-muted);
}

.map-embed {
  border-radius: var(--r-lg);
  overflow: hidden;
  height: 280px;
  margin-top: 1.5rem;
  background-color: var(--color-sand);
  border: 1px solid var(--color-sand-dark);
}
.map-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
.map-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 0.75rem;
  color: var(--color-muted);
  text-align: center;
  padding: 1.5rem;
  font-size: 0.9375rem;
}
.map-placeholder svg {
  width: 40px;
  height: 40px;
  color: var(--color-sand-dark);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  background-color: var(--color-blue);
  color: var(--color-white);
  padding: 0.75rem 1.25rem;
  border-radius: var(--r-md);
  font-weight: 600;
  font-size: 0.9375rem;
  min-height: 44px;
  cursor: pointer;
  transition: background-color var(--t-base);
}
.social-link:hover {
  background-color: var(--color-amber);
}
.social-link:focus-visible {
  outline: 3px solid var(--color-amber);
  outline-offset: 3px;
}
.social-link svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.contact-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: var(--space-lg);
}
.contact-images img {
  border-radius: var(--r-lg);
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
@media (max-width: 480px) {
  .contact-images {
    grid-template-columns: 1fr;
  }
}


/* ── 13. LEGAL PAGES ── */
.legal-content {
  max-width: 720px;
  margin-inline: auto;
  padding: var(--space-lg) 1.5rem var(--space-xl);
}
.legal-content h2 {
  font-size: 1.5rem;
  margin-top: 2.5rem;
  margin-bottom: 0.875rem;
  color: var(--color-blue);
}
.legal-content h2:first-child {
  margin-top: 0;
}
.legal-content h3 {
  font-size: 1.125rem;
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
  color: var(--color-blue);
}
.legal-content p {
  color: var(--color-blue-dark);
  margin-bottom: 1rem;
  max-width: none;
}
.legal-content a {
  color: var(--color-amber);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-content a:hover {
  color: var(--color-amber-dark);
}
.todo-note {
  display: flex;
  gap: 0.75rem;
  background-color: #FFF8E1;
  border: 1px solid #F9C84A;
  border-radius: var(--r-sm);
  padding: 0.875rem 1rem;
  font-size: 0.875rem;
  color: #7C5A00;
  margin-bottom: 2rem;
  line-height: 1.5;
}


/* ── 14. LIGHTBOX ── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: var(--z-lightbox);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.lightbox[hidden] {
  display: none;
}
.lightbox__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(18,37,61,0.92);
  cursor: pointer;
}
.lightbox__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  max-width: min(90vw, 1000px);
  gap: 0.75rem;
}
.lightbox__close {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255,255,255,0.15);
  border-radius: 50%;
  color: var(--color-white);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color var(--t-base);
  flex-shrink: 0;
}
.lightbox__close:hover {
  background-color: rgba(255,255,255,0.3);
}
.lightbox__close:focus-visible {
  outline: 3px solid var(--color-white);
  outline-offset: 2px;
}
.lightbox__img {
  display: block;
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--r-md);
  box-shadow: 0 8px 60px rgba(0,0,0,0.5);
}


/* ── 15. FOOTER ── */
.footer {
  background-color: var(--color-blue);
  color: var(--color-white);
}
.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: var(--space-md);
  max-width: var(--container-max);
  margin-inline: auto;
  padding: var(--space-lg) 1.5rem var(--space-md);
}
@media (min-width: 768px) { .footer__inner { padding-inline: 2rem; } }

.footer__brand img {
  height: 52px;
  width: auto;
  margin-bottom: 1.25rem;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
.footer__brand address {
  color: rgba(255,255,255,0.6);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.footer__social {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.footer__social-label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.45);
  margin-bottom: 0.25rem;
}
.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background-color: rgba(255,255,255,0.1);
  border-radius: 50%;
  color: var(--color-white);
  transition: background-color var(--t-base);
}
.footer__social a:hover {
  background-color: var(--color-amber);
}
.footer__social a:focus-visible {
  outline: 3px solid var(--color-white);
  outline-offset: 2px;
}
.footer__social svg {
  width: 20px;
  height: 20px;
}

.footer__legal {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}
.footer__legal a {
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;
  transition: color var(--t-base);
  padding: 0.25rem 0;
}
.footer__legal a:hover {
  color: var(--color-amber);
}
.footer__legal a:focus-visible {
  outline: 2px solid var(--color-amber);
  outline-offset: 2px;
  border-radius: 2px;
}

.footer__copy {
  text-align: center;
  color: rgba(255,255,255,0.35);
  font-size: 0.8125rem;
  padding: var(--space-sm) 1.5rem var(--space-md);
  border-top: 1px solid rgba(255,255,255,0.08);
  max-width: var(--container-max);
  margin-inline: auto;
}

/* Stacked footer on mobile */
@media (max-width: 767px) {
  .footer__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-md);
  }
  .footer__brand img {
    margin-inline: auto;
  }
  .footer__social {
    flex-direction: row;
    justify-content: center;
  }
  .footer__legal {
    align-items: center;
    flex-direction: row;
    justify-content: center;
    gap: 1.5rem;
  }
}


/* ── 16. REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html {
    scroll-behavior: auto;
  }
  /* Skip reveal animation entirely */
  .reveal {
    opacity: 1;
    transform: none;
  }
}
