/* Engelish – Produktseite engelish.de. Aufbau wie die SwingCam-Seite (robventions-web), Farben und Schrift wie in der App
   (style.css). Keine externen Schriften oder Skripte. */
@font-face { font-family: Nunito; font-style: normal; font-weight: 200 1000; font-display: swap; src: url(/fonts/nunito-latin-wght-normal.woff2) format('woff2'); }
:root {
  --bg: #F4F2FB; --card: #FFFFFF; --ink: #241F47; --subtle: #6C6796; --line: #E3DFF4;
  --primary: #5A45E0; --primary-deep: #3B2BB5; --wash: #EDE9FF; --sun: #FFD166; --gold-ink: #9A5F00;
  --panel: radial-gradient(900px 520px at 85% -10%, rgba(255, 255, 255, .16), transparent 70%),
           radial-gradient(1100px 700px at 0% 110%, rgba(32, 18, 120, .4), transparent 70%),
           linear-gradient(165deg, #6C57F2 0%, #5A45E0 45%, #3F2BBE 100%);
  --radius: 22px; --max: 1040px; --ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 600 17px/1.55 Nunito, -apple-system, system-ui, "Segoe UI", sans-serif; }
img, video { max-width: 100%; height: auto; display: block; }   /* height: auto – width/height halten nur das Seitenverhältnis frei */
a { color: var(--primary); }
h1, h2 { font-weight: 900; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 8px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Schriftzug wie in der App: Heiligenschein über dem E */
.name { font-weight: 900; letter-spacing: -.02em; padding-top: .3em; line-height: 1; }
.halo { position: relative; color: var(--primary); }
.halo::before { content: ""; position: absolute; left: 50%; top: -.36em; width: .82em; height: .3em; transform: translateX(-50%) rotate(-9deg);
  border: .1em solid var(--gold-ink); border-radius: 50%; }
.b-engel { color: var(--primary); } .b-ish { color: var(--gold-ink); }

/* Kopfzeile: fast deckend weiß mit feiner Linie und Schatten, damit sie sich immer abhebt */
header { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .86);
  border-bottom: 1px solid rgba(36, 31, 71, .07); box-shadow: 0 4px 18px rgba(36, 31, 71, .06);
  backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px); }
header .wrap { display: flex; align-items: center; gap: 18px; height: 60px; max-width: 1200px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 22px; text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
header nav { margin-left: auto; display: flex; align-items: center; gap: 22px; font-size: 15px; }
header nav a { color: var(--subtle); text-decoration: none; }
header nav a:hover { color: var(--ink); }
header .login { color: #fff !important; background: var(--primary); border-radius: 999px; padding: 6px 16px; font-weight: 800; }
header .login:hover { background: var(--primary-deep); }
@media (max-width: 720px) { header nav a:not(.login) { display: none; } }

/* Hero */
.hero { padding: 48px 0 40px; min-height: calc(100vh - 60px); display: flex; align-items: center; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: 56px; width: 100%; }
/* Hinweis ganz oben im Hero: wer Engelish derzeit nutzen kann */
.notice { display: flex; width: fit-content; align-items: center; gap: 10px; margin: 0 0 26px; padding: 9px 18px 9px 13px;
  border-radius: 999px; background: #FBF1DC; color: #6B4300; font-size: 15px; line-height: 1.35;
  box-shadow: inset 0 0 0 1px rgba(154, 95, 0, .22); }
.notice b { font-weight: 900; }
.notice svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 860px) { .notice { border-radius: 16px; font-size: 14px; margin-bottom: 20px; padding: 10px 14px 10px 12px; } }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--primary); }
h1 { font-size: clamp(40px, 6vw, 70px); line-height: 1.03; letter-spacing: -.03em; margin: 12px 0 22px; }
h1 em { font-style: normal; color: var(--primary); display: block; }
.lead { font-size: clamp(18px, 2vw, 21px); color: var(--subtle); max-width: 33em; margin: 0 0 30px; font-weight: 600; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
/* Offizielles Badge von Apple (toolbox.marketingtools.apple.com, de-de) – unverändert lassen: keine Rahmen,
   Schatten oder Farben; Höhe wie der Knopf daneben, Freiraum ringsum mindestens ein Viertel der Höhe (gap) */
.badge { display: block; flex: none; }
.badge img { height: 52px; width: auto; }
.browser { display: inline-flex; align-items: center; min-height: 52px; padding: 0 20px; border-radius: 14px; text-decoration: none;
  background: var(--wash); color: var(--primary-deep); font-weight: 800; }
.browser:hover { background: #E2DCFF; }
.ghost { color: var(--primary); font-weight: 800; text-decoration: none; padding: 11px 6px; }
.hero .phone { justify-self: center; width: min(340px, 78vw); filter: drop-shadow(0 30px 50px rgba(59, 43, 181, .25)); }
/* Niedrige Laptop-Bildschirme: kleinere Überschrift, damit die Knöpfe ohne Scrollen zu sehen sind */
@media (min-width: 861px) and (max-height: 820px) { .hero { padding: 28px 0 24px; } h1 { font-size: clamp(40px, 4.6vw, 58px); margin-bottom: 18px; }
  .lead { margin-bottom: 24px; } .hero .phone { width: auto; height: min(694px, calc(100vh - 120px)); } }
@media (max-width: 860px) { .hero { min-height: 0; padding: 32px 0 28px; } .hero .wrap { grid-template-columns: 1fr; gap: 32px; } .hero .phone { width: min(250px, 66vw); }
  h1 { font-size: clamp(36px, 10vw, 46px); margin: 10px 0 16px; } .lead { font-size: 17px; margin-bottom: 24px; } }

/* Funktionen: jede füllt den Bildschirm fast aus */
section { padding: 72px 0; }
.feature { min-height: 92vh; display: flex; align-items: center; }
.feature > .wrap, .feature .panel > .wrap { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.feature.flip .text { order: 2; }
h2 { font-size: clamp(32px, 4.4vw, 50px); line-height: 1.06; letter-spacing: -.025em; margin: 10px 0 16px; }
.feature .text p { color: var(--subtle); font-size: 18px; }
.feature ul { list-style: none; padding: 0; margin: 20px 0 0; }
.feature li { position: relative; padding: 7px 0 7px 32px; }
.feature li::before { content: ""; position: absolute; left: 0; top: 12px; width: 19px; height: 19px; border-radius: 50%;
  background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.2 8.3l2.4 2.4 5-5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/19px no-repeat; }

/* Telefone: gleich breite Spalten – ein Telefon ist so groß wie eines aus einem Paar */
.phones { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: start;
  width: 100%; max-width: min(268px, calc((100% - 24px) / 2)); margin: 0 auto; }
.phones.two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 560px; }
.phones img, .tablet img { width: 100%; filter: drop-shadow(0 24px 40px rgba(59, 43, 181, .22)); }
.phones.two img + img { margin-top: 56px; }
.tablet { width: 100%; max-width: 440px; margin: 0 auto; }

/* Video: lila Fläche, Text oben, darunter der Spot quer über die ganze Breite (am Handy hochkant) */
.feature.dark { padding: 24px 0; }
.dark .panel { width: 100%; max-width: 1100px; margin: 0 auto; padding: 64px 0; color: #fff; border-radius: 36px; background: var(--panel); }
.dark .panel > .wrap { grid-template-columns: 1fr; gap: 36px; max-width: 980px; }
.dark .text { text-align: center; }
.dark .text p { margin: 0 auto; max-width: 34em; }
.dark .eyebrow { color: var(--sun); } .dark .text p { color: rgba(255, 255, 255, .86); }
.film { position: relative; justify-self: center; width: min(100%, calc((100vh - 400px) * 16 / 9)); min-width: min(100%, 560px);   /* passt samt Text auf den Bildschirm */
  border-radius: 22px; overflow: hidden;
  box-shadow: 0 30px 60px rgba(20, 10, 80, .35); background: #EEF1FB; }
.film video { width: 100%; }
.play { position: absolute; right: 14px; bottom: 14px; width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(36, 31, 71, .55) center/18px no-repeat; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='white'%3E%3Crect x='3' y='2' width='3.5' height='12' rx='1'/%3E%3Crect x='9.5' y='2' width='3.5' height='12' rx='1'/%3E%3C/svg%3E"); }
.play.paused { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='white'%3E%3Cpath d='M4 2.5v11a1 1 0 0 0 1.5.9l9-5.5a1 1 0 0 0 0-1.8l-9-5.5A1 1 0 0 0 4 2.5z'/%3E%3C/svg%3E"); background-position: 55% 50%; }

/* Handy: jede Funktion eine Karte – Überschrift, gleich darunter das Bild, dann die Stichpunkte */
@media (max-width: 860px) {
  section { padding: 40px 0; }
  .feature, .feature.dark { min-height: 0; padding: 8px 16px; }
  .feature > .wrap, .dark .panel { background: var(--card); border-radius: 24px; padding: 26px 22px 22px;
    box-shadow: 0 1px 2px rgba(36, 31, 71, .05), 0 10px 30px rgba(36, 31, 71, .06); }
  .dark .panel { background: var(--panel); }
  .feature > .wrap, .feature .panel > .wrap { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .feature .panel > .wrap { padding: 0; }
  .feature .text { display: contents; }   /* die Teile reihen sich mit dem Bild in eine Spalte */
  .feature .eyebrow { order: 1; align-self: flex-start; font-size: 12px; }
  .dark .eyebrow { align-self: center; }
  .feature h2 { order: 2; font-size: 28px; margin: 6px 0 10px; }
  .feature .text p { order: 3; font-size: 16px; margin: 0; }
  .feature .phones, .feature .tablet, .feature .film { order: 4; margin: 22px auto 2px; }
  .feature ul { order: 5; margin: 18px 0 0; }
  .feature li { font-size: 15px; padding: 5px 0 5px 30px; }
  .feature li::before { top: 8px; }
  .phones { max-width: min(150px, calc((100% - 16px) / 2)); }
  .phones.two { max-width: 316px; gap: 16px; }
  .phones.two img + img { margin-top: 28px; }
  .tablet { max-width: 260px; }
  .film { width: min(260px, 72vw); border-radius: 22px; }
}

/* Einblenden beim Scrollen (nur mit JavaScript, siehe site.js) */
.js .reveal { opacity: 0; transform: translateY(48px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .phones .reveal, .js .tablet .reveal, .js .film.reveal { transform: translateY(80px) scale(.94); }
.js .phones .reveal + .reveal { transition-delay: .15s; }
.js .reveal.in { opacity: 1; transform: none; }
.js .facts .reveal:nth-child(2) { transition-delay: .12s; } .js .facts .reveal:nth-child(3) { transition-delay: .24s; }

/* Seitliche Navigation: weiße Box, damit sie auch über Bildern lesbar bleibt */
.side { position: fixed; left: 20px; top: 50%; z-index: 15; display: flex; flex-direction: column; gap: 2px;
  padding: 10px 12px; border-radius: 18px; background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 8px 30px rgba(36, 31, 71, .14), 0 0 0 1px rgba(36, 31, 71, .05);
  transform: translate(-12px, -50%); opacity: 0; pointer-events: none; transition: opacity .4s, transform .4s var(--ease); }
.side.show { opacity: 1; transform: translate(0, -50%); pointer-events: auto; }
.side a { display: flex; align-items: center; gap: 0; padding: 6px 2px; text-decoration: none; color: var(--subtle); font-size: 13px; font-weight: 700; }
.side .dot { width: 8px; height: 8px; border-radius: 50%; background: #C5BFE6; transition: all .3s var(--ease); flex: none; }
/* Beschriftung: beim Darüberfahren; ab 1360 px zusätzlich beim aktiven Abschnitt, ab 1440 px immer */
.side .label { max-width: 0; overflow: hidden; opacity: 0; white-space: nowrap; transition: max-width .35s var(--ease), opacity .3s, margin .35s var(--ease); }
.side:hover .label { max-width: 180px; opacity: 1; margin-left: 10px; }
@media (min-width: 1360px) { .side a.active .label { max-width: 180px; opacity: 1; margin-left: 10px; } }
.side a.active { color: var(--ink); font-weight: 800; }
.side a.active .dot { height: 22px; border-radius: 4px; background: var(--primary); }
@media (min-width: 1440px) { .side .label { max-width: 180px; opacity: .8; margin-left: 10px; } }
@media (max-width: 1100px) { .side { display: none; } }

/* Einrasten: jeder Scroll holt den nächsten Abschnitt mittig ins Bild (nur, wenn die Abschnitte auf den Bildschirm passen) */
@media (min-width: 861px) and (min-height: 660px) {
  html { scroll-snap-type: y mandatory; scroll-padding-top: 60px; }
  .hero { scroll-snap-align: start; }
  .feature, .final { scroll-snap-align: center; }
  footer { scroll-snap-align: end; }
  .feature { min-height: calc(100vh - 60px); }
}

/* Abschluss: drei Versprechen auf lila Grund, darunter App Store und Browser */
.final { text-align: center; padding: 24px 0 72px; }
.final .panel { max-width: 1100px; margin: 0 auto; padding: 72px 48px 64px; border-radius: 36px; color: #fff; background: var(--panel); }
.final img.icon { width: 96px; height: 96px; border-radius: 22px; margin: 0 auto 18px; box-shadow: 0 14px 30px rgba(20, 10, 80, .35); }
.final h2 { margin-top: 0; }
.final .lead { color: rgba(255, 255, 255, .86); margin: 0 auto 44px; }
.facts { list-style: none; padding: 0; margin: 0 0 48px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.facts li { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 32px 22px 28px; border-radius: 24px;
  background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); }
.facts svg { width: 46px; height: 46px; margin-bottom: 8px; stroke: var(--sun); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.facts b { font-size: clamp(22px, 2.3vw, 27px); line-height: 1.15; letter-spacing: -.015em; font-weight: 900; }
.facts span { color: rgba(255, 255, 255, .84); font-size: 16px; line-height: 1.45; max-width: 19em; }
.facts a { color: #fff; }
.final .cta { justify-content: center; }
.final .browser { background: rgba(255, 255, 255, .14); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }
@media (max-width: 860px) { .facts { grid-template-columns: 1fr; gap: 12px; margin-bottom: 32px; } .final { padding: 8px 16px 40px; }
  .final .panel { border-radius: 24px; padding: 36px 20px 32px; } .final img.icon { width: 72px; height: 72px; border-radius: 17px; }
  .final h2 { font-size: 28px; } .final .lead { font-size: 16px; margin-bottom: 26px; }
  .facts li { display: grid; grid-template-columns: 36px 1fr; align-items: start; column-gap: 14px; row-gap: 2px; text-align: left; padding: 16px 18px; }   /* Symbol links, Text rechts */
  .facts svg { grid-row: span 2; width: 34px; height: 34px; margin: 2px 0 0; } .facts b { font-size: 19px; } .facts span { font-size: 15px; } }

/* Fußzeile */
footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--subtle); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; }
footer a { color: var(--subtle); }
footer .links { display: flex; flex-wrap: wrap; gap: 10px 22px; }
@media (max-width: 860px) {   /* Handy: untereinander, alles linksbündig */
  footer { padding: 24px 0 36px; }
  footer .wrap { flex-direction: column; align-items: flex-start; gap: 12px; }
  footer .rv { order: 3; }   /* Logo wie vorher das © unter den Links */
}

/* Impressum */
.legal { max-width: 760px; margin: 0 auto; padding: 40px 24px 60px; }
.legal h1 { font-size: clamp(32px, 5vw, 44px); }
.legal h2 { font-size: 22px; margin-top: 34px; }
.legal p { color: #3B3660; font-weight: 600; }

/* robventions-Logo im Fuß: klein, mit Link; rv-mark.js tippt es, sobald es zu sehen ist (wie auf robventions.de) */
footer .rv { display: inline-block; line-height: 0; color: var(--subtle); }
footer .rv:hover { color: var(--ink); }
.rv-mark { display: block; width: 120px; height: auto; fill: currentColor; overflow: visible; }
.js-rv .rv-mark path:not(.on) { opacity: 0; }
.rv-mark .cur { animation: rv-blink 1.06s linear infinite; }
.rv-mark.solid .cur { animation: none; }
@keyframes rv-blink { 0%, 49.9% { opacity: 1; } 50%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .rv-mark .cur { animation: none; } }
