/* Miravox – Produktseite (connect-it) */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --night: #0A1424;
  --night-2: #101E34;
  --night-line: rgba(255, 255, 255, .10);
  --ink: #0E1A2B;
  --ink-2: #33445A;
  --muted: #5D6E83;
  --line: #E2E7EE;
  --bg: #FFFFFF;
  --bg-soft: #F3F6FA;
  --blue: #0B5CAD;
  --blue-2: #2F7BEA;
  --blue-soft: #E8F0FB;
  --amber: #F5B83D;
  --on-dark: #E9EEF6;
  --on-dark-2: #A9B6C8;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(14, 26, 43, .06), 0 18px 48px -18px rgba(14, 26, 43, .28);
  --wrap: 1180px;
  --gutter: clamp(18px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-feature-settings: "cv11", "ss01";
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.022em; margin: 0; font-weight: 750; }
h2 { font-size: clamp(30px, 3.6vw, 46px); }
h3 { font-size: 20px; letter-spacing: -.012em; }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: #fff; padding: 10px 14px; border-radius: 10px; font-weight: 600; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--blue-2); outline-offset: 3px; border-radius: 6px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 24px; border-radius: 999px;
  font: inherit; font-weight: 650; font-size: 16px; text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .2s var(--ease), background-color .2s, box-shadow .2s, border-color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 24px -10px rgba(11, 92, 173, .7); }
.btn-primary:hover { background: #0A519A; }
.btn-ghost-dark { color: var(--on-dark); border-color: rgba(255, 255, 255, .22); }
.btn-ghost-dark:hover { border-color: rgba(255, 255, 255, .5); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 15px; }
.btn-lg { min-height: 56px; padding: 0 30px; font-size: 17px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 16px;
}
.eyebrow-dark { color: #8CB8F5; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(245, 184, 61, .18); }
.sub { margin-top: 18px; font-size: 19px; color: var(--ink-2); max-width: 640px; }
.sub-dark { color: var(--on-dark-2); }

/* Navigation */
.nav {
  position: sticky; top: 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  background: rgba(10, 20, 36, .72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--night-line);
  color: var(--on-dark);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 780; font-size: 22px; letter-spacing: -.03em; color: #fff; }
.brand img { border-radius: 9px; }
.nav-links { display: flex; align-items: center; gap: 26px; font-size: 15px; font-weight: 550; }
.nav-links a:not(.btn) { text-decoration: none; color: var(--on-dark-2); transition: color .2s; }
.nav-links a:not(.btn):hover { color: #fff; }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: transparent; color: #fff; border-radius: 10px; cursor: pointer; }
.bars, .bars::before, .bars::after { display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .25s var(--ease), opacity .2s; margin-inline: auto; }
.bars::before, .bars::after { content: ""; position: absolute; left: 0; }
.bars::before { top: -7px; } .bars::after { top: 7px; }
.menu-btn[aria-expanded="true"] .bars { background: transparent; }
.menu-btn[aria-expanded="true"] .bars::before { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .bars::after { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1200px 600px at 80% 10%, #16325C 0%, transparent 60%), var(--night);
  color: var(--on-dark);
  padding-block: clamp(56px, 9vw, 112px) clamp(72px, 10vw, 128px);
  margin-top: -69px; padding-top: calc(69px + clamp(48px, 8vw, 104px));
}
.hero-glow { position: absolute; inset: auto -20% -40% 30%; height: 70%; background: radial-gradient(closest-side, rgba(47, 123, 234, .35), transparent); filter: blur(20px); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(36px, 4.3vw, 58px); color: #fff; letter-spacing: -.035em; }
.hero h1 em { font-style: normal; background: linear-gradient(100deg, #8CB8F5, var(--amber)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { margin-top: 22px; font-size: clamp(18px, 1.6vw, 20px); color: var(--on-dark-2); max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-facts { list-style: none; padding: 0; margin: 36px 0 0; display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 15px; color: var(--on-dark-2); }
.hero-facts li { display: flex; align-items: center; gap: 8px; }
.hero-facts li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: rgba(140, 184, 245, .16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%238CB8F5' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.hero-facts strong { color: #fff; font-weight: 650; }

.hero-visual { position: relative; margin: 0; }
.screen { position: relative; }
.screen-bezel {
  position: relative; border-radius: 16px; padding: 1.6%;
  background: linear-gradient(160deg, #2A3344, #0C1018 55%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08) inset, 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 120px -40px rgba(47, 123, 234, .6);
}
.screen-bezel img { border-radius: 6px; }
.screen-stand { width: 22%; height: 42px; margin: 0 auto; background: linear-gradient(#1A2230, #0D121B); clip-path: polygon(28% 0, 72% 0, 100% 100%, 0 100%); }
.tag {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px; border-radius: 999px; font-size: 14px; font-weight: 650; white-space: nowrap;
  background: rgba(255, 255, 255, .96); color: var(--ink); box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .5);
}
.tag i { font-style: normal; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-size: 11px; background: var(--blue); color: #fff; }
.tag-right i { background: var(--amber); color: var(--ink); font-size: 13px; }
.tag-left { left: -3%; top: -18px; }
.tag-right { right: -2%; bottom: 14%; }

/* Sections */
.section { padding-block: clamp(72px, 9vw, 120px); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }

.problem { background: var(--bg); }
.problem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.pain-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.pain-list li { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; background: #fff; display: grid; gap: 6px; }
.pain-old { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(93, 110, 131, .5); font-size: 15px; }
.pain-new { font-weight: 620; color: var(--ink); padding-left: 26px; position: relative; }
.pain-new::before { content: "→"; position: absolute; left: 0; color: var(--blue); font-weight: 700; }

.features { background: var(--bg-soft); }
.split-explain { display: grid; grid-template-columns: 55fr 45fr; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #fff; }
.half { padding: clamp(26px, 3.4vw, 40px); position: relative; }
.half-show { background: linear-gradient(180deg, #EAF1FB, #F7FAFE); border-right: 1px solid var(--line); }
.half-label { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: var(--blue); color: #fff; margin-bottom: 16px; }
.half-lib .half-label { background: var(--amber); color: var(--ink); }
.half h3 { font-size: 24px; }
.half p { margin-top: 10px; color: var(--ink-2); }

.ticks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%230B5CAD' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.ticks-grid { grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 921px) and (max-width: 1100px) { .ticks-grid { grid-template-columns: 1fr; } }

.feature-row { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 64px); align-items: center; margin-top: clamp(56px, 7vw, 96px); }
.feature-row-rev { margin-top: 0; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.feature-row-rev .feature-media { order: 2; }
.feature-copy h3 { font-size: clamp(24px, 2.4vw, 30px); }
.feature-copy h2 { font-size: clamp(28px, 3vw, 40px); }
.feature-copy > p:not(.eyebrow) { margin-top: 14px; color: var(--ink-2); font-size: 18px; }
.frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #fff; border: 1px solid var(--line); }
.frame-browser { background: #fff; }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--bg-soft); border-bottom: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #D3DAE3; }
.browser-bar span { margin-left: 10px; }
.mini-specs { margin: 24px 0 0; display: grid; gap: 1px; background: var(--line); border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line); }
.mini-specs div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 16px; background: #fff; font-size: 15px; }
.mini-specs dt { font-weight: 620; }
.mini-specs dd { margin: 0; color: var(--muted); text-align: right; }

.steps-sec { background: var(--bg); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.steps li { position: relative; padding: 30px 26px 28px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 52px; right: -21px; width: 22px; height: 2px; background: repeating-linear-gradient(90deg, var(--blue) 0 4px, transparent 4px 8px); }
.step-no { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--blue); color: #fff; font-weight: 750; font-size: 18px; margin-bottom: 18px; }
.steps li:nth-child(3) .step-no { background: var(--amber); color: var(--ink); }
.steps p { margin-top: 10px; color: var(--ink-2); font-size: 16px; }

.admin-sec { background: var(--bg-soft); }

.use-sec { background: var(--bg); }
.use-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.use { padding: 26px 24px; border-radius: var(--radius); background: var(--bg-soft); border: 1px solid transparent; transition: border-color .2s, transform .25s var(--ease), background-color .2s; }
.use:hover { border-color: var(--line); background: #fff; transform: translateY(-3px); }
.use-ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: #fff; box-shadow: 0 1px 2px rgba(14, 26, 43, .08); margin-bottom: 18px; }
.use-ico svg { width: 24px; height: 24px; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.use p { margin-top: 10px; color: var(--ink-2); font-size: 16px; }

.sec-sec { background: var(--night); color: var(--on-dark); }
.sec-sec h2 { color: #fff; }
.sec-grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.sec-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--night-line); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--night-line); }
.sec-list li { padding: 22px 24px; background: var(--night-2); color: var(--on-dark-2); }
.sec-list strong { display: block; color: #fff; font-weight: 650; margin-bottom: 4px; }

.pack-sec { background: var(--bg-soft); }
.pack-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.pack { display: flex; flex-direction: column; padding: 30px 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.pack-main { border-color: var(--blue); box-shadow: 0 24px 60px -30px rgba(11, 92, 173, .55); }
.pack-kicker { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.pack h3 { font-size: 26px; }
.pack .ticks { flex: 1; }
.pack-note { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); font-weight: 620; color: var(--blue); }

.faq-sec { background: var(--bg); }
.faq-wrap { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; font-weight: 640; font-size: 18px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: translateY(-70%) rotate(45deg); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 44px 24px 0; color: var(--ink-2); }

.contact-sec { background: var(--bg); padding-top: 0; }
.contact-card {
  display: grid; grid-template-columns: 7fr 5fr; gap: clamp(28px, 5vw, 64px); align-items: center;
  padding: clamp(32px, 5vw, 64px); border-radius: 28px; color: var(--on-dark);
  background: radial-gradient(800px 400px at 100% 0%, #1B3D70, transparent 60%), var(--night);
}
.contact-card h2 { color: #fff; font-size: clamp(28px, 3.2vw, 42px); }
.contact-actions { display: grid; gap: 14px; }
.contact-line { display: flex; justify-content: space-between; gap: 12px; padding: 14px 4px 0; border-top: 1px solid var(--night-line); color: #fff; text-decoration: none; font-weight: 600; }
.contact-line span { color: var(--on-dark-2); font-weight: 500; }

/* Footer */
.footer { background: var(--bg); border-top: 1px solid var(--line); padding-block: 40px calc(28px + env(safe-area-inset-bottom, 0px)); font-size: 15px; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 28px; align-items: center; }
.brand-dark { color: var(--ink); font-size: 20px; }
.footer-brand p { margin-top: 10px; max-width: 420px; }
.footer-by { display: flex; flex-direction: column; gap: 6px; }
.footer-by span { font-size: 13px; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: flex-end; }
.footer-legal a { text-decoration: none; }
.footer-legal a:hover { color: var(--ink); text-decoration: underline; }
.footer-note { margin-top: 24px; font-size: 13px; }

/* Einblenden beim Scrollen */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .use { transition: none; }
}

/* Responsive */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 720px; }
  .hero-visual { max-width: 820px; }
  .use-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 920px) {
  .menu-btn { display: block; }
  .nav-links {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 20px; background: var(--night); border-bottom: 1px solid var(--night-line);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--night-line); font-size: 17px; }
  .nav-cta { margin-top: 16px; min-height: 50px; }
  .problem-grid, .sec-grid, .faq-wrap, .contact-card, .feature-row, .feature-row-rev { grid-template-columns: 1fr; }
  .feature-row-rev .feature-media { order: 0; }
  .split-explain { grid-template-columns: 1fr; }
  .half-show { border-right: 0; border-bottom: 1px solid var(--line); }
  .steps, .pack-grid { grid-template-columns: 1fr; }
  .steps li:not(:last-child)::after { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-legal { justify-content: flex-start; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .sub { font-size: 17px; }
  .use-grid, .ticks-grid { grid-template-columns: 1fr; }
  .tag { font-size: 12px; padding: 7px 11px; }
  .tag i { width: 18px; height: 18px; }
  .tag-left { left: 2%; top: -14px; }
  .tag-right { right: 2%; bottom: 30px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .contact-actions .btn { width: 100%; white-space: normal; text-align: center; padding-block: 12px; line-height: 1.3; border-radius: 22px; }
  .mini-specs div { flex-direction: column; gap: 2px; }
  .mini-specs dd { text-align: left; }
  .faq summary { font-size: 17px; }
}
