{"id":2765,"date":"2026-10-07T19:00:52","date_gmt":"2026-10-07T17:00:52","guid":{"rendered":"https:\/\/mriri.art\/?page_id=2765"},"modified":"2026-11-09T18:27:06","modified_gmt":"2026-11-09T17:27:06","slug":"neue-startseite","status":"publish","type":"page","link":"https:\/\/mriri.art\/de\/","title":{"rendered":"Neue Startseite"},"content":{"rendered":"\n<style>\n\/* Isolated Home 3 draft. No theme settings or existing page styles are edited. *\/\nhtml:has(.mriri-home3) { background:#00071b; }\nbody:has(.mriri-home3) { margin:0; }\n.mriri-home3, .mriri-home3 * { box-sizing:border-box; }\n.mriri-home3 {\n  --ink:#00071b; --pink:#ff74e8;\n  position:relative; isolation:isolate; min-height:100svh;\n  overflow:hidden; background:var(--ink); color:#fff;\n  font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;\n}\n.mriri-home3 .art-stage { position:relative; height:100svh; min-height:540px; overflow:hidden; }\n.mriri-home3 .art-frame {\n  position:absolute; left:50%; top:50%;\n  width:max(108vw,192svh); height:max(60.75vw,108svh);\n  transform:translate(calc(-50% + var(--move-x,0px)),calc(-50% + var(--move-y,0px)));\n  will-change:transform;\n}\n.mriri-home3 .art-picture, .mriri-home3 .art-picture img { display:block; width:100%; height:100%; position:absolute; inset:0; }\n.mriri-home3 .art-picture img { object-fit:fill; }\n.mriri-home3 .eye-navigation { position:absolute; inset:0; }\n.mriri-home3 .eye {\n  position:absolute; width:10%; height:17%;\n  transform:translate(-50%,-50%); display:block;\n  color:#fff; text-decoration:none; background:none; border:0; padding:0;\n  cursor:pointer; -webkit-tap-highlight-color:transparent; font:inherit;\n}\n.mriri-home3 .eye-about { left:50.65%; top:34.55%; }\n.mriri-home3 .eye-shop { left:38.7%; top:49.3%; }\n.mriri-home3 .eye-sold { left:59.15%; top:49.1%; }\n.mriri-home3 .spiral {\n  position:absolute; inset:0; width:100%; height:100%; object-fit:contain;\n  filter:brightness(1.55) drop-shadow(0 0 7px #ff402bcc);\n  transition:filter .25s, transform .4s;\n}\n.mriri-home3 .eye-shop .spiral { transform:rotate(-14deg); }\n.mriri-home3 .eye-sold .spiral { transform:rotate(12deg); }\n.mriri-home3 .eye-caption {\n  position:absolute; top:50%; left:50%; transform:translate(-50%,-50%);\n  display:flex; align-items:center; justify-content:center; pointer-events:none;\n}\n.mriri-home3 .symbol { width:52px; height:48px; object-fit:contain; filter:brightness(1.85) drop-shadow(0 2px 3px #000) drop-shadow(0 0 5px #000); }\n.mriri-home3 .symbol.question { width:27px; height:52px; }\n.mriri-home3 .eye:hover .spiral, .mriri-home3 .eye:focus-visible .spiral { filter:brightness(2) drop-shadow(0 0 15px #ff40a9); }\n.mriri-home3 .eye:focus-visible { outline:2px solid #ffe2fa; outline-offset:7px; border-radius:50%; }\n.mriri-home3 .bottom-fade { position:absolute; bottom:0; width:100%; height:27%; pointer-events:none; background:linear-gradient(transparent,var(--ink)); }\n.mriri-home3 .immersive-footer {\n  position:absolute; bottom:0; left:0; width:100%; z-index:5;\n  display:flex; justify-content:space-between; align-items:flex-end; gap:20px;\n  padding:25px 40px 18px; font-size:11px; line-height:1.7;\n}\n.mriri-home3 .footer-section { color:#b1b4c1; }\n.mriri-home3 .footer-contact strong { color:#e5e5ee; font-weight:600; }\n.mriri-home3 .immersive-footer a { color:inherit; text-decoration:none; }\n.mriri-home3 .footer-right { display:flex; gap:20px; flex-wrap:wrap; justify-content:flex-end; }\n.mriri-home3 .footer-right a { text-transform:uppercase; letter-spacing:.5px; }\n.mriri-home3 .immersive-footer a:hover { color:#b9ffcb; }\n.mriri-home3 .immersive-footer a:focus-visible, .mriri-home3 button:focus-visible { outline:2px solid #fff; outline-offset:4px; }\n.mriri-home3 .draft-tools { position:absolute; top:20px; left:24px; right:24px; z-index:6; display:flex; align-items:center; justify-content:space-between; font-size:9px; letter-spacing:1.8px; color:#c9c5d5; }\n.mriri-home3 .draft-tools button { border:1px solid #ffffff40; background:#00071baa; border-radius:20px; color:#fff; padding:10px 14px; cursor:pointer; }\n.mriri-home3 .draft-dialog { width:min(420px,calc(100% - 40px)); padding:30px; background:#080d27; color:white; border:1px solid #ffffff40; border-radius:15px; }\n.mriri-home3 .draft-dialog::backdrop { background:#000b; backdrop-filter:blur(6px); }\n.mriri-home3 .draft-dialog h2 { font-size:21px; margin:0 0 14px; }\n.mriri-home3 .draft-dialog p { font-size:15px; line-height:1.6; }\n.mriri-home3 .draft-dialog button { background:#fff; color:#101326; padding:10px 20px; border:0; border-radius:20px; cursor:pointer; }\n.mriri-home3 .motion-controls {\n  position:absolute; top:max(16px,env(safe-area-inset-top)); left:16px; z-index:7;\n  width:190px; max-width:calc(100% - 160px); color:#e5e5ee;\n  font-size:11px; line-height:1.4;\n}\n.mriri-home3 .motion-controls[hidden] { display:none !important; }\n.mriri-home3 .motion-button {\n  min-height:44px; max-width:100%; padding:10px 13px; border-radius:22px;\n  border:1px solid #ffffff55; background:#00071bdd; color:#fff;\n  font:inherit; font-size:12px; cursor:pointer; touch-action:manipulation;\n}\n.mriri-home3 .motion-button:disabled { opacity:.7; cursor:wait; }\n.mriri-home3 .motion-status { display:block; margin-top:6px; text-shadow:0 1px 4px #000; }\n.mriri-home3 .motion-status:empty { display:none; }\n@media (orientation:portrait) {\n  .mriri-home3 .art-stage { height:calc(100svh - 118px); min-height:420px; }\n  .mriri-home3 .art-frame {\n    width:max(104vw,min(calc((100svh - 118px) * .851852),130vw));\n    height:auto; aspect-ratio:1840\/2160;\n  }\n  .mriri-home3 .art-picture { mask-image:linear-gradient(transparent,#000 9%,#000 88%,transparent); }\n  .mriri-home3 .eye { width:20.87%; height:17%; }\n  .mriri-home3 .eye-about { left:51.36%; }\n  .mriri-home3 .eye-shop { left:26.42%; }\n  .mriri-home3 .eye-sold { left:69.10%; }\n  .mriri-home3 .symbol { width:38px; height:36px; }\n  .mriri-home3 .symbol.question { width:20px; height:38px; }\n  .mriri-home3 .immersive-footer { position:relative; min-height:118px; flex-direction:column-reverse; align-items:center; text-align:center; justify-content:center; padding:12px 16px max(12px,env(safe-area-inset-bottom)); gap:12px; font-size:10px; }\n  .mriri-home3 .footer-right { justify-content:center; gap:6px 16px; }\n  .mriri-home3 .footer-right a { min-height:24px; display:inline-flex; align-items:center; }\n  .mriri-home3 .bottom-fade { bottom:118px; height:100px; }\n  .mriri-home3 .draft-tools { top:16px; left:16px; right:16px; }\n}\n@media (max-height:540px) and (orientation:landscape) {\n  .mriri-home3 .art-stage { min-height:420px; }\n  .mriri-home3 .art-frame { width:max(104vw,747px); height:max(58.5vw,420px); }\n  .mriri-home3 .immersive-footer { padding:12px 20px; font-size:10px; }\n  .mriri-home3 .footer-right { gap:10px; }\n}\n@media (prefers-reduced-motion:reduce) {\n  .mriri-home3 .art-frame { transform:translate(-50%,-50%) !important; will-change:auto; }\n  .mriri-home3 * { transition:none !important; }\n}\n\n<\/style>\n<style>\n.mriri-home3 .depth { transform:translate(calc(var(--move-x, 0px) * var(--factor)),calc(var(--move-y, 0px) * var(--factor))); will-change:transform; }\n.mriri-home3 .depth-0 { --factor:-.8; }\n.mriri-home3 .depth-1 { --factor:-.65; }\n.mriri-home3 .depth-2 { --factor:-.35; }\n.mriri-home3 .depth-3 { --factor:0; }\n.mriri-home3 .eye-navigation { transform:translate(calc(var(--move-x, 0px) * .2),calc(var(--move-y, 0px) * .2)); will-change:transform; }\n.mriri-home3 .eye-caption { transform:translate(calc(-50% + var(--move-x, 0px) * .4),calc(-50% + var(--move-y, 0px) * .4)); will-change:transform; }\n@media (prefers-reduced-motion:reduce) { .mriri-home3 .depth, .mriri-home3 .eye-navigation { transform:none !important; will-change:auto; } .mriri-home3 .eye-caption { transform:translate(-50%,-50%) !important; will-change:auto; } }\n<\/style>\n<style>\n\/* Only page 2765: never change the existing homepage or global Divi templates. *\/\nbody.page-id-2765 #main-content { background:#00071b; }\nbody.page-id-2765 #main-content > .container { width:100%; max-width:none; padding:0; }\nbody.page-id-2765 #left-area { width:100%; padding:0; float:none; }\nbody.page-id-2765 #main-content .container::before,\nbody.page-id-2765 .main_title { display:none; }\nbody.page-id-2765 .entry-content { padding:0; }\nbody.page-id-2765 .mriri-home3 img { max-width:none; }\nbody.page-id-2765 .mriri-home3 .immersive-footer { line-height:1.7; }\nbody.page-id-2765 .mriri-home3 .draft-dialog { margin:auto; }\nbody.page-id-2765 .mriri-home3 .draft-dialog h2 { color:white; }\nbody.page-id-2765.admin-bar .mriri-home3 .art-stage { height:calc(100svh - 32px); }\nbody.page-id-2765.admin-bar .mriri-home3 { min-height:calc(100svh - 32px); }\n@media (orientation:portrait) {\n  body.page-id-2765.admin-bar .mriri-home3 .art-stage { height:calc(100svh - 150px); }\n}\n@media (max-width:782px) {\n  body.page-id-2765.admin-bar .mriri-home3 .art-stage { height:calc(100svh - 46px); }\n  body.page-id-2765.admin-bar .mriri-home3 { min-height:calc(100svh - 46px); }\n}\n@media (max-width:782px) and (orientation:portrait) {\n  body.page-id-2765.admin-bar .mriri-home3 .art-stage { height:calc(100svh - 164px); }\n}\n\n<\/style>\n\n<!-- Separate draft based on the live homepage captured 2026-10-05.\n     Never replace the existing homepage automatically. -->\n<main class=\"mriri-home3\" id=\"mririHome3\">\n  <div class=\"draft-tools\" data-preview-only>\n    <span>HOME 3 \u00b7 ENTWURF<\/span>\n    <button type=\"button\" id=\"previewLanguage\" aria-label=\"Switch preview language to German\">EN \/ DE<\/button>\n  <\/div>\n  <div class=\"art-stage\" aria-label=\"Mriri Art\">\n    <div class=\"art-frame\">\n      <picture class=\"art-picture depth depth-0\">\n        <source media=\"(orientation: portrait)\" srcset=\"https:\/\/mriri.art\/wp-content\/uploads\/2026\/11\/layer-0-mobile.webp\">\n        <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/mriri.art\/wp-content\/uploads\/2026\/11\/layer-0.webp\" alt=\"\" width=\"1920\" height=\"1080\">\n      <\/picture>\n      <picture class=\"art-picture depth depth-1\">\n        <source media=\"(orientation: portrait)\" srcset=\"https:\/\/mriri.art\/wp-content\/uploads\/2026\/11\/layer-1-mobile.webp\">\n        <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/mriri.art\/wp-content\/uploads\/2026\/11\/layer-1.webp\" alt=\"\" width=\"1920\" height=\"1080\">\n      <\/picture>\n      <picture class=\"art-picture depth depth-2\">\n        <source media=\"(orientation: portrait)\" srcset=\"https:\/\/mriri.art\/wp-content\/uploads\/2026\/11\/layer-2-mobile.webp\">\n        <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/mriri.art\/wp-content\/uploads\/2026\/11\/layer-2.webp\" alt=\"\" width=\"1920\" height=\"1080\">\n      <\/picture>\n      <picture class=\"art-picture depth depth-3\">\n        <source media=\"(orientation: portrait)\" srcset=\"https:\/\/mriri.art\/wp-content\/uploads\/2026\/11\/layer-3-mobile.webp\">\n        <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/mriri.art\/wp-content\/uploads\/2026\/11\/layer-3.webp\" alt=\"\" width=\"1920\" height=\"1080\">\n      <\/picture>\n      <nav class=\"eye-navigation\" aria-label=\"Main navigation\">\n        <a class=\"eye eye-about\" href=\"https:\/\/mriri.art\/about\/\" aria-label=\"About Me\">\n          <img loading=\"lazy\" decoding=\"async\" class=\"spiral\" src=\"https:\/\/mriri.art\/wp-content\/uploads\/2026\/10\/spiral.webp\" width=\"420\" height=\"463\" alt=\"\">\n          <span class=\"eye-caption\" aria-hidden=\"true\"><img loading=\"lazy\" decoding=\"async\" class=\"symbol question\" src=\"https:\/\/mriri.art\/wp-content\/uploads\/2026\/10\/question.webp\" width=\"170\" height=\"319\" alt=\"\"><\/span>\n        <\/a>\n        <a class=\"eye eye-shop\" href=\"https:\/\/mriri.art\/product-category\/art-prints\/?mriri_type=all&amp;mriri_stock=available\" aria-label=\"Available artworks\">\n          <img loading=\"lazy\" decoding=\"async\" class=\"spiral\" src=\"https:\/\/mriri.art\/wp-content\/uploads\/2026\/10\/spiral.webp\" width=\"420\" height=\"463\" alt=\"\">\n          <span class=\"eye-caption\" aria-hidden=\"true\"><img loading=\"lazy\" decoding=\"async\" class=\"symbol check\" src=\"https:\/\/mriri.art\/wp-content\/uploads\/2026\/10\/check.webp\" width=\"280\" height=\"192\" alt=\"\"><\/span>\n        <\/a>\n        <!-- Dynamic collection matching the existing SOLD badges. -->\n        <a class=\"eye eye-sold\" href=\"https:\/\/mriri.art\/product-category\/art-prints\/?mriri_type=all&amp;mriri_stock=sold\" aria-label=\"Sold\">\n          <img loading=\"lazy\" decoding=\"async\" class=\"spiral\" src=\"https:\/\/mriri.art\/wp-content\/uploads\/2026\/10\/spiral.webp\" width=\"420\" height=\"463\" alt=\"\">\n          <span class=\"eye-caption\" aria-hidden=\"true\"><img loading=\"lazy\" decoding=\"async\" class=\"symbol cross\" src=\"https:\/\/mriri.art\/wp-content\/uploads\/2026\/10\/cross.webp\" width=\"240\" height=\"197\" alt=\"\"><\/span>\n        <\/a>\n      <\/nav>\n    <\/div>\n  <\/div>\n  <div class=\"motion-controls\" hidden data-no-translation>\n    <button type=\"button\" class=\"motion-button\" aria-describedby=\"mririMotionStatus\" aria-pressed=\"false\">Enable motion<\/button>\n    <span id=\"mririMotionStatus\" class=\"motion-status\" role=\"status\" aria-live=\"polite\"><\/span>\n  <\/div>\n  <div class=\"bottom-fade\" aria-hidden=\"true\"><\/div>\n  <footer class=\"immersive-footer\">\n    <div class=\"footer-section footer-left\">\n      <div class=\"footer-contact\">\n        <strong>Robin Reithmayr<\/strong> | R\u00f6tzergasse 56\/17, 1170 Wien, AT<br>\n        <a href=\"mailto:info@mriri.art\">info@mriri.art<\/a> | <a href=\"tel:+436506036277\">+43 650 6036277<\/a>\n      <\/div>\n    <\/div>\n    <div class=\"footer-section footer-right\">\n      <a href=\"https:\/\/mriri.art\/imprint\/\" title=\"Imprint\">Imprint<\/a>\n      <a href=\"https:\/\/mriri.art\/terms-and-conditions\/\" title=\"Terms\">AGB\/Terms<\/a>\n      <a href=\"https:\/\/mriri.art\/privacy-policy\" title=\"Privacy\">Privacy<\/a>\n      <a href=\"https:\/\/mriri.art\/right-of-withdrawal\/\" title=\"Withdrawal\">Withdrawal<\/a>\n      <a href=\"https:\/\/www.instagram.com\/mriri_art\" target=\"_blank\" rel=\"noopener\">Instagram<\/a>\n    <\/div>\n  <\/footer>\n<\/main>\n<script>\n(() => {\n  'use strict';\n  const root = document.getElementById('mririHome3');\n  if (!root) return;\n  const frame = root.querySelector('.art-frame');\n  const stage = root.querySelector('.art-stage');\n  const reduce = matchMedia('(prefers-reduced-motion: reduce)');\n  const fine = matchMedia('(pointer: fine) and (hover: hover) and (orientation: landscape)');\n  const touch = matchMedia('(any-pointer: coarse)');\n  const portrait = matchMedia('(orientation: portrait)');\n  const controls = root.querySelector('.motion-controls');\n  const motionButton = root.querySelector('.motion-button');\n  const motionStatus = root.querySelector('.motion-status');\n  const orientationAPI = window.DeviceOrientationEvent;\n  const needsPermission = typeof orientationAPI?.requestPermission === 'function';\n  let motionState = 'ready', permissionGranted = !needsPermission;\n  let listening = false, pausedByUser = false, baseline = null, sensorTimer = null, permissionAttempt = 0;\n  let x = 0, y = 0, tx = 0, ty = 0, vx = 0, vy = 0, raf = null, lastTime = 0;\n  function animate(time) {\n    const dt = lastTime ? Math.min((time - lastTime) \/ 16.667, 2) : 1;\n    lastTime = time;\n    const steps = Math.max(1, Math.ceil(dt));\n    const step = dt \/ steps;\n    for (let i = 0; i < steps; i++) {\n      vx = (vx + (tx - x) * .11 * step) * Math.pow(.76, step);\n      vy = (vy + (ty - y) * .11 * step) * Math.pow(.76, step);\n      x += vx * step; y += vy * step;\n    }\n    const moving = Math.abs(tx - x) + Math.abs(ty - y) + Math.abs(vx) + Math.abs(vy) > .04;\n    if (!moving) { x = tx; y = ty; vx = vy = 0; lastTime = 0; }\n    frame.style.setProperty('--move-x', `${x.toFixed(2)}px`);\n    frame.style.setProperty('--move-y', `${y.toFixed(2)}px`);\n    raf = moving ? requestAnimationFrame(animate) : null;\n  }\n  function move(nx, ny) { tx = nx; ty = ny; if (!raf) raf = requestAnimationFrame(animate); }\n  stage.addEventListener('pointermove', event => {\n    if (reduce.matches || !fine.matches || listening || event.pointerType === 'touch') return;\n    const rect = stage.getBoundingClientRect();\n    \/\/ Stronger spring motion; keep overshoot safely within the artwork's bleed.\n    \/\/ Artwork, spirals, symbols and hit areas remain one aligned moving layer.\n    const maxX = Math.min(52, Math.max(0, (frame.offsetWidth - stage.clientWidth) \/ 2 - 4) * .7);\n    const maxY = Math.min(38, Math.max(0, (frame.offsetHeight - stage.clientHeight) \/ 2 - 4) * .7);\n    move((Math.max(0, Math.min(1, (event.clientX - rect.left) \/ rect.width)) * 2 - 1) * maxX,\n         (Math.max(0, Math.min(1, (event.clientY - rect.top) \/ rect.height)) * 2 - 1) * maxY);\n  });\n  stage.addEventListener('pointerleave', () => { if (!listening) move(0, 0); });\n  function resetMotion() {\n    if (raf) cancelAnimationFrame(raf);\n    x = y = tx = ty = vx = vy = lastTime = 0; raf = null;\n    frame.style.setProperty('--move-x', '0px');\n    frame.style.setProperty('--move-y', '0px');\n  }\n  function eligible() { return touch.matches && !reduce.matches && window.isSecureContext && !!orientationAPI; }\n  function renderMotionControls() {\n    controls.hidden = !touch.matches || !window.isSecureContext || !orientationAPI || reduce.matches;\n    const de = language === 'de';\n    const active = listening;\n    motionButton.textContent = active ? (de ? 'Bewegung pausieren' : 'Pause motion')\n      : motionState === 'requesting' ? (de ? 'Freigabe \u2026' : 'Requesting \u2026')\n      : (de ? 'Bewegung aktivieren' : 'Enable motion');\n    motionButton.disabled = motionState === 'requesting';\n    motionButton.setAttribute('aria-pressed', String(active));\n    const messages = {\n      ready: de ? 'Durch Neigen des Handys bewegen.' : 'Move the artwork by tilting your phone.',\n      requesting: de ? 'Bitte Zugriff auf Bewegung erlauben.' : 'Please allow motion access.',\n      waiting: de ? 'Handy bequem halten und leicht neigen.' : 'Hold your phone comfortably and tilt it gently.',\n      active: '', paused: '',\n      denied: de ? 'Nicht freigegeben. Die Links funktionieren auch ohne Bewegung.' : 'Permission not granted. Links still work without motion.',\n      unavailable: de ? 'Keine Sensordaten. Ggf. in Safari oder Chrome \u00f6ffnen und Sensorzugriff erlauben.' : 'No sensor data. Try Safari or Chrome with motion access allowed.'\n    };\n    motionStatus.textContent = messages[motionState] || '';\n  }\n  function stopSensors() {\n    window.removeEventListener('deviceorientation', onTilt);\n    listening = false; baseline = null;\n    clearTimeout(sensorTimer); sensorTimer = null;\n    resetMotion();\n  }\n  function screenAngle() { return window.screen?.orientation?.angle ?? window.orientation ?? 0; }\n  function angleDelta(value, origin) { return ((value - origin + 540) % 360) - 180; }\n  function onTilt(event) {\n    if (!listening || !eligible() || document.hidden) return;\n    if (!Number.isFinite(event.beta) || !Number.isFinite(event.gamma)) return;\n    const angle = screenAngle();\n    if (!baseline || baseline.angle !== angle) {\n      baseline = { beta:event.beta, gamma:event.gamma, angle };\n      clearTimeout(sensorTimer); sensorTimer = null;\n      motionState = 'active'; renderMotionControls();\n      move(0, 0); return;\n    }\n    const radians = angle * Math.PI \/ 180;\n    const gamma = angleDelta(event.gamma, baseline.gamma);\n    const beta = angleDelta(event.beta, baseline.beta);\n    const clamp = value => Math.max(-1, Math.min(1, value \/ 22));\n    const nx = clamp(gamma * Math.cos(radians) + beta * Math.sin(radians));\n    const ny = clamp(beta * Math.cos(radians) - gamma * Math.sin(radians));\n    \/\/ Conservative travel leaves room for the damped spring's overshoot.\n    const maxX = Math.min(18, Math.max(0, (frame.offsetWidth - stage.clientWidth) \/ 2 - 4) * .45);\n    \/\/ Portrait artwork deliberately fades into the surrounding background.\n    const maxY = portrait.matches ? 14 : Math.min(14, Math.max(0, (frame.offsetHeight - stage.clientHeight) \/ 2 - 4) * .45);\n    move(nx * maxX, ny * maxY);\n  }\n  function startSensors() {\n    stopSensors();\n    if (!eligible() || document.hidden || pausedByUser || !permissionGranted) return;\n    listening = true; motionState = 'waiting';\n    window.addEventListener('deviceorientation', onTilt, { passive:true });\n    sensorTimer = setTimeout(() => {\n      stopSensors(); motionState = 'unavailable'; renderMotionControls();\n    }, 5000);\n    renderMotionControls();\n  }\n  function syncSensors() {\n    if (!eligible() || document.hidden) { stopSensors(); renderMotionControls(); return; }\n    if (permissionGranted && !pausedByUser && !['denied','unavailable','requesting'].includes(motionState)) startSensors();\n    else renderMotionControls();\n  }\n  motionButton.addEventListener('click', async () => {\n    if (listening) {\n      pausedByUser = true; stopSensors(); motionState = 'paused'; renderMotionControls(); return;\n    }\n    if (!eligible() || motionState === 'requesting') return;\n    pausedByUser = false;\n    if (needsPermission && !permissionGranted) {\n      const attempt = ++permissionAttempt;\n      motionState = 'requesting'; renderMotionControls();\n      try {\n        \/\/ Called directly in the click handler: required by iPhone Safari.\n        const result = await orientationAPI.requestPermission();\n        if (attempt !== permissionAttempt) return;\n        permissionGranted = result === 'granted';\n        if (!permissionGranted) { motionState = 'denied'; renderMotionControls(); return; }\n      } catch (_) {\n        if (attempt !== permissionAttempt) return;\n        motionState = 'denied'; renderMotionControls(); return;\n      }\n    }\n    motionState = 'ready'; startSensors(); renderMotionControls();\n  });\n  reduce.addEventListener('change', () => { resetMotion(); syncSensors(); });\n  touch.addEventListener('change', syncSensors);\n  fine.addEventListener('change', resetMotion);\n  addEventListener('resize', () => { baseline = null; resetMotion(); });\n  addEventListener('orientationchange', () => { baseline = null; resetMotion(); });\n  document.addEventListener('visibilitychange', syncSensors);\n  let language = document.documentElement.lang.startsWith('de') ? 'de' : 'en';\n  function localize() {\n    root.querySelectorAll('[data-en]').forEach(el => { el.textContent = el.dataset[language]; });\n    root.querySelector('.eye-about').setAttribute('aria-label', language === 'de' ? '\u00dcber mich' : 'About Me');\n    root.querySelector('.eye-shop').setAttribute('aria-label', language === 'de' ? 'Verf\u00fcgbare Kunstwerke' : 'Available artworks');\n    root.querySelector('.eye-sold').setAttribute('aria-label', language === 'de' ? 'Verkauft' : 'Sold');\n    root.querySelector('.eye-navigation').setAttribute('aria-label', language === 'de' ? 'Hauptnavigation' : 'Main navigation');\n    const button = root.querySelector('#previewLanguage');\n    button.textContent = language === 'de' ? 'DE \/ EN' : 'EN \/ DE';\n    button.setAttribute('aria-label', language === 'de' ? 'Switch preview language to English' : 'Vorschausprache auf Deutsch wechseln');\n    renderMotionControls();\n  }\n  localize();\n  \/\/ Preview switch only. On WordPress, TranslatePress owns language routing.\n  const local = ['localhost','127.0.0.1',''].includes(location.hostname);\n  root.querySelector('[data-preview-only]').hidden = !local;\n  if (!local) root.querySelector('[data-preview-only]').style.display = 'none';\n  root.querySelector('#previewLanguage').addEventListener('click', () => {\n    language = language === 'en' ? 'de' : 'en';\n    document.documentElement.lang = language;\n    localize();\n  });\n  syncSensors();\n  addEventListener('pagehide', () => { ++permissionAttempt; stopSensors(); if (motionState === 'requesting') motionState = 'ready'; });\n  addEventListener('pageshow', syncSensors);\n})();\n\n<\/script>\n\n","protected":false},"excerpt":{"rendered":"<p>HOME 3 \u00b7 ENTWURF EN \/ DE Enable motion Robin Reithmayr | R\u00f6tzergasse 56\/17, 1170 Wien, AT info@mriri.art | +43 650 6036277 Imprint AGB\/Terms Privacy Withdrawal Instagram<\/p>","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"page-template-blank.php","meta":{"_et_pb_use_builder":"off","_et_pb_old_content":"","_et_gb_content_width":"1080","_jetpack_hide_featured_image":false,"_jetpack_featured_image_duplicate_dismissed":0,"footnotes":""},"class_list":["post-2765","page","type-page","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/mriri.art\/de\/wp-json\/wp\/v2\/pages\/2765","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mriri.art\/de\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/mriri.art\/de\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/mriri.art\/de\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mriri.art\/de\/wp-json\/wp\/v2\/comments?post=2765"}],"version-history":[{"count":11,"href":"https:\/\/mriri.art\/de\/wp-json\/wp\/v2\/pages\/2765\/revisions"}],"predecessor-version":[{"id":2917,"href":"https:\/\/mriri.art\/de\/wp-json\/wp\/v2\/pages\/2765\/revisions\/2917"}],"wp:attachment":[{"href":"https:\/\/mriri.art\/de\/wp-json\/wp\/v2\/media?parent=2765"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}