/* ESV 96 Starnberg - Apple-Style CSS */

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

:root {
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --bg-dark: #1d1d1f;
  --text-primary: #1d1d1f;
  --text-secondary: #6e6e73;
  --accent: #0071e3;
  --accent-hover: #0077ed;
  --border: rgba(0, 0, 0, 0.1);
  --nav-h: 52px;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.14);
  --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text-primary);
  font-size: 17px;
  line-height: 1.6;
}

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

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

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

/* ─── NAVIGATION ─────────────────────────────────────────── */

.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav__inner {
  width: 100%;
  max-width: 1200px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 15px;
  color: var(--text-primary);
  flex-shrink: 0;
}

.nav__logo img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: 6px;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav__menu a {
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 400;
  padding: 6px 10px;
  border-radius: 6px;
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}

.nav__menu a:hover,
.nav__menu a.active {
  background: rgba(0,0,0,0.06);
  color: var(--text-primary);
}

.nav__menu .dropdown {
  position: relative;
}

/* Unsichtbare Brücke zwischen Link und Dropdown – verhindert das Schließen beim Überfahren */
.nav__menu .dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 10px;
  background: transparent;
}

.nav__menu .dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px;
  min-width: 220px;
  box-shadow: var(--shadow-lg);
  list-style: none;
  z-index: 100;
}

.nav__menu .dropdown:hover .dropdown-menu {
  display: block;
}

.nav__menu .dropdown-menu li a {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13px;
}

.nav__menu .dropdown-menu li a:hover {
  background: var(--bg-alt);
}

/* hamburger */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}

.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* ─── HERO ────────────────────────────────────────────────── */

.hero {
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 22px;
  background: linear-gradient(160deg, #000 0%, #1a1a2e 50%, #16213e 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  z-index: 0;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero__eyebrow {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(40px, 7vw, 80px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero h1 span {
  background: linear-gradient(135deg, #64b5f6, #a5d6a7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__sub {
  font-size: clamp(17px, 2.5vw, 22px);
  color: rgba(255,255,255,0.75);
  margin-bottom: 40px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── BUTTONS ─────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 980px;
  font-size: 17px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  border: none;
  font-family: var(--font);
}

.btn--primary {
  background: var(--accent);
  color: white;
}

.btn--primary:hover {
  background: #0077ed;
  color: white;
  transform: scale(1.02);
}

.btn--ghost {
  background: rgba(255,255,255,0.15);
  color: white;
  border: 1px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(10px);
}

.btn--ghost:hover {
  background: rgba(255,255,255,0.25);
  color: white;
}

.btn--outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.btn--outline:hover {
  background: var(--accent);
  color: white;
}

/* ─── SECTIONS ────────────────────────────────────────────── */

.section {
  padding: 96px 22px;
}

.section--alt {
  background: var(--bg-alt);
}

.section--dark {
  background: var(--bg-dark);
  color: white;
}

.section--dark .section__eyebrow {
  color: rgba(255,255,255,0.5);
}

.section--dark .section__title {
  color: white;
}

.section--dark .section__lead {
  color: rgba(255,255,255,0.7);
}

.section__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section__header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}

.section__eyebrow {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section__title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 18px;
}

.section__lead {
  font-size: 19px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ─── CARDS ───────────────────────────────────────────────── */

.cards {
  display: grid;
  gap: 20px;
}

.cards--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.cards--2 { grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)); }
.cards--4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.card {
  background: var(--bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.section--alt .card {
  background: var(--bg);
}

.card__img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.card__body {
  padding: 28px;
}

.card__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.card__title {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  line-height: 1.2;
}

.card__text {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
}

/* ─── FEATURE SPLIT ───────────────────────────────────────── */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.split--reverse {
  direction: rtl;
}

.split--reverse > * {
  direction: ltr;
}

.split__img {
  border-radius: var(--radius);
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}

.split__eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.split__title {
  font-size: clamp(24px, 3.5vw, 40px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 18px;
}

.split__text {
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 28px;
}

.split__text p + p {
  margin-top: 14px;
}

/* ─── STATS ROW ───────────────────────────────────────────── */

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2px;
  background: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 64px;
}

.stat {
  background: var(--bg);
  padding: 40px 32px;
  text-align: center;
}

.section--alt .stat {
  background: var(--bg-alt);
}

.stat__number {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}

.stat__label {
  font-size: 15px;
  color: var(--text-secondary);
}

/* ─── TIMELINE / EVENTS TABLE ─────────────────────────────── */

.event-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 8px;
}

.event-table thead th {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  padding: 0 20px 16px;
  text-align: left;
}

.event-table tbody tr {
  background: var(--bg);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}

.event-table tbody tr:hover {
  transform: scale(1.01);
}

.event-table tbody td {
  padding: 18px 20px;
  font-size: 15px;
}

.event-table tbody td:first-child {
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
}

.event-table tbody td:last-child {
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.event-badge {
  display: inline-block;
  background: rgba(0, 113, 227, 0.1);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 980px;
}

/* ─── PHOTO GRID ──────────────────────────────────────────── */

.photo-grid {
  columns: 3;
  column-gap: 14px;
}

.photo-grid__item {
  break-inside: avoid;
  margin-bottom: 14px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
}

.photo-grid__item:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}

.photo-grid__item img {
  width: 100%;
  height: auto;
  display: block;
}

.album-section {
  margin-bottom: 80px;
}

.album-section__title {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

/* ─── RULES / CONTENT ─────────────────────────────────────── */

.content-body {
  max-width: 740px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-primary);
}

.content-body h2 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 48px 0 18px;
  color: var(--text-primary);
}

.content-body h3 {
  font-size: 21px;
  font-weight: 600;
  margin: 32px 0 12px;
}

.content-body p {
  margin-bottom: 18px;
  color: var(--text-secondary);
}

.content-body p:first-child {
  color: var(--text-primary);
  font-size: 21px;
}

.content-body ul,
.content-body ol {
  margin: 18px 0 18px 24px;
  color: var(--text-secondary);
}

.content-body li {
  margin-bottom: 8px;
}

.content-body .figure {
  margin: 40px 0;
  text-align: center;
}

.content-body .figure img {
  margin: 0 auto;
  border-radius: var(--radius-sm);
  max-width: 360px;
}

.content-body .figure figcaption {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 10px;
}

/* ─── PRICING CARDS ───────────────────────────────────────── */

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 2px solid transparent;
  transition: border-color var(--transition), transform var(--transition);
}

.pricing-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.pricing-card__price {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px;
}

.pricing-card__unit {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.pricing-card__name {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 4px;
}

/* ─── CONTACT FORM ────────────────────────────────────────── */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  align-items: start;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-detail {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.contact-detail__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(0, 113, 227, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
}

.contact-detail__label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.contact-detail__value {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
}

.form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}

.form__input,
.form__textarea {
  font-family: var(--font);
  font-size: 16px;
  padding: 13px 16px;
  border: 1.5px solid rgba(0,0,0,0.15);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text-primary);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  width: 100%;
}

.form__input:focus,
.form__textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.15);
}

.form__textarea {
  resize: vertical;
  min-height: 140px;
}

/* ─── LIGHTBOX ────────────────────────────────────────────── */

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox.open {
  display: flex;
}

.lightbox__img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.lightbox__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: none;
  cursor: pointer;
  font-size: 20px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.lightbox__close:hover {
  background: rgba(255,255,255,0.25);
}

/* ─── FOOTER ──────────────────────────────────────────────── */

.footer {
  background: #1d1d1f;
  color: rgba(255,255,255,0.8);
  padding: 48px 22px 32px;
}

.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16px;
  color: white;
}

.footer__logo img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 8px;
}

.footer__tagline {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
}

.footer__heading {
  font-size: 13px;
  font-weight: 600;
  color: white;
  margin-bottom: 16px;
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links a {
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  transition: color var(--transition);
}

.footer__links a:hover {
  color: white;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  gap: 20px;
  flex-wrap: wrap;
}

.footer__copy {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

.footer__legal {
  display: flex;
  gap: 20px;
}

.footer__legal a {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}

.footer__legal a:hover {
  color: white;
}

/* ─── PAGE HERO (subpages) ────────────────────────────────── */

.page-hero {
  background: linear-gradient(160deg, #1a1a2e 0%, #16213e 100%);
  color: white;
  padding: 80px 22px 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  z-index: 0;
}

.page-hero__content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.page-hero__eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 14px;
}

.page-hero h1 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 18px;
}

.page-hero__sub {
  font-size: 18px;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
}

/* ─── BANNER / CTA ────────────────────────────────────────── */

.cta-banner {
  background: linear-gradient(135deg, var(--accent) 0%, #34aadc 100%);
  color: white;
  padding: 80px 22px;
  text-align: center;
}

.cta-banner__title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
}

.cta-banner__text {
  font-size: 19px;
  opacity: 0.9;
  margin-bottom: 36px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ─── RESPONSIVE ──────────────────────────────────────────── */

@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .split--reverse {
    direction: ltr;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .photo-grid {
    columns: 2;
  }
}

@media (max-width: 600px) {
  .nav__menu {
    display: none;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 20px;
    gap: 4px;
  }

  .nav__menu.open {
    display: flex;
  }

  .nav__menu .dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    background: rgba(0,0,0,0.04);
    display: none;
    margin-top: 4px;
  }

  .nav__menu .dropdown.open .dropdown-menu {
    display: block;
  }

  .nav__toggle {
    display: flex;
  }

  .section {
    padding: 64px 20px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .photo-grid {
    columns: 1;
  }

  .event-table thead {
    display: none;
  }

  .event-table tbody tr {
    display: block;
    margin-bottom: 12px;
    padding: 16px;
  }

  .event-table tbody td {
    display: block;
    padding: 4px 0;
    border-radius: 0 !important;
  }

  /* Cards: single column on very small screens */
  .cards--2,
  .cards--3,
  .cards--4 {
    grid-template-columns: 1fr;
  }

  /* Pricing cards */
  .pricing-cards {
    grid-template-columns: 1fr;
  }

  /* Hero text sizing */
  .hero__sub {
    font-size: 16px;
  }

  .hero__actions {
    flex-direction: column;
    align-items: center;
  }

  .hero__actions .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  /* Section header on mobile */
  .section__header {
    margin-bottom: 40px;
  }

  /* Stats */
  .stats {
    grid-template-columns: 1fr 1fr;
  }
}

/* ─── ANIMATIONS ──────────────────────────────────────────────*/

/* Hero / page-hero entrance */
@keyframes heroFade {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero__eyebrow      { animation: heroFade 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.05s both; }
.hero h1            { animation: heroFade 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.18s both; }
.hero__sub          { animation: heroFade 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.32s both; }
.hero__actions      { animation: heroFade 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.46s both; }
.page-hero__eyebrow { animation: heroFade 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.05s both; }
.page-hero h1       { animation: heroFade 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both; }
.page-hero__sub     { animation: heroFade 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.27s both; }

/* Scroll-triggered reveal */
@keyframes revealUp {
  from { opacity: 0; transform: translateY(36px); }
  to   { opacity: 1; transform: translateY(0); }
}

.animate-reveal {
  opacity: 0;
  transform: translateY(36px);
}

.animate-reveal.is-visible {
  animation: revealUp 0.72s cubic-bezier(0.16, 1, 0.3, 1) var(--anim-delay, 0ms) both;
}

/* Respect user motion preference */
@media (prefers-reduced-motion: reduce) {
  .animate-reveal,
  .hero__eyebrow, .hero h1, .hero__sub, .hero__actions,
  .page-hero__eyebrow, .page-hero h1, .page-hero__sub {
    animation: none !important;
    opacity: 1;
    transform: none;
  }
}

/* ─── HAMBURGER OPEN STATE ────────────────────────────────────*/

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

.nav__toggle span {
  transition: transform var(--transition), opacity var(--transition);
}
