body.landing-page { --masthead-height: var(--measured-masthead-height, 79px); }
.landing-page .masthead {
  position: sticky;
  top: 0;
  z-index: 8;
  margin-bottom: calc(-1 * var(--masthead-height));
  background: color-mix(in srgb, var(--up-canvas) 94%, transparent);
  border-color: #b7c8c963;
  backdrop-filter: blur(16px);
}
.landing-page .masthead[data-tone="dark"] {
  background: color-mix(in srgb, var(--up-brand-hover) 88%, transparent);
  border-color: #ffffff24;
  --up-focus: var(--up-brand-tint);
}
.landing-page .masthead[data-tone="dark"] :is(.public-nav a, .quiet) { color: var(--up-brand-on); }
.landing-page .masthead[data-tone="dark"] .brand { background: var(--up-surface); border-radius: 6px; padding-inline: 5px; }
.landing-page .masthead[data-tone="dark"] .quiet:hover { background: #ffffff19; }
.landing-page .masthead[data-tone="dark"] .register-btn { background: var(--up-surface); color: var(--up-brand-hover); }
.landing-page .skip { position: fixed; z-index: 10; }
#website :is(#funktionen, #preise, #hilfe) { scroll-margin-top: var(--masthead-height, 79px); }

#website {
  --paper: var(--up-canvas);
  --paper-light: var(--up-surface);
  --night: var(--up-brand-hover);
  --blue-light: var(--up-brand-tint);
  --display: "Segoe UI", Arial, sans-serif;
  background: var(--paper);
}

.hero { position: relative; isolation: isolate; overflow: clip; background: var(--night); color: white; }
.hero-inner {
  display: flex;
  min-height: clamp(515px, 46vw, 675px);
  align-items: end;
  padding-block: 100px clamp(102px, 11vw, 155px);
}
.hero-copy { position: relative; z-index: 1; max-width: 700px; }
.hero h1 {
  margin-bottom: 20px;
  font: 760 clamp(58px, 7.2vw, 107px)/.96 var(--display);
  letter-spacing: -.063em;
}
.hero-lead { max-width: 36ch; color: #f7f6f1; font-size: clamp(1.05rem, 1.6vw, 1.29rem); text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 21px; margin-top: 24px; }
.hero-actions .primary { padding-inline: 21px; min-height: 52px; border: 1px solid var(--up-brand-tint); border-radius: 7px; }
.hero-actions .primary:hover { background: var(--up-brand-hover); }
.hero-visual { position: absolute; inset: 0; }
.hero-visual > img { position: absolute; inset: 0; }
.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #0d2937e8, #0d2937ba 31%, #0d293755 54%, transparent 77%);
  pointer-events: none;
}
.hero-image { width: 100%; height: 100%; object-fit: cover; object-position: center 47%; display: block; }
.hero-detail { opacity: 0; object-position: center 45%; }
.hero-motion {
  position: absolute;
  right: max(16px, calc((100% - 1200px) / 2));
  bottom: 20px;
  z-index: 2;
  min-width: 46px;
  min-height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid #fff9;
  border-radius: 50%;
  background: #0d2937df;
  color: white;
  --up-focus: var(--up-brand-tint);
}
.hero-motion:hover { background: #0d2937; }
.module-ribbon { overflow: clip; background: var(--up-brand); color: var(--up-brand-on); }
.module-ribbon-track { display: flex; align-items: center; width: max-content; min-height: 60px; padding-left: 22px; translate: var(--ribbon-shift, 0) 0; }
.module-ribbon-track span {
  display: flex;
  align-items: center;
  gap: clamp(23px, 3.8vw, 57px);
  padding-right: clamp(23px, 3.8vw, 57px);
  font-size: clamp(1.02rem, 2.2vw, 1.8rem);
  font-weight: 720;
  letter-spacing: -.025em;
  white-space: nowrap;
}
.module-ribbon-track span::after { content: ""; width: .3em; height: .3em; border-radius: 50%; background: var(--up-brand-tint); }

.section { padding-block: clamp(62px, 8vw, 114px); }
.section-title { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(26px, 5vw, 57px); }
.section-title > p { max-width: 37ch; color: var(--up-text-muted); }
.section h2 { font: 750 clamp(35px, 5.2vw, 72px)/1 var(--display); letter-spacing: -.05em; text-wrap: balance; }
.features .section { padding-top: clamp(28px, 4vw, 58px); padding-bottom: clamp(45px, 6vw, 80px); }
.module-showcase { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(25px, 6vw, 96px); align-items: center; }
.feature { border-bottom: 1px solid #c9c1b2; }
.feature:first-child { border-top: 1px solid #c9c1b2; }
.feature summary { display: flex; align-items: center; gap: 13px; padding: 12px 0; min-height: 63px; color: var(--up-text); list-style: none; }
.feature summary::-webkit-details-marker { display: none; }
.feature summary:hover, .feature[open] summary { color: var(--accent); }
.feature .module-icon { width: 39px; height: 39px; border-radius: 50%; }
.feature summary strong { font-size: 1.21rem; letter-spacing: -.02em; }
.feature-arrow { margin-left: auto; transition: rotate .2s ease; }
.feature[open] .feature-arrow { rotate: 90deg; }
.feature-body { padding: 0 6px 12px 52px; }
.feature-body p { color: var(--up-text-muted); }
.feature a { display: inline-flex; gap: 7px; align-items: center; min-height: 44px; font-weight: 650; }
.feature a .icon { width: 16px; height: 16px; }
.feature-state { display: inline-block; margin-top: 5px; color: var(--up-text-muted); font-size: .86rem; font-weight: 650; }

.module-stage {
  position: relative;
  display: grid;
  align-items: end;
  justify-items: end;
  min-height: clamp(360px, 37vw, 505px);
  padding: 30px 8px 5px 16px;
}
.stage-photos {
  position: absolute;
  inset: 0 11% 11% 0;
  overflow: clip;
  border-radius: 18px 18px 4px 4px;
  background: #164650;
  box-shadow: 0 16px 36px #26383b21;
}
.stage-photos img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .4s ease;
}
.stage-sheet {
  grid-area: 1 / 1;
  align-self: end;
  position: relative;
  visibility: hidden;
  opacity: 0;
  width: min(306px, 76%);
  background: var(--paper-light);
  padding: 18px 22px;
  border: 1px solid #e8dfcd;
  border-radius: 10px;
  box-shadow: 0 14px 40px #1e353850;
  transform: translateY(10px) rotate(3deg);
  transition: opacity .32s ease, transform .32s ease, visibility .32s;
}
.module-showcase[data-preview="cash"] [data-scene="cash"],
.module-showcase[data-preview="events"] [data-scene="events"],
.module-showcase[data-preview="tasks"] [data-scene="tasks"],
.module-showcase[data-preview="groups"] [data-scene="groups"] { opacity: 1; }
.module-showcase[data-preview="cash"] [data-sheet="cash"],
.module-showcase[data-preview="events"] [data-sheet="events"],
.module-showcase[data-preview="tasks"] [data-sheet="tasks"],
.module-showcase[data-preview="groups"] [data-sheet="groups"] {
  visibility: visible;
  opacity: 1;
  transform: translateY(0) rotate(3deg);
}
@media (prefers-reduced-motion: no-preference) {
  .stage-sheet { translate: 0 var(--sheet-offset, 0); }
}
.sheet-title { display: flex; gap: 8px; align-items: center; color: var(--accent); }
.sheet-balance { display: grid; gap: 2px; margin-block: 15px 10px; }
.sheet-balance span, .sheet-row { font-size: .91rem; }
.sheet-balance strong { font: 720 2rem/1.05 var(--display); letter-spacing: -.045em; }
.sheet-row { display: flex; justify-content: space-between; gap: 8px; padding-block: 8px; border-top: 1px dashed #a3aaa1; }

.prices { position: relative; isolation: isolate; background: var(--night); color: white; }
.prices .section { padding-top: clamp(42px, 6vw, 87px); }
.help::before {
  content: "";
  position: absolute;
  top: -34px;
  left: 0;
  width: 100%;
  height: 36px;
  background: inherit;
  pointer-events: none;
}
.prices .section-title > p, .price-grid p { color: #e1ecec; }
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 6vw, 84px); }
.price-grid article { padding-top: 18px; border-top: 1px solid #729093; }
.price-grid h3 { font: 670 clamp(23px, 3vw, 35px)/1.12 var(--display); letter-spacing: -.033em; }
.price-grid p { margin-top: 10px; }
.help { position: relative; background: var(--blue-light); }
.help::before { clip-path: polygon(0 0, 100% 60%, 100% 100%, 0 100%); }
.help-inner { display: grid; grid-template-columns: .85fr 1.15fr; align-items: start; gap: 25px; }
.help details { border-bottom: 1px solid #bdb1c7; }
.help summary { padding: 13px 0; font-weight: 650; color: var(--up-brand); }
.help details p { padding-bottom: 13px; color: var(--up-text-muted); }
.footer { background: var(--paper-light); }
.footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 8px 18px; flex-wrap: wrap; min-height: 76px; padding-block: 10px; }
.footer strong { color: var(--up-brand); }
.footer strong span { color: var(--up-text-muted); font-weight: 400; }
.text-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 5px 8px; color: var(--up-brand); text-decoration: underline; text-underline-offset: .2em; }
.text-btn:hover { color: var(--up-brand-hover); }

@media (max-width: 850px) {
  .hero-inner { min-height: 505px; }
  .hero h1 { font-size: clamp(48px, 8.1vw, 76px); }
  .hero-image { object-position: 57% 47%; }
  .hero-visual::after { background: linear-gradient(90deg, #0d2937ed, #0d2937a6 44%, transparent 95%); }
  .module-stage { min-height: 335px; }
}
@media (max-width: 620px) {
  .hero-inner { min-height: clamp(540px, 125vw, 625px); padding-block: clamp(280px, 63vw, 370px) 75px; }
  .hero h1 { font-size: clamp(42px, 10.1vw, 59px); margin-bottom: 12px; }
  .hero-lead { max-width: 30ch; }
  .hero-actions { margin-top: 16px; }
  .hero-actions .primary { min-height: 47px; padding-inline: 14px; }
  .hero-visual { top: var(--masthead-height); }
  .hero-visual::after { background: linear-gradient(0deg, #0d2937 9%, #0d2937f2 26%, #0d293755 52%, transparent 77%); }
  .hero-image { object-position: 66% center; }
  .hero-detail { object-position: 58% center; }
  .hero-motion { bottom: 13px; }
  .module-ribbon-track { min-height: 49px; }
  .section { padding-block: 51px 67px; }
  .section-title { display: grid; gap: 11px; }
  .section h2 { font-size: clamp(35px, 8vw, 52px); text-wrap: initial; }
  .module-showcase, .price-grid, .help-inner { grid-template-columns: 1fr; }
  .module-stage { min-height: 320px; }
  .stage-sheet { padding: 15px 16px; }
  .help::before { top: -19px; height: 23px; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero.motion-enabled .hero-visual { translate: 0 var(--hero-drift, 0); }
  .hero.motion-enabled .hero-image { animation: hero-camera 12s ease-in-out infinite alternate; animation-play-state: var(--hero-play, paused); }
  .hero.motion-enabled .hero-detail { animation-name: hero-detail; }
  .hero-copy { animation: settle-in .45s both; }
  .has-entered { animation: settle-in .46s ease-out both; }
  @keyframes hero-camera { from { scale: 1; } to { scale: 1.09; } }
  @keyframes hero-detail {
    0%, 30% { opacity: 0; scale: 1.085; }
    48%, 74% { opacity: 1; }
    92%, 100% { opacity: 0; scale: 1; }
  }
  @keyframes settle-in { from { opacity: .85; translate: 0 11px; } to { opacity: 1; translate: 0 0; } }
}
@media (prefers-reduced-motion: reduce) {
  .feature-arrow, .stage-sheet, .stage-photos img { transition: none; }
  .module-ribbon-track { translate: none; }
}
