/* ROSCH Webservice – Vorher-Nachher-Vergleiche (Google-Profil, Webseite, App)
   Wird nur auf den Seiten geladen, die einen Vergleich zeigen. Nutzt die Variablen aus style.css.
   Die Beispiele sind reines HTML/CSS und frei erfunden. */

/* ------------------------------------------------------------ Abschnitt */
.cmp-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; margin-top: 32px; }
.cmp-grid--stack { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
@media (max-width: 900px) { .cmp-grid { grid-template-columns: minmax(0, 1fr); } }

.cmp-list-h { margin: 0 0 1.2rem; font-weight: 700; font-size: 1.2rem; line-height: 1.3; }
.cmp-list { counter-reset: cmp; list-style: none; display: grid; gap: 1.25rem; }
.cmp-list li { counter-increment: cmp; position: relative; padding-left: 3.1rem; }
.cmp-list li::before {
  content: counter(cmp);
  position: absolute; left: 0; top: 0.05rem;
  display: grid; place-items: center;
  width: 2.1rem; height: 2.1rem; border-radius: 50%;
  background: var(--orange); color: var(--ink);
  font-weight: 700; font-size: 1rem; line-height: 1;
}
.cmp-list h3 { margin: 0 0 0.2rem; font-size: 1.05rem; line-height: 1.35; }
.cmp-list p { margin: 0; color: var(--muted); font-size: 0.97rem; }
.cmp-grid--stack .cmp-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6rem 2.2rem; }
@media (max-width: 1000px) { .cmp-grid--stack .cmp-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .cmp-grid--stack .cmp-list { grid-template-columns: minmax(0, 1fr); } }

/* ------------------------------------------------------------ Regler-Vergleich */
.compare { --pos: 50%; }
.compare__stage {
  position: relative; display: grid;
  overflow: hidden;
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 14px 40px rgba(16, 20, 24, 0.18), 0 0 0 1px var(--line);
  user-select: none; -webkit-user-select: none;
}
.compare__layer { grid-area: 1 / 1; position: relative; min-width: 0; }
.compare__layer--after { clip-path: inset(0 0 0 var(--pos)); }

.compare__box { margin-inline: auto; }
.compare__labels { display: flex; justify-content: space-between; gap: 1rem; margin: 0 0 0.6rem; }
.compare__label { font-weight: 700; font-size: 0.78rem; line-height: 1; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.5rem 0.9rem; border-radius: 999px; }
.compare__label--before { background: var(--ink); color: var(--white); }
.compare__label--after { background: var(--orange); color: var(--ink); }

.compare__handle { position: absolute; z-index: 3; top: 0; bottom: 0; left: var(--pos); width: 0; pointer-events: none; }
.compare__handle::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: -1.5px; width: 3px;
  background: var(--white); box-shadow: 0 0 0 1px rgba(16, 20, 24, 0.4);
}
.compare__knob {
  position: absolute; top: 50%; left: 0; transform: translate(calc(-50% + var(--shift, 0px)), -50%);
  display: grid; place-items: center;
  width: 48px; height: 48px;
  background: var(--orange); color: var(--ink);
  clip-path: var(--hex);
  filter: drop-shadow(0 4px 10px rgba(16, 20, 24, 0.45));
}
.compare__knob svg { width: 22px; height: 22px; }
.compare.is-kbd .compare__knob { background: var(--pink); }
.compare.is-kbd .compare__stage { outline: 3px solid var(--blue); outline-offset: 4px; }

.compare__range {
  position: absolute; inset: 0; z-index: 4;
  width: 100%; height: 100%; margin: 0;
  opacity: 0; cursor: ew-resize; touch-action: pan-y;
  -webkit-appearance: none; appearance: none; background: transparent;
}
.compare__range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 1px; height: 100vh; }
.compare__range::-moz-range-thumb { width: 1px; height: 100vh; border: 0; }

/* Auswahl-Schalter (Vorher/Nachher, Computer/Smartphone) */
.compare__bar, .compare__views { display: flex; justify-content: center; margin: 1.1rem auto 0; width: fit-content; max-width: 100%; border: 2px solid var(--blue); border-radius: 999px; overflow: hidden; background: var(--white); }
.compare__views { margin: 0 auto 1.1rem; }
.compare__btn, .compare__view {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem;
  font: 700 0.95rem/1 var(--font); color: var(--blue);
  background: transparent; border: 0; padding: 0.8rem 1.4rem; min-height: 2.9rem; cursor: pointer;
}
.compare__view svg { width: 1.1rem; height: 1.1rem; }
.compare__btn + .compare__btn, .compare__view + .compare__view { border-left: 2px solid var(--blue); }
.compare__btn:hover, .compare__view:hover { background: var(--tint); }
.compare__btn[aria-pressed="true"], .compare__view[aria-pressed="true"] { background: var(--blue); color: var(--white); }
.compare__hint { margin: 1rem auto 0; max-width: 40rem; text-align: center; color: var(--muted); font-size: 0.9rem; line-height: 1.5; }

/* Ohne JavaScript: Regler ausblenden, Hinweis zeigen (die Liste daneben bleibt vollständig) */
.compare__nojs { display: none; margin: 0; padding: 1rem 1.2rem; border-left: 4px solid var(--orange); color: var(--muted); }
html:not(.js) .compare__stage, html:not(.js) .compare__bar, html:not(.js) .compare__views, html:not(.js) .compare__hint, html:not(.js) .compare__labels { display: none; }
html:not(.js) .compare__nojs { display: block; }
/* Vor dem Start der Skripte bleibt der Platz reserviert, die skalierten Flächen erscheinen erst, wenn sie passen */
.compare:not(.is-ready) .mk-artboard { visibility: hidden; }

/* ------------------------------------------------------------ Hilfs-Bausteine */
.stars { display: inline-flex; }
.stars svg { width: 1.05rem; height: 1.05rem; color: #CDD3DF; display: block; }
.stars svg.on { color: #F4A300; }
.mark {
  display: inline-grid; place-items: center; flex: none;
  width: 1.45rem; height: 1.45rem; border-radius: 50%;
  background: var(--orange); color: var(--ink);
  font-weight: 700; font-size: 0.8rem; line-height: 1;
  box-shadow: 0 0 0 2px var(--white), 0 2px 6px rgba(16, 20, 24, 0.3);
  margin-left: 0.5rem; vertical-align: middle;
}

/* ------------------------------------------------------------ Google-Profil (Karte) */
.compare--profile .compare__box { max-width: 420px; }
.pf { height: 100%; background: var(--white); font-size: 0.92rem; line-height: 1.4; color: var(--ink); text-align: left; }
.pf p { margin: 0; }
.pf__photos { position: relative; display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 3px; height: 160px; }
.pf__ph { display: grid; place-items: center; color: var(--white); }
.pf__ph svg { width: 34px; height: 34px; }
.pf__ph--a { grid-row: 1 / 3; background: linear-gradient(135deg, var(--blue), var(--slate)); }
.pf__ph--b { background: linear-gradient(135deg, var(--pink), #D95F72); }
.pf__ph--c { background: linear-gradient(135deg, var(--orange), #E89A2B); color: var(--ink); }
.pf__photos--none { display: grid; place-items: center; grid-template-columns: 1fr; grid-template-rows: 1fr; background: #E8EDF3; color: var(--muted); }
.pf__photos--none span { display: grid; justify-items: center; gap: 0.4rem; font-weight: 500; }
.pf__photos--none svg { width: 34px; height: 34px; }
.pf__body { padding: 1rem 1.1rem 1.3rem; display: grid; gap: 0.6rem; }
.pf__name { font-weight: 700; font-size: 1.3rem; line-height: 1.2; }
.pf__cat { color: var(--muted); }
.pf__rating { display: flex; align-items: center; flex-wrap: wrap; gap: 0.4rem; }
.pf__rating b { color: var(--ink); }
.pf__rating > span:last-child { color: var(--muted); }
.pf__status { font-weight: 700; }
.pf__status--ok { color: #1D7A46; }
.pf__status--warn { color: #B3261E; }
.pf__actions { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.pf__chip {
  display: inline-flex; align-items: center; gap: 0.35rem;
  border: 1px solid var(--line); border-radius: 999px; padding: 0.32rem 0.75rem;
  font-weight: 700; font-size: 0.82rem; color: var(--blue); background: var(--white);
}
.pf__chip svg { width: 0.95rem; height: 0.95rem; }
.pf__desc--empty { color: var(--muted); font-style: italic; }
.pf__missing { list-style: none; display: grid; gap: 0.2rem; color: #B3261E; font-size: 0.85rem; }
.pf__missing li::before { content: "\00D7"; margin-right: 0.45rem; font-weight: 700; }
.pf__svcs { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.pf__svcs span { background: var(--tint); color: var(--blue); border-radius: 999px; padding: 0.15rem 0.7rem; font-size: 0.8rem; font-weight: 700; }
.pf__block { border-top: 1px solid var(--line); padding-top: 0.7rem; display: grid; gap: 0.3rem; }
.pf__block > b { color: var(--ink); font-size: 0.76rem; letter-spacing: 0.05em; text-transform: uppercase; }
.pf__noreply { color: #B3261E; font-size: 0.84rem; }
.pf__reply { background: var(--tint); border-radius: 8px; padding: 0.55rem 0.7rem; font-size: 0.86rem; }
.pf--before { background: #FAFAFA; }
.pf--before .pf__name, .pf--before .pf__rating b { color: #4A5368; }
.pf__photos .mark { position: absolute; top: 0.6rem; right: 0.6rem; margin: 0; }

/* ------------------------------------------------------------ Webseite (Computer + Smartphone) und App */
.compare--web .compare__box { max-width: 1000px; }
.compare--web .compare__stage { display: block; aspect-ratio: 1000 / 570; background: #E8EDF3; }
.compare--web[data-view="phone"] .compare__box, .compare--app .compare__box { max-width: 360px; }
.compare--app .compare__stage { aspect-ratio: 340 / 551; border-radius: 44px; background: transparent; }
.compare--web[data-view="phone"] .compare__stage { aspect-ratio: 340 / 700; border-radius: 44px; background: transparent; }
.compare--web .compare__layer, .compare--app .compare__layer { position: absolute; inset: 0; }
.compare--app .compare__stage { display: block; }

.mk-artboard { position: absolute; left: 0; top: 0; width: var(--aw, 1000px); height: var(--ah, 570px); transform: scale(var(--s, 1)); transform-origin: 0 0; }
.mk-view { width: 100%; height: 100%; }
.compare[data-view="desktop"] .mk-view--phone,
.compare[data-view="phone"] .mk-view--desktop { display: none; }
.compare--web.is-phone-only .compare__views { display: none; }

.mk-artboard .mark { position: absolute; width: 30px; height: 30px; font-size: 16px; margin: 0; z-index: 5; }
.mark--l { left: -38px; top: 4px; }
.mark--tr { right: -12px; top: -12px; }
.mark--in { right: -6px; top: -12px; }

/* Browserrahmen */
.mk-browser { width: 100%; height: 100%; display: flex; flex-direction: column; background: var(--white); border-radius: 14px; overflow: hidden; border: 1px solid #C3CBDB; text-align: left; }
.mk-browser__bar { flex: none; height: 42px; display: flex; align-items: center; gap: 16px; padding: 0 16px; background: #E6EAF2; border-bottom: 1px solid #CDD4E2; }
.mk-dots { display: flex; gap: 7px; }
.mk-dots i { width: 12px; height: 12px; border-radius: 50%; background: #BFC7D6; }
.mk-url {
  position: relative; display: flex; align-items: center; gap: 7px;
  flex: 1; max-width: 520px; height: 28px; padding: 0 14px; border-radius: 14px;
  background: var(--white); color: #4A5368; font-weight: 500; font-size: 13px; line-height: 1; white-space: nowrap;
}
.mk-url svg { width: 14px; height: 14px; flex: none; }
.mk-url--bad svg, .mk-url--bad b { color: #B3261E; }
.mk-url--bad b { margin-right: 4px; }
.mk-url--good svg { color: #1D7A46; }
.mk-url .mark { right: -42px; top: -1px; margin: 0; }
.mk-browser__page { flex: 1; min-height: 0; position: relative; overflow: hidden; }

/* Alte Seite (bewusst Stil um 2005) */
.mk-bad {
  width: 100%; height: 100%; display: flex; flex-direction: column;
  font: 14px/1.35 "Times New Roman", Times, serif; color: #000; text-align: left;
  background: repeating-linear-gradient(45deg, #DDD6BD 0 6px, #D2CAAF 6px 12px);
}
.mk-bad p { margin: 0 0 8px; }
.mk-bad__banner { flex: none; height: 96px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; background: linear-gradient(90deg, #1C2F7A, #3A58C8, #1C2F7A); border-bottom: 4px ridge #8A8A8A; }
.mk-bad__title { font: 700 36px/1 "Comic Sans MS", "Comic Neue", cursive; color: #FFE600; text-shadow: 3px 3px 0 #C00000; }
.mk-bad__sub { color: #fff; font: italic 15px "Times New Roman", Times, serif; }
.mk-bad__cols { flex: 1; min-height: 0; display: flex; gap: 10px; padding: 10px; }
.mk-bad__nav { flex: none; width: 170px; margin: 0; padding: 8px; list-style: none; align-self: flex-start; background: #E8E8E8; border: 3px outset #fff; }
.mk-bad__nav li { padding: 3px 0; color: #0000EE; text-decoration: underline; font-size: 14px; }
.mk-bad__nav li::before { content: "\00bb  "; color: #C00000; text-decoration: none; display: inline-block; }
.mk-bad__main { flex: 1; min-width: 0; overflow: hidden; background: #fff; border: 2px inset #999; padding: 12px 16px; }
.mk-bad__h { font: 700 22px/1.2 "Times New Roman", Times, serif; color: #C00000; text-align: center; }
.mk-bad__img { float: right; width: 190px; height: 110px; margin: 0 0 6px 12px; display: grid; place-items: center; border: 1px solid #777; background: #EEE; color: #555; font-size: 12px; }
.mk-bad__small { font-size: 11px; color: #333; }
.mk-bad__offer { font-size: 13px; color: #006400; border: 2px dotted #C00000; padding: 4px 8px; }
.mk-bad__offer b { color: #C00000; }
.mk-bad__warn { background: #C00000; color: #fff; font-weight: 700; text-align: center; padding: 3px; }
.mk-bad__foot { flex: none; height: 34px; display: grid; place-items: center; background: #B9B9B9; color: #333; font-size: 11px; }

/* Neue Seite (Computer) */
.mk-good { width: 100%; height: 100%; background: var(--white); color: var(--ink); font-size: 16px; line-height: 1.4; text-align: left; }
.mk-good p { margin: 0; }
.mk-good__head { height: 68px; display: flex; align-items: center; gap: 28px; padding: 0 40px; border-bottom: 1px solid var(--line); }
.mk-good__logo { display: inline-flex; align-items: center; gap: 10px; font-size: 18px; }
.mk-good__logo i { display: block; width: 34px; height: 30px; background: linear-gradient(135deg, var(--blue) 55%, var(--orange) 55%); clip-path: var(--hex); }
.mk-good__nav { display: flex; gap: 24px; margin-left: auto; font-weight: 500; color: var(--muted); }
.mk-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--blue); color: var(--white);
  font-weight: 700; font-size: 15px; line-height: 1.2; padding: 11px 20px; border-radius: 999px; border: 2px solid var(--blue); white-space: nowrap;
}
.mk-btn svg { width: 16px; height: 16px; flex: none; }
.mk-btn--ghost { background: transparent; color: var(--blue); }
.mk-btn--dark { background: var(--ink); border-color: var(--ink); color: var(--white); }
.mk-btn--block { display: flex; width: 100%; }
.mk-good__hero { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 40px; align-items: center; padding: 34px 40px 30px; background: linear-gradient(120deg, #fff 40%, var(--tint)); }
.mk-good__eyebrow { margin: 0 0 8px; color: var(--blue); font-weight: 700; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; }
.mk-good__h { position: relative; margin: 0 0 12px; font-weight: 700; font-size: 40px; line-height: 1.1; letter-spacing: -0.015em; }
.mk-good__lead { margin: 0 0 20px; font-size: 16px; color: var(--muted); max-width: 480px; }
.mk-good__cta { position: relative; display: flex; gap: 12px; }
.mk-good__panel { position: relative; display: grid; gap: 4px; padding: 24px; border-radius: 16px; background: var(--blue); color: #DCE8F7; }
.mk-good__panel b { font-size: 24px; line-height: 1.2; color: var(--orange); }
.mk-good__panel em { font-style: normal; font-size: 14px; color: #BCD3EE; display: inline-flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.mk-star { width: 14px; height: 14px; color: var(--orange); display: inline-block; }
.mk-good__trust { display: flex; justify-content: center; gap: 36px; padding: 13px 40px; border-block: 1px solid var(--line); background: var(--white); font-weight: 700; font-size: 14px; color: var(--blue); }
.mk-good__trust span { display: inline-flex; align-items: center; gap: 8px; }
.mk-good__trust svg { width: 16px; height: 16px; color: #1D7A46; }
.mk-good__svcs { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 26px 40px 28px; }
.mk-svc { display: grid; gap: 4px; justify-items: start; padding: 16px; border: 1px solid var(--line); border-radius: 14px; }
.mk-svc__ic { display: grid; place-items: center; width: 38px; height: 34px; background: var(--tint); color: var(--blue); clip-path: var(--hex); }
.mk-svc__ic svg { width: 19px; height: 19px; }
.mk-svc b { margin-top: 6px; }
.mk-svc > span:last-child { color: var(--muted); font-size: 14px; }

/* Smartphone-Rahmen */
.mk-phone { width: 100%; height: 100%; padding: 12px; background: #0B0C10; border-radius: 44px; box-shadow: inset 0 0 0 2px #2B2F3A; }
.mk-phone__screen { width: 100%; height: 100%; display: flex; flex-direction: column; border-radius: 33px; overflow: hidden; background: var(--white); text-align: left; }
.mk-m__url { position: relative; flex: none; height: 32px; display: flex; align-items: center; gap: 6px; padding: 0 16px; background: #E6EAF2; color: #4A5368; font-weight: 500; font-size: 12px; line-height: 1; white-space: nowrap; }
.mk-m__url svg { width: 12px; height: 12px; flex: none; }
.mk-m__url--bad svg, .mk-m__url--bad b { color: #B3261E; }
.mk-m__url--good svg { color: #1D7A46; }
.mk-m__url .mark { right: 8px; top: 3px; width: 26px; height: 26px; font-size: 14px; margin: 0; }
.mk-phone__page { position: relative; flex: 1; min-height: 0; overflow: hidden; background: var(--white); }
.mk-squeeze { width: 980px; height: 560px; transform: scale(0.322); transform-origin: 0 0; }

.mk-m { position: relative; height: 100%; color: var(--ink); font-size: 14px; line-height: 1.4; }
.mk-m p, .mk-m ul { margin: 0; }
.mk-m__head { height: 52px; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; border-bottom: 1px solid var(--line); }
.mk-m__head .mk-good__logo { font-size: 14px; gap: 8px; }
.mk-m__head .mk-good__logo i { width: 28px; height: 25px; }
.mk-m__burger svg { width: 24px; height: 24px; }
.mk-m__hero { padding: 16px 16px 14px; background: linear-gradient(160deg, #fff 35%, var(--tint)); display: grid; gap: 8px; }
.mk-m__hero .mk-good__eyebrow { margin: 0; font-size: 11px; }
.mk-m__h { position: relative; font-weight: 700; font-size: 27px; line-height: 1.12; letter-spacing: -0.015em; }
.mk-m__lead { color: var(--muted); font-size: 14px; }
.mk-m__btns { position: relative; display: grid; gap: 8px; }
.mk-m__btns .mk-btn { font-size: 14px; padding: 10px 16px; }
.mk-m__rate { position: relative; font-style: normal; font-size: 12px; color: var(--muted); display: inline-flex; align-items: center; gap: 4px; }
.mk-m__listwrap { position: relative; }
.mk-m__list { position: relative; list-style: none; padding: 4px 16px 0; }
.mk-m__list li { display: flex; align-items: center; gap: 10px; height: 46px; border-bottom: 1px solid var(--line); }
.mk-m__list li b { flex: 1; font-size: 14px; }
.mk-m__list li > span:last-child { color: var(--muted); font-size: 12px; }
.mk-m__list .mk-svc__ic { width: 30px; height: 27px; }
.mk-m__list .mk-svc__ic svg { width: 16px; height: 16px; }
.mk-m__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 58px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 9px 12px; background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 -8px 18px rgba(16, 20, 24, 0.1); }
.mk-m__bar .mk-btn { font-size: 14px; padding: 0 12px; }
.mk-m__bar .mark { right: 8px; top: -14px; }

/* ------------------------------------------------------------ App: Gruppenchat (vorher) und Familien-App (nachher) */
.ap-chat { background: #E9E5DD; font-size: 13px; line-height: 1.35; }
.ap-chat__head { flex: none; display: flex; align-items: center; gap: 10px; padding: 14px 14px 12px; background: #3C5B53; color: #fff; }
.ap-av { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #9BB5AD; color: #1F332E; font-weight: 700; }
.ap-chat__who { display: grid; flex: 1; line-height: 1.2; }
.ap-chat__who small { color: #CFE0DB; font-size: 11px; }
.ap-badge { background: #D8453A; color: #fff; font-weight: 700; font-size: 12px; padding: 3px 9px; border-radius: 999px; }
.ap-chat__body { flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 10px 12px; }
.ap-msg { align-self: flex-start; max-width: 82%; margin: 0; padding: 6px 10px; background: #fff; border-radius: 4px 12px 12px 12px; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.12); }
.ap-msg b { display: block; font-size: 11px; color: #B3261E; }
.ap-msg--out { align-self: flex-end; background: #DCF3C8; border-radius: 12px 4px 12px 12px; }
.ap-msg--img { height: 70px; width: 62%; display: grid; place-items: center; background: #F4EFC9 repeating-linear-gradient(0deg, transparent 0 11px, rgba(60, 91, 83, 0.25) 11px 12px); color: #6A6A5A; font-size: 11px; text-align: center; }
.ap-chat__input { flex: none; margin: 0 12px 14px; padding: 10px 14px; background: #fff; border-radius: 999px; color: #8A8A8A; font-size: 13px; }

.ap-app { position: relative; background: #F6F9FD; font-size: 13px; line-height: 1.3; color: var(--ink); }
.ap-app__head { flex: none; display: flex; align-items: center; gap: 10px; padding: 14px 14px 12px; background: var(--blue); color: #fff; }
.ap-app__head b { flex: 1; font-size: 16px; }
.ap-hex { width: 26px; height: 23px; background: linear-gradient(135deg, var(--orange) 55%, var(--pink) 55%); clip-path: var(--hex); }
.ap-bellbtn svg { width: 20px; height: 20px; }
.ap-notice { position: relative; flex: none; display: flex; align-items: center; gap: 8px; margin: 10px 12px 0; padding: 9px 12px; border-radius: 12px; background: var(--orange); color: var(--ink); font-weight: 700; font-size: 12.5px; }
.ap-notice svg { width: 16px; height: 16px; flex: none; }
.ap-notice span:not(.mark) { flex: 1; }
.ap-sec { position: relative; flex: none; margin: 10px 12px 0; padding: 10px 12px; background: #fff; border-radius: 12px; box-shadow: 0 0 0 1px var(--line); }
.ap-sec h4 { margin: 0 0 6px; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--blue); }
.ap-sec ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ap-events li { display: flex; gap: 10px; align-items: baseline; }
.ap-events time { font-weight: 700; color: var(--blue); min-width: 40px; }
.ap-events span { display: grid; }
.ap-events small, .ap-todo small { color: var(--muted); font-size: 11.5px; }
.ap-todo li { display: flex; align-items: center; gap: 9px; }
.ap-todo li small { margin-left: auto; }
.ap-todo i { flex: none; width: 16px; height: 16px; border: 2px solid var(--slate); border-radius: 5px; position: relative; }
.ap-todo .done { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(68, 108, 158, 0.6); }
.ap-todo .done i { background: var(--blue); border-color: var(--blue); }
.ap-todo .done i::after { content: ""; position: absolute; left: 3px; top: 0; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.ap-sec .mark, .ap-notice .mark { position: absolute; right: 8px; top: 8px; width: 24px; height: 24px; font-size: 13px; margin: 0; }
.ap-notice .mark { position: static; box-shadow: 0 0 0 2px var(--orange), 0 0 0 3px #fff; }
.ap-tabs { position: absolute; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(3, 1fr); padding: 8px 6px 12px; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 18px rgba(16, 20, 24, 0.08); }
.ap-tabs > span:not(.mark) { display: grid; justify-items: center; gap: 2px; font-size: 11px; font-weight: 700; color: var(--muted); }
.ap-tabs > span.on { color: var(--blue); }
.ap-tabs svg { width: 20px; height: 20px; }
.ap-tabs .mark { position: absolute; right: 8px; top: -14px; width: 24px; height: 24px; font-size: 13px; margin: 0; }

/* ------------------------------------------------------------ kleine Anpassungen */
@media (max-width: 460px) {
  .compare__btn, .compare__view { padding: 0.75rem 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .compare__knob { transition: none; }
}

/* Echter Famoja-Screenshot im Nachher-Bild */
.ap-shot { position: relative; background: #1A103C; }
.ap-shot img { display: block; width: 100%; height: auto; }
.ap-shot .mark { position: absolute; width: 24px; height: 24px; font-size: 13px; margin: 0; }

/* ------------------------------------------------------------ Famoja Live-Demo */
.fd-phones { display: flex; flex-wrap: wrap; justify-content: center; gap: 40px; margin-top: 32px; }
.fd-phone { margin: 0; text-align: center; }
.fd-phone figcaption { margin-top: 12px; font-weight: 700; color: var(--muted); }
.fd-frame { width: 360px; height: 720px; max-width: calc(100vw - 32px); padding: 12px; border-radius: 44px; background: #0B0C10; box-shadow: inset 0 0 0 2px #2B2F3A, 0 24px 50px rgba(16, 20, 24, 0.25); }
.fd-screen { position: relative; width: 100%; height: 100%; border-radius: 33px; overflow: hidden; background: #1A103C; }
.fd-screen iframe { display: block; width: 100%; height: 100%; border: 0; }
.fd-start { position: absolute; inset: 0; padding: 0; border: 0; cursor: pointer; background: #1A103C; }
.fd-start img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: top; }
.fd-start::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgba(26, 16, 60, 0.75)); }
.fd-play { position: absolute; z-index: 1; left: 50%; bottom: 40px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; background: var(--orange); color: var(--ink); font: 700 1rem/1 var(--font); padding: 14px 24px; border-radius: 999px; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35); }
.fd-play svg { width: 18px; height: 18px; }
.fd-start:hover .fd-play, .fd-start:focus-visible .fd-play { background: var(--orange-soft); }
.fd-start:focus-visible { outline: 3px solid var(--orange); outline-offset: -3px; }
.fd-open { text-align: center; margin-top: 28px; }
.fd-note { max-width: 46rem; margin: 16px auto 0; text-align: center; color: var(--muted); font-size: 0.9rem; }
@media (max-width: 860px) {
  .fd-phones { display: none; }
}
@media (min-width: 861px) {
  .fd-open .btn { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
}
