@font-face{font-family:"Instrument Sans";font-style:normal;font-weight:400;font-display:swap;src:url("/assets/instrumentsans-400regular.a22cb26e48.ttf") format("truetype")}
@font-face{font-family:"Instrument Sans";font-style:normal;font-weight:500;font-display:swap;src:url("/assets/instrumentsans-500medium.55c9b7e833.ttf") format("truetype")}
@font-face{font-family:"Instrument Sans";font-style:normal;font-weight:600;font-display:swap;src:url("/assets/instrumentsans-600semibold.cb2231708f.ttf") format("truetype")}
@font-face{font-family:"Instrument Serif";font-style:italic;font-weight:400;font-display:swap;src:url("/assets/instrumentserif-400regular-italic.9c86e4d5a4.ttf") format("truetype")}
:root {
  --ink: #0d0d0c;
  --text-body: #2b2925;
  --text-2: #55524b;
  --ground: #f4f2ec;
  --surface: #ffffff;
  --cobalt: #2440f0;
  --cobalt-dark: #1a2db8;
  --cobalt-light: #e6e9fe;
  --cobalt-mist: #dde2ff;
  --line: #e7e4dc;
  --hint: #5a3800;
  --hint-ground: #f7dfa4;
  --on-ink: #f4f2ec;
  --on-ink-2: #a8a49a;
  --cobalt-glow: #a9b4ff;
  --rule: #ddd9cf;
  --sans: "Instrument Sans", system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --glass: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.58));
  --glass-edge: inset 0 0 0 1px rgba(255, 255, 255, 0.75), 0 0 0 0.5px rgba(13, 13, 12, 0.12);
  --ease-enter: cubic-bezier(0.2, 0.7, 0.2, 1);
  --hover: 160ms ease-out;
  --travel: 0.5;
}

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

html {
  background: var(--ground);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--cobalt);
}

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

a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--cobalt);
  outline-offset: 3px;
}

h1,
h2,
h3,
p,
ol,
ul,
figure {
  margin: 0;
}

body > main {
  flex: 1 0 auto;
}

.serif {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
}

/* Header */

.site-header {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 12px 12px 0;
}

.glass-pill {
  background: var(--glass);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
  box-shadow:
    var(--glass-edge),
    0 1px 3px rgba(13, 13, 12, 0.06);
}

.nav {
  position: relative;
  z-index: 1;
  height: 60px;
  border-radius: 99px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px 0 20px;
}

.nav-home {
  color: var(--ink);
  text-decoration: none;
}

.logo {
  display: inline-flex;
  align-items: baseline;
  gap: 1px;
  color: var(--ink);
}

.logo-mein {
  font-weight: 600;
  letter-spacing: -0.04em;
}

.logo-mittag {
  font-family: var(--serif);
  font-style: italic;
  color: var(--cobalt);
}

.logo--header .logo-mein {
  font-size: 20px;
}

.logo--header .logo-mittag {
  font-size: 23px;
}

.logo--footer .logo-mein {
  font-size: 22px;
}

.logo--footer .logo-mittag {
  font-size: 25px;
}

.nav-links {
  display: none;
}

.nav-link,
.site-footer-links a {
  text-decoration: none;
  transition: color var(--hover);
}

.nav-link,
.nav-link:hover {
  color: var(--ink);
}

.nav-cta {
  height: 44px;
  padding: 0 20px;
  border-radius: 99px;
  background: var(--ink);
  color: var(--surface);
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  text-decoration: none;
  transition: background-color var(--hover);
}

.nav-cta:hover,
.nav-cta:focus-visible {
  color: var(--surface);
  background: var(--cobalt);
}

.nav-menu > summary {
  list-style: none;
}

.nav-menu > summary::-webkit-details-marker {
  display: none;
}

.nav-menu-button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.75);
  -webkit-backdrop-filter: blur(20px) saturate(170%);
  backdrop-filter: blur(20px) saturate(170%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 0 0 1px rgba(13, 13, 12, 0.07);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}

.nav-menu-bar {
  width: 16px;
  height: 2px;
  background: var(--ink);
}

.nav-menu-panel {
  position: absolute;
  top: 68px;
  right: 0;
  left: 0;
  z-index: 10;
  padding: 12px;
  border-radius: 28px;
  background: rgba(244, 242, 236, 0.99);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
  box-shadow:
    var(--glass-edge),
    0 12px 32px rgba(13, 13, 12, 0.12);
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 17px;
  font-weight: 500;
}

.nav-menu-panel .nav-link {
  padding: 12px 12px;
}

.nav-menu-panel .nav-cta {
  justify-content: center;
  height: 52px;
  margin-top: 4px;
}

/* Hero */

.hero {
  max-width: 1440px;
  margin: 0 auto;
  overflow: hidden;
  padding: 32px 20px 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.eyebrow {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-2);
}

.hero-title {
  display: flex;
  flex-direction: column;
  font-weight: 600;
}

.hero-title-sans {
  font-size: 58px;
  line-height: 0.9;
  letter-spacing: -0.055em;
}

.hero-title-serif {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 68px;
  line-height: 0.95;
  color: var(--cobalt);
}

.hero-lead {
  font-size: 17px;
  line-height: 1.5;
  color: var(--text-body);
}

.store-buttons {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.store {
  height: 56px;
  border-radius: 99px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background-color var(--hover),
    box-shadow var(--hover);
}

.store--primary,
.store--primary:hover {
  background-color: var(--cobalt);
  color: var(--surface);
}

a.store--primary:hover,
a.store--primary:focus-visible {
  background-color: var(--cobalt-dark);
  box-shadow: 0 8px 20px rgba(26, 45, 184, 0.28);
}

.store--glass,
.store--glass:hover {
  background-color: transparent;
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.5));
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
  box-shadow: var(--glass-edge);
  color: var(--ink);
}

a.store--glass:hover,
a.store--glass:focus-visible {
  background-color: var(--surface);
  box-shadow:
    var(--glass-edge),
    0 8px 20px rgba(13, 13, 12, 0.1);
}

.store-soon {
  font-weight: 500;
  opacity: 0.72;
}

.hero-phone {
  margin: 20px 24px 0;
  display: flex;
  justify-content: center;
}

/* Phone mockup and sample cards */

.phone {
  width: 302px;
  height: 380px;
  background: var(--ground);
  border-radius: 40px 40px 0 0;
  outline: 8px solid var(--ink);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.phone-screen {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 32px 10px 0;
}

.phone-title {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1;
  padding: 0 8px 8px;
}

.phone-title .serif {
  letter-spacing: normal;
}

.card {
  background: var(--surface);
  color: var(--ink);
  border-radius: 24px;
  box-shadow:
    0 0 0 1px rgba(13, 13, 12, 0.03),
    0 1px 2px rgba(13, 13, 12, 0.07);
  padding: 20px 20px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  --card-meta: var(--text-2);
  --card-line: var(--line);
}

.card--featured {
  background: var(--cobalt);
  color: var(--surface);
  --card-meta: var(--cobalt-mist);
  --card-line: rgba(255, 255, 255, 0.28);
}

.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.card-tags {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.tag {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 99px;
}

.tag--featured {
  background: var(--surface);
  color: var(--cobalt);
}

.tag--new {
  background: var(--cobalt-light);
  color: var(--cobalt-dark);
}

.card-time,
.card-distance {
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.card-time {
  font-weight: 500;
  color: var(--card-meta);
}

.card-distance {
  font-weight: 600;
}

.card-name {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  padding: 4px 0 8px;
}

.card-dishes {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.card-dish {
  border-top: 1px solid var(--card-line);
  padding: 12px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: baseline;
}

.card-dish-name {
  font-size: 16px;
  line-height: 1.35;
}

.card-price {
  font-size: 17px;
  font-weight: 600;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

/* Sections */

.guests {
  background: var(--surface);
}

.owners {
  background: var(--cobalt);
  color: var(--surface);
}

.section-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 48px 20px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section-title {
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.section-title .serif,
.owners-title .serif {
  letter-spacing: normal;
}

.steps {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid transparent;
  padding-top: 20px;
}

.step::before {
  content: "";
  position: absolute;
  top: -1px;
  right: 0;
  left: 0;
  height: 1px;
  background: var(--step-line, var(--ink));
  transform-origin: left;
}

.step-number {
  font-size: 48px;
  line-height: 0.9;
  color: var(--cobalt);
}

.step-title {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.step-text {
  font-size: 17px;
  line-height: 1.5;
  color: var(--text-2);
}

.owners-inner {
  gap: 16px;
}

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

.owners-eyebrow {
  font-size: 14px;
  color: var(--cobalt-mist);
}

.owners-title {
  font-size: 48px;
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.owners-text {
  font-size: 16px;
  line-height: 1.5;
  color: var(--cobalt-mist);
}

.steps--owners .step {
  --step-line: rgba(255, 255, 255, 0.35);
}

.steps--owners .step-number {
  color: var(--surface);
}

.steps--owners .step-text {
  color: var(--cobalt-mist);
}

/* Footer, Fokus 7.5: an ink surface that sits at the bottom of short pages */

.site-footer {
  background: var(--ink);
  color: var(--on-ink);
}

.site-footer-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 36px 20px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  font-size: 15px;
}

.site-footer-brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.logo--footer,
.logo--footer .logo-mein {
  color: var(--on-ink);
}

.logo--footer .logo-mittag {
  color: var(--cobalt-glow);
}

.site-footer-tagline {
  font-size: 14px;
  color: var(--on-ink-2);
}

.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.site-footer-links a,
.site-footer-links a:hover {
  color: var(--on-ink);
}

.site-footer-links a:hover,
.site-footer-links a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-footer a:focus-visible {
  outline-color: var(--cobalt-glow);
}

/* Legal pages, Fokus 7.5 and 7.6: reading width, a table of contents on long pages */

.legal-layout {
  max-width: 1440px;
  margin: 0 auto;
  padding: 28px 20px 56px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  row-gap: 32px;
}

.legal {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-body);
}

.legal-header {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.legal-title {
  font-size: 44px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--ink);
  -webkit-hyphens: auto;
  hyphens: auto;
  overflow-wrap: anywhere;
}

.legal-lead {
  font-size: 17px;
  line-height: 1.5;
}

.legal-stand {
  margin-top: -8px;
  font-size: 13px;
  color: var(--text-2);
}

.legal-sections {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.legal-section {
  border-top: 1px solid var(--rule);
  padding-top: 24px;
  scroll-margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-wrap: break-word;
}

.legal-section h2 {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.legal-section h3 {
  font-size: 1em;
  font-weight: 600;
  color: var(--ink);
  margin-top: 12px;
}

.legal-section ul,
.legal-section ol {
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.legal-section li {
  padding-left: 6px;
}

.legal-toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  scroll-target-group: auto;
}

.legal-toc-link {
  display: block;
  padding: 9px 14px;
  border-radius: 0 12px 12px 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--text-2);
  text-decoration: none;
  transition:
    color var(--hover),
    background-color var(--hover),
    box-shadow var(--hover);
}

.legal-toc-link:hover {
  color: var(--ink);
}

.legal-toc--side .legal-toc-link:target-current {
  color: var(--ink);
  font-weight: 600;
  background-color: rgba(255, 255, 255, 0.7);
  box-shadow: inset 2px 0 0 var(--cobalt);
}

.legal-toc--folded {
  background: var(--surface);
  border-radius: 20px;
  box-shadow:
    0 0 0 1px rgba(13, 13, 12, 0.03),
    0 1px 2px rgba(13, 13, 12, 0.07);
  padding: 0 6px;
}

.legal-toc--folded[open] {
  padding-bottom: 8px;
}

.legal-toc-summary {
  list-style: none;
  min-height: 52px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}

.legal-toc-summary::-webkit-details-marker {
  display: none;
}

.legal-toc-summary .chevron-up {
  color: var(--text-2);
  rotate: 180deg;
}

.legal-toc--folded[open] .chevron-up {
  rotate: none;
}

.legal-toc--side {
  position: sticky;
  top: 32px;
  align-self: start;
  max-height: calc(100dvh - 64px);
  overflow-y: auto;
  margin-top: 120px;
  display: flex;
  flex-direction: column;
}

.legal-toc--side .legal-toc-list {
  gap: 4px;
}

.legal-toc-title {
  padding: 0 14px 8px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text-2);
}

.back-to-top {
  justify-self: end;
  align-self: end;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.5));
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
  box-shadow: var(--glass-edge);
  transition:
    background-color var(--hover),
    box-shadow var(--hover);
}

.back-to-top:hover,
.back-to-top:focus-visible {
  color: var(--ink);
  background-color: var(--surface);
  box-shadow:
    var(--glass-edge),
    0 8px 20px rgba(13, 13, 12, 0.1);
}

.placeholder {
  background: var(--hint-ground);
  color: var(--hint);
  font-weight: 500;
  padding: 1px 6px;
  border-radius: 6px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* Wide layout, Fokus 5.1 */

@media (min-width: 1100px) {
  :root {
    --travel: 1;
  }

  .site-header {
    padding: 16px 24px 0;
  }

  .nav {
    height: 68px;
    padding: 0 12px 0 32px;
  }

  .logo--header .logo-mein {
    font-size: 26px;
  }

  .logo--header .logo-mittag {
    font-size: 30px;
  }

  .nav-links {
    display: flex;
    gap: 36px;
    align-items: center;
    font-size: 15px;
    font-weight: 500;
  }

  .nav-menu {
    display: none;
  }

  .hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 440px;
    gap: 80px;
    padding: 72px 80px 0;
    align-items: end;
  }

  .hero-text {
    gap: 28px;
    padding-bottom: 110px;
  }

  .hero-title-sans {
    font-size: min(136px, calc((100vw - 680px) * 0.179));
    line-height: 0.88;
    letter-spacing: -0.06em;
  }

  .hero-title-serif {
    font-size: min(160px, calc((100vw - 680px) / 4.75));
    line-height: 0.9;
    letter-spacing: -0.02em;
  }

  .hero-lead {
    font-size: 22px;
    max-width: 580px;
  }

  .store-buttons {
    flex-direction: row;
    gap: 12px;
  }

  .store {
    height: 60px;
    padding: 0 28px;
  }

  .hero-phone {
    margin: 10px 10px 0;
    display: block;
  }

  .phone {
    width: 420px;
    height: 600px;
    border-radius: 52px 52px 0 0;
    outline-width: 10px;
  }

  .phone-screen {
    padding-top: 42px;
  }

  .phone-title {
    font-size: 34px;
  }

  .section-inner {
    padding: 110px 80px;
    gap: 48px;
  }

  .section-title {
    font-size: 56px;
    letter-spacing: -0.045em;
  }

  .steps--guests {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px;
  }

  .owners-inner {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
  }

  .owners-intro {
    gap: 20px;
  }

  .owners-eyebrow {
    font-size: 15px;
    font-weight: 500;
  }

  .owners-title {
    font-size: 88px;
    line-height: 0.92;
    letter-spacing: -0.055em;
  }

  .owners-text {
    font-size: 19px;
  }

  .steps--owners {
    gap: 28px;
  }

  .site-footer-inner {
    padding: 44px 80px;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .site-footer-links {
    gap: 32px;
  }

  .legal-layout {
    padding: 56px 80px 110px;
    row-gap: 0;
  }

  .legal-layout--single {
    max-width: 860px;
  }

  .legal-layout--contents {
    grid-template-columns: minmax(220px, 300px) minmax(0, 700px) minmax(0, 1fr);
    column-gap: min(96px, 6vw);
    padding-left: min(120px, 8vw);
  }

  .legal-layout--contents .back-to-top {
    position: sticky;
    grid-column: 3;
    grid-row: 1;
    bottom: 36px;
    margin-right: -40px;
  }

  .legal {
    gap: 28px;
    font-size: 18px;
  }

  .legal-header {
    gap: 12px;
  }

  .legal-title {
    font-size: 72px;
  }

  .legal-lead {
    font-size: 21px;
  }

  .legal-stand {
    margin-top: 0;
    font-size: 14px;
  }

  .legal-sections {
    gap: 28px;
  }

  .legal-layout--columns {
    max-width: 1080px;
    padding: 48px 40px 72px;
  }

  .legal-layout--columns .legal {
    font-size: 16px;
    line-height: 1.65;
  }

  .legal-layout--columns .legal-sections {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 56px;
    align-items: start;
  }

  .legal-layout--columns .legal-section {
    padding-top: 22px;
  }

  .legal-layout--columns .legal-section h2 {
    font-size: 22px;
  }
}

/* Text variants per layout, last so they win over the display of the elements they mark */

@media (min-width: 1100px) {
  .narrow-only {
    display: none;
  }
}

@media (max-width: 1099.98px) {
  .wide-only {
    display: none;
  }
}

/* Motion, Fokus 6.11: only without a reduced-motion preference; elsewhere hover changes colours only */

@media screen and (prefers-reduced-motion: no-preference) {
  @keyframes rise {
    from {
      opacity: 0;
      translate: 0 calc(var(--rise) * var(--travel));
    }
  }

  @keyframes fade-in {
    from {
      opacity: 0;
    }
  }

  @keyframes draw {
    from {
      scale: 0 1;
    }
  }

  .nav-link,
  .site-footer-links a {
    background: linear-gradient(currentColor, currentColor) left bottom / 0% 1px no-repeat;
    transition:
      color var(--hover),
      background-size 200ms ease-out;
  }

  .nav-link:hover,
  .nav-link:focus-visible,
  .site-footer-links a:hover,
  .site-footer-links a:focus-visible {
    background-size: 100% 1px;
  }

  .nav-menu-panel .nav-link,
  .site-footer-links a[aria-current="page"] {
    background: none;
  }

  .site-footer-links a:not([aria-current="page"]):hover {
    text-decoration: none;
  }

  .store {
    transition:
      background-color var(--hover),
      box-shadow var(--hover),
      translate var(--hover);
  }

  a.store:hover,
  a.store:focus-visible {
    translate: 0 -2px;
  }

  .eyebrow,
  .hero-title-sans,
  .hero-title-serif,
  .hero-lead,
  .store-buttons,
  .phone,
  .phone-screen > .card {
    --rise: 16px;
    animation: rise 480ms var(--ease-enter) both;
  }

  .hero-title-sans {
    --rise: 24px;
    animation-duration: 560ms;
    animation-delay: 80ms;
  }

  .hero-title-serif {
    --rise: 24px;
    animation-duration: 560ms;
    animation-delay: 180ms;
  }

  .hero-lead {
    animation-duration: 520ms;
    animation-delay: 280ms;
  }

  .store-buttons {
    animation-delay: 380ms;
  }

  .phone {
    --rise: 48px;
    animation-duration: 700ms;
    animation-delay: 200ms;
  }

  .phone-title {
    animation: fade-in 400ms var(--ease-enter) 520ms both;
  }

  .phone-screen > .card {
    animation-duration: 420ms;
    animation-delay: 650ms;
  }

  .phone-screen > .card:nth-child(3) {
    animation-delay: 740ms;
  }

  .phone-screen > .card:nth-child(4) {
    animation-delay: 830ms;
  }
}

/* Scroll reveal, Fokus 6.11: ends once a section is fully in view; without scroll-driven animations all stays visible */

@media screen and (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .guests {
      view-timeline: --guests block;
    }

    .owners {
      view-timeline: --owners block;
    }

    .step {
      view-timeline: --step block;
    }

    .section-title,
    .owners-eyebrow,
    .owners-title,
    .owners-text,
    .step > * {
      --rise: 16px;
      animation: rise var(--ease-enter) both;
    }

    .step::before {
      animation: draw var(--ease-enter) both;
    }

    .section-title,
    .steps--guests .step > *,
    .steps--guests .step::before {
      animation-timeline: --guests;
    }

    .owners-eyebrow,
    .owners-title,
    .owners-text,
    .steps--owners .step > *,
    .steps--owners .step::before {
      animation-timeline: --owners;
    }

    .section-title {
      animation-range: entry 15% entry 70%;
    }

    .owners-eyebrow,
    .owners-title {
      animation-range: entry 15% entry 65%;
    }

    .owners-text {
      animation-range: entry 25% entry 75%;
    }

    .steps--guests .step > *,
    .steps--guests .step::before {
      animation-range: entry 30% entry 80%;
    }

    .steps--owners .step > *,
    .steps--owners .step::before {
      animation-range: entry 30% entry 80%;
    }

    .steps--guests .step:nth-child(2) > *,
    .steps--guests .step:nth-child(2)::before {
      animation-range: entry 40% entry 90%;
    }

    .steps--guests .step:nth-child(3) > *,
    .steps--guests .step:nth-child(3)::before {
      animation-range: entry 50% entry 100%;
    }

    .steps--owners .step:nth-child(2) > *,
    .steps--owners .step:nth-child(2)::before {
      animation-range: entry 40% entry 90%;
    }

    .steps--owners .step:nth-child(3) > *,
    .steps--owners .step:nth-child(3)::before {
      animation-range: entry 50% entry 100%;
    }

    @media (max-width: 1099.98px) {
      .steps--guests .step:nth-child(n) > *,
      .steps--guests .step:nth-child(n)::before {
        animation-timeline: --step;
        animation-range: entry 10% entry 100%;
      }
    }
  }
}

/* Legal pages in motion, Fokus 7.7: old page fades out in 160 ms, new content enters from the left in 280 ms */

@media screen and (prefers-reduced-motion: no-preference) {
  @view-transition {
    navigation: auto;
  }

  @keyframes enter-from-left {
    from {
      opacity: 0;
      translate: -24px 0;
    }
  }

  @keyframes fade-out {
    to {
      opacity: 0;
    }
  }

  html {
    scroll-behavior: smooth;
  }

  .site-header {
    position: relative;
    z-index: 1;
    view-transition-name: site-header;
  }

  .site-footer {
    view-transition-name: site-footer;
  }

  ::view-transition-group(site-header),
  ::view-transition-group(site-footer) {
    animation-duration: 0s;
  }

  ::view-transition-old(root) {
    animation: fade-out 160ms var(--ease-enter) both;
  }

  ::view-transition-new(root) {
    animation: fade-in 0s linear 160ms both;
  }

  .legal {
    animation: enter-from-left 280ms var(--ease-enter) 160ms both;
  }

  .legal-toc--side {
    animation: enter-from-left 280ms var(--ease-enter) 220ms both;
  }
}
