/* Upwell – Rahmen für Vorschlagsseiten. Farben und Schrift wie upwell.one. */
@font-face { font-family: "Figtree"; font-style: normal; font-display: swap; font-weight: 400; src: url("fonts/figtree-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-display: swap; font-weight: 500; src: url("fonts/figtree-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-display: swap; font-weight: 600; src: url("fonts/figtree-latin-600-normal.woff2") format("woff2"); }
:root {
  --bg: #F3F6F9; --white: #FFFFFF; --grey: #4D4D4D; --ink: #404040; --muted: #6E6E6E; --line: #E2E6EA;
  --blue: #0896F0; --blue-ink: #0A72BA; --blue-soft: #E6F3FD; --frame: #2E3338;
  --font: "Figtree", "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--blue-ink); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
@media (min-width: 760px) { .wrap { padding-left: 40px; padding-right: 40px; } }
.btn { display: inline-flex; align-items: center; font: inherit; font-size: 15.5px; font-weight: 600; text-decoration: none; background: var(--blue-ink); color: #fff; border: 0; border-radius: 999px; padding: 10px 20px; cursor: pointer; white-space: nowrap; }
.btn:hover { background: var(--grey); }

.bar { position: sticky; top: 0; z-index: 20; background: var(--white); border-bottom: 1px solid var(--line); }
.bar-in { display: flex; align-items: center; gap: 18px; min-height: 68px; max-width: 1440px; margin: 0 auto; flex-wrap: wrap; padding: 8px max(16px, env(safe-area-inset-left, 0px)); }
.up img { height: 34px; width: auto; display: block; }
.who { min-width: 0; flex: 1 1 240px; border-left: 1px solid var(--line); padding-left: 18px; }
.who strong { display: block; font-size: 15.5px; font-weight: 600; color: var(--grey); text-wrap: balance; }
.who span { display: block; font-size: 13px; color: var(--muted); }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: var(--bg); }
.seg button { font: inherit; font-size: 14px; font-weight: 600; border: 0; background: transparent; color: var(--muted); padding: 6px 14px; border-radius: 999px; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--white); color: var(--grey); box-shadow: 0 1px 2px rgba(0,0,0,.12); }

.stage { padding: 22px 16px 12px; }
.stage-in { max-width: 1440px; margin: 0 auto; display: grid; justify-items: center; gap: 12px; }
.device { position: relative; width: 100%; background: var(--frame); border-radius: 14px; padding: 8px; box-shadow: 0 30px 60px -30px rgba(10,60,100,.45); transition: width .35s ease; }
.device .label { display: flex; justify-content: space-between; gap: 12px; color: #C9D0D8; font-size: 12.5px; padding: 2px 8px 8px; }
.device iframe { display: block; width: 100%; height: min(78vh, 920px); min-height: 520px; border: 0; border-radius: 8px; background: #fff; }
.device.phone { width: 414px; border-radius: 44px; padding: 14px 12px 18px; }
.device.phone .label { justify-content: center; padding-bottom: 10px; }
.device.phone .label span + span { display: none; }
.device.phone iframe { height: 780px; border-radius: 30px; }
.loading { position: absolute; left: 8px; right: 8px; bottom: 8px; top: 36px; display: grid; place-items: center; background: #fff; color: var(--muted); font-size: 15px; border-radius: 8px; pointer-events: none; }
.device.phone .loading { left: 12px; right: 12px; bottom: 18px; top: 40px; border-radius: 30px; }
.loading[hidden] { display: none; }
.hint { font-size: 14px; color: var(--muted); text-align: center; margin: 0; max-width: 760px; }

.offer { padding: 64px 0 72px; }
.kicker { display: block; margin: 0 0 14px; font-size: 13px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--blue-ink); }
.offer h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 500; color: var(--grey); line-height: 1.12; margin: 0 0 14px; text-wrap: balance; letter-spacing: -0.015em; }
.offer .intro { font-size: 18px; color: var(--muted); max-width: 40em; margin: 0 0 40px; }
h3 { font-size: 20px; font-weight: 600; color: var(--grey); margin: 0 0 16px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; margin: 0 0 48px; padding: 0; list-style: none; }
@media (min-width: 700px) { .facts:has(> li:nth-child(4):last-child) { grid-template-columns: repeat(2, 1fr); } }
.facts li { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; min-width: 0; }
.facts b { display: block; margin-bottom: 4px; color: var(--grey); font-weight: 600; }
.facts span { color: var(--muted); font-size: 15.5px; }
.plan-row { display: grid; grid-template-columns: minmax(260px, 5fr) 7fr; gap: 28px 40px; align-items: center; margin-bottom: 18px; }
.plan { background: var(--grey); color: #fff; border-radius: 18px; padding: 28px 28px 24px; display: grid; gap: 6px; min-width: 0; }
.plan .name { font-size: 14px; color: #DADADA; }
.plan .price { font-size: 44px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.plan .price small { font-size: 17px; font-weight: 600; color: #DADADA; letter-spacing: 0; }
.plan .terms { font-size: 14px; color: #DADADA; }
.incl { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.incl li { padding-left: 26px; position: relative; }
.incl li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 12px; height: 7px; border-left: 2.5px solid var(--blue-ink); border-bottom: 2.5px solid var(--blue-ink); transform: rotate(-45deg); }
.small { font-size: 14.5px; color: var(--muted); margin: 0; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps li { counter-increment: s; border-top: 2px solid var(--grey); padding-top: 14px; min-width: 0; }
.steps li::before { content: counter(s) "."; font-weight: 600; color: var(--blue); margin-right: 6px; }
.contact { margin-top: 48px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 24px 26px; display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
.contact address { font-style: normal; min-width: 0; }
.mail { display: inline-flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.mail code { font-family: inherit; font-weight: 600; font-size: 16px; user-select: all; color: var(--grey); }
footer.imp { border-top: 1px solid var(--line); padding: 26px 0 34px; font-size: 13.5px; color: var(--muted); }
footer.imp nav { display: flex; gap: 20px; margin-bottom: 8px; }
footer.imp nav a { color: var(--grey); text-decoration: none; font-weight: 600; }
footer.imp p { margin: 0; }

@media (max-width: 760px) {
  .seg, .who span { display: none; }
  .who { border-left: 0; padding-left: 0; flex-basis: 100%; order: 3; }
  .bar-in { gap: 10px 14px; }
  .bar .btn { margin-left: auto; }
  .stage { padding: 0 0 12px; }
  .device, .device.phone { width: 100%; border-radius: 0; padding: 0; box-shadow: none; }
  .device .label { display: none; }
  .loading, .device.phone .loading { inset: 0; border-radius: 0; }
  .device iframe, .device.phone iframe { height: 78vh; min-height: 480px; border-radius: 0; }
  .hint { padding: 0 16px; }
  .plan-row, .steps { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .device { transition: none; } }
