/* rmounter – Farben aus dem App-Symbol: Nachtblau, Wolkenweiß, Himmelblau.
   Schriften selbst gehostet (SIL OFL): Bricolage Grotesque (Überschriften), Inter (Text). */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/fonts/bricolage-grotesque.woff2") format("woff2");
  font-weight: 600 800;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/inter.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --ink: #10243a;
  --ink-2: #19324d;
  --ink-3: #0b1a2b;
  --paper: #eef5fb;
  --paper-2: #f8fbfe;
  --acc: #5cbcf2;
  --acc-2: #a9dbf8;
  --acc-soft: #e5f2fc;
  --acc-dark: #1a659f;
  --text: #10243a;
  --muted: #4f6275;
  --on-dark: #c5d6e6;
  --line: #d6e2ec;
  --radius: 20px;
  --wrap: 70rem;
  --display: "Bricolage Grotesque", "Avenir Next", -apple-system, sans-serif;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 1.0625rem/1.65 var(--font);
  font-feature-settings: "cv11", "ss01";
  color: var(--text);
  background: var(--paper-2);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--display); font-weight: 750; letter-spacing: -.025em; text-wrap: balance; }
p { text-wrap: pretty; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--acc-dark); text-underline-offset: .18em; text-decoration-thickness: 1.5px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--acc); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(var(--wrap), 100% - 2.5rem); margin-inline: auto; }
.narrow { width: min(44rem, 100% - 2.5rem); margin-inline: auto; }

.skip { position: absolute; left: -999px; top: 0; }
.skip:focus { left: 1rem; top: 1rem; background: var(--paper); padding: .5rem .75rem; z-index: 10; }

/* Kopf */
.top { background: var(--ink); color: var(--paper); position: relative; z-index: 2; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1rem; }
.brand { display: flex; align-items: center; gap: .6rem; color: inherit; text-decoration: none;
  font-family: var(--display); font-weight: 750; font-size: 1.15rem; letter-spacing: -.01em; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.top nav { display: flex; align-items: center; gap: 1.4rem; font-size: .95rem; font-weight: 500; }
.top nav a { color: var(--on-dark); text-decoration: none; }
.top nav a:hover, .top nav a[aria-current] { color: var(--acc); }

/* Sprachumschalter (reines HTML/CSS ohne JS/Cookies) */
.lang-switch { position: relative; margin: 0; }
.lang-switch summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: .35rem;
  padding: .3rem .6rem; border-radius: 9px; border: 1px solid rgb(197 214 230 / .28);
  color: var(--paper); font-size: .85rem; font-weight: 600; letter-spacing: .03em;
  min-height: 36px; transition: border-color .2s, background .2s, color .2s;
}
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch summary:hover, .lang-switch[open] summary {
  border-color: var(--acc); color: var(--acc); background: rgb(92 188 242 / .12);
}
.lang-switch summary svg { width: 1rem; height: 1rem; flex: none; }
.lang-switch summary .chev { width: .8rem; height: .8rem; transition: transform .2s; }
.lang-switch[open] summary .chev { transform: rotate(180deg); }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + .45rem); min-width: 9.5rem;
  background: var(--ink-2); border: 1px solid rgb(92 188 242 / .3); border-radius: 12px;
  padding: .35rem; box-shadow: 0 14px 34px rgb(0 0 0 / .45); z-index: 20;
  display: flex; flex-direction: column; gap: .15rem;
}
.lang-menu a {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  padding: .45rem .7rem; border-radius: 8px; color: var(--on-dark); text-decoration: none;
  font-size: .9rem; font-weight: 500;
}
.lang-menu a:hover { background: rgb(92 188 242 / .14); color: var(--paper); }
.lang-menu a[aria-current="page"] { background: rgb(92 188 242 / .2); color: var(--acc); font-weight: 600; }
.lang-menu .code { font-family: var(--mono); font-size: .75rem; opacity: .75; }

/* Einstieg */
.hero {
  background:
    radial-gradient(60rem 30rem at 85% 110%, rgb(92 188 242 / .22), transparent 60%),
    radial-gradient(40rem 20rem at 0% 0%, rgb(92 188 242 / .08), transparent 70%),
    var(--ink);
  color: var(--paper);
  padding-block: 3.5rem 0;
  overflow: hidden;
}
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: end; }
.hero-text { padding-bottom: 5rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem; margin: 0 0 1.25rem;
  padding: .35rem .8rem; border-radius: 999px; background: rgb(92 188 242 / .14);
  color: var(--acc); font-weight: 600; font-size: .9rem;
}
.eyebrow .dot { width: .5rem; height: .5rem; border-radius: 50%; background: var(--acc); box-shadow: 0 0 0 4px rgb(92 188 242 / .25); }
.hero h1 { font-size: clamp(2.6rem, 6.2vw, 4.6rem); line-height: 1; margin: 0 0 1.5rem; font-weight: 800; }
.hero mark {
  color: var(--ink); background: var(--acc); padding: 0 .18em; border-radius: .18em;
  display: inline-block; transform: rotate(-2deg);
}
.lead { font-size: 1.2rem; color: var(--on-dark); max-width: 34rem; margin: 0 0 1.5rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0 0 2rem; }
.chips li {
  font-size: .88rem; font-weight: 600; padding: .3rem .75rem; border-radius: 999px;
  border: 1px solid rgb(197 214 230 / .3); color: var(--paper);
}
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.25rem; }
.cta .badge img { height: 54px; width: auto; }
.ghost {
  display: inline-flex; align-items: center; height: 54px; padding-inline: 1.4rem; border-radius: 12px;
  color: var(--paper); text-decoration: none; font-weight: 600; border: 1.5px solid rgb(92 188 242 / .5);
  transition: background .2s, border-color .2s;
}
.ghost:hover { color: var(--ink); background: var(--acc); border-color: var(--acc); }
.req { color: #93a9bf; font-size: .9rem; margin: 1rem 0 0; }

.hero-shot { position: relative; justify-self: center; width: min(330px, 100%); }
.phone {
  border-radius: 46px 46px 0 0;
  border: 10px solid var(--ink-3);
  border-bottom: 0;
  overflow: hidden;
  background: var(--ink-3);
  box-shadow: 0 -20px 80px rgb(92 188 242 / .25);
}
.phone img { width: 100%; }

/* Abschnitte */
section { padding-block: 5.5rem; }
section h2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.05; margin: 0 0 1rem; }
.kicker {
  margin: 0 0 .75rem; font-weight: 700; font-size: .85rem; letter-spacing: .02em; color: var(--acc-dark);
}
.dark .kicker { color: var(--acc); }
.intro { max-width: 40rem; color: var(--muted); font-size: 1.12rem; margin: 0 0 3rem; }

.tint { background: var(--acc-soft); }
.why p { font-size: 1.12rem; color: #2f4458; }
.why p + p { margin-top: 1rem; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li {
  background: #fff; border-radius: var(--radius); padding: 1.5rem 1.4rem 1.6rem; counter-increment: step;
  box-shadow: 0 1px 0 rgb(16 36 58 / .04), 0 10px 30px rgb(26 101 159 / .08);
  transition: transform .25s ease, box-shadow .25s ease;
}
.steps li:hover { transform: translateY(-4px); box-shadow: 0 1px 0 rgb(16 36 58 / .04), 0 18px 40px rgb(26 101 159 / .14); }
.steps li::before {
  content: counter(step); display: block; font-family: var(--display); font-weight: 800; font-size: 3rem;
  line-height: 1; color: var(--acc); -webkit-text-stroke: 1.5px var(--acc-dark); margin-bottom: .75rem;
}
.steps h3 { font-size: 1.2rem; margin: 0 0 .4rem; letter-spacing: -.01em; }
.steps p { margin: 0; color: var(--muted); font-size: .98rem; }

.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.feature + .feature { margin-top: 6rem; }
.feature.flip .shot { order: -1; }
.feature .shot { justify-self: center; width: min(300px, 100%); position: relative; }
.feature .shot::before {
  content: ""; position: absolute; inset: 12% -18% -6% -18%; border-radius: 40px;
  background: var(--acc-soft); transform: rotate(4deg); z-index: -1;
}
.feature.flip .shot::before { transform: rotate(-4deg); background: #e7edf3; }
.feature .shot { isolation: isolate; }
.feature .shot img { border-radius: 30px; box-shadow: 0 30px 60px rgb(16 36 58 / .16); }
.feature h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.1; margin: 0 0 1rem; }
.feature p { color: var(--muted); margin: 0 0 1rem; font-size: 1.08rem; }
.feature p.note { font-size: .85rem; }
.ticks { list-style: none; margin: 1.25rem 0 0; padding: 0; }
.ticks li { position: relative; padding-left: 2rem; color: var(--text); }
.ticks li + li { margin-top: .6rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 1.25rem; height: 1.25rem; border-radius: 50%;
  background: var(--acc) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310243a' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 70% no-repeat;
}


.dark { background: var(--ink); color: var(--paper); }
.dark .intro, .dark p { color: var(--on-dark); }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.card {
  background: var(--ink-2); border-radius: var(--radius); padding: 1.6rem;
  border: 1px solid rgb(92 188 242 / .12); transition: border-color .25s, transform .25s;
}
.card:hover { border-color: rgb(92 188 242 / .45); transform: translateY(-3px); }
.card h3 { margin: 0 0 .45rem; font-size: 1.25rem; color: var(--paper); letter-spacing: -.01em; }
.card p { margin: 0; font-size: .98rem; }
.card .icon {
  display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 14px;
  background: var(--acc); color: var(--ink); margin-bottom: 1.1rem;
}
.card svg { width: 1.5rem; height: 1.5rem; }

.band { background: var(--acc); text-align: center; }
.band h2 { color: var(--ink); }
.band p { color: #0f3557; font-size: 1.12rem; max-width: 36rem; margin-inline: auto; }
.band .cta { justify-content: center; margin-top: 2rem; }

/* Textseiten */
.page { padding-block: 3.5rem 5rem; }
.page h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); line-height: 1.05; margin: 0 0 .6rem; font-weight: 800; }
.page h2 { font-size: 1.45rem; margin: 2.5rem 0 .5rem; }
.page h3 { font-size: 1.15rem; margin: 1.6rem 0 .35rem; letter-spacing: -.01em; }
.page p, .page li { color: #2f4458; }
.page .meta { color: var(--muted); margin-bottom: 2rem; font-size: 1.1rem; }
.contact {
  background: var(--acc-soft); border-radius: var(--radius); padding: 1.3rem 1.5rem; margin: 1.5rem 0 2rem;
  border-left: 5px solid var(--acc);
}
.contact p { margin: 0; }
.page details {
  background: #fff; border-radius: 16px; padding: 0 1.3rem; margin-bottom: .75rem;
  box-shadow: 0 1px 0 rgb(16 36 58 / .04), 0 6px 20px rgb(26 101 159 / .07);
}
.page details[open] { padding-bottom: 1rem; }
.page summary {
  cursor: pointer; font-weight: 600; padding-block: 1.05rem; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.page summary::-webkit-details-marker { display: none; }
.page summary::after {
  content: "+"; flex: none; display: grid; place-items: center; width: 1.7rem; height: 1.7rem; border-radius: 50%;
  background: var(--acc-soft); color: var(--acc-dark); font-weight: 700; transition: transform .2s;
}
.page details[open] summary::after { transform: rotate(45deg); }
.page details p { margin: 0 0 .6rem; }

/* Fuß */
footer { background: var(--ink); color: #93a9bf; font-size: .92rem; padding-block: 2.25rem; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }
footer nav { display: flex; gap: 1.25rem; }
footer a { color: var(--on-dark); }
footer a:hover { color: var(--acc); }

@media (max-width: 56rem) {
  .hero .wrap, .feature { grid-template-columns: 1fr; }
  .hero-text { padding-bottom: 1rem; }
  .hero-shot { margin-top: 2rem; }
  .feature.flip .shot { order: 0; }
  .feature { gap: 2.5rem; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .grid3 { grid-template-columns: 1fr; }
}
@media (max-width: 34rem) {
  .steps { grid-template-columns: 1fr; }
  .top .wrap { flex-wrap: wrap; row-gap: .6rem; }
  .top nav { gap: .75rem; font-size: .88rem; flex-wrap: wrap; }
  section { padding-block: 4rem; }
}
@media (pointer: coarse) {
  .lang-switch summary, .lang-menu a { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}


/* Einstieg: Menü der Menüleiste + iPhone */
.hero-shot.duo { width: min(470px, 100%); padding-bottom: 0; align-self: end; }
.hero-shot .menu-img { width: 78%; margin: 0 0 -1rem -6%; filter: drop-shadow(0 30px 50px rgb(0 0 0 / .35)); }
.hero-shot .phone { position: absolute; right: -2%; bottom: 0; width: 50%; box-shadow: 0 -10px 60px rgb(92 188 242 / .3); border-radius: 38px 38px 0 0; border-width: 8px; }

/* Mac-Fenster: Bild bringt eigene Ecken mit */
.feature.wide { grid-template-columns: 5fr 7fr; gap: 3.5rem; }
.feature.wide.flip { grid-template-columns: 7fr 5fr; }
.feature .shot.mac { width: 100%; }
.feature .shot.mac::before { inset: 8% -4% -6% 6%; border-radius: 32px; }
.feature .shot.mac img { border-radius: 14px; box-shadow: none; filter: drop-shadow(0 24px 40px rgb(16 36 58 / .2)); }
.feature .shot.menu { width: min(330px, 100%); }
.feature .shot.menu img { border-radius: 0; box-shadow: none; filter: drop-shadow(0 24px 40px rgb(16 36 58 / .18)); }
.feature .shot.menu::before { inset: 14% -6% 8% -6%; }
.section-head { margin-bottom: 4rem; }
.section-head .intro { margin-bottom: 0; }

/* iPhone-Reihe */
.phones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; margin: 0; padding: 0; list-style: none; }
.phones figure { margin: 0; }
.phones img, .pair img { border-radius: 30px; box-shadow: 0 24px 50px rgb(16 36 58 / .16); background: #fff; }
.phones figcaption h3 { font-size: 1.25rem; margin: 1.4rem 0 .35rem; letter-spacing: -.01em; }
.phones figcaption p { margin: 0; color: var(--muted); }
.pair { display: flex; gap: 1.2rem; justify-content: center; align-items: flex-start; }
.pair img { width: min(240px, 44vw); }
.pair img + img { margin-top: 3rem; }
.grid3.six { margin-top: 0; }
.mail-btn {
  display: inline-flex; align-items: center; height: 54px; padding-inline: 1.6rem; border-radius: 12px;
  background: var(--ink); color: var(--paper); text-decoration: none; font-weight: 600;
}
.mail-btn:hover { background: var(--ink-2); color: #fff; }
.platforms { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; color: #93a9bf; font-size: .9rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.platforms li::before { content: "● "; color: var(--acc); }
code { font-family: var(--mono); font-size: .9em; background: rgb(92 188 242 / .12); padding: .05em .35em; border-radius: 5px; }

@media (max-width: 56rem) {
  .feature.wide, .feature.wide.flip { grid-template-columns: 1fr; }
  .phones { grid-template-columns: 1fr; max-width: 22rem; margin-inline: auto; }
  .hero-shot.duo { margin-top: 1rem; }
}
