/* Mobile layout v70. Loaded after the desktop stylesheet. */

.mobile-season,.mobile-admin-trigger{display:none}
@media(max-width:760px){
  body{overflow-x:hidden;overflow-y:auto}
  .experience,.experience.newsletter-is-open{display:flex;flex-direction:column;justify-content:flex-start;align-items:center;min-height:100svh;padding:24px 14px 28px;overflow:visible}
  .frame{width:100%;max-width:520px;flex:0 0 auto}
  .frame>#screen{height:calc(48px + clamp(360px,105vw,520px) + 228px);min-height:0}
  #screen .topline{height:48px;padding:0 16px;justify-content:center;background:#101014b3}
  .topline-brand::after{content:"SASCHA KRAFT";color:#d9d0d5;font:12px "DM Mono",monospace;letter-spacing:.23em}
  #screen .topline .status{display:none}
  #screen.portfolio-mode .topline-brand{display:none}
  #screen .view,#screen.toolbar-open .view,#screen.toolbar-hovered .view{inset:48px 0 228px}
  #screen .navigation,#screen.toolbar-open .navigation,#screen.toolbar-hovered .navigation{bottom:64px;height:164px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,1fr);gap:8px;padding:8px;background:#111014;border-top:1px solid #382831}
  #screen .navigation .nav-item[data-page]{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;padding:8px;border:1px solid #40343c;background:linear-gradient(145deg,#242226,#121215);font:11px "DM Mono",monospace;letter-spacing:.025em;min-height:64px}
  #screen .navigation .nav-item[data-page].active{background:linear-gradient(145deg,#4b172b,#27111b);border-color:#a33b58}
  #screen .navigation .nav-item::before{display:none}
  #screen .navigation .nav-item::after{content:"";order:-1;width:25px;height:25px;background:center/contain no-repeat}
  #screen .navigation #admin-open,#screen .navigation .nav-timer{display:none}
  #screen .utility-toolbar--clean,#screen.toolbar-open .utility-toolbar,#screen.toolbar-hovered .utility-toolbar{height:64px;bottom:0;background:#131116;border-top:1px solid #382831}
  #screen .utility-toolbar--clean .utility-toolbar-content{position:static;height:64px;display:flex;align-items:center;padding:10px 14px;opacity:1;visibility:visible;pointer-events:auto;transform:none}
  .utility-toolbar--clean .speed-setting,.utility-toolbar--clean .season-selector,.utility-toolbar--clean .toolbar-copyright{display:none}
  .mobile-season{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;font:13px Manrope,sans-serif;color:#d9cfd5}
  .mobile-season select{width:142px;min-height:44px;padding:8px 10px;background:#141216;color:#e4dce1;border:1px solid #51404a;font:14px Manrope,sans-serif}
  .newsletter-trigger{top:calc(100% + 10px);left:0;transform:none;width:100%;height:44px;padding:10px;font:14px Manrope,sans-serif;background:linear-gradient(145deg,#451527,#2a111c);border:1px solid #743046}
  .privacy-trigger,.mobile-admin-trigger{position:absolute;display:block;top:calc(100% + 68px);height:44px;width:33.333%;padding:10px 2px;border:0;border-top:1px solid #40313a;border-bottom:1px solid #40313a;background:#121014;color:#c9bac2;font:11px Manrope,sans-serif;cursor:pointer}
  .imprint-trigger{left:0;right:auto}.privacy-trigger:not(.imprint-trigger){right:0;left:auto}
  .mobile-admin-trigger{left:33.333%;border-right:1px solid #40313a;border-left:1px solid #40313a}
  .mobile-admin-trigger:hover,.mobile-admin-trigger[aria-current="page"]{background:#451527;color:#fff0f5}
  #visitor-tile{position:relative!important;left:auto!important;top:auto!important;bottom:auto!important;flex:0 0 auto;align-self:center;width:112px!important;height:36px!important;margin-top:calc(130px + var(--mobile-newsletter-height,0px));perspective:none}
  #visitor-tile .visitor-reveal .visitor-label,#visitor-tile .visitor-reveal [data-views]{font-size:12px}
  .newsletter-slot{top:calc(100% + 120px);left:50%;width:100%}
  .newsletter-slot .newsletter-drawer{padding:16px;overflow-x:hidden}
  .newsletter-row{min-width:0;display:grid;grid-template-columns:1fr auto;align-items:start;gap:12px}
  .newsletter-row .newsletter-modes{grid-column:1;grid-row:1;height:44px}
  .newsletter-row .newsletter-modes button{font-size:13px;padding:10px 14px;min-height:44px}
  .newsletter-row .admin-screen-close{grid-column:2;grid-row:1;width:32px;height:44px}
  .newsletter-row #newsletter-form{grid-column:1 / -1;grid-row:2;display:flex;flex-direction:column;align-items:stretch;gap:12px}
  .newsletter-row .stats-field{flex:0 0 auto;min-width:0;width:100%}
  .newsletter-row .stats-field .newsletter-field-label{position:static;width:auto;height:auto;clip:auto;overflow:visible;white-space:normal;margin:0 0 6px;font-size:12px}
  .newsletter-row input:not([type=checkbox]){height:44px;min-height:44px;font-size:16px;padding:10px}
  .newsletter-row .newsletter-consent{flex:0 0 auto;width:100%;font-size:12px;gap:9px;min-height:36px}
  .newsletter-row .newsletter-consent input{width:18px;height:18px}
  .newsletter-row #newsletter-submit{flex:0 0 auto;width:100%;height:44px;font-size:13px}
  #admin-screen,#stats-screen{inset:48px 0 228px}
  .admin-screen-body{padding:46px 12px 18px}
  .admin-screen input,.admin-screen textarea,.admin-screen select,.contact-content input,.contact-content textarea{font-size:16px!important}
  .admin-tabs{gap:5px}.admin-tabs button{min-height:44px;padding:8px!important;font-size:11px!important}
  .contact-content{height:100%;max-height:100%;padding:14px;overflow-y:auto}
  .contact-content .contact-form{min-height:0}
  .scene-weather,.home-stars,.moon-reflection,.scanline,.charge-border{display:none!important}
  .home-space::before{display:none!important}
  .home-brand,.brand-logo{animation:none!important}
  .wall::after{animation:none;display:none}
  .cinema-gallery .gallery-arrow,.cinema-gallery #cinema-open{min-height:44px;min-width:44px}
  .corner-note{display:none}
}
@media(max-width:760px){#screen .navigation .nav-item[data-page="home"]::after{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23d9d1d6%22%20stroke-width%3D%221.4%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%2011%2012%203l9%208M5%2010v11h5v-6h4v6h5V10%22/%3E%3C/svg%3E")}}
@media(max-width:760px){#screen .navigation .nav-item[data-page="about"]::after{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23d9d1d6%22%20stroke-width%3D%221.4%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%227%22%20r%3D%224%22/%3E%3Cpath%20d%3D%22M4%2022v-3a8%208%200%200%201%2016%200v3Z%22/%3E%3C/svg%3E")}}
@media(max-width:760px){#screen .navigation .nav-item[data-page="portfolio"]::after{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23d9d1d6%22%20stroke-width%3D%221.4%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M2%206h8l2%203h10v12H2Z%22/%3E%3C/svg%3E")}}
@media(max-width:760px){#screen .navigation .nav-item[data-page="contact"]::after{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23d9d1d6%22%20stroke-width%3D%221.4%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%222%22%20y%3D%225%22%20width%3D%2220%22%20height%3D%2215%22%20rx%3D%221%22/%3E%3Cpath%20d%3D%22m2%206%2010%208L22%206%22/%3E%3C/svg%3E")}}

@media(max-width:760px){.page.is-home .home-stars,.seam-lights{display:none!important}.home-space{transform:none!important;will-change:auto!important}.privacy-trigger:focus-visible,.mobile-admin-trigger:focus-visible{outline:2px solid #c66582;outline-offset:2px}}

@media(max-width:760px){
  #screen{width:100%;max-width:none;transform:none;}
  #screen .navigation .nav-item[data-page]{width:auto;height:auto;grid-column:auto;grid-row:auto;}
  #screen .utility-toolbar-content::before,#screen .utility-toolbar-content::after{display:none;}
  #page.is-home .home-brand{width:100px;height:100px;flex:0 0 auto;}
  #page.is-home #page-kicker{max-width:calc(100% - 20px);font-size:8px;letter-spacing:.18em;white-space:normal;}
  #visitor-tile{right:auto!important;transform:none!important;max-width:100%;}
  #portfolio-categories{max-width:100%;overflow-x:auto;flex-wrap:nowrap;scrollbar-width:thin;}
  #portfolio-categories .category-tab{flex:0 0 auto;min-height:44px;}
}

/* v74: mobile drawer sits below its button; legal links move beneath it. */
@media(max-width:760px){
  #newsletter-slot{top:calc(100% + 64px);padding-top:0;width:100%;}
  .frame>.privacy-trigger,.frame>.mobile-admin-trigger{top:calc(100% + 68px + var(--mobile-newsletter-height,0px));}
}
