/* Große Fotos, wenig Text. Farben aus der App, Porzellan und Tinte. Schriften liegen hier, nichts lädt von Google. */
@font-face { font-family: "Instrument Serif"; src: url(/fonts/instrument-serif.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Inter Tight"; font-weight: 300; src: url(/fonts/inter-tight-300.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Inter Tight"; font-weight: 400 500; src: url(/fonts/inter-tight-500.woff2) format("woff2"); font-display: swap; }

:root {
  color-scheme: light;
  --porcelain: #F2F0EB;
  --ink: #15171A;
  --quiet: #5C5F64;
  --line: #15171A1F;
  --green: #0FA56F;
  --yellow: #E8920C;
  --red: #E5432B;
  --display: "Instrument Serif", Georgia, serif;
  --body: "Inter Tight", -apple-system, "Helvetica Neue", Arial, sans-serif;
  --gutter-left: max(clamp(20px, 4vw, 56px), env(safe-area-inset-left, 0px));
  --gutter-right: max(clamp(20px, 4vw, 56px), env(safe-area-inset-right, 0px));
}

* { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; }
body { background: var(--porcelain); color: var(--ink); font: 400 1.0625rem/1.5 var(--body); }
img, canvas { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }

h1, h2 { font-family: var(--display); font-weight: 400; letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-size: clamp(3rem, 7.2vw, 6.5rem); line-height: 1; }
h2 { font-size: clamp(2.5rem, 5.4vw, 4.75rem); line-height: 1.02; }
p { text-wrap: pretty; }

.bar {
  position: absolute; inset: 0 0 auto; z-index: 2; display: flex; justify-content: space-between; align-items: center;
  padding: max(22px, env(safe-area-inset-top, 0px)) var(--gutter-right) 22px var(--gutter-left);
}
.bar img { height: 28px; width: auto; }
.bar-end { display: flex; align-items: center; gap: clamp(12px, 2vw, 24px); }
.bar-link { font-size: 0.9375rem; font-weight: 500; text-decoration: none; padding: 10px 0; }
.bar-link:hover, .more:hover { text-decoration: underline; }
.soon { font-size: 0.9375rem; font-weight: 500; background: var(--ink); color: var(--porcelain); padding: 10px 18px; border-radius: 99px; white-space: nowrap; }

/* Fotos laufen über die ganze Breite, der Text liegt im freien Teil des Bildes. */
.photo { position: relative; min-height: clamp(520px, 56vw, 900px); overflow: hidden; }
/* Der Rahmen hält den Verlauf fest, das Foto darin läuft beim Scrollen leicht mit und ist dafür etwas höher. */
.frame { position: absolute; inset: 0; overflow: hidden; --top: 0%; --bottom: 0%;
  -webkit-mask-image: linear-gradient(to bottom, #0000 0, #0003 calc(var(--top) * .3), #000a calc(var(--top) * .65), #000 var(--top), #000 calc(100% - var(--bottom)), #000a calc(100% - var(--bottom) * .65), #0003 calc(100% - var(--bottom) * .3), #0000 100%);
  mask-image: linear-gradient(to bottom, #0000 0, #0003 calc(var(--top) * .3), #000a calc(var(--top) * .65), #000 var(--top), #000 calc(100% - var(--bottom)), #000a calc(100% - var(--bottom) * .65), #0003 calc(100% - var(--bottom) * .3), #0000 100%); }
.frame.fade-bottom { --bottom: 17%; }
.frame.fade-top { --top: 17%; }
.photo .fill { position: absolute; left: 0; top: -6%; width: 100%; height: 112%; max-width: none; object-fit: cover; will-change: transform; }
.words { position: relative; display: grid; gap: 16px; max-width: 34rem; padding: clamp(96px, 11vw, 150px) var(--gutter-right) 40px var(--gutter-left); }
.words p { font-size: clamp(1.0625rem, 1.5vw, 1.25rem); max-width: 28rem; }
.hero .words { max-width: 52rem; padding-top: clamp(96px, 9vw, 130px); }
.right .words { margin-left: auto; }

.orb-section { display: grid; justify-items: center; text-align: center; gap: 16px; padding: clamp(72px, 10vw, 130px) var(--gutter-right) clamp(72px, 10vw, 130px) var(--gutter-left); }
.orb-copy { display: grid; gap: 14px; max-width: 34rem; }
.orb-copy p { color: var(--quiet); }
.orb-stage { position: relative; width: min(100%, 520px); aspect-ratio: 1; display: grid; place-items: center; background: url(/img/orb.png) center/66% no-repeat; }
.orb-stage.is-live { background: none; }
.orb-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.orb-number { position: relative; color: #fff; font-weight: 300; font-size: clamp(4rem, 13vw, 7rem); line-height: 1; font-variant-numeric: tabular-nums; display: flex; align-items: baseline; gap: 2px; font-family: var(--body); }
.orb-number { display: block; text-shadow: 0 1px 10px #0003; }
.orb-number .unit { position: absolute; left: 100%; bottom: 0.14em; margin-left: 2px; font-size: 0.3em; }
.orb-stage[data-zone="yellow"] .orb-number { color: var(--ink); text-shadow: none; }
.orb-sentence { font-size: clamp(1.25rem, 2.2vw, 1.625rem); font-family: var(--display); margin-top: -8px; min-height: 2.4em; }
.zones { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.zones button { font: 500 0.9375rem var(--body); color: var(--ink); background: transparent; border: 1px solid var(--line); border-radius: 99px; min-height: 44px; padding: 0 18px; cursor: pointer; }
.zones button[aria-pressed="true"] { background: var(--ink); color: var(--porcelain); border-color: var(--ink); }
.note { font-size: 0.8125rem; color: var(--quiet); }

.statement { display: grid; justify-items: center; text-align: center; gap: 22px; padding: clamp(84px, 12vw, 170px) var(--gutter-right) clamp(84px, 12vw, 170px) var(--gutter-left); }
.statement p { max-width: 32rem; color: var(--quiet); font-size: clamp(1.0625rem, 1.5vw, 1.25rem); }

.plans, .questions { max-width: 62rem; margin-inline: auto; padding: 0 var(--gutter-right) clamp(72px, 9vw, 120px) var(--gutter-left); }
.plans .lead { margin-top: 16px; max-width: 38rem; color: var(--quiet); }
.prices { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.18fr) minmax(0, 1fr); align-items: center; gap: 16px; margin-top: 40px; }
.prices > div { display: grid; align-content: start; gap: 6px; padding: clamp(24px, 2.6vw, 34px); background: #fff; border-radius: 24px; min-width: 0; }
.prices dt { font-size: 1rem; font-weight: 500; color: var(--quiet); }
.prices dd { margin: 0; font-family: var(--display); font-size: clamp(2.5rem, 4.4vw, 3.5rem); line-height: 1.08; font-variant-numeric: tabular-nums; }
.prices dd.extra { font: 400 0.9375rem/1.4 var(--body); color: var(--quiet); }
.prices .main { background: var(--ink); color: var(--porcelain); padding-block: clamp(32px, 3.4vw, 44px); }
.prices .main dt, .prices .main dd.extra { color: #C9C8C3; }
.prices .main dd:not(.extra) { font-size: clamp(3.25rem, 6vw, 5rem); }
.prices .badge { display: block; width: fit-content; margin-bottom: 12px; background: var(--green); color: #fff; font-size: 0.875rem; font-weight: 500; padding: 5px 12px; border-radius: 99px; }

.questions { display: grid; }
.questions h2 { margin-bottom: 24px; }
details { border-top: 1px solid var(--line); }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 500; font-size: 1.125rem; padding: 18px 0; min-height: 44px; }
details p { color: var(--quiet); padding-bottom: 20px; max-width: 40rem; }

.end { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "logo logo" "nav lang" "notes made"; align-items: center; gap: 18px 32px; padding: 40px var(--gutter-right) max(40px, env(safe-area-inset-bottom, 0px)) var(--gutter-left); border-top: 1px solid var(--line); font-size: 0.9375rem; }
.end-logo { grid-area: logo; justify-self: start; }
.end-logo img { display: block; }
.end nav { grid-area: nav; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.end nav a { padding: 6px 0; }
.end-notes { grid-area: notes; display: grid; gap: 6px; align-self: end; }
.end-notes p { color: var(--quiet); font-size: 0.8125rem; max-width: 46rem; }
.lang { grid-area: lang; justify-self: end; display: flex; gap: 16px; }
.lang a { padding: 6px 0; text-decoration: none; color: var(--quiet); }
.lang a[aria-current] { color: var(--ink); font-weight: 500; text-decoration: underline; text-underline-offset: 4px; }
.lang a:hover { color: var(--ink); }
.made { grid-area: made; justify-self: end; align-self: end; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 0.875rem; color: var(--quiet); white-space: nowrap; }
.made a { display: inline-flex; align-items: center; gap: 7px; color: var(--ink); font-weight: 500; text-decoration: none; padding: 6px 0; }
.made a:hover { text-decoration: underline; text-underline-offset: 4px; }
.made svg { width: 20px; height: auto; fill: currentColor; }

/* App-Screens im Telefon-Rahmen */
.phone { width: min(300px, 72vw); flex: none; border-radius: clamp(30px, 3.4vw, 44px); overflow: hidden; background: var(--ink); box-shadow: 0 0 0 6px var(--ink), 0 28px 60px -22px #15171A66; }
.phone img { display: block; width: 100%; height: auto; }

.screens { display: grid; justify-items: center; text-align: center; gap: clamp(32px, 4vw, 56px); padding: clamp(72px, 9vw, 120px) 0 clamp(16px, 3vw, 32px); }
.screens h2 { padding-inline: 20px; }
.screens .note { margin-top: -16px; }
.phones { display: flex; align-items: center; justify-content: center; gap: clamp(20px, 3.4vw, 48px); max-width: 100%; padding: 12px var(--gutter-right) 36px var(--gutter-left); }
.phones .phone { width: clamp(180px, 21vw, 280px); }
.phones .phone.main { width: clamp(210px, 25vw, 330px); }
.more { font-weight: 500; text-underline-offset: 4px; padding: 10px 0; }

/* App-Screen auf dem Foto der Startseite */
.phone.on-photo { position: absolute; top: 50%; translate: 0 -50%; width: clamp(170px, 17vw, 270px); border-radius: clamp(24px, 2.4vw, 38px); box-shadow: 0 0 0 5px var(--ink), 0 24px 50px -18px #15171A77; }
.phone.at-middle { left: 39%; }
.phone.at-wall { left: 34%; }
.photo:has(.at-wall) .words { max-width: 33vw; }
.phone.at-far-right { right: clamp(20px, 4vw, 64px); }
.right .words { padding-right: calc(clamp(170px, 17vw, 270px) + clamp(44px, 7vw, 110px)); max-width: 46rem; }

/* Unterseite Funktionen */
.page-head { display: grid; gap: 18px; padding: clamp(130px, 13vw, 190px) var(--gutter-right) clamp(40px, 6vw, 72px) var(--gutter-left); }
.page-head p { font-size: clamp(1.0625rem, 1.5vw, 1.25rem); max-width: 30rem; color: var(--quiet); }
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; min-height: clamp(560px, 62vw, 860px); }
.feature.plain { min-height: 0; padding-block: clamp(48px, 6vw, 88px); }
.feature .media { position: relative; display: flex; justify-content: center; align-items: center; gap: 28px; padding: clamp(40px, 5vw, 72px) 20px; align-self: stretch; min-width: 0; }
.with-photo .media { background: var(--photo) var(--focus) / cover no-repeat; justify-content: var(--align, center); padding-inline: clamp(20px, 4vw, 56px); }
.feature.flip .media { order: 2; }
.feature .phone { width: clamp(220px, 23vw, 310px); }
.feature .two .phone { width: clamp(130px, 13vw, 190px); }
.feature .copy { display: grid; gap: 16px; max-width: 32rem; padding: 40px clamp(24px, 6vw, 88px); min-width: 0; }
.feature.flip .copy { justify-self: end; }
.feature h2 { font-size: clamp(2.25rem, 4.4vw, 3.75rem); }
.feature .copy p { font-size: clamp(1.0625rem, 1.4vw, 1.1875rem); color: #33363a; }

.also, .compare { max-width: 72rem; margin-inline: auto; padding: clamp(56px, 8vw, 110px) var(--gutter-right) 0 var(--gutter-left); }
.also dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px clamp(24px, 4vw, 56px); margin-top: 32px; }
.also dt { font-weight: 500; font-size: 1.125rem; }
.also dd { margin: 4px 0 0; color: var(--quiet); }
.compare { padding-bottom: clamp(64px, 8vw, 110px); }
.table-scroll { margin-top: 28px; overflow-x: auto; }
table { width: 100%; min-width: 520px; border-collapse: collapse; }
th, td { text-align: left; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; font-weight: 400; }
thead th { font-weight: 500; font-size: 0.9375rem; color: var(--quiet); }
tbody th { font-weight: 500; }
.compare .note { margin-top: 20px; }

/* Auf dem Handy steht der Text über dem Foto, damit er keine Person verdeckt. */
@media (max-width: 720px) {
  .photo { min-height: 0; display: flex; flex-direction: column-reverse; }
  .frame { position: relative; inset: auto; aspect-ratio: 4 / 3; --top: 9%; --bottom: 9%; }
  .hero .frame { aspect-ratio: 4 / 5; --top: 12%; --bottom: 12%; }
  .photo .words { padding-top: 56px; padding-bottom: 28px; max-width: none; margin: 0; }
  .hero .words { padding-top: 96px; }
  .hero .fill { object-position: 74% 40% !important; }
  .prices { grid-template-columns: minmax(0, 1fr); }
  .prices .main { order: -1; }
  .soon { font-size: 0.875rem; padding: 8px 14px; }
  .bar img { height: 24px; }
  .end { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "logo lang" "nav nav" "notes notes" "made made"; }
  .made { justify-self: start; }
  .bar-end { gap: 10px; }
  .bar-link { font-size: 0.875rem; }
  .phones { justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .phones .phone, .phones .phone.main { width: 64vw; scroll-snap-align: center; }
  .feature, .feature.plain { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-block: 0; }
  .feature .media, .feature.flip .media { order: 0; padding-block: 48px; }
  .feature.plain .media { padding-block: 28px; }
  .feature .copy, .feature.flip .copy { justify-self: start; padding: 28px var(--gutter-right) 48px var(--gutter-left); }
  .with-photo .media { justify-content: center; }
  /* Auf dem Handy sitzt das Telefon auf dem Foto, gegenüber der Person. */
  .photo:has(.on-photo) .frame { aspect-ratio: 1; }
  .phone.on-photo { top: auto; bottom: 22px; translate: none; width: 37vw; left: auto; right: 16px; border-radius: 20px; box-shadow: 0 0 0 4px var(--ink), 0 14px 30px -12px #15171A77; }
  .left .phone.on-photo { right: auto; left: 16px; }
  .right .words { padding-right: var(--gutter-right); max-width: none; }
  .photo:has(.at-wall) .words { max-width: none; }
  .feature .phone { width: 62vw; }
  .feature .two .phone { width: 42vw; }
  .also dl { grid-template-columns: minmax(0, 1fr); }
}

.on-sky p { max-width: 26rem; }

/* Rechtstexte */
.legal { max-width: 44rem; margin-inline: auto; padding: 120px var(--gutter-right) 72px var(--gutter-left); display: grid; gap: 14px; }
.legal h1 { font-size: clamp(2.5rem, 5vw, 3.75rem); margin-bottom: 12px; }
.legal h2 { font-family: var(--body); font-weight: 500; font-size: 1.1875rem; letter-spacing: 0; margin-top: 18px; }
.legal p { color: #33363a; }
.legal .draft { background: #E8920C22; padding: 12px 14px; border-radius: 8px; color: var(--ink); }
.legal mark { background: #E8920C44; color: inherit; padding: 0 3px; border-radius: 3px; }

/* Einblenden beim Scrollen. Die Klasse .motion setzt erst motion.js. */
.motion [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1); }
.motion [data-reveal].shown { opacity: 1; transform: none; }
.motion p[data-reveal], .motion dl[data-reveal] { transition-delay: .12s; }
