/* =========================================================
   Orient Bistro Pizzeria — Website Styles
   ========================================================= */

:root {
  --bg-outer: #2E2E30;
  --bg-inner: #49484A;
  --accent: #ED6962;
  --accent-dark: #c9554f;
  --logo-from: #8E1913;
  --logo-to: #EE6F3E;
  --text: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.72);
  --text-dim: rgba(255, 255, 255, 0.55);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --card-bg: rgba(255, 255, 255, 0.03);
  --card-bg-hover: rgba(255, 255, 255, 0.06);

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 50px rgba(237, 105, 98, 0.25);

  --font-display: "Playfair Display", "Times New Roman", serif;
  --font-script: "Dancing Script", "Brush Script MT", cursive;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1200px;
  --header-h: 84px;
}

/* ---------- Reset ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  background: radial-gradient(ellipse at top, var(--bg-inner) 0%, var(--bg-outer) 75%) fixed;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='400' height='400' viewBox='0 0 400 400'><g fill='none' stroke='%23ffffff' stroke-width='1.2' opacity='0.04'><circle cx='80' cy='80' r='34'/><circle cx='80' cy='80' r='22'/><path d='M68 80 L92 80 M80 68 L80 92'/><path d='M280 60 l28 0 l0 28 l-28 0 z' transform='rotate(15 294 74)'/><circle cx='320' cy='200' r='30'/><path d='M295 200 L345 200'/><path d='M310 180 L330 220'/><circle cx='120' cy='280' r='28'/><circle cx='120' cy='280' r='6'/><circle cx='105' cy='270' r='3'/><circle cx='130' cy='285' r='3'/><circle cx='115' cy='292' r='3'/><path d='M240 320 q20 -30 40 0 q-20 30 -40 0 z'/><path d='M40 200 q15 -25 30 0 q-15 25 -30 0 z'/></g></svg>");
  background-size: 380px;
  background-repeat: repeat;
  pointer-events: none;
  z-index: 0;
  opacity: 0.85;
}

/* Soft vignette */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 50%, rgba(0,0,0,0.45) 100%);
  pointer-events: none;
  z-index: 0;
}

main, header, footer { position: relative; z-index: 1; }

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover { color: var(--accent-dark); }

/* ---------- Typography ---------- */
.display, h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h1 {
  color: var(--accent);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
}

h2 {
  color: var(--accent);
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  margin-bottom: 0.6em;
}

h3 {
  color: var(--accent);
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  margin-bottom: 0.4em;
}

p { color: var(--text); }

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--text-muted);
  max-width: 720px;
}

.script {
  font-family: var(--font-script);
  font-weight: 600;
  color: var(--accent);
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  padding: 6px 14px;
  border: 1px solid rgba(237, 105, 98, 0.4);
  border-radius: 999px;
  background: rgba(237, 105, 98, 0.08);
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: clamp(60px, 10vw, 120px) 0;
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto clamp(40px, 6vw, 70px);
}

.section-head .lead { margin: 0 auto; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(46, 46, 48, 0.72);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.site-header.scrolled {
  background: rgba(30, 30, 32, 0.92);
  border-bottom-color: var(--border-strong);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-logo img {
  height: 54px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
  transition: transform 0.3s ease;
}

.nav-logo:hover img { transform: scale(1.04); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  position: relative;
  display: inline-block;
  padding: 10px 18px;
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

.nav-links a:hover { color: var(--accent); }
.nav-links a:hover::after { width: 24px; }

.nav-links a.active {
  color: var(--accent);
  background: rgba(237, 105, 98, 0.08);
}

.nav-links a.active::after { width: 24px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  padding: 10px;
  width: 44px;
  height: 44px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  margin: 5px auto;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(30, 30, 32, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 16px;
    border-bottom: 1px solid var(--border-strong);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links li { width: 100%; }
  .nav-links a {
    width: 100%;
    text-align: center;
    padding: 14px 18px;
    border-radius: 10px;
  }
  .nav-links a::after { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--logo-from) 0%, var(--logo-to) 100%);
  box-shadow: 0 8px 24px rgba(142, 25, 19, 0.4);
}

.btn-primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(238, 111, 62, 0.5);
}

.btn-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.btn-icon {
  width: 18px;
  height: 18px;
  display: inline-block;
}

/* ---------- Hero (Home) ---------- */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  text-align: center;
  padding: 80px 0 100px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 700px;
  height: 700px;
  max-width: 90vw;
  max-height: 90vw;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(237, 105, 98, 0.18) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-logo {
  width: clamp(280px, 50vw, 460px);
  margin: 0 auto 36px;
  filter: drop-shadow(0 12px 40px rgba(0, 0, 0, 0.6));
  animation: fadeInDown 1s ease 0.1s both;
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--text);
  font-weight: 500;
  margin-bottom: 12px;
  animation: fadeInUp 1s ease 0.3s both;
}

.hero-tagline .accent { color: var(--accent); font-style: italic; }

.hero-sub {
  color: var(--text-muted);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  max-width: 620px;
  margin: 0 auto 40px;
  animation: fadeInUp 1s ease 0.5s both;
}

.hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease 0.7s both;
}

.hero-scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%);
  color: var(--text-dim);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: bobble 2.4s ease-in-out infinite;
  z-index: 2;
}

.hero-scroll-hint::after {
  content: "";
  display: block;
  width: 1px;
  height: 28px;
  margin: 12px auto 0;
  background: linear-gradient(to bottom, var(--accent), transparent);
}

/* ---------- Cards / Info Grid ---------- */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 36px);
  backdrop-filter: blur(8px);
  transition: transform 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(237, 105, 98, 0.4);
  background: var(--card-bg-hover);
}

.card-icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--logo-from), var(--logo-to));
  color: #fff;
  margin-bottom: 18px;
  font-size: 22px;
}

/* Hours table */
.hours-list {
  list-style: none;
  margin-top: 8px;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px dashed var(--border);
  gap: 16px;
}

.hours-list li:last-child { border-bottom: none; }

.hours-list .day { color: var(--text-muted); font-weight: 500; }
.hours-list .time { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.hours-list .closed { color: var(--accent); }

.hours-note {
  margin-top: 16px;
  font-size: 0.88rem;
  color: var(--text-dim);
}

/* ---------- Highlight Banner (Mittagsangebote-Stil) ---------- */
.banner {
  position: relative;
  display: inline-block;
  padding: 12px 36px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  border-radius: 4px;
  box-shadow: var(--shadow-glow);
}

.banner::before, .banner::after {
  content: "";
  position: absolute;
  top: 0;
  width: 18px;
  height: 100%;
  background: var(--accent-dark);
  clip-path: polygon(100% 0, 100% 100%, 0 50%);
}

.banner::before {
  left: -16px;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.banner::after { right: -16px; }

/* ---------- Lunch list (Mittagsangebote) ---------- */
.lunch-list {
  list-style: none;
  max-width: 560px;
  margin: 32px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lunch-list li {
  display: grid;
  grid-template-columns: 1fr 1.4fr auto;
  align-items: center;
  gap: 16px;
  padding: 16px 22px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: left;
  transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.lunch-list li:hover {
  border-color: rgba(237, 105, 98, 0.4);
  background: var(--card-bg-hover);
  transform: translateY(-2px);
}

.lunch-day {
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
}

.lunch-item {
  color: var(--text);
  font-weight: 500;
}

.lunch-item small {
  display: inline-block;
  margin-top: 2px;
  color: var(--text-dim);
  font-size: 0.78rem;
  font-style: italic;
  font-weight: 400;
}

.lunch-price {
  color: var(--text);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(237, 105, 98, 0.12);
  border: 1px solid rgba(237, 105, 98, 0.3);
  font-size: 0.95rem;
}

@media (max-width: 540px) {
  .lunch-list li {
    grid-template-columns: 1fr;
    gap: 6px;
    text-align: center;
    padding: 18px;
  }
  .lunch-price { justify-self: center; margin-top: 4px; }
}

/* ---------- Speisekarte page ---------- */
.menu-grid {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 820px;
  margin: 0 auto;
}

.menu-page {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.menu-page img {
  width: 100%;
  display: block;
  transition: transform 0.6s ease;
}

.menu-page:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
}

.menu-page:hover img { transform: scale(1.015); }

.menu-page .page-num {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(6px);
  border-radius: 50%;
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  border: 1px solid rgba(237, 105, 98, 0.4);
  z-index: 2;
}

.menu-disclaimer {
  text-align: center;
  margin-top: 40px;
  color: var(--text-dim);
  font-style: italic;
  font-size: 0.95rem;
}

/* ---------- Kontakt page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: stretch;
}

@media (max-width: 880px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.phone-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.phone-list a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.phone-list a:hover {
  border-color: rgba(237, 105, 98, 0.5);
  background: rgba(237, 105, 98, 0.08);
  transform: translateX(4px);
  color: var(--text);
}

.phone-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--logo-from), var(--logo-to));
  color: #fff;
  flex-shrink: 0;
}

.notice {
  display: flex;
  gap: 14px;
  padding: 18px 22px;
  border-radius: var(--radius);
  background: rgba(237, 105, 98, 0.08);
  border-left: 3px solid var(--accent);
  margin-bottom: 30px;
}

.notice-icon {
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 2px;
}

.notice p { margin: 0; color: var(--text); }
.notice strong { color: var(--accent); }

.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  height: 100%;
  min-height: 380px;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
  display: block;
  filter: grayscale(0.3) contrast(1.05);
}

.address-block { line-height: 1.7; }
.address-block strong { color: var(--accent); }

/* ---------- Galerie / Slider ---------- */
.slider {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border);
  background: #000;
}

.slider-track {
  position: relative;
  aspect-ratio: 16 / 10;
  width: 100%;
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1s ease, transform 6s ease;
  pointer-events: none;
}

.slide.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, transparent 35%);
  pointer-events: none;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(8px);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s ease, transform 0.2s ease;
  z-index: 3;
}

.slider-btn:hover {
  background: var(--accent);
  transform: translateY(-50%) scale(1.05);
}

.slider-btn.prev { left: 16px; }
.slider-btn.next { right: 16px; }

.slider-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 3;
}

.slider-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  padding: 0;
  transition: background 0.25s ease, width 0.25s ease;
}

.slider-dots button.active {
  background: var(--accent);
  width: 24px;
  border-radius: 4px;
}

.thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
  max-width: 1100px;
  margin: 24px auto 0;
}

.thumbs button {
  position: relative;
  aspect-ratio: 1;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  padding: 0;
  background: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.thumbs button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.thumbs button:hover img { opacity: 1; }
.thumbs button:hover { transform: translateY(-2px); }
.thumbs button.active { border-color: var(--accent); }
.thumbs button.active img { opacity: 1; }

/* ---------- Legal pages (Impressum / Datenschutz) ---------- */
.legal {
  max-width: 820px;
  margin: 0 auto;
}

.legal h2 {
  margin-top: 2.4em;
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
}

.legal h2:first-child { margin-top: 0; }

.legal h3 {
  margin-top: 1.6em;
  font-size: 1.15rem;
}

.legal p { margin-bottom: 1em; color: var(--text-muted); }
.legal strong { color: var(--text); }

.legal-block {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin: 1.4em 0;
}

.legal-block p:last-child { margin-bottom: 0; }

/* ---------- Footer ---------- */
.site-footer {
  margin-top: 60px;
  padding: 50px 0 30px;
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.2);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

.footer-grid h4 {
  font-family: var(--font-display);
  color: var(--accent);
  font-size: 1.05rem;
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}

.footer-logo img {
  height: 60px;
  width: auto;
  margin-bottom: 14px;
}

.footer-grid p, .footer-grid li {
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.7;
}

.footer-grid ul { list-style: none; }

.footer-grid ul a {
  color: var(--text-muted);
  display: inline-block;
  padding: 3px 0;
}

.footer-grid ul a:hover { color: var(--accent); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-dim);
}

.footer-bottom a {
  color: var(--text-dim);
  margin-left: 18px;
}

.footer-bottom a:hover { color: var(--accent); }

/* ---------- Animations ---------- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes bobble {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.reveal.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2 { transition-delay: 0.2s; }
.reveal.delay-3 { transition-delay: 0.3s; }
.reveal.delay-4 { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Page header (sub-pages) ---------- */
.page-hero {
  text-align: center;
  padding: clamp(70px, 12vw, 130px) 0 clamp(40px, 6vw, 60px);
}

.page-hero h1 {
  margin-bottom: 0.4em;
  animation: fadeInUp 0.8s ease both;
}

.page-hero .lead {
  margin: 0 auto;
  animation: fadeInUp 0.8s ease 0.15s both;
}

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.flex-center { display: flex; justify-content: center; align-items: center; }
