/* ══════════════════════════════════════════════════════
   Gästemappe – Ferienhaus am Chiemsee
   gaestemappe.css
══════════════════════════════════════════════════════ */

/* ── TOKENS ────────────────────────────────────────── */
:root {
  --teal: #1a6b7c;
  --teal-mid: #2a8fa3;
  --teal-light: #d6eef3;
  --teal-xlight: #f0f8fb;
  --gold: #b8942a;
  --gold-light: #fdf4dc;
  --dark: #1c2b32;
  --grey: #5a7a85;
  --green: #2e7d32;
  --green-bg: #e8f5e9;
  --orange: #e65100;
  --orange-bg: #fff3e0;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(26, 107, 124, 0.1);
  --sidebar-w: 240px;
}

/* ── RESET ─────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "DM Sans", sans-serif;
  background: #eef6f9;
  color: var(--dark);
  min-height: 100vh;
  display: flex;
}

iframe {
  max-width: 100%;
  border: none;
}

/* ══════════════════════════════════════════════════════
   SIDEBAR
══════════════════════════════════════════════════════ */
#sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: var(--sidebar-w);
  background: #0d3d47;
  display: flex;
  flex-direction: column;
  z-index: 200;
  box-shadow: 2px 0 20px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.sidebar-logo {
  padding: 22px 20px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}
.sidebar-logo-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
}
.sidebar-logo-sub {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 3px;
}

.sidebar-nav {
  flex: 1;
  overflow-y: auto;
  padding: 8px 0 16px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
}
.sidebar-nav::-webkit-scrollbar {
  width: 4px;
}
.sidebar-nav::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
}

.sidebar-group-label {
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  padding: 14px 20px 5px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 20px;
  border: none;
  border-left: 3px solid transparent;
  background: none;
  width: 100%;
  text-align: left;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  cursor: pointer;
  transition: all 0.18s;
}
.nav-item:hover {
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.9);
}
.nav-item.active {
  background: rgba(9, 16, 17, 0.25);
  color: #fff;
  font-weight: 500;
  border-left-color: var(--teal-mid);
}

.nav-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.35);
  transition: color 0.18s;
}
.nav-item:hover .nav-icon {
  color: rgba(255, 255, 255, 0.7);
}
.nav-item.active .nav-icon {
  color: var(--teal-mid);
}

.nav-icon-img {
  opacity: 0.35;
  filter: brightness(0) invert(1);
  transition: opacity 0.18s;
}
.nav-item:hover .nav-icon-img {
  opacity: 0.7;
}
.nav-item.active .nav-icon-img {
  opacity: 1;
  filter: brightness(0) invert(1) sepia(1) saturate(3) hue-rotate(155deg);
}

/* ══════════════════════════════════════════════════════
   MAIN + PAGES
══════════════════════════════════════════════════════ */
#main {
  margin-left: var(--sidebar-w);
  flex: 1;
  min-width: 0;
}

.page {
  display: none;
  min-height: 100vh;
}

.page.active {
  display: block;
  overflow-x: hidden; /* verhindert horizontales Überlappen */
}

/* Bilder nie breiter als ihr Container */
.page img {
  max-width: 100%;
  height: auto;
}
#p-welcome.active {
  display: flex;
  flex-direction: column;
}

/* ── HERO ──────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(160deg, #0d4a57 0%, #1a6b7c 45%, #2a8fa3 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  padding: 60px 24px 80px;
  text-align: center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 80% 60% at 20% 110%,
      rgba(184, 148, 42, 0.18) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse 60% 40% at 80% -10%,
      rgba(255, 255, 255, 0.06) 0%,
      transparent 50%
    );
}
.hero-waves {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120'%3E%3Cpath fill='%23eef6f9' d='M0,80 C360,120 1080,20 1440,80 L1440,120 L0,120 Z'/%3E%3C/svg%3E")
    no-repeat bottom/cover;
}
.hero-photo {
  width: min(360px, 85vw);
  height: min(240px, 56vw);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 2px dashed rgba(255, 255, 255, 0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.45);
  font-size: 13px;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* füllt aus, schneidet Ränder ab */
  border-radius: 14px; /* minimal kleiner als Container (16px) */
}

.hero-photo:has(img) {
  border: none;
  background: transparent;
}

.hero-label {
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}
.hero-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(36px, 6vw, 60px);
  font-weight: 300;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}
.hero-title em {
  font-style: italic;
  color: #f0c855;
}
.hero-sub {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.65);
  max-width: 400px;
  line-height: 1.7;
  position: relative;
  z-index: 1;
  margin-bottom: 36px;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold);
  color: #fff;
  padding: 13px 30px;
  border-radius: 50px;
  border: none;
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s;
  position: relative;
  z-index: 1;
}
.hero-cta:hover {
  background: #9e7a20;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(184, 148, 42, 0.4);
}

/* ══════════════════════════════════════════════════════
   PAGE CHROME  (header · content · footer)
══════════════════════════════════════════════════════ */
.page-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 44px 32px 80px;
}

/* Header */
.page-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 32px;
  padding-bottom: 22px;
  border-bottom: 2px solid var(--teal-light);
  justify-content: space-between;
}
.page-header-icon {
  width: 48px;
  height: 48px;
  border-radius: 11px;
  background: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
}
.page-header-icon img {
  width: 22px;
  height: 22px;
  filter: brightness(0) invert(1);
}
.page-header-text h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: 30px;
  font-weight: 600;
  color: var(--teal);
  line-height: 1.2;
}
.page-header-text p {
  font-size: 13.5px;
  color: var(--grey);
  margin-top: 4px;
}

.back-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--teal-xlight);
  border: 1.5px solid var(--teal-light);
  color: var(--teal);
  border-radius: 8px;
  padding: 8px 14px;
  font-family: "DM Sans", sans-serif;
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 4px;
}
.back-btn:hover {
  background: var(--teal-light);
  border-color: var(--teal-mid);
}

/* Footer */
.page-footer {
  text-align: center;
  padding: 28px 24px;
  background: var(--teal);
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
  margin-top: 40px;
}
.page-footer strong {
  color: #fff;
}

/* ══════════════════════════════════════════════════════
   CONTENT COMPONENTS
══════════════════════════════════════════════════════ */

/* Section heading */
.section-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 28px 0 14px;
}
.section-head::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--teal-light);
}
.section-head h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: 19px;
  font-weight: 600;
  color: var(--teal);
  white-space: nowrap;
}
.section-badge {
  background: var(--teal);
  color: #fff;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 500;
  padding: 3px 9px;
  white-space: nowrap;
}

/* Grid */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}
@media (max-width: 640px) {
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

/* Card — primary content container */
.card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 16px;
  overflow: hidden;
}
.card-body {
  padding: 20px 22px;
}
.card-body p {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--dark);
  margin-bottom: 8px;
  overflow-wrap: break-word;
}
.card-body a {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--dark);
  margin-bottom: 8px;
  overflow-wrap: break-word;
}
.card-body p:last-child {
  margin-bottom: 0;
}
.card-body b {
  color: var(--teal);
}
.card-body ul {
  padding-left: 18px;
}
.card-body li {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--dark);
}
.card-body img {
  max-width: 100%;
  border-radius: 8px;
  margin-top: 8px;
}

/* Card accent left-border variants */
.card.gold {
  border-left: 4px solid var(--gold);
}
.card.green {
  border-left: 4px solid var(--green);
}

/* Badge — info / tip / warn callout */
.badge {
  border-radius: 9px;
  padding: 12px 16px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 12px;
  font-size: 13px;
  line-height: 1.6;
}
.badge-label {
  font-weight: 600;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-right: 4px;
  white-space: nowrap;
}
.badge.tip {
  background: var(--green-bg);
  border-left: 4px solid var(--green);
}
.badge.warn {
  background: var(--orange-bg);
  border-left: 4px solid var(--orange);
}
.badge.info {
  background: var(--teal-xlight);
  border-left: 4px solid var(--teal-mid);
}
.badge.tip .badge-label {
  color: var(--green);
}
.badge.warn .badge-label {
  color: var(--orange);
}
.badge.info .badge-label {
  color: var(--teal);
}

/* WLAN card */
.wlan-card {
  background: var(--gold-light);
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  padding: 18px 22px;
  display: inline-flex;
  gap: 28px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 20px;
}
.wlan-card-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}
.wlan-card-wrapper .wlan-card {
  margin-bottom: 0;
}
.wlan-item label {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 2px;
  margin-top: 8px;
}
.wlan-item .wlan-value {
  font-size: 16px;
  font-weight: 500;
  color: var(--dark);
}

/* Inline Link */
.inline-link {
  color: var(--teal);
  font-weight: 500;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}
.inline-link:hover {
  color: var(--teal-mid);
}

/* Emergency numbers */
.notfall-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.notfall-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--teal-xlight);
  border-radius: 10px;
  padding: 12px 15px;
}
.notfall-num {
  font-family: "Cormorant Garamond", serif;
  font-size: 21px;
  font-weight: 600;
  color: var(--teal);
}
.notfall-label {
  font-size: 11px;
  color: var(--grey);
}

/* Overview tiles (p-info) */
.overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
  margin-top: 10px;
}
.ov-tile {
  background: #fff;
  border-radius: 10px;
  padding: 14px 13px;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  gap: 7px;
  border: 1.5px solid transparent;
}
.ov-tile:hover {
  border-color: var(--teal-mid);
  transform: translateY(-2px);
}
.ov-tile-icon {
  color: var(--teal);
}
.ov-tile-name {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--dark);
  line-height: 1.3;
}
.ov-tile.part1 {
  border-left: 3px solid var(--teal);
}
.ov-tile.part2 {
  border-left: 3px solid var(--gold);
}

/* Numbered steps */
.step-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.step-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.step-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11.5px;
  font-weight: 500;
  flex-shrink: 0;
  margin-top: 2px;
}
.step-item p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--dark);
  padding-top: 2px;
}

/* Departure checklist */
.checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 13px;
  border-radius: 8px;
  background: var(--teal-xlight);
  font-size: 13.5px;
  transition: background 0.15s;
}
.checklist li:hover {
  background: var(--teal-light);
}
.checklist li input[type="checkbox"] {
  width: 17px;
  height: 17px;
  accent-color: var(--teal);
  cursor: pointer;
  flex-shrink: 0;
}

/* Data table */
.data-table {
  width: 100%;
  border-collapse: collapse;
}
.data-table th {
  background: var(--teal);
  color: #fff;
  padding: 9px 13px;
  text-align: left;
  font-size: 11.5px;
  font-weight: 500;
}
.data-table th:first-child {
  border-radius: 8px 0 0 0;
}
.data-table th:last-child {
  border-radius: 0 8px 0 0;
}
.data-table td {
  padding: 8px 13px;
  border-bottom: 1px solid var(--teal-light);
  font-size: 13px;
}
.data-table tr:nth-child(even) td {
  background: var(--teal-xlight);
}

/* Image placeholder */
.img-ph {
  background: var(--teal-xlight);
  border: 2px dashed var(--teal-light);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--grey);
  font-size: 12px;
  text-align: center;
  padding: 20px;
  min-height: 160px;
  overflow: hidden;
}
.img-ph svg {
  opacity: 0.3;
}
.img-ph.tall {
  min-height: 240px;
  min-width: 240px;
}
.img-ph.medium {
  min-height: 160px;
}

/* Lightbox */
dialog {
  border: none;
  border-radius: 12px;
  padding: 16px;
  background: rgba(0, 0, 0, 0.9);
  max-width: 90vw;
  max-height: 90vh;
  width: fit-content;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
}

dialog::backdrop {
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(4px);
}

dialog img {
  display: block;
  max-width: min(800px, calc(90vw - 32px));
  max-height: calc(90vh - 80px); /* Platz für Caption */
  border-radius: 8px;
  object-fit: contain;
  margin: 0 auto;
}
#lightbox-caption {
  color: #fff;
  text-align: center;
  margin-top: 10px;
  font-size: 13px;
  opacity: 0.8;
  max-width: min(800px, calc(90vw - 32px));
}

.lightbox-close {
  position: fixed;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
  z-index: 9999;
  line-height: 1;
}
.zoomable {
  cursor: zoom-in;
  transition: opacity 0.2s;
}
.zoomable:hover {
  opacity: 0.85;
}

/* Map placeholder */
.map-ph {
  background: #ddeef3;
  border-radius: 12px;
  position: relative;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--grey);
  font-size: 13px;
  border: 2px dashed var(--teal-light);
}
.map-ph svg {
  opacity: 0.35;
}
.map-pin {
  width: 36px;
  height: 36px;
  background: var(--teal);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -18px 0 0 -18px;
  box-shadow: 0 4px 12px rgba(26, 107, 124, 0.4);
  opacity: 0.6;
}

/* Part divider banner */
.part-divider {
  background: linear-gradient(135deg, var(--teal) 0%, #2a8fa3 100%);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}
.part-divider::after {
  content: attr(data-part);
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-family: "Cormorant Garamond", serif;
  font-size: 72px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.07);
  pointer-events: none;
}
.part-divider h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: 26px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
}
.part-divider p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

/* POI cards (loaded via JS / JSON) */
.poi-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 16px;
  border-left: 4px solid var(--teal);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.poi-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(26, 107, 124, 0.15);
}
.poi-card.restaurant {
  border-left-color: var(--orange);
}
.poi-card.cafe {
  border-left-color: var(--gold);
}
.poi-card-body {
  padding: 16px 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.poi-card-img {
  width: 80px;
  height: 80px; /* feste Höhe — wichtig! */
  border-radius: 8px;
  flex-shrink: 0;
  background-color: #1c2b32;
  object-fit: cover; /* füllt aus, schneidet ab */
  object-position: center;
}
.poi-card-img-ph {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  flex-shrink: 0;
  background: var(--teal-xlight);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--grey);
}
.poi-card-content {
  flex: 1;
  min-width: 0;
}
.poi-card-name {
  font-family: "Cormorant Garamond", serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
}
.poi-card-tipp {
  font-size: 13px;
  color: var(--grey);
  line-height: 1.5;
  margin-bottom: 10px;
  font-style: italic;
}
.poi-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.poi-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--grey);
}
.poi-meta-item a {
  color: var(--teal);
  text-decoration: none;
}
.poi-meta-item a:hover {
  text-decoration: underline;
}
.poi-card-logo {
  object-fit: contain; /* zeigt ganzes Logo */
  padding: 8px; /* Luft um das Logo */
  background-color: #5a7a85;
}

/* ── MEDIA ────────────────────────────────────── */
/* Desktop — ab 768px: Sidebar sichtbar */
@media (min-width: 768px) {
  #sidebar {
    transform: translateX(0);
  }
  #main {
    margin-left: var(--sidebar-w);
  }
}

/* Mobil — unter 768px: Sidebar versteckt */
@media (max-width: 767px) {
  #sidebar {
    transform: translateX(-100%); /* komplett raus geschoben */
    transition: transform 0.3s ease;
  }
  #main {
    margin-left: 0; /* volle Breite */
  }
}

@media (max-width: 767px) {
  /* Mehr Platz oben auf der Seite damit der Button nicht überlappt */
  .page-inner {
    padding-top: 64px;
  }

  /* Button selbst größer / mehr Luft */
  #menu-toggle {
    top: 12px;
    left: 12px;
    padding: 10px; /* mehr Fläche zum Tippen */
    border-radius: 10px;
  }

  /* Icon im Button größer */
  #menu-toggle svg {
    width: 26px;
    height: 26px;
  }
}

#menu-toggle {
  display: none;
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 300;
  background: var(--teal);
  border: none;
  border-radius: 10px;
  padding: 10px 12px; /* vertikal / horizontal */
  cursor: pointer;
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25); /* optional — hebt Button ab */
}

@media (max-width: 767px) {
  #menu-toggle {
    display: flex;
  }
}

@media (max-width: 767px) {
  #sidebar.open {
    transform: translateX(0);
  }
}

/* ── ANIMATIONS ────────────────────────────────────── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.page.active .page-inner > *:nth-child(1) {
  animation: fadeUp 0.3s 0.04s ease both;
}
.page.active .page-inner > *:nth-child(2) {
  animation: fadeUp 0.3s 0.08s ease both;
}
.page.active .page-inner > *:nth-child(3) {
  animation: fadeUp 0.3s 0.12s ease both;
}
.page.active .page-inner > *:nth-child(4) {
  animation: fadeUp 0.3s 0.16s ease both;
}
.page.active .page-inner > *:nth-child(5) {
  animation: fadeUp 0.3s 0.2s ease both;
}

@keyframes heroFade {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero > *:nth-child(1) {
  animation: heroFade 0.65s 0.1s ease both;
}
.hero > *:nth-child(2) {
  animation: heroFade 0.65s 0.2s ease both;
}
.hero > *:nth-child(3) {
  animation: heroFade 0.65s 0.35s ease both;
}
.hero > *:nth-child(4) {
  animation: heroFade 0.65s 0.5s ease both;
}
