/* Appento, Startseite und Unterseiten. Schrift: Bricolage Grotesque (OFL, fonts/OFL.txt). */

@font-face {
  font-family: "Bricolage";
  src: url("/fonts/bricolage.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --night: #0f0a24;
  --night-2: #1a1240;
  --violet: #5e44c3;
  --violet-bright: #8b6cff;
  --lilac: #c8b8ff;
  --pink: #ff7ab6;
  --paper: #f7f5fb;
  --card: #ffffff;
  --text: #17142a;
  --muted: #5f5b75;
  --line: #e6e1f2;

  --radius: 28px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --shadow-shot: 0 50px 90px -40px rgb(15 10 36 / 0.55), 0 20px 40px -24px rgb(15 10 36 / 0.35);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 400 18px/1.6 "Bricolage", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

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

a {
  color: inherit;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

p {
  margin: 0;
}

.wrap {
  width: min(1200px, 100% - 48px);
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--card);
  color: var(--text);
}
.skip:focus {
  top: 16px;
}

:focus-visible {
  outline: 3px solid var(--violet-bright);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  background: #fff;
  color: var(--night);
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -12px rgb(139 108 255 / 0.7);
}
.btn--small {
  padding: 9px 18px;
  font-size: 15px;
}
.btn--big {
  padding: 18px 34px;
  font-size: clamp(20px, 2.4vw, 26px);
}

/* ---------- Kopfleiste ---------- */

.nav-sentinel {
  position: absolute;
  top: 0;
  height: 1px;
  width: 1px;
}

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  color: #fff;
  transition: background-color 0.3s, box-shadow 0.3s;
}
/* Oben durchsichtig, beim Scrollen deckend. Bewusst ohne backdrop-filter: das Glas
   über den animierten Flächen hat beim Scrollen geflackert. */
.nav.is-scrolled {
  background-color: var(--night);
  box-shadow: 0 1px 0 rgb(255 255 255 / 0.08);
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.nav__links {
  display: flex;
  gap: 28px;
  margin-left: auto;
  font-size: 16px;
}
.nav__links a {
  text-decoration: none;
  opacity: 0.75;
  transition: opacity 0.2s;
}
.nav__links a:hover {
  opacity: 1;
}
@media (max-width: 760px) {
  .nav__links {
    display: none;
  }
  .nav .btn {
    margin-left: auto;
  }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--night);
  color: #fff;
  padding: clamp(150px, calc(18vh + 20px), 210px) 0 0;
  isolation: isolate;
}

.aurora {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.aurora span {
  position: absolute;
  width: 60vmax;
  height: 60vmax;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  animation: drift 22s ease-in-out infinite alternate;
}
.aurora span:nth-child(1) {
  background: var(--violet);
  top: -30vmax;
  left: -15vmax;
}
.aurora span:nth-child(2) {
  background: #2f6bff;
  top: -20vmax;
  right: -25vmax;
  opacity: 0.35;
  animation-duration: 28s;
  animation-delay: -6s;
}
.aurora span:nth-child(3) {
  background: var(--pink);
  bottom: -40vmax;
  left: 20%;
  opacity: 0.3;
  animation-duration: 32s;
  animation-delay: -12s;
}
@keyframes drift {
  to {
    transform: translate3d(8vmax, 6vmax, 0) scale(1.15);
  }
}

.grain {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.08;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Ein paar Federn aus dem Logo schweben langsam herab */
.feathers {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.feathers img {
  position: absolute;
  top: -12%;
  width: 34px;
  opacity: 0;
  animation: fall 26s linear infinite;
}
.feathers img:nth-child(1) { left: 8%; animation-delay: -13s; }
.feathers img:nth-child(2) { left: 22%; width: 22px; animation-duration: 32s; animation-delay: -19s; }
.feathers img:nth-child(3) { left: 74%; width: 40px; animation-duration: 29s; animation-delay: -11s; }
.feathers img:nth-child(4) { left: 88%; width: 24px; animation-duration: 35s; animation-delay: -26s; }
.feathers img:nth-child(5) { left: 56%; width: 18px; animation-duration: 38s; animation-delay: -1s; }
@keyframes fall {
  0% { transform: translate(0, 0) rotate(-20deg); opacity: 0; }
  10% { opacity: 0.35; }
  25% { transform: translate(40px, 25vh) rotate(25deg); }
  50% { transform: translate(-30px, 55vh) rotate(-15deg); }
  75% { transform: translate(35px, 85vh) rotate(30deg); opacity: 0.3; }
  100% { transform: translate(0, 115vh) rotate(-10deg); opacity: 0; }
}

.hero__copy {
  text-align: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px 7px 10px;
  border: 1px solid rgb(255 255 255 / 0.16);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.06);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.hero h1 {
  font-size: clamp(52px, 10.5vw, 148px);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.03em;
}
.shine {
  background: linear-gradient(100deg, var(--lilac) 0%, var(--pink) 35%, #ffd27a 55%, var(--lilac) 80%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine 9s linear infinite;
}
@keyframes shine {
  to {
    background-position: -220% 0;
  }
}
.lead {
  max-width: 36ch;
  margin: 28px auto 0;
  font-size: clamp(19px, 2vw, 23px);
  line-height: 1.5;
  color: rgb(255 255 255 / 0.76);
}

.app-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}
.app-pills a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 20px 8px 8px;
  border: 1px solid rgb(255 255 255 / 0.12);
  border-radius: 20px;
  background: rgb(255 255 255 / 0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  text-align: left;
  text-decoration: none;
  transition: transform 0.3s var(--ease), background 0.3s, border-color 0.3s;
}
.app-pills a:hover {
  transform: translateY(-3px);
  background: rgb(255 255 255 / 0.12);
  border-color: rgb(255 255 255 / 0.25);
}
.app-pills img {
  border-radius: 11px;
}
.app-pills span {
  display: grid;
  line-height: 1.2;
}
.app-pills small {
  font-size: 13px;
  color: rgb(255 255 255 / 0.6);
}

/* Screenshot-Wand: eine schräge Reihe, die langsam durchläuft */
.wall {
  /* Der Kasten reicht 120px über die schräge Reihe hinaus, damit die Maske dort weich
     ausblendet statt die gedrehten Karten gerade abzuschneiden. */
  --over: 120px;
  position: relative;
  pointer-events: none;
  margin-top: calc(clamp(64px, 9vw, 110px) - var(--over));
  height: calc(clamp(340px, 42vw, 560px) + var(--over));
  -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent),
    linear-gradient(to bottom, transparent, #000 calc(var(--over) + 40px));
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent),
    linear-gradient(to bottom, transparent, #000 calc(var(--over) + 40px));
  mask-composite: intersect;
}
.wall__row {
  position: absolute;
  left: -10%;
  right: -10%;
  top: var(--over);
  transform: rotate(-5deg);
  transform-origin: center;
}
.wall__track {
  display: flex;
  gap: clamp(16px, 2vw, 28px);
  width: max-content;
  animation: slide 70s linear infinite;
}
.wall__track img {
  width: clamp(170px, 18vw, 250px);
  aspect-ratio: 0.47;
  object-fit: cover;
  object-position: top;
  border-radius: clamp(18px, 2vw, 28px);
  box-shadow: 0 30px 60px -30px rgb(0 0 0 / 0.7);
  outline: 1px solid rgb(255 255 255 / 0.1);
}
@keyframes slide {
  to {
    transform: translateX(-50%);
  }
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 180px;
  background: linear-gradient(to bottom, transparent, var(--night));
  pointer-events: none;
}

/* ---------- Apps ---------- */

.apps {
  background: var(--night);
  padding: 24px 0 clamp(60px, 8vw, 120px);
}

.app {
  --bg: #fff;
  --fg: var(--text);
  --accent: var(--violet);
  --soft: rgb(0 0 0 / 0.6);
  position: relative;
  width: min(1320px, 100% - 24px);
  margin: 0 auto clamp(14px, 2vw, 24px);
  border-radius: clamp(28px, 4vw, 48px);
  background: var(--bg);
  color: var(--fg);
  overflow: hidden;
  isolation: isolate;
}
.app--gk {
  --bg: radial-gradient(120% 120% at 100% 0%, #3a63e8 0%, #1f3fb0 45%, #14277a 100%);
  --fg: #fff;
  --accent: #ffc94d;
  --soft: rgb(255 255 255 / 0.78);
}
.app--jt {
  --bg: linear-gradient(160deg, #fff4fa 0%, #fde3f0 50%, #e5ecff 100%);
  --fg: #2a1830;
  --accent: #e0509a;
  --soft: #6b5570;
}
.app--cd {
  --bg: radial-gradient(120% 120% at 0% 100%, #ff8aa5 0%, #f04a72 45%, #c4284f 100%);
  --fg: #fff;
  --accent: #ffe08a;
  --soft: rgb(255 255 255 / 0.85);
}

.app__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
  padding: clamp(56px, 8vw, 110px) 0;
}
.app--flip .app__copy {
  order: 2;
}

.app__num {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent);
}
.app__num span {
  color: var(--soft);
  opacity: 0.6;
}
.app__head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 18px;
}
.app__icon {
  border-radius: 18px;
  box-shadow: 0 10px 30px -10px rgb(0 0 0 / 0.45);
}
.app h2 {
  font-size: clamp(28px, 3vw, 36px);
  letter-spacing: -0.03em;
}
.tag {
  margin-top: 6px;
  font-size: 15px;
  color: var(--soft);
}
.app__claim {
  margin: 34px 0 22px;
  font-size: clamp(46px, 6.4vw, 88px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.app__claim em {
  font-style: normal;
  color: var(--accent);
}
.app__copy > p:not([class]) {
  max-width: 46ch;
  font-size: 19px;
  color: var(--soft);
}

.checks {
  display: grid;
  gap: 10px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}
.checks li {
  display: flex;
  gap: 12px;
  align-items: baseline;
}
.checks li::before {
  content: "";
  flex: none;
  width: 20px;
  height: 20px;
  transform: translateY(4px);
  border-radius: 50%;
  background: var(--accent)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23000' stroke-opacity='.75' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center/100% no-repeat;
}
.app--jt .checks li::before {
  filter: none;
  background-color: #ffc2df;
}

.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}
.store {
  display: block;
  border-radius: 10px;
  transition: transform 0.25s var(--ease), filter 0.25s;
}
.store:hover {
  transform: translateY(-2px);
  filter: drop-shadow(0 10px 18px rgb(0 0 0 / 0.3));
}
.store img {
  height: 50px;
  width: auto;
}

.more {
  display: inline-flex;
  gap: 6px;
  margin-top: 22px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid color-mix(in srgb, currentColor 30%, transparent);
  transition: border-color 0.2s;
}
.more:hover {
  border-color: currentColor;
}

/* Bilder: drei leicht gefächerte Screens */
.app__art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(460px, 52vw, 680px);
}
.halo {
  position: absolute;
  width: 80%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--accent), transparent);
  opacity: 0.35;
  filter: blur(30px);
}
.app--jt .halo {
  background: radial-gradient(closest-side, #ff9fcd, transparent);
  opacity: 0.6;
}
.shot {
  position: absolute;
  width: clamp(190px, 21vw, 290px);
  transition: transform 0.8s var(--ease);
}
.app__art--phones .shot {
  width: clamp(210px, 23vw, 320px);
  filter: drop-shadow(0 40px 50px rgb(5 10 40 / 0.45));
}
.app__art--cards .shot {
  border-radius: clamp(18px, 2vw, 26px);
  box-shadow: var(--shadow-shot);
}
.shot--c {
  z-index: 2;
}
.shot--l {
  transform: translateX(-62%) rotate(-9deg) scale(0.86);
}
.shot--r {
  transform: translateX(62%) rotate(9deg) scale(0.86);
}
.app__art:hover .shot--l {
  transform: translateX(-72%) rotate(-12deg) scale(0.88);
}
.app__art:hover .shot--r {
  transform: translateX(72%) rotate(12deg) scale(0.88);
}
.app__art:hover .shot--c {
  transform: translateY(-10px);
}

@media (max-width: 900px) {
  .app__grid {
    grid-template-columns: 1fr;
  }
  .app--flip .app__copy {
    order: 0;
  }
  .app__art {
    min-height: auto;
    aspect-ratio: 1 / 1.05;
    max-width: 560px;
    width: 100%;
    margin-inline: auto;
  }
  .shot,
  .app__art--phones .shot {
    width: 44%;
  }
  .shot--l {
    transform: translateX(-58%) rotate(-8deg) scale(0.86);
  }
  .shot--r {
    transform: translateX(58%) rotate(8deg) scale(0.86);
  }
}

/* ---------- Haltung ---------- */

.manifest {
  background: var(--night);
  color: #fff;
  padding: clamp(60px, 10vw, 140px) 0 clamp(70px, 10vw, 150px);
}
.manifest__line {
  font-size: clamp(48px, 10vw, 150px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.035em;
}
.manifest__line:nth-child(2) {
  padding-left: 8vw;
  color: rgb(255 255 255 / 0.55);
}
.manifest__line:nth-child(3) {
  padding-left: 16vw;
}
@media (max-width: 700px) {
  .manifest__line:nth-child(n) {
    padding-left: 0;
  }
}

/* ---------- Kontakt ---------- */

.contact {
  background: linear-gradient(var(--night) 50%, var(--paper) 50%);
  padding-bottom: clamp(40px, 6vw, 80px);
}
.contact__card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(56px, 8vw, 100px) 24px;
  border-radius: clamp(28px, 4vw, 48px);
  background: var(--night-2);
  color: #fff;
  text-align: center;
  box-shadow: 0 40px 80px -40px rgb(15 10 36 / 0.6);
}
.aurora--soft span {
  width: 40vmax;
  height: 40vmax;
  opacity: 0.45;
}
.contact__logo {
  margin: 0 auto 24px;
  filter: drop-shadow(0 10px 24px rgb(139 108 255 / 0.6));
}
.contact h2 {
  font-size: clamp(36px, 5.4vw, 72px);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.contact p {
  margin: 14px 0 34px;
  font-size: 20px;
  color: rgb(255 255 255 / 0.72);
}

/* ---------- Fußzeile ---------- */

.footer {
  padding: 30px 0 46px;
  font-size: 15px;
  color: var(--muted);
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 32px;
}
.footer .brand {
  color: var(--text);
  font-size: 18px;
}
.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-left: auto;
}
.footer nav a {
  text-decoration: none;
}
.footer__legal {
  flex-basis: 100%;
  font-size: 13px;
  line-height: 1.5;
  opacity: 0.75;
}
.footer nav a:hover {
  color: var(--text);
  text-decoration: underline;
}

/* ---------- Einblenden ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}
.app__copy .reveal:nth-child(2) { transition-delay: 0.05s; }
.app__copy .reveal:nth-child(3) { transition-delay: 0.1s; }
.app__copy .reveal:nth-child(4) { transition-delay: 0.15s; }
.app__copy .reveal:nth-child(5) { transition-delay: 0.2s; }
.app__copy .reveal:nth-child(6) { transition-delay: 0.25s; }
.hero__copy .reveal:nth-child(2) { transition-delay: 0.08s; }
.hero__copy .reveal:nth-child(3) { transition-delay: 0.16s; }
.hero__copy .reveal:nth-child(4) { transition-delay: 0.24s; }

/* Die Bilder fächern sich beim Einblenden auf */
.js .app__art.reveal {
  transform: none;
}
.js .app__art.reveal:not(.is-visible) .shot {
  transform: translateY(60px) scale(0.9);
}
.js .app__art.reveal .shot--l,
.js .app__art.reveal .shot--r {
  transition-delay: 0.15s;
}

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

/* ---------- Unterseiten (Impressum, Datenschutz) ---------- */

.page-head {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--night);
  color: #fff;
  padding: 140px 0 70px;
}
.page-head h1 {
  font-size: clamp(38px, 6vw, 72px);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.page-head p {
  margin-top: 14px;
  color: rgb(255 255 255 / 0.7);
}
.prose {
  width: min(760px, 100% - 48px);
  margin: 0 auto;
  padding: 56px 0 40px;
  font-size: 17px;
  overflow-wrap: anywhere;
}
.prose h2 {
  margin: 56px 0 14px;
  font-size: 32px;
}
.prose h3 {
  margin: 36px 0 10px;
  font-size: 22px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.prose p,
.prose ul {
  margin: 0 0 14px;
  color: #36324a;
}
.prose a {
  color: var(--violet);
}
.prose h2:first-of-type {
  margin-top: 40px;
}
.contact-mini {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  margin: 8px 0 14px;
  padding: 36px 32px;
  border-radius: 28px;
  background: var(--night-2);
  color: #fff;
  box-shadow: 0 30px 60px -36px rgb(15 10 36 / 0.6);
}
.contact-mini .aurora span {
  width: 340px;
  height: 340px;
  filter: blur(60px);
  opacity: 0.6;
}
.contact-mini .aurora span:nth-child(1) { top: -200px; left: -120px; }
.contact-mini .aurora span:nth-child(2) { top: -160px; right: -140px; }
.contact-mini .aurora span:nth-child(3) { bottom: -260px; left: 45%; }
.prose .contact-mini p {
  max-width: 44ch;
  margin-bottom: 24px;
  font-size: 18px;
  color: rgb(255 255 255 / 0.78);
}
.prose .contact-mini .btn {
  color: var(--night);
  font-size: 20px;
}
