/* web or app: Startseite. Hell, flach, Farben aus dem Logo-Konzept:
   Link-Blau = Web, Badge-Rot = App. Unterseiten nutzen page.css.
   Ein auffälliges Element: die echte Kundenseite groß im Kopf. Der Preis als Monatsrechnung. */
@font-face { font-family: "Funnel Display"; src: url(fonts/funnel-display.woff2) format("woff2"); font-weight: 300 800; font-display: swap; }
@font-face { font-family: "Funnel Sans"; src: url(fonts/funnel-sans.woff2) format("woff2"); font-weight: 300 800; font-display: swap; }

:root {
  --ink: #202020;
  --paper: #ffffff;
  --mist: #f3f3f5;
  --rule: #e4e4e8;
  --mute: #6b6d73;
  --body: #45474d;
  --link: #1f3bff;
  --red: #ff3b30;
  --dark: #202020;
  --gut: clamp(16px, 4.5vw, 64px);
  --max: 1280px;
  --ease: cubic-bezier(.3, .7, .1, 1);
  --display: "Funnel Display", "Arial Narrow", system-ui, sans-serif;
  --sans: "Funnel Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; overflow-x: hidden; font: 400 17px/1.55 var(--sans); color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 700; letter-spacing: -.03em; line-height: 1; }
p { margin: 0; }
a { color: var(--link); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--link); color: #fff; }
.nw { white-space: nowrap; }

/* ---------- Knöpfe ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 52px; padding: 0 24px;
  border-radius: 999px; border: 1px solid var(--ink); background: var(--ink); color: #fff;
  font: 600 16px/1 var(--sans); text-decoration: none; white-space: nowrap; transition: background-color .2s, color .2s, border-color .2s;
}
.btn:hover { background: #000; }
.btn__ic { width: 19px; height: 19px; flex: none; }
.btn--line { background: none; color: var(--ink); border-color: #cfd0d6; }
.btn--line:hover { background: var(--mist); border-color: var(--ink); }

/* ---------- Kopfleiste ---------- */
.bar {
  position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 28px;
  padding: calc(12px + env(safe-area-inset-top, 0px)) max(var(--gut), calc((100% - var(--max)) / 2 + var(--gut))) 12px;
  background: rgb(255 255 255 / .92); border-bottom: 1px solid transparent;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  transition: border-color .3s;
}
.bar.is-solid { border-color: var(--rule); }
.bar__logo img { width: 42px; display: block; }
.bar__nav { display: flex; gap: 26px; margin-left: auto; font-size: 15px; }
.bar__nav a { color: var(--ink); text-decoration: none; }
.bar__nav a:hover { color: var(--link); text-decoration: underline; }
.bar__cta { display: inline-flex; align-items: center; min-height: 38px; padding: 0 16px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 600; text-decoration: none; }

/* ---------- Kopfbereich: Satz, Preis, dann die echte Arbeit ---------- */
.hero { max-width: var(--max); margin: 0 auto; padding: clamp(32px, 7vh, 80px) var(--gut) 0; }
.hero__kicker { margin: 0 0 18px; font-size: 15px; font-weight: 600; color: var(--mute); }
.hero__h1 { font-size: clamp(46px, 7.6vw, 116px); font-weight: 750; letter-spacing: -.058em; line-height: .9; text-wrap: balance; }
.hero__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 24px 48px; margin-top: clamp(24px, 4vh, 40px); }
.hero__sub { max-width: 46ch; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; color: var(--body); }
.hero__sub b { color: var(--ink); font-weight: 700; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 10px; }

.stage { position: relative; margin: clamp(40px, 7vh, 72px) 0 0; padding: 0 15% 0 0; }
.stage__browser {
  overflow: hidden; border-radius: 14px; background: #000;
  box-shadow: 0 0 0 1px rgb(0 0 0 / .1), 0 60px 100px -60px rgb(0 0 0 / .55);
}
.stage__bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; background: #f4f4f6; border-bottom: 1px solid var(--rule); }
.stage__bar i { width: 10px; height: 10px; border-radius: 50%; background: #d9d9de; }
.stage__bar span { margin: 0 auto; padding: 4px 48px; border-radius: 999px; background: #fff; font-size: 13px; color: var(--mute); transform: translateX(-24px); }
.rec { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; background: #000; }
.stage__phone {
  position: absolute; right: 0; bottom: 9%; width: 22%; aspect-ratio: 390 / 844;
  overflow: hidden; border: 7px solid var(--ink); border-radius: 34px; background: var(--ink);
  box-shadow: 0 40px 60px -30px rgb(0 0 0 / .6);
}
.stage__phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.stage figcaption { margin-top: 18px; font-size: 14px; color: var(--mute); }
.stage figcaption a { color: var(--ink); font-weight: 600; }

/* Der eine Moment beim Laden: Fenster kommt hoch, Handy schiebt sich davor */
@media (prefers-reduced-motion: no-preference) {
  .stage__browser { animation: rise 1.1s var(--ease) .15s backwards; }
  .stage__phone { animation: slide 1.1s var(--ease) .45s backwards; }
}
@keyframes rise { from { opacity: 0; transform: translateY(40px); } }
@keyframes slide { from { opacity: 0; transform: translate(30px, 40px); } }

/* ---------- Abschnitte ---------- */
.sec { max-width: var(--max); margin: 0 auto; padding: clamp(80px, 13vh, 140px) var(--gut) 0; }
.sec__head { display: grid; gap: 14px; margin-bottom: clamp(32px, 5vh, 52px); max-width: 720px; }
.sec h2, .deal h2 { font-size: clamp(36px, 4.6vw, 62px); letter-spacing: -.045em; }
.sec__head p { color: var(--body); font-size: 18px; }

/* Websites */
.works { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(56px, 8vh, 80px) clamp(24px, 3vw, 40px); }
.work { display: grid; gap: 8px; align-content: start; justify-items: start; }
.work__shots { position: relative; width: 100%; margin: 0 0 24px; }
.browser { border-radius: 10px; overflow: hidden; background: var(--mist); box-shadow: 0 0 0 1px rgb(0 0 0 / .08), 0 24px 50px -30px rgb(0 0 0 / .4); }
.browser img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top; width: 100%; }
.handset {
  position: absolute; right: 3%; bottom: -24px; width: 19%; aspect-ratio: 390 / 844; border: 4px solid var(--ink); border-radius: 18px;
  overflow: hidden; background: var(--ink); box-shadow: 0 20px 30px -16px rgb(0 0 0 / .5);
}
.handset img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.work h3 { font-size: clamp(26px, 2.4vw, 34px); }
.work__type { font-size: 14px; color: var(--mute); }
.work > p:not(.work__type) { color: var(--body); max-width: 52ch; }
.work > a { font-weight: 600; }

/* ---------- Preis: Monatsrechnung ---------- */
.deal { margin-top: clamp(80px, 13vh, 140px); padding: clamp(72px, 11vh, 120px) 0; background: var(--mist); }
.deal__in, .deal .steps { max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); }
.deal__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); grid-template-areas: "head rec" "cmp rec"; grid-template-rows: auto 1fr; gap: 0 clamp(40px, 6vw, 96px); align-items: start; }
.deal__head { grid-area: head; display: grid; gap: 18px; }
.deal__cmp { grid-area: cmp; display: grid; gap: 18px; justify-items: start; margin-top: 22px; }
.receipt-wrap { grid-area: rec; }
.deal__lede { max-width: 40ch; font-size: 19px; color: var(--body); }
.ways3__h { margin-top: 18px; font: 600 15px var(--sans); letter-spacing: 0; color: var(--mute); }
.ways3 { list-style: none; margin: 0; padding: 0; width: 100%; display: grid; }
.ways3 li { display: grid; gap: 4px; padding: 16px 0 16px 20px; border-top: 1px solid #dcdce1; border-left: 3px solid transparent; }
.ways3 li:last-child { border-bottom: 1px solid #dcdce1; }
.ways3 b { font: 700 20px/1.2 var(--display); letter-spacing: -.02em; }
.ways3 span { max-width: 54ch; color: var(--body); font-size: 16px; }
.ways3 .is-us { border-left-color: var(--link); background: var(--paper); }
.ways3 .is-us b { color: var(--link); }
.ways3 .is-us span { color: var(--ink); }
.deal__more { margin-top: 6px; font-weight: 600; }

.receipt-wrap { filter: drop-shadow(0 1px 1px rgb(0 0 0 / .06)) drop-shadow(0 28px 34px rgb(0 0 0 / .12)); transform: rotate(-.6deg); transform-origin: 50% 0; }
.receipt {
  --z: 9px;
  display: grid; gap: 0; padding: clamp(26px, 3vw, 38px) clamp(22px, 2.8vw, 36px) calc(clamp(26px, 3vw, 36px) + var(--z));
  background: var(--paper); font-variant-numeric: tabular-nums;
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / calc(2 * var(--z)) var(--z) repeat-x, linear-gradient(#000 0 0) top / 100% calc(100% - var(--z) + 1px) no-repeat;
          mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / calc(2 * var(--z)) var(--z) repeat-x, linear-gradient(#000 0 0) top / 100% calc(100% - var(--z) + 1px) no-repeat;
}
.receipt__head { display: flex; align-items: center; gap: 14px; padding-bottom: 20px; border-bottom: 2px solid var(--ink); }
.receipt__head img { width: 44px; }
.receipt__head p { display: grid; line-height: 1.2; }
.receipt__head b { font: 700 22px/1.1 var(--display); letter-spacing: -.02em; }
.receipt__head span { font-size: 14px; color: var(--mute); }
.receipt__list { list-style: none; margin: 0; padding: 10px 0 14px; }
.receipt__list li { display: flex; align-items: baseline; gap: 10px; padding: 8px 0; font-size: 16px; }
.receipt__item { display: grid; font-weight: 600; }
.receipt__item small { font-size: 13.5px; font-weight: 400; color: var(--mute); }
.receipt__dots { flex: 1; min-width: 16px; border-bottom: 2px dotted #c8c9cf; transform: translateY(-4px); }
.receipt__val { color: var(--link); font-weight: 600; font-size: 15px; }
.receipt__sum { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0; border-top: 1px dashed #bfc0c6; font-weight: 600; }
.receipt__sum b { font: 700 22px var(--display); }
.receipt__sum--total { border-top: 2px solid var(--ink); }
.receipt__sum--total span { font-size: 18px; }
.receipt__sum--total b { font-size: clamp(40px, 4vw, 54px); line-height: 1; letter-spacing: -.045em; }
.receipt__sum--total small { font: 500 16px var(--sans); letter-spacing: 0; color: var(--mute); }
.receipt__note { padding-top: 4px; font-size: 14px; color: var(--mute); }

.steps { list-style: none; margin: clamp(56px, 9vh, 88px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; color: var(--body); font-size: 15.5px; }
.steps li { display: grid; gap: 6px; align-content: start; padding-top: 18px; border-top: 2px solid var(--ink); }
.steps b { font: 700 20px/1.2 var(--display); letter-spacing: -.02em; color: var(--ink); }
.steps__n { font: 700 15px var(--sans); color: var(--mute); }

/* ---------- Web-Apps und Apps: ruhig, zwei Spalten ---------- */
.more { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--rule); }
.more__item { display: grid; gap: 10px; align-content: start; padding: 28px 32px 30px 0; color: var(--ink); text-decoration: none; }
.more__item + .more__item { padding-left: 32px; border-left: 1px solid var(--rule); }
.more__item h3 { display: flex; align-items: center; gap: 10px; font-size: clamp(22px, 2vw, 28px); letter-spacing: -.025em; }
.more__item p { max-width: 48ch; color: var(--body); }
.more__link { color: var(--link); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.more__item:hover .more__link { text-decoration-thickness: 2px; }
.dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.dot--app { background: var(--red); }
.dot--mix { background: linear-gradient(90deg, var(--link) 50%, var(--red) 50%); }

/* ---------- Eigene Apps: dunkel, wie die App-Hälfte im Logo ---------- */
.sec--dark { max-width: none; margin-top: clamp(80px, 13vh, 140px); padding: clamp(64px, 10vh, 112px) 0; background: var(--dark); color: #f4f4f4; }
.sec__in { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.sec--dark .sec__head p { color: #b9b9bf; }
.sec--dark a { color: #fff; }
.app-case { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(32px, 7vw, 112px); align-items: center; padding: clamp(32px, 5vh, 56px) 0; border-top: 1px solid #383838; }
.app-case--flip { grid-template-columns: auto minmax(0, 1fr); }
.app-case--flip .phone { order: -1; }
.app-case__text { display: grid; gap: 16px; justify-items: start; max-width: 56ch; }
.app-case__title { display: flex; align-items: center; gap: 16px; }
.app-case__title img { width: 60px; border-radius: 14px; }
.app-case h3 { font-size: clamp(34px, 4vw, 56px); }
.app-case__text > p:not(.links) { color: #c9c9cf; }
.odo { display: grid; gap: 2px; }
.odo__num { font: 700 clamp(56px, 7vw, 112px)/.9 var(--display); letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.odo__label { font-size: 14px; color: #a3a3a8; }
.list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 15px; color: #b9b9bf; }
.list li { display: flex; gap: 10px; align-items: center; }
.list li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.links { display: flex; flex-wrap: wrap; gap: 8px 20px; font-weight: 600; }

.phone {
  --pw: clamp(220px, 21vw, 290px);
  position: relative; width: var(--pw); aspect-ratio: 420 / 860; border: 8px solid #0b0b0b; border-radius: calc(var(--pw) * .15);
  overflow: hidden; background: #fff; box-shadow: 0 0 0 1px #4a4a4a, 0 40px 70px -30px rgb(0 0 0 / .8);
}
.phone::before { content: ""; position: absolute; z-index: 3; top: 8px; left: 50%; width: 30%; height: 4.2%; border-radius: 999px; background: #0b0b0b; transform: translateX(-50%); }
.phone--feed { padding-top: 13%; aspect-ratio: auto; }
.feed-window { aspect-ratio: 420 / 770; overflow: hidden; }
.feed { display: flex; flex-direction: column; }
.feed.go { transition: transform .7s cubic-bezier(.3, .7, .2, 1); }
.feed img { width: 100%; height: auto; aspect-ratio: 420 / 770; object-fit: cover; flex: none; }
.phone--iw { display: grid; grid-template-rows: auto 1fr auto auto; color: #202020; padding: 14% 7% 8%; gap: 10px; }
.iw__top { display: grid; justify-items: center; gap: 2px; }
.iw__time { font: 700 13px var(--sans); }
.iw__title { font: 800 clamp(13px, 1.2vw, 16px) var(--display); letter-spacing: -.01em; }
.iw__cam { border-radius: 14px; overflow: hidden; min-height: 0; }
.iw__cam img { width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 80%; transition: transform .3s ease; }
.phone--iw.down .iw__cam img { transform: scale(1.06) translateY(4%); }
.iw__count { text-align: center; font: 700 clamp(30px, 3vw, 40px)/1 var(--display); font-variant-numeric: tabular-nums; }
.iw__count span:last-child { color: #9a9a9a; font-size: .55em; }
.iw__bar { height: 6px; border-radius: 3px; background: #ececec; overflow: hidden; }
.iw__bar i { display: block; height: 100%; width: 0; background: var(--red); transition: width .3s ease; }
.iw__done { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; padding: 20%; background: var(--red); color: #fff; font: 700 clamp(22px, 2.2vw, 30px)/1.1 var(--display); text-align: center; opacity: 0; transition: opacity .35s ease; }
.phone--iw.done .iw__done { opacity: 1; }
.phone--iw.ring { animation: ring .5s ease-in-out 2; }
@keyframes ring { 25% { transform: rotate(-2.5deg); } 75% { transform: rotate(2.5deg); } }

/* ---------- Fragen ---------- */
.faq { max-width: 880px; border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 18px 0; font-weight: 600; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font: 400 24px/1 var(--sans); color: var(--mute); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--link); }
.faq details p { padding: 0 40px 22px 0; color: var(--body); max-width: 70ch; }

/* ---------- Kontakt ---------- */
.ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.way { display: grid; gap: 6px; padding: 22px 24px; border-radius: 16px; border: 1px solid var(--rule); color: var(--ink); text-decoration: none; transition: border-color .2s, background-color .2s; }
.way span { display: flex; align-items: center; gap: 7px; font-size: 14px; color: var(--mute); }
.way__ic { width: 16px; height: 16px; }
.way b { font: 700 clamp(19px, 1.7vw, 24px)/1.15 var(--display); letter-spacing: -.02em; overflow-wrap: anywhere; }
.way:hover { border-color: var(--link); background: #f6f7ff; }
.way--wa { background: var(--ink); border-color: var(--ink); color: #fff; }
.way--wa span { color: #b9b9bf; }
.way--wa:hover { background: #000; border-color: #000; }

/* ---------- Fuß ---------- */
.foot { max-width: var(--max); margin: clamp(72px, 12vh, 128px) auto 0; padding: 28px var(--gut) calc(28px + env(safe-area-inset-bottom, 0px)); display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; border-top: 1px solid var(--rule); font-size: 14px; color: var(--mute); }
.foot img { width: 52px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot a { color: var(--mute); text-decoration: none; }
.foot a:hover { color: var(--link); text-decoration: underline; }
.foot p { margin-left: auto; }

/* ---------- Tablet ---------- */
@media (max-width: 1080px) {
  .bar__nav { display: none; }
  .bar__cta { margin-left: auto; }
  .hero__row { grid-template-columns: 1fr; }
  .deal__in { grid-template-columns: 1fr; grid-template-areas: "head" "rec" "cmp"; grid-template-rows: none; row-gap: 32px; }
  .deal__cmp { margin-top: 0; }
  .receipt-wrap { max-width: 520px; }
}

/* ---------- Handy ---------- */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .bar__logo img { width: 38px; }
  .hero { padding-top: 24px; }
  .hero__kicker { margin-bottom: 12px; font-size: 14px; }
  .hero__h1 { font-size: clamp(42px, 12.4vw, 64px); letter-spacing: -.055em; }
  .hero__row { margin-top: 18px; gap: 22px; }
  .hero__sub { font-size: 18px; }
  .hero__cta { display: grid; grid-template-columns: 1fr; }

  .stage { margin-top: 36px; padding-right: 20%; }
  .stage__browser { border-radius: 9px; }
  .stage__bar { gap: 4px; padding: 7px 9px; }
  .stage__bar i { width: 6px; height: 6px; }
  .stage__bar span { padding: 2px 18px; font-size: 10.5px; transform: translateX(-10px); }
  .stage { padding-right: 0; }
  .stage__browser { margin-right: 20%; }
  .stage__phone { width: 32%; bottom: 0; border-width: 4px; border-radius: 18px; }
  .stage figcaption { margin-top: 20px; padding-right: 38%; font-size: 13.5px; }

  .works { grid-template-columns: 1fr; }
  .handset { width: 24%; border-width: 3px; border-radius: 13px; }

  .deal__lede { font-size: 17px; }
  .ways3 li { padding-left: 14px; }
  .receipt-wrap { transform: none; margin-inline: -4px; }
  .receipt__list li { font-size: 15px; }
  .receipt__val { font-size: 14px; }
  .steps { grid-template-columns: 1fr; gap: 20px; }

  .more { grid-template-columns: 1fr; }
  .more__item { padding: 22px 0; }
  .more__item + .more__item { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); }

  .app-case, .app-case--flip { grid-template-columns: 1fr; }
  .app-case--flip .phone { order: 0; }
  .app-case .phone { justify-self: center; --pw: min(66vw, 260px); }

  .faq summary { font-size: 17px; }
  .faq details p { padding-right: 0; }
  .ways { grid-template-columns: 1fr; }
  .foot p { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .feed.go { transition: none; }
}
