/* ============================================================
   MOBILE NAVIGATION
   ============================================================ */
.mobile-toggle {
  display: none;
  position: fixed; bottom: 2rem; left: 50%; transform: translateX(-50%);
  z-index: 44;
  background: rgba(14,14,20,.85);
  border: 1px solid var(--border); color: var(--text-muted);
  font-size: .6rem; font-weight: 400;
  letter-spacing: .2em; text-transform: uppercase;
  padding: .8rem 2rem; border-radius: 100px;
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  transition: all .3s ease;
}
.mobile-toggle:hover { background: rgba(20,20,30,.9); color: var(--text) }

.mobile-sheet {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 41;
  background: linear-gradient(to top, rgba(8,8,14,.98), rgba(8,8,14,.95));
  border-top: 1px solid var(--border);
  padding: 1.2rem 1.5rem calc(env(safe-area-inset-bottom) + 5.4rem);
  transform: translateY(100%);
  transition: transform .5s var(--ease-expo);
  backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px);
}
.mobile-sheet.open { transform: translateY(0) }
.mobile-sheet.dragging { transition: none; }
.mobile-sheet.arming { pointer-events: none; }

.mobile-handle {
  width: 28px; height: 2px;
  background: rgba(255,255,255,.12); border-radius: 2px;
  margin: 0 auto 1.2rem;
}

.mobile-nav-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem }

.mobile-nav-item {
  display: flex; align-items: center; gap: .8rem;
  padding: .9rem 1rem;
  background: var(--surface); border: 1px solid var(--border); border-radius: 2px;
  font-size: .7rem; font-weight: 400; letter-spacing: .12em; color: var(--text);
  transition: all .3s ease;
}
.mobile-nav-item:hover, .mobile-nav-item:focus-visible {
  background: var(--surface-hover); border-color: var(--border-light);
}

.mobile-nav-dot {
  width: 5px; height: 5px;
  background: var(--star); border-radius: 50%;
  box-shadow: 0 0 5px rgba(240,234,212,.3); flex-shrink: 0;
}

.mobile-nav-numeral {
  font-family: var(--serif); font-size: .6rem;
  color: var(--accent); opacity: .4; min-width: 1.2rem;
}

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */
@media (max-width: 768px) {
  .star-hotspot { display: none }
  .constellation-web { display: none }
  .constellation-overlay { display: none }
  .mobile-toggle { display: block }
  .mobile-sheet { display: block }
  /* B-014: Show ticker above mobile-toggle, simplified style */
  .star-ticker { bottom: 4.5rem; border-top: none; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; justify-content: center; padding: .4rem 1rem; }
  .ticker-label { display: none }
  .ticker-fact {
    max-width: 94vw;
    padding: 0;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }
  .scroll-hint { display: none }
  .custom-cursor { display: none }
  .cursor-glow { display: none }
  body { cursor: default }
  a, button { cursor: pointer }

  .dive-inner {
    max-width: 100%;
    justify-content: flex-start;
    height: 100svh;
    min-height: 100svh;
    height: 100dvh;
    min-height: 100dvh;
    padding: 4.2rem 1rem calc(env(safe-area-inset-bottom) + 5.2rem);
  }
  .dive-inner.hub-mode { padding: 0; }
  .dive-inner.hub-mode {
    height: 100dvh;
    min-height: 100dvh;
    max-height: 100dvh;
    overflow: hidden;
  }
  .dive-inner.panel-mode .panel-window {
    width: 100%;
    border-left: none;
    border-right: none;
    border-radius: 0;
    box-shadow: none;
  }
  .dive-inner.panel-mode .panel-window-scroll {
    padding: 1rem .4rem calc(env(safe-area-inset-bottom) + 6rem);
  }
  .dive-inner.panel-mode.dive-inner--testimonials {
    padding: 0;
    height: 100dvh;
    min-height: 100dvh;
  }
  .dive-inner.panel-mode.dive-inner--testimonials .panel-window--testimonials .panel-window-scroll {
    padding: 0;
    overflow: hidden;
  }
  .dive-inner.panel-mode.dive-inner--lounge-preview {
    padding: 0;
    height: 100dvh;
    min-height: 100dvh;
  }
  .dive-inner.panel-mode.dive-inner--lounge-preview .panel-window--lounge-preview .panel-window-scroll {
    padding: 0;
    overflow: hidden;
  }
  .dive-inner.panel-mode.dive-inner--faq {
    padding: 0;
    height: 100dvh;
    min-height: 100dvh;
  }
  .dive-inner.panel-mode.dive-inner--faq .panel-window--faq .panel-window-scroll {
    padding: 0;
    overflow: hidden;
  }
  .panel-window--portfolio .panel-window-scroll {
    padding: 0;
  }
  .section-panel--portfolio {
    width: 100%;
    min-height: 100%;
  }
  .panel-title--portfolio {
    left: 50%;
    top: calc(env(safe-area-inset-top) + 4.4rem);
    font-size: clamp(1.45rem, 7vw, 2.15rem);
    letter-spacing: .15em;
    transform: translateX(-50%) !important;
  }
  .dive-inner.panel-mode.dive-inner--story-paged {
    padding: 0;
    height: 100dvh;
    min-height: 100dvh;
    max-height: 100dvh;
  }
  .dive-inner.panel-mode.dive-inner--story-paged .panel-window--paged {
    width: 100%;
    max-width: none;
    height: 100%;
  }
  .dive-inner.panel-mode.dive-inner--story-paged .panel-window--paged .panel-window-scroll {
    height: 100%;
    padding: 0 clamp(.45rem, 2.4vw, .95rem);
    overflow: hidden;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .story-pager {
    height: 100%;
    min-height: 0;
  }
  .story-pager.story-pager--mobile-fixed {
    display: grid;
    grid-template-rows: var(--story-header-h, 74px) minmax(0, var(--story-body-h, 1fr)) auto;
    align-items: stretch;
    height: 100%;
    min-height: 100%;
    max-height: 100%;
  }
  .story-pager.story-pager--mobile-fixed .story-pages {
    grid-row: 2;
    height: 100%;
    max-height: 100%;
    min-height: 0;
    opacity: 1;
    transform: translateY(0);
    transition: opacity .34s cubic-bezier(.22, 1, .36, 1), transform .34s cubic-bezier(.22, 1, .36, 1);
  }
  .story-pager.story-pager--mobile-fixed .story-pages.is-transitioning {
    opacity: 0;
    transform: translateY(6px);
    pointer-events: none;
    transition-duration: .22s;
  }
  .story-pager.story-pager--mobile-fixed .story-pages.is-transitioning-in {
    opacity: 1;
    transform: translateY(0);
    transition-duration: .34s;
  }
  .story-pager.story-pager--mobile-fixed .story-page,
  .story-pager.story-pager--mobile-fixed .story-page.active {
    height: 100%;
    max-height: 100%;
  }
  .story-pager.story-pager--mobile-fixed .story-page.active {
    overflow-y: auto;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
    padding-right: .15rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .story-pager.story-pager--mobile-fixed .story-page.active::-webkit-scrollbar {
    width: 0;
    height: 0;
  }
  .story-controls {
    gap: .45rem;
  }
  .story-pager.story-pager--mobile-fixed .story-controls {
    grid-row: 3;
    position: static;
    z-index: 4;
    margin-top: 0;
    padding-top: .45rem;
    padding-bottom: calc(env(safe-area-inset-bottom) + .45rem);
    margin-bottom: calc(var(--story-footer-clearance, 72px) - var(--story-footer-h, 56px));
    border-top: 1px solid rgba(196, 169, 106, .2);
    background: linear-gradient(to bottom, rgba(7,7,11,0), rgba(7,7,11,.82) 38%, rgba(7,7,11,.96) 100%);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
  }
  .story-btn {
    min-width: 0;
    flex: 1;
    height: 32px;
    padding: 0 .55rem;
    font-size: .52rem;
    letter-spacing: .12em;
  }
  .story-progress {
    min-width: 3.3rem;
    text-align: center;
    font-size: .52rem;
  }
  .panel-window--fixed .experience-cards { gap: .55rem; }
  .panel-window--fixed .exp-card { padding: .85rem; }
  .packages-experience-layout {
    grid-template-columns: 1fr;
    gap: .75rem;
  }
  .package-star-map {
    min-height: 238px;
    border-radius: 24px;
  }
  .package-node {
    width: 52px;
    height: 52px;
  }
  .package-node-label-wrap {
    min-width: 88px;
  }
  .package-node-label {
    font-size: .74rem;
    line-height: 1.08;
  }
  .package-node-hours {
    font-size: .48rem;
    letter-spacing: .15em;
  }
  .package-node-leader {
    opacity: .62;
  }
  .package-line {
    stroke-width: .5;
  }
  .package-node-tooltip {
    min-width: 108px;
    padding: .32rem .42rem;
  }
  .package-node-tooltip-title {
    font-size: .56rem;
  }
  .package-node-tooltip-hours,
  .package-node-tooltip-price {
    font-size: .47rem;
  }
  .package-detail-panel {
    min-height: 0;
    border-radius: 22px;
    padding: .95rem .9rem;
  }
  .package-detail-title {
    font-size: clamp(1.3rem, 7.4vw, 1.75rem);
  }
  .package-detail-short {
    font-size: .82rem;
    margin-bottom: .75rem;
  }
  .package-detail-price {
    font-size: 1.16rem;
    margin-bottom: .7rem;
  }
  .package-detail-list li {
    font-size: .7rem;
  }
  .package-detail-actions {
    flex-direction: column;
  }
  .package-detail-btn {
    width: 100%;
    justify-content: center;
    display: inline-flex;
    align-items: center;
  }
  .package-note { font-size: .68rem !important; }
  .package-link a { font-size: .66rem; }
  .testimonial-starfield {
    width: 100%;
  }
  .detail-view--testimonials .panel-badge,
  .detail-view--testimonials .panel-title,
  .detail-view--testimonials .panel-subtitle {
    left: 50%;
    transform: translate(-50%, 18px);
    width: min(92vw, 30rem);
    text-align: center;
  }
  .detail-view--testimonials .panel-badge {
    top: calc(env(safe-area-inset-top) + 3.7rem);
    justify-content: center;
  }
  .detail-view--testimonials .panel-title { top: calc(env(safe-area-inset-top) + 5.1rem); }
  .detail-view--testimonials .panel-subtitle {
    top: calc(env(safe-area-inset-top) + 8rem);
    max-width: 90vw;
  }
  .detail-view--testimonials.active .panel-badge,
  .detail-view--testimonials.active .panel-title,
  .detail-view--testimonials.active .panel-subtitle {
    transform: translate(-50%, 0);
  }
  .testimonial-orbit {
    min-height: 100%;
    margin: 0;
  }
  .detail-view--testimonials .testimonial-node {
    width: 34px;
    height: 34px;
  }
  .testimonial-quote-stage {
    padding: 0 1rem;
  }
  .testimonial-quote-content {
    width: min(92vw, 34rem);
    max-width: 36ch;
  }
  .testimonial-quote {
    font-size: clamp(.94rem, 4.5vw, 1.08rem);
    line-height: 1.78;
  }
  .testimonial-author {
    font-size: .52rem;
    letter-spacing: .15em;
  }
  .testimonial-meta {
    bottom: clamp(.6rem, 1.9vh, .98rem);
    font-size: .5rem;
    letter-spacing: .13em;
  }
  .dive-inner.panel-mode.dive-inner--experience-cinematic {
    padding: 0;
    height: 100dvh;
    min-height: 100dvh;
  }
  .dive-inner.panel-mode.dive-inner--experience-cinematic .panel-window--experience-cinematic .panel-window-scroll {
    padding: 0;
    overflow: hidden;
  }

  /* Experience Shell — mobile layout */
  .experience-shell {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr auto;             /* focus + chips (rail hidden) */
    padding: calc(env(safe-area-inset-top) + 3.8rem) 0 0; /* no bottom pad — chips provide clearance */
    max-width: 100%;
  }
  .experience-rail {
    display: none;
  }
  .experience-chips {
    display: flex;
    order: 1;                                 /* bottom, above Sternenkarte */
    position: relative;
    z-index: 12;
    padding: .4rem .9rem calc(var(--sternNavH, 88px) + env(safe-area-inset-bottom) + 16px);
    overflow: visible;
    min-width: 0;
    max-width: 100%;
  }
  .experience-chips-scroll {
    display: flex;
    gap: .45rem;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: .2rem;
  }
  .experience-chips-scroll::-webkit-scrollbar { display: none; }
  .experience-chips-scroll {
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 12px, #000 calc(100% - 12px), transparent 100%);
    mask-image: linear-gradient(to right, transparent 0, #000 12px, #000 calc(100% - 12px), transparent 100%);
  }
  .experience-chip {
    flex-shrink: 0;
    font-family: var(--sans);
    font-size: .72rem;
    font-weight: 500;
    letter-spacing: .04em;
    color: rgba(232,229,223,.6);
    padding: .38rem .85rem;
    border-radius: 100px;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.04);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    cursor: pointer;
    transition: all .2s ease;
    white-space: nowrap;
  }
  .experience-chip:hover,
  .experience-chip:focus-visible {
    background: rgba(255,255,255,.07);
    color: rgba(232,229,223,.85);
  }
  .experience-chip.is-active {
    background: rgba(196,169,106,.12);
    border-color: rgba(196,169,106,.3);
    color: rgba(232,229,223,.95);
  }

  .experience-focus {
    padding: 1.2rem 1.1rem 1rem;
    align-items: flex-start;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    min-width: 0;
    max-width: 100%;
  }
  .experience-focus-content {
    width: 100%;
    max-width: 460px;
  }
  .experience-focus-title {
    font-size: clamp(1.6rem, 8.5vw, 2.4rem);
  }
  .experience-focus-sub {
    font-size: .88rem;
  }
  .experience-focus-body {
    font-size: .82rem;
    max-width: none;
  }
  .experience-focus-bullets li:not(.experience-bullets-header) {
    font-size: .76rem;
  }

  /* Active stars — bigger touch targets on mobile */
  .experience-active-star {
    width: 18px; height: 18px;
  }
  .experience-star-tip {
    display: none;
  }

  /* Only the active chapter's star glows — suppress all others */
  .experience-active-star::before {
    animation: none;
    opacity: .3;
    box-shadow: 0 0 4px 1px rgba(196,169,106,.15);
  }
  .experience-active-star::after {
    animation: none;
    opacity: 0;
  }
  .experience-active-star.is-selected::before {
    animation: expActiveStarPulseSelected 2.8s ease-in-out infinite;
    opacity: .85;
    box-shadow: 0 0 16px 5px rgba(196,169,106,.55);
  }
  .experience-active-star.is-selected::after {
    animation: expActiveGlowRing 3.5s ease-in-out infinite;
    opacity: 1;
  }

  /* Remove background star halo glow on mobile */
  .exp-bg-star::after {
    display: none;
  }

  .process-stepper-layout {
    grid-template-columns: 1fr;
    gap: .95rem;
  }
  .process-stepper-nav-wrap {
    position: relative;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin: 0 -.2rem;
    padding: 0 .2rem .1rem;
  }
  .process-stepper-nav-wrap::before,
  .process-stepper-nav-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: .1rem;
    width: 1.6rem;
    pointer-events: none;
    opacity: 0;
    z-index: 2;
    transition: opacity .22s ease;
  }
  .process-stepper-nav-wrap::before {
    left: 0;
    background: linear-gradient(to right, rgba(8,8,14,.88), rgba(8,8,14,0));
  }
  .process-stepper-nav-wrap::after {
    right: 0;
    background: linear-gradient(to left, rgba(8,8,14,.88), rgba(8,8,14,0));
  }
  .process-stepper-nav-wrap.can-scroll-left::before {
    opacity: .92;
  }
  .process-stepper-nav-wrap.can-scroll-right::after {
    opacity: .92;
  }
  .process-stepper-nav-wrap::-webkit-scrollbar { width: 0; height: 0; }
  .process-stepper-nav {
    flex-direction: row;
    gap: .45rem;
    min-width: max-content;
  }
  .process-stepper-nav-item {
    flex: 0 0 auto;
  }
  .process-stepper-trigger {
    grid-template-columns: auto auto auto;
    gap: .45rem;
    padding: .5rem .65rem;
    border: 1px solid rgba(196,169,106,.12);
    border-radius: 999px;
    background: rgba(10,10,16,.55);
  }
  .process-stepper-trigger-title {
    white-space: nowrap;
    font-size: .54rem;
    letter-spacing: .13em;
  }
  .process-stepper-trigger-number {
    font-size: .98rem;
  }
  .process-stepper-detail {
    min-height: 300px;
    padding: 1rem;
    border-radius: 18px;
  }
  .process-stepper-heading {
    font-size: clamp(1.35rem, 8vw, 1.8rem);
  }
  .process-stepper-description {
    font-size: .82rem;
    line-height: 1.7;
  }
  .process-stepper-cta {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .6rem;
  }
  .process-stepper-cta-primary,
  .process-stepper-cta-secondary {
    width: min(100%, 18.5rem);
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .faq-controls {
    gap: .68rem;
  }
  html.faq-mobile-lock,
  body.faq-mobile-lock {
    height: 100%;
    height: 100dvh;
    overflow: hidden;
    overscroll-behavior: none;
  }
  .dive-inner.panel-mode.dive-inner--faq .detail-view--faq-os {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
  }
  .dive-inner.panel-mode.dive-inner--faq .faq-experience {
    --safeB: env(safe-area-inset-bottom);
    --sternNavH: 88px;
    height: 100dvh;
    min-height: 100dvh;
    max-height: 100dvh;
    grid-template-rows: auto auto minmax(0, 1fr);
    padding-bottom: calc(var(--sternNavH) + var(--safeB) + 16px);
    overflow: hidden;
  }
  .dive-inner.panel-mode.dive-inner--faq .faq-scroll-panel {
    min-height: 0;
    max-height: 100%;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
    padding-bottom: calc(clamp(1.25rem, 2vh, 1.6rem) + var(--safeB));
  }
  .dive-inner.panel-mode.dive-inner--faq .faq-chip-row {
    white-space: nowrap;
  }
  .dive-inner.panel-mode.dive-inner--faq .faq-footer-cta {
    margin-top: clamp(.62rem, 1.2vh, .88rem);
    padding-bottom: .12rem;
  }
  .dive-inner.panel-mode.dive-inner--faq .faq-a {
    font-size: clamp(.84rem, 2.4vw, .94rem);
    line-height: 1.68;
  }
  .faq-search-shell {
    width: 100%;
  }
  .faq-search-input {
    min-height: 2.35rem;
    padding: .52rem .84rem .52rem 1.9rem;
    font-size: .8rem;
  }
  .faq-chip-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin: 0 -.2rem;
    padding: 0 .2rem .15rem;
  }
  .faq-chip-row::-webkit-scrollbar { width: 0; height: 0; }
  .faq-chip {
    white-space: nowrap;
    flex: 0 0 auto;
  }
  .faq-trigger {
    padding: .88rem 0;
  }
  .faq-q {
    font-size: .95rem;
    line-height: 1.38;
  }
  .faq-a {
    font-size: .83rem;
    line-height: 1.75;
  }
  .faq-footer-actions {
    flex-direction: row;
    align-items: center;
  }
  .faq-footer-btn,
  .faq-inline-action {
    width: auto;
    justify-content: center;
    display: inline-flex;
    align-items: center;
  }
  /* Portfolio-Mode: nativer Scroll treibt die Memory-Flow-Animation */
  .dive-inner.portfolio-mode {
    justify-content: flex-start;
    padding: 4.5rem 1.5rem calc(env(safe-area-inset-bottom) + 8.8rem);
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
    touch-action: pan-y;
  }
  .section-dive[data-section="portfolio"] .dive-content { overflow: hidden; }
  .section-dive[data-section="portfolio"] .dive-content::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: clamp(74px, 13vh, 128px);
    pointer-events: none;
    z-index: 33;
    background: linear-gradient(
      to bottom,
      rgba(7,7,11,0) 0%,
      rgba(7,7,11,.74) 72%,
      rgba(7,7,11,.96) 100%
    );
  }
  .section-dive[data-section="portfolio"] .panel-title--portfolio {
    display: none !important;
  }
  .section-dive.active[data-section="portfolio"]::before {
    content: 'PORTFOLIO';
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(92vw, 24rem);
    margin: 0;
    z-index: 43;
    pointer-events: none;
    text-align: center;
    font-family: var(--serif);
    font-weight: 300;
    font-size: clamp(1.45rem, 7vw, 2.15rem);
    letter-spacing: .15em;
    text-transform: uppercase;
    color: rgba(232,229,223,.96);
    text-shadow:
      0 0 16px rgba(7,7,11,.88),
      0 0 34px rgba(7,7,11,.62);
    transform-origin: 50% 50%;
    will-change: transform, opacity;
    animation: portfolioMobileTitleOrganic 11.5s ease-in-out infinite !important;
  }
  .dive-close { top: calc(env(safe-area-inset-top) + .65rem); right: .8rem }
  .dive-nav { display: none !important; }
  .dive-back-map { display: none !important; }
  .panel-window--contact .panel-window-scroll {
    padding: .2rem .15rem calc(var(--contact-fixed-ui-clearance) + .35rem);
  }
  .contact-wizard-shell { width: 100%; }
  .contact-quick-links {
    top: .72rem;
    right: .72rem;
    margin: 0;
  }
  .contact-wizard-wrapper {
    width: 100%;
    height: min(40rem, calc(100dvh - var(--contact-fixed-ui-clearance) - 4.8rem));
    border-radius: 26px;
    padding: .92rem .8rem .82rem;
  }
  .contact-form--wizard {
    gap: .64rem;
  }
  .contact-wizard-head {
    min-height: 54px;
    padding-right: 102px;
    gap: .2rem;
  }
  .contact-wizard-progress { gap: .35rem; }
  .contact-progress-star {
    min-height: 22px;
  }
  .contact-progress-status {
    font-size: .54rem;
    letter-spacing: .12em;
  }
  .contact-wizard-stage { min-height: 0; }
  .contact-package-map {
    height: clamp(170px, 30vh, 220px);
    border-radius: 18px;
  }
  .contact-package-node {
    width: 92px;
    min-height: 52px;
  }
  .contact-package-node-label {
    font-size: .66rem;
  }
  .contact-package-node-hours {
    font-size: .46rem;
    letter-spacing: .12em;
  }
  .contact-wizard-nav {
    flex-direction: column;
    gap: .42rem;
  }
  .contact-form--wizard .form-submit {
    width: min(100%, 18rem);
  }
  .contact-wizard-note {
    font-size: .62rem;
  }
  .contact-discard-confirm-actions {
    flex-direction: column;
    align-items: center;
  }
  .contact-discard-confirm-actions .form-submit {
    width: min(100%, 18rem);
  }
  .experience-cards { grid-template-columns: 1fr }
  .about-facts { grid-template-columns: repeat(3, 1fr); gap: .5rem }
  .about-fact { padding: .6rem .3rem }
  .about-fact-number { font-size: 1.3rem }
  /* PERF: box-shadow deaktiviert — zu teuer auf composited GPU-Layers auf Mobile */
  .memory-frame { border-radius: 2px; box-shadow: none; contain: layout paint; }
  .memory-frame-inner { transition: none; }
  .memory-frame-label,
  .memory-frame-number { display: none; }
  .memory-ui { bottom: 4rem }
  .cstage-star { width: 108px; height: 108px; }
  .cstage-label { max-width: 134px; }
  .dive-inner.panel-mode.dive-inner--atlas {
    padding: 0;
    height: 100vh;
    min-height: 100vh;
    height: 100svh;
    min-height: 100svh;
    height: 100dvh;
    min-height: 100dvh;
    max-height: 100dvh;
  }
  .dive-inner.panel-mode.dive-inner--atlas .panel-window--regionen {
    width: 100%;
    max-width: none;
    height: 100%;
  }
  .dive-inner.panel-mode.dive-inner--atlas .panel-window--regionen .panel-window-scroll {
    width: 100%;
    height: 100%;
    overflow: hidden;
    padding: 0;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .atlas-hub {
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    height: 100svh;
    min-height: 100svh;
    height: 100dvh;
    min-height: 100dvh;
    max-height: 100dvh;
    padding: calc(env(safe-area-inset-top) + 4.15rem) 1rem 0;
    grid-template-rows: auto auto minmax(0, 1fr);
    gap: .52rem;
  }
  .atlas-hub__header {
    gap: .25rem;
  }
  .atlas-hub__header .panel-title {
    font-size: clamp(1.3rem, 6.3vw, 1.95rem);
    margin: 0;
  }
  .atlas-hub__header .panel-subtitle {
    font-size: .74rem;
    line-height: 1.5;
    max-width: 32ch;
  }
  .atlas-hub__tabs {
    margin: 0 -1rem;
    padding: .08rem 1rem .18rem;
    flex-wrap: nowrap;
  }
  .atlas-hub__chip {
    flex: 0 0 auto;
    white-space: nowrap;
    font-size: .58rem;
    letter-spacing: .1em;
    padding: .33rem .66rem;
  }
  .atlas-hub__scroll {
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
    padding: .16rem 0 calc(var(--atlas-fixed-nav-clearance, 128px) + env(safe-area-inset-bottom));
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .atlas-hub__scroll::-webkit-scrollbar { width: 0; height: 0; }
  .atlas-hub__grid.region-grid {
    margin-top: 0;
    gap: .58rem;
    grid-template-columns: 1fr;
  }
  .atlas-card {
    padding: .88rem .92rem;
  }
  .atlas-card .region-card-city {
    font-size: .92rem;
    margin-bottom: .25rem;
  }
  .atlas-card .region-card-info {
    font-size: .66rem;
    line-height: 1.45;
  }
  .atlas-card .region-card-link {
    margin-top: .36rem;
    font-size: .5rem;
  }
  .atlas-hub__hint {
    display: none;
  }
  .detail-back { top: calc(env(safe-area-inset-top) + .65rem); left: .8rem }
  .form-row { grid-template-columns: 1fr }

  /* Swipe indicators visible on touch */
  .swipe-indicator { display: block }

  /* Einheitliches Scroll-Verhalten: nur Panel-Viewport (oder Portfolio-Mode) scrollt */
  .dive-content { overflow: hidden; }
  .dive-inner.panel-mode { overflow: hidden; }
  .panel-window-scroll,
  .dive-inner.portfolio-mode {
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .panel-window-scroll::-webkit-scrollbar,
  .dive-inner.portfolio-mode::-webkit-scrollbar { width: 0; height: 0; }

  /* BUG-A/J: Backdrop-Tap schließt Panel auf Mobile nicht — nur X-Button */
  .dive-backdrop { pointer-events: none; }

  /* B-016: Portfolio Memory-UI über mobile-toggle (z-index 40) */
  .memory-ui { z-index: 42; bottom: 5rem; }
  .memory-ui--center {
    bottom: calc(env(safe-area-inset-bottom) + 5.7rem);
    width: min(180px, 58vw);
  }

  /* BUG-B: Footer-Links auf Mobile zentrieren */
  footer { left: 50% !important; right: auto !important; transform: translateX(-50%) !important; text-align: center; z-index: 12 !important; }
  .mobile-toggle { z-index: 44; }
  .mobile-sheet { z-index: 41; }

  /* Touch devices: avoid sticky hover highlight looking like auto-selection */
  .mobile-nav-item:hover { background: var(--surface); border-color: var(--border); color: var(--text); }

  /* Kontakt: no bottom-up reveal; show stable from top */
  .section-dive[data-section="contact"] .dive-content { transform: none !important; transition: opacity .35s ease !important; }
  .section-dive[data-section="contact"].active .dive-content { transform: none !important; }
  .section-dive[data-section="contact"] .panel-badge,
  .section-dive[data-section="contact"] .panel-title,
  .section-dive[data-section="contact"] .panel-subtitle,
  .section-dive[data-section="contact"] .panel-text,
  .section-dive[data-section="contact"] .contact-wizard-wrapper,
  .section-dive[data-section="contact"] .contact-wizard-progress,
  .section-dive[data-section="contact"] .contact-wizard-stage {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (hover: none) and (pointer: coarse) {
  .section-dive[data-section="portfolio"] .panel-title--portfolio {
    display: none !important;
  }
  .section-dive.active[data-section="portfolio"]::before {
    content: 'PORTFOLIO';
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(92vw, 24rem);
    margin: 0;
    z-index: 43;
    pointer-events: none;
    text-align: center;
    font-family: var(--serif);
    font-weight: 300;
    font-size: clamp(1.45rem, 7vw, 2.15rem);
    letter-spacing: .15em;
    text-transform: uppercase;
    color: rgba(232,229,223,.96);
    text-shadow:
      0 0 16px rgba(7,7,11,.88),
      0 0 34px rgba(7,7,11,.62);
    transform-origin: 50% 50%;
    will-change: transform, opacity;
    animation: portfolioMobileTitleOrganic 11.5s ease-in-out infinite !important;
  }
}

@keyframes portfolioMobileTitleOrganic {
  0%, 100% {
    transform: translate(-50%, -50%) rotate(-0.15deg);
    opacity: .9;
  }
  18% {
    transform: translate(calc(-50% + .7px), calc(-50% - 2px)) rotate(0.08deg);
    opacity: .96;
  }
  37% {
    transform: translate(calc(-50% - .9px), calc(-50% - 4.6px)) rotate(-0.12deg);
    opacity: 1;
  }
  58% {
    transform: translate(calc(-50% + .45px), calc(-50% - 1.4px)) rotate(0.05deg);
    opacity: .95;
  }
  79% {
    transform: translate(calc(-50% - .35px), calc(-50% - 3.2px)) rotate(0.1deg);
    opacity: .98;
  }
}

@media (max-width: 480px) {
  .mobile-nav-grid { grid-template-columns: 1fr }
  .top-bar { padding: .8rem 1rem }
  .contact-wizard-wrapper {
    height: min(38rem, calc(100dvh - var(--contact-fixed-ui-clearance) - 4.5rem));
  }
  .contact-wizard-head {
    min-height: 52px;
    padding-right: 96px;
  }
  .contact-package-node {
    width: 82px;
  }
  .contact-package-node-label {
    font-size: .6rem;
  }
  .process-stepper-trigger {
    padding: .45rem .55rem;
  }
  .process-stepper-detail {
    min-height: 280px;
  }
  .experience-copy-title {
    font-size: clamp(1.5rem, 10.5vw, 1.9rem);
  }
  .experience-copy-body span {
    font-size: .78rem;
    line-height: 1.58;
  }
}

/* ============================================================
   MOBILE FAQ — DUAL MARKUP (standalone overlay, ≤900px only)
   Desktop FAQ inside section-dive is untouched.
   ============================================================ */

/* Hidden on all screens by default */
.faq-mobile {
  display: none;
}

@media (max-width: 900px) {
  /* --- Variables --- */
  .faq-mobile {
    --sternNavH: 88px;
    --safeB: env(safe-area-inset-bottom);
    --safeT: env(safe-area-inset-top);
    --faqm-bg: #07070b;
    --faqm-surface: rgba(14,14,20,.6);
    --faqm-border: rgba(196,169,106,.14);
    --faqm-accent: rgba(196,169,106,.8);
    --faqm-text: rgba(232,229,223,.92);
    --faqm-text-muted: rgba(232,229,223,.68);
    --faqm-text-dim: rgba(232,229,223,.42);
  }

  /* --- Overlay shell (inactive = hidden) --- */
  /* z-index 43: above mobile-sheet (41), below mobile-toggle (44) */
  .faq-mobile {
    position: fixed;
    inset: 0;
    z-index: 43;
    background: var(--faqm-bg);
    height: 100dvh;
    overflow: hidden;
    flex-direction: column;
    opacity: 0;
    pointer-events: none;
    transition: opacity .28s ease;
  }

  /* --- Active state --- */
  .faq-mobile.is-active {
    display: flex;
    opacity: 1;
    pointer-events: auto;
  }

  /* --- Body scroll lock when mobile FAQ is open --- */
  html.faqm-scroll-lock,
  body.faqm-scroll-lock {
    height: 100%;
    height: 100dvh;
    overflow: hidden;
    overscroll-behavior: none;
  }

  /* --- Top (fixed header: close + title + search + chips) --- */
  .faq-mobile__top {
    flex: 0 0 auto;
    padding: calc(var(--safeT) + .8rem) 1rem 0;
    position: relative;
  }

  /* --- Close button --- */
  .faq-mobile__close {
    position: absolute;
    top: calc(var(--safeT) + .65rem);
    right: .8rem;
    z-index: 2;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: 1px solid var(--faqm-border);
    border-radius: 50%;
    color: var(--faqm-text-muted);
    cursor: pointer;
    transition: border-color .2s ease, color .2s ease;
  }
  .faq-mobile__close:hover,
  .faq-mobile__close:focus-visible {
    border-color: var(--faqm-accent);
    color: var(--faqm-text);
  }

  /* --- Header (gold eyebrow + centered title + subtitle) --- */
  .faq-mobile__header {
    text-align: center;
    margin-bottom: clamp(.5rem, 1.2vh, .75rem);
  }
  .faq-mobile__header .panel-badge {
    /* Override global .panel-badge opacity:0 from sections.css */
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-family: var(--sans);
    font-size: .58rem;
    font-weight: 500;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: var(--faqm-accent);
    margin-bottom: .45rem;
  }
  .faq-mobile__header .panel-badge::before {
    content: '';
    width: 18px;
    height: 1px;
    background: var(--faqm-accent);
    opacity: .5;
  }
  .faq-mobile__title {
    font-family: var(--serif);
    font-size: clamp(1.42rem, 7vw, 1.98rem);
    font-weight: 300;
    letter-spacing: .06em;
    color: var(--faqm-text);
    margin: 0 0 .25rem;
  }
  .faq-mobile__subtitle {
    font-family: var(--sans);
    font-size: clamp(.78rem, 3.2vw, .92rem);
    font-weight: 300;
    font-style: italic;
    color: var(--faqm-text-muted);
    line-height: 1.4;
    margin: 0;
  }

  /* --- Controls (search + chips) --- */
  .faq-mobile__controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .56rem;
    margin-top: clamp(.4rem, .8vh, .6rem);
  }

  .faq-mobile__search-shell {
    width: 100%;
    max-width: 580px;
    position: relative;
  }
  .faq-mobile__search-icon {
    position: absolute;
    left: .78rem;
    top: 50%;
    transform: translateY(-50%);
    width: .88rem;
    height: .88rem;
    color: var(--faqm-text-dim);
    pointer-events: none;
  }
  .faq-mobile__search-icon svg {
    width: 100%;
    height: 100%;
    stroke: none;
    fill: currentColor;
  }
  .faq-mobile__search {
    width: 100%;
    min-height: 2.35rem;
    padding: .52rem .84rem .52rem 1.9rem;
    font-family: var(--sans);
    font-size: .8rem;
    font-weight: 300;
    color: var(--faqm-text);
    background: var(--faqm-surface);
    border: 1px solid var(--faqm-border);
    border-radius: 999px;
    outline: none;
    transition: border-color .22s ease, background .22s ease, box-shadow .22s ease;
    -webkit-appearance: none;
    appearance: none;
  }
  .faq-mobile__search::placeholder {
    color: var(--faqm-text-dim);
  }
  .faq-mobile__search:focus {
    border-color: rgba(196,169,106,.44);
    background: rgba(14,14,20,.72);
    box-shadow: 0 0 0 1px rgba(196,169,106,.2), 0 0 10px rgba(196,169,106,.08);
  }

  /* --- Chip row (horizontally scrollable, hidden scrollbar) --- */
  .faq-mobile__chips {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    gap: .45rem;
    width: 100%;
    padding: .1rem 1rem .15rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
  }
  .faq-mobile__chips::-webkit-scrollbar { width: 0; height: 0; }

  .faq-mobile__chip {
    border: 1px solid rgba(196,169,106,.22);
    border-radius: 999px;
    padding: .32rem .72rem;
    font-family: var(--sans);
    font-size: clamp(.62rem, 1.8vw, .7rem);
    font-weight: 400;
    color: var(--faqm-text-muted);
    letter-spacing: .04em;
    background: transparent;
    cursor: pointer;
    flex: 0 0 auto;
    transition: border-color .25s ease, color .25s ease, background .25s ease;
  }
  .faq-mobile__chip:hover,
  .faq-mobile__chip:focus-visible {
    border-color: rgba(196,169,106,.48);
    color: rgba(232,229,223,.88);
    background: rgba(14,14,20,.8);
  }
  .faq-mobile__chip.is-active {
    border-color: rgba(196,169,106,.62);
    color: rgba(232,229,223,.92);
    background: rgba(196,169,106,.16);
  }

  /* --- Scroll area (the only scrollable region) --- */
  .faq-mobile__scroll {
    flex: 1 1 0;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
    padding: .6rem 1rem calc(var(--sternNavH) + var(--safeB) + 24px);
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .faq-mobile__scroll::-webkit-scrollbar { width: 0; height: 0; }

  /* --- FAQ list --- */
  .faq-mobile__list {
    border-top: 1px solid var(--faqm-border);
  }

  /* --- FAQ item --- */
  .faq-mobile__item {
    border-bottom: 1px solid rgba(232,229,223,.12);
    transition: border-color .2s ease;
  }
  .faq-mobile__item.is-open {
    border-bottom-color: rgba(196,169,106,.32);
  }

  /* --- Trigger (question row) --- */
  .faq-mobile__trigger {
    width: 100%;
    border: 0;
    background: none;
    color: inherit;
    text-align: left;
    padding: .88rem 0;
    display: flex;
    align-items: center;
    gap: .6rem;
    cursor: pointer;
    transition: color .2s ease;
  }

  .faq-mobile__q {
    font-family: var(--serif);
    font-size: clamp(.88rem, 4vw, .96rem);
    font-weight: 500;
    color: var(--faqm-text);
    line-height: 1.38;
    flex: 1;
  }

  .faq-mobile__chevron {
    flex-shrink: 0;
    color: var(--faqm-accent);
    font-size: .75rem;
    transition: transform .2s ease, color .2s ease;
  }
  .faq-mobile__item.is-open .faq-mobile__chevron {
    transform: rotate(180deg);
    color: rgba(196,169,106,.95);
  }

  /* --- Answer panel (grid expand) --- */
  .faq-mobile__panel {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    transform: translateY(-4px);
    transition:
      grid-template-rows .2s cubic-bezier(.22,.61,.36,1),
      opacity .18s ease-out,
      transform .2s cubic-bezier(.22,.61,.36,1);
  }
  .faq-mobile__item.is-open .faq-mobile__panel {
    grid-template-rows: 1fr;
    opacity: 1;
    transform: translateY(0);
  }
  .faq-mobile__panel-inner {
    overflow: hidden;
  }
  .faq-mobile__a {
    margin: 0;
    padding: 0 0 1rem;
    font-family: var(--sans);
    font-size: clamp(.82rem, 2.4vw, .92rem);
    font-weight: 300;
    line-height: 1.72;
    color: var(--faqm-text-muted);
  }

  /* --- Empty state --- */
  .faq-mobile__empty-text {
    margin: .75rem 0 .8rem;
    font-size: .84rem;
    color: var(--faqm-text-muted);
    line-height: 1.55;
  }
  .faq-mobile__contact-btn {
    border: 1px solid rgba(196,169,106,.4);
    background: rgba(196,169,106,.12);
    border-radius: 999px;
    padding: .38rem .82rem;
    font-family: var(--sans);
    font-size: .68rem;
    letter-spacing: .06em;
    color: var(--faqm-text);
    cursor: pointer;
    transition: border-color .25s ease, background .25s ease;
  }
  .faq-mobile__contact-btn:hover {
    border-color: rgba(196,169,106,.65);
    background: rgba(196,169,106,.2);
  }

  /* --- Footer CTA --- */
  .faq-mobile__footer {
    margin-top: 1.2rem;
    padding-top: .75rem;
    border-top: 1px solid rgba(196,169,106,.2);
  }
  .faq-mobile__footer-copy {
    margin: 0 0 .85rem;
    font-size: .76rem;
    color: var(--faqm-text-muted);
    line-height: 1.55;
  }
  .faq-mobile__cta {
    height: 34px;
    padding: 0 .95rem;
    border: 1px solid rgba(196,169,106,.52);
    background: rgba(196,169,106,.14);
    border-radius: 999px;
    font-family: var(--sans);
    font-size: .62rem;
    font-weight: 400;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(232,229,223,.9);
    cursor: pointer;
    transition: border-color .25s ease, background .25s ease, box-shadow .25s ease;
  }
  .faq-mobile__cta:hover,
  .faq-mobile__cta:focus-visible {
    border-color: rgba(196,169,106,.76);
    background: rgba(196,169,106,.22);
    box-shadow: 0 0 16px rgba(196,169,106,.16);
  }
}

/* Desktop (>900px): ensure mobile FAQ is always hidden */
@media (min-width: 901px) {
  .faq-mobile {
    display: none !important;
  }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .15s !important;
  }
  .grain, .shooting-star { display: none }
  .cosmic-haze { animation: none; opacity: .08 }
  .hero-title .char { opacity: 1; transform: none }
  .hero-tagline, .hero-sub, .hero-divider, .scroll-hint,
  .logo-mark, .availability, .star-ticker { opacity: 1 }
  .star-ring-outer, .star-ring-inner { display: none }
  .constellation-overlay.always-on { opacity: .35 }
  .loading-screen { display: none }
}
