@font-face { font-family: "Geist"; src: url("assets/fonts/Geist-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #eef1f8;
  --text: #141a2e;
  --muted: #545c72;
  --accent: #2b3aa8;
  --accent-ink: #ffffff;
  --glass: rgba(255, 255, 255, 0.62);
  --glass-strong: rgba(255, 255, 255, 0.8);
  --line: rgba(20, 26, 46, 0.08);
  --shadow: 0 24px 60px -24px rgba(32, 44, 110, 0.28);
  --a1: rgba(80, 110, 235, 0.32);
  --a2: rgba(60, 190, 170, 0.26);
  --a3: rgba(255, 186, 110, 0.28);
  --radius: 24px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c1020;
    --text: #eef0f7;
    --muted: #a3a9bd;
    --accent: #8f9cff;
    --accent-ink: #0c1020;
    --glass: rgba(26, 31, 54, 0.62);
    --glass-strong: rgba(30, 36, 62, 0.86);
    --line: rgba(255, 255, 255, 0.08);
    --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.6);
    --a1: rgba(70, 90, 230, 0.34);
    --a2: rgba(40, 160, 145, 0.22);
    --a3: rgba(220, 140, 70, 0.16);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: var(--accent); }
img { display: block; max-width: 100%; height: auto; }
.wrap { max-width: 1160px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }
.icon { display: inline-flex; width: 1.1em; height: 1.1em; vertical-align: -0.15em; }
.icon svg { width: 100%; height: 100%; }

/* Hintergrund: ruhige Farbflächen, die sich langsam verschieben */
.aurora { position: fixed; inset: -20vmax; z-index: -1; pointer-events: none; filter: blur(60px);
  background:
    radial-gradient(38vmax 30vmax at 18% 12%, var(--a1), transparent 70%),
    radial-gradient(34vmax 28vmax at 85% 22%, var(--a2), transparent 70%),
    radial-gradient(40vmax 30vmax at 60% 88%, var(--a3), transparent 70%);
}
@media (prefers-reduced-motion: no-preference) {
  .aurora { animation: drift 28s ease-in-out infinite alternate; }
  @keyframes drift { to { transform: translate3d(3vmax, -2vmax, 0) rotate(6deg) scale(1.06); } }
}

/* Navigation */
.nav { position: sticky; top: 0; z-index: 10; backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px);
  background: color-mix(in srgb, var(--bg) 70%, transparent); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { font-weight: 700; letter-spacing: -0.02em; color: var(--text); text-decoration: none; font-size: 18px; }
.nav nav { display: flex; gap: 22px; }
.nav nav a { color: var(--muted); text-decoration: none; font-weight: 500; }
.nav nav a:hover { color: var(--text); }

/* Hero */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; padding-top: 64px; padding-bottom: 72px; min-height: min(760px, calc(100dvh - 64px)); }
.hero h1 { font-size: clamp(38px, 5.4vw, 64px); line-height: 1.05; letter-spacing: -0.035em; margin: 0 0 20px; max-width: 12ch; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 44ch; margin: 0 0 32px; }
.btn { display: inline-flex; align-items: center; gap: 10px; background: var(--accent); color: var(--accent-ink); text-decoration: none;
  font-weight: 600; padding: 14px 22px; border-radius: 999px; box-shadow: var(--shadow); transition: transform .3s cubic-bezier(.16,1,.3,1), box-shadow .3s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }

.hero-phones { position: relative; height: 560px; }
.phone { position: absolute; margin: 0; width: 230px; border-radius: 36px; padding: 8px; background: var(--glass-strong);
  border: 1px solid var(--line); box-shadow: var(--shadow); }
.phone img { border-radius: 28px; }
.p-front { left: 50%; top: 20px; transform: translateX(-50%); z-index: 3; width: 250px; }
.p-back { left: 4%; top: 80px; transform: rotate(-8deg); z-index: 2; }
.p-side { right: 2%; top: 100px; transform: rotate(7deg); z-index: 1; }
@media (prefers-reduced-motion: no-preference) {
  .phone { animation: rise .9s cubic-bezier(.16,1,.3,1) both; }
  .p-back { animation-delay: .12s; } .p-side { animation-delay: .22s; }
  @keyframes rise { from { opacity: 0; translate: 0 40px; } to { opacity: 1; translate: 0 0; } }
  .p-front img { animation: float 7s ease-in-out 1s infinite; }
  @keyframes float { 50% { transform: translateY(-8px); } }
}

/* Apps */
.apps { padding-top: 40px; padding-bottom: 48px; }
.apps h2, .support h2 { font-size: clamp(28px, 3.4vw, 42px); letter-spacing: -0.03em; line-height: 1.1; margin: 0 0 32px; max-width: 18ch; }
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.cell { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--glass); border: 1px solid var(--line);
  backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%);
  box-shadow: var(--shadow); min-height: 380px; display: flex; transition: transform .4s cubic-bezier(.16,1,.3,1); }
.cell:hover { transform: translateY(-4px); }
.cell-text { position: relative; z-index: 2; padding: 26px; display: flex; flex-direction: column; gap: 6px; max-width: 58%; }
.cell h3 { margin: 10px 0 0; font-size: 22px; letter-spacing: -0.02em; }
.cell p { margin: 0; }
.fuer { color: var(--muted); font-size: 14px; }
.cell-text > p:not(.fuer) { margin-top: 6px; }
.app-icon { width: 56px; height: 56px; border-radius: 14px; box-shadow: 0 6px 16px -6px rgba(0,0,0,.25); }
.links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.links img { height: 38px; width: auto; }
.links img.gp { height: 38px; }
.more { margin-top: auto; padding-top: 16px; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.more:hover .icon { transform: translateX(3px); }
.more .icon { transition: transform .25s; }
.shot { position: absolute; z-index: 1; width: 210px; right: 22px; bottom: -70px; border-radius: 26px;
  border: 6px solid var(--glass-strong); box-shadow: var(--shadow); transform: rotate(4deg); transition: transform .5s cubic-bezier(.16,1,.3,1); }
.cell:hover .shot { transform: rotate(2deg) translateY(-10px); }

.c-dent { grid-column: span 4; min-height: 440px; background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 16%, var(--glass)), var(--glass)); }
.c-dent .shot { width: 250px; right: 40px; bottom: -90px; }
.c-kasse { grid-column: span 2; min-height: 440px; }
.c-kasse .cell-text { max-width: 100%; padding-bottom: 170px; }
.c-kasse .shot { width: 170px; right: 18px; bottom: -160px; transform: rotate(-5deg); }
.c-fahrt, .c-kick, .c-zock { grid-column: span 2; }
.c-fahrt .cell-text, .c-kick .cell-text, .c-zock .cell-text { max-width: 100%; padding-bottom: 150px; }
.c-fahrt .shot, .c-kick .shot, .c-zock .shot { width: 160px; right: 18px; bottom: -150px; }
.c-kick { background: linear-gradient(160deg, color-mix(in srgb, #2fa37a 14%, var(--glass)), var(--glass)); }
.c-zock { background: linear-gradient(160deg, color-mix(in srgb, #ff9f5a 14%, var(--glass)), var(--glass)); }

/* Werte: ein durchgehendes Band statt einzelner Karten */
.werte { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 40px; margin-bottom: 40px; border-radius: var(--radius);
  background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); padding: 8px; }
.wert { display: flex; gap: 14px; padding: 22px; }
.wert + .wert { border-left: 1px solid var(--line); }
.wert h3 { margin: 0 0 4px; font-size: 17px; }
.wert p { margin: 0; color: var(--muted); font-size: 15px; }
.icon.big { width: 28px; height: 28px; flex: none; color: var(--accent); margin-top: 2px; }

/* Support */
.support { display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: end; padding-top: 48px; padding-bottom: 72px; }
.support h2 { margin-bottom: 14px; }
.support p { color: var(--muted); max-width: 54ch; margin: 0; }
.btn-mail { font-size: 17px; }

footer { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; color: var(--muted); font-size: 14px;
  padding-top: 24px; padding-bottom: 48px; border-top: 1px solid var(--line); }
footer nav { display: flex; gap: 18px; }
footer a { color: var(--muted); }

/* Einblenden beim Scrollen */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1); }
  .reveal.in { opacity: 1; transform: none; }
  .bento .cell:nth-child(2) { transition-delay: .06s; }
  .bento .cell:nth-child(3) { transition-delay: .1s; }
  .bento .cell:nth-child(4) { transition-delay: .16s; }
  .bento .cell:nth-child(5) { transition-delay: .22s; }
}

/* Unterseiten (Impressum, Datenschutz) */
.text { max-width: 720px; padding-top: 48px; padding-bottom: 72px; }
.text h1 { letter-spacing: -0.03em; }
.text h2 { font-size: 19px; margin-top: 32px; }
.muted { color: var(--muted); }

/* Tablet */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; padding-top: 40px; min-height: 0; }
  .hero-phones { height: 440px; }
  .phone { width: 180px; } .p-front { width: 200px; }
  .c-dent, .c-kasse { grid-column: span 6; }
  .c-fahrt, .c-kick, .c-zock { grid-column: span 3; }
  .c-zock { grid-column: span 6; }
  .c-kasse .cell-text { max-width: 60%; padding-bottom: 26px; }
  .c-kasse .shot { right: 40px; bottom: -110px; }
  .werte { grid-template-columns: 1fr; }
  .wert + .wert { border-left: 0; border-top: 1px solid var(--line); }
  .support { grid-template-columns: 1fr; align-items: start; }
}
/* Handy */
@media (max-width: 600px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .hero-phones { height: 360px; }
  .phone { width: 140px; border-radius: 26px; padding: 6px; } .phone img { border-radius: 20px; }
  .p-front { width: 160px; } .p-back { left: 0; } .p-side { right: 0; }
  .bento { grid-template-columns: 1fr; }
  .cell, .c-dent, .c-kasse, .c-fahrt, .c-kick, .c-zock { grid-column: auto; min-height: 0; }
  .cell-text, .c-kasse .cell-text, .c-dent .cell-text { max-width: 100%; padding-bottom: 170px; }
  .shot, .c-dent .shot, .c-kasse .shot, .c-fahrt .shot, .c-kick .shot, .c-zock .shot { width: 150px; right: 18px; bottom: -120px; transform: rotate(4deg); }
  .btn-mail { font-size: 15px; white-space: normal; }
}
