/* Concierge Martini, Stylesheet
   Schrift: Geist (self-hosted, SIL OFL). Icons: Phosphor (MIT).
   Eine Akzentfarbe: Tally-Rot. Radius-System: 20px Flächen, Pill für Buttons.
   Die App-Farbtöne (--tone) gelten nur als Hintergrund der Screenshot-Flächen. */

@font-face { font-family: "Geist"; src: url("../fonts/geist-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Geist"; src: url("../fonts/geist-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Geist"; src: url("../fonts/geist-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Geist"; src: url("../fonts/geist-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("../fonts/geist-mono-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --bg: #0e0e10;
  --surface: #17171a;
  --surface-2: #212125;
  --line: #2b2b30;
  --text: #ededef;
  --muted: #a1a1aa;
  --accent: #e5483b;
  --accent-ink: #ffffff;
  --accent-soft: rgb(229 72 59 / .14);
  --shadow: 0 30px 70px -30px rgb(0 0 0 / .75);
  --radius: 20px;
  --wrap: 1280px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f5f5f6;
    --surface: #ffffff;
    --surface-2: #ececef;
    --line: #dddde2;
    --text: #18181b;
    --muted: #55555e;
    --accent: #c8352a;
    --accent-ink: #ffffff;
    --accent-soft: rgb(200 53 42 / .08);
    --shadow: 0 30px 60px -32px rgb(40 30 30 / .35);
    color-scheme: light;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; overflow-wrap: break-word; hyphens: auto; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
@media (max-width: 767px) { .wrap { padding: 0 16px; } }

.skip { position: absolute; left: 16px; top: -60px; z-index: 30; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: 999px; text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.i { width: 1.1em; height: 1.1em; flex: none; vertical-align: -0.15em; }
.i--lg { width: 28px; height: 28px; color: var(--accent); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  white-space: nowrap;
  padding: 14px 24px; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink);
  font-weight: 600; font-size: 16px; text-decoration: none;
  border: 1px solid transparent;
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--text); }
.btn--small { padding: 9px 18px; font-size: 15px; }
.btn--block { width: 100%; padding: 18px 24px; font-size: 17px; }

/* Navigation (z-index: nav 20, skip-link 30) */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 600; letter-spacing: -0.01em; }
.brand img { border-radius: 9px; }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a:not(.btn) { text-decoration: none; color: var(--muted); font-size: 15px; transition: color .2s; }
.nav__links a:not(.btn):hover { color: var(--text); }
.nav__toggle { display: none; }

@media (max-width: 899px) {
  .nav__toggle {
    display: grid; place-items: center; width: 44px; height: 44px;
    border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--text); cursor: pointer;
  }
  .nav__toggle .i { width: 22px; height: 22px; }
  .nav__toggle .i--close { display: none; }
  .nav__toggle[aria-expanded="true"] .i--open { display: none; }
  .nav__toggle[aria-expanded="true"] .i--close { display: block; }
  .nav__links {
    position: absolute; left: 0; right: 0; top: 68px;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 16px 20px; background: var(--bg); border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a:not(.btn) { padding: 14px 4px; font-size: 18px; color: var(--text); border-bottom: 1px solid var(--line); }
  .nav__links .btn { margin-top: 16px; padding: 14px 24px; font-size: 16px; }
}

/* Typo-Bausteine */
.eyebrow { font: 400 13px/1 "Geist Mono", ui-monospace, monospace; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.h2 { font-size: clamp(32px, 4.4vw, 54px); max-width: 20ch; letter-spacing: -0.03em; }
.lead { color: var(--muted); font-size: clamp(17px, 1.5vw, 19px); max-width: 58ch; margin-top: 20px; }
section { padding: clamp(80px, 10vw, 136px) 0; }

/* Hero */
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 7vw, 96px); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1fr; gap: 56px; align-items: center; }
@media (min-width: 1024px) {
  .hero__grid { grid-template-columns: 5fr 7fr; gap: 48px; min-height: min(calc(100dvh - 68px - 160px), 720px); }
}
.hero h1 { font-size: clamp(40px, 5.2vw, 70px); letter-spacing: -0.04em; line-height: 1.02; max-width: 13ch; }
.hero__sub { color: var(--muted); font-size: clamp(18px, 1.6vw, 20px); max-width: 40ch; margin-top: 24px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* Hero-Bühne: echte Screenshots, Mac mit zwei iPhones */
.stage { position: relative; padding: 0 0 12% 0; }
.stage__glow {
  position: absolute; inset: 10% 5% 0 15%; z-index: 0;
  background: radial-gradient(closest-side, var(--accent-soft), transparent);
  filter: blur(30px);
}
.stage__mac {
  position: relative; z-index: 1; width: 100%;
  border-radius: 14px; border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.stage__phone {
  position: absolute; z-index: 2; width: 26%;
  border-radius: 13% / 6%;
  border: 5px solid #1b1b1e;
  box-shadow: 0 30px 60px -20px rgb(0 0 0 / .6);
}
.stage__phone--a { left: -4%; bottom: 0; }
.stage__phone--b { right: 6%; bottom: -4%; width: 24%; }
@media (min-width: 1024px) { .stage { margin-right: -48px; } }
@media (prefers-reduced-motion: no-preference) {
  .stage__phone--a { animation: float 7s ease-in-out infinite; }
  .stage__phone--b { animation: float 8s ease-in-out -3s infinite; }
}
@keyframes float { 50% { transform: translateY(-10px); } }

/* Kennzahlen */
.stats { padding: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; }
@media (min-width: 900px) { .stats__grid { grid-template-columns: repeat(4, 1fr); } }
.stats__grid div { min-width: 0; padding: 32px 16px 32px 0; display: grid; gap: 8px; align-content: start; }
@media (min-width: 900px) { .stats__grid div + div { padding-left: 32px; border-left: 1px solid var(--line); } }
@media (max-width: 899px) { .stats__grid div:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); } .stats__grid div:nth-child(n+3) { border-top: 1px solid var(--line); } }
.stats dt { font-size: clamp(44px, 5vw, 64px); font-weight: 600; letter-spacing: -0.045em; line-height: 1; }
.stats dd { margin: 0; color: var(--muted); font-size: 15px; max-width: 22ch; overflow-wrap: break-word; hyphens: auto; }

/* Leistungen: Bento */
.bento { display: grid; gap: 16px; margin-top: 56px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .bento { grid-template-columns: repeat(2, 1fr); } .cell--broadcast { grid-column: 1 / -1; } }
@media (min-width: 1100px) {
  .bento { grid-template-columns: repeat(6, 1fr); }
  .cell--broadcast { grid-column: span 4; grid-row: span 2; }
  .cell--apps { grid-column: span 2; }
  .bento > .cell:nth-child(3) { grid-column: span 2; }
  .bento > .cell:nth-child(4), .bento > .cell:nth-child(5) { grid-column: span 3; }
}
.cell {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 10px;
  padding: 32px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
}
.cell h3 { font-size: 22px; margin-top: 10px; }
.cell p { color: var(--muted); max-width: 46ch; }
.cell--broadcast {
  background:
    radial-gradient(80% 60% at 100% 0%, var(--accent-soft), transparent 70%),
    var(--surface);
  gap: 32px;
}
.cell--broadcast h3 { font-size: clamp(26px, 2.6vw, 34px); }
.cell__text { display: flex; flex-direction: column; gap: 10px; }
.cell__shot {
  width: 100%; margin-top: auto;
  border-radius: 12px; border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform .7s var(--ease);
}
.cell--broadcast:hover .cell__shot { transform: translateY(-6px); }
.cell--apps { padding-bottom: 0; }
.cell__phone {
  width: 58%; margin: 18px auto 0;
  border-radius: 14% 14% 0 0 / 7% 7% 0 0;
  border: 5px solid #1b1b1e; border-bottom: 0;
  aspect-ratio: 560 / 640; object-fit: cover; object-position: top;
  transition: transform .7s var(--ease);
}
.cell--apps:hover .cell__phone { transform: translateY(-8px); }
.cell--tint {
  background:
    linear-gradient(135deg, var(--accent-soft), transparent 60%),
    var(--surface);
}

/* Produkte */
.products { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.group { font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: 0; margin: 64px 0 20px; }
.products h4 { font-size: 19px; letter-spacing: -0.01em; }
.products p { color: var(--muted); font-size: 15.5px; }

.broadcast { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .broadcast { grid-template-columns: 1.3fr 1fr; } .app--feature { grid-row: span 2; } }
.app {
  position: relative; display: flex; gap: 20px; align-items: flex-start;
  padding: 28px; border-radius: var(--radius); text-decoration: none;
  background: var(--bg); border: 1px solid var(--line);
  transition: transform .35s var(--ease), border-color .35s var(--ease);
}
.app img { border-radius: 14px; flex: none; }
.app h4 { margin-bottom: 8px; padding-right: 28px; }
.app__meta { display: inline-block; margin-top: 14px; font: 400 12.5px/1 "Geist Mono", ui-monospace, monospace; color: var(--text); padding: 7px 10px; border-radius: 999px; background: var(--surface-2); }
.app__arrow { position: absolute; top: 26px; right: 26px; width: 22px; height: 22px; color: var(--muted); transition: transform .35s var(--ease), color .35s; }
.app:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); }
.app:hover .app__arrow { color: var(--accent); transform: translate(3px, -3px); }
.app--feature {
  flex-direction: column; justify-content: space-between; min-height: 320px;
  background:
    radial-gradient(90% 70% at 0% 100%, var(--accent-soft), transparent 70%),
    var(--bg);
}
.app--feature img { width: 104px; height: 104px; border-radius: 22px; }
.app--feature h4 { font-size: clamp(22px, 2.4vw, 28px); margin-top: 28px; }
.app--feature p { font-size: 17px; max-width: 44ch; }
@media (max-width: 559px) { .app:not(.app--feature) { flex-direction: column; } }

.showcase { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .showcase { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .showcase { grid-template-columns: repeat(4, 1fr); } }
.show {
  display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--radius); text-decoration: none;
  background: var(--bg); border: 1px solid var(--line);
  transition: transform .35s var(--ease), border-color .35s var(--ease);
}
.show__media {
  position: relative; height: 280px; overflow: hidden;
  display: flex; justify-content: center; align-items: flex-start;
  padding-top: 32px;
  background:
    radial-gradient(90% 80% at 50% 0%, color-mix(in srgb, var(--tone) 55%, transparent), transparent 75%),
    color-mix(in srgb, var(--tone) 18%, var(--bg));
}
.show__media img {
  width: 62%;
  border-radius: 14% 14% 0 0 / 6.5% 6.5% 0 0;
  border: 5px solid #1b1b1e; border-bottom: 0;
  box-shadow: 0 20px 50px -20px rgb(0 0 0 / .6);
  transition: transform .6s var(--ease);
}
.show--icon .show__media { align-items: center; padding-top: 0; }
.show--icon .show__media .show__bigicon { width: 44%; border: 0; border-radius: 22%; }
.show__body { display: flex; flex-direction: column; gap: 10px; padding: 24px; flex: 1; }
.show__icon { border-radius: 12px; }
.show__body p { flex: 1; }
.show__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 15px; font-weight: 500; color: var(--accent); }
.show:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); }
.show:hover .show__media img { transform: translateY(-10px); }
.show--icon:hover .show__media img { transform: rotate(-5deg) scale(1.05); }

.soon__list { display: grid; grid-template-columns: 1fr; gap: 24px 32px; }
@media (min-width: 640px) { .soon__list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .soon__list { grid-template-columns: repeat(4, 1fr); } }
.soon__list li { display: flex; gap: 16px; align-items: flex-start; }
.soon__list img, .soon__ph { width: 44px; height: 44px; border-radius: 11px; flex: none; filter: saturate(.6); opacity: .85; }
.soon__ph { display: grid; place-items: center; background: var(--surface-2); color: var(--muted); }
.soon__ph .i { width: 22px; height: 22px; }
.soon__list h4 { font-size: 17px; margin-bottom: 4px; }
.soon__list p { font-size: 15px; }

/* Arbeitsweise */
.steps { display: grid; grid-template-columns: 1fr; gap: 40px; margin-top: 64px; counter-reset: step; }
@media (min-width: 768px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 32px; } }
.step { position: relative; padding-top: 28px; border-top: 1px solid var(--line); }
.step::before {
  content: ""; position: absolute; top: -1px; left: 0; width: 48px; height: 2px; background: var(--accent);
  transform-origin: left; transition: transform 1s var(--ease) .2s;
}
.js .step.reveal:not(.is-in)::before { transform: scaleX(0); }
.step h3 { font-size: 21px; margin: 18px 0 10px; }
.step p { color: var(--muted); font-size: 16px; max-width: 32ch; }

/* Unternehmen: Vollbild-Band */
.origin { position: relative; isolation: isolate; overflow: hidden; color: #f4f4f5; padding: clamp(110px, 14vw, 190px) 0; }
.origin__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.origin::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(10 10 12 / .92) 0%, rgb(10 10 12 / .72) 50%, rgb(10 10 12 / .35) 100%); }
.origin__inner { max-width: var(--wrap); }
.origin__title { font-size: clamp(34px, 5vw, 64px); letter-spacing: -0.035em; max-width: 18ch; }
.origin p { margin-top: 24px; max-width: 52ch; font-size: clamp(17px, 1.5vw, 19px); color: #d4d4d8; }
.origin__link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 36px;
  color: #f4f4f5; text-decoration: none; font-weight: 500;
  padding: 12px 20px; border-radius: 14px; border: 1px solid rgb(255 255 255 / .3);
  background: rgb(255 255 255 / .06);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.origin__link:hover { border-color: rgb(255 255 255 / .7); background: rgb(255 255 255 / .12); }

/* Kontakt */
.contact__grid { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: end; }
@media (min-width: 1024px) { .contact__grid { grid-template-columns: 7fr 5fr; gap: 80px; } }
.contact__title { font-size: clamp(36px, 5.4vw, 72px); letter-spacing: -0.04em; max-width: 14ch; }
.contact__card { padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.contact__list { display: grid; gap: 14px; margin-top: 24px; color: var(--muted); }
.contact__list li { display: flex; align-items: center; gap: 12px; }
.contact__list a { text-decoration: none; }
.contact__list a:hover { color: var(--text); }

/* Footer */
.footer { padding: 64px 0 36px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.footer__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 32px; }
@media (min-width: 900px) { .footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer__brand { grid-column: 1 / -1; }
@media (min-width: 900px) { .footer__brand { grid-column: auto; } }
.footer__brand .brand { color: var(--text); }
.footer__brand p { margin-top: 14px; max-width: 30ch; }
.footer nav { display: grid; gap: 10px; align-content: start; }
.footer h2 { font-size: 14px; font-weight: 600; letter-spacing: 0; color: var(--text); margin-bottom: 6px; }
.footer a { text-decoration: none; }
.footer nav a:hover { color: var(--text); }
.footer__copy { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; }

/* Bewegung: Einblenden beim Laden und beim Scrollen */
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise .9s var(--ease) both; animation-delay: calc(var(--d, 0) * 110ms + 60ms); }
  .js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--d, 0) * 80ms); }
  .js .reveal.is-in { opacity: 1; transform: none; }
  .js .reveal.is-done { transition: transform .35s var(--ease), border-color .35s var(--ease); }
}
@keyframes rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; animation: none !important; }
}

/* Rechtstexte (Impressum, Datenschutz) */
.footer__inner { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
.footer__inner nav { display: flex; gap: 24px; }
.footer__inner nav a:hover, .footer__inner nav a[aria-current] { color: var(--text); }
.legal { padding: clamp(48px, 8vw, 96px) 0 clamp(72px, 10vw, 120px); }
.legal__wrap { max-width: 820px; }
.legal h1 { font-size: clamp(30px, 5vw, 56px); overflow-wrap: break-word; hyphens: auto; letter-spacing: -0.035em; margin-bottom: 40px; }
.legal h2 { font-size: 20px; margin: 40px 0 12px; }
.legal p { color: var(--muted); max-width: 70ch; }
.legal p + p { margin-top: 12px; }
.legal a { color: var(--accent); text-underline-offset: 3px; }
.legal strong { color: var(--text); font-weight: 600; }
.legal__date { margin-top: -28px; margin-bottom: 8px; font-size: 15px; }
.brand span { white-space: nowrap; }
@media (max-width: 479px) {
  .nav__back { width: 44px; height: 44px; padding: 0; }
  .nav__back span { display: none; }
}
