/* Halloween-Erlebnis - eigenständig, keine Änderungen an bestehenden Galerien/Seiten. */
.hg-experience{background:radial-gradient(ellipse at 40% 0,#261439,#10091b 60%,#0a0614);color:#f8efff;min-height:100vh}
.hg-experience header{position:relative;background:rgba(12,6,23,.9);border-bottom:1px solid #ffbb6240}
.hg-experience header .nav-container{min-height:74px;display:flex;align-items:center;justify-content:space-between;gap:18px}
.hg-experience header nav .nav-list{display:flex!important;flex-wrap:wrap;gap:12px;justify-content:flex-end;align-items:center;position:static;transform:none;background:none;margin:0;padding:0}
.hg-experience header nav a{color:#fff;text-decoration:none;font-weight:700}
.hg-wrap{width:min(1180px,calc(100% - 32px));max-width:1180px;margin:auto;padding:35px 0 95px}
.hg-heading{text-align:center;margin:10px auto 33px;max-width:860px}
.hg-kicker{font-size:.81rem;font-weight:900;letter-spacing:.17em;color:#ffbd6c}
.hg-heading h1{font-size:clamp(2.1rem,5.6vw,4rem);line-height:1.12;color:#fff;margin:13px auto 15px;text-shadow:0 6px 24px #0009}
.hg-heading p{font-size:clamp(1rem,2.2vw,1.2rem);color:#ddd1e9;line-height:1.65}
.hg-preview{margin:20px auto;padding:10px 16px;width:fit-content;border:1px dashed #ffd27c;background:#483114b3;color:#ffe4b4!important;border-radius:14px;font-weight:850}
.hg-panel{background:linear-gradient(135deg,#241630e8,#120d24f2);border:1px solid #ffca7361;border-radius:20px;box-shadow:0 18px 56px #0005;padding:clamp(20px,3.5vw,34px);margin-bottom:26px;color:#f8efff}
.hg-panel h2,.hg-photo-layout h2{color:#ffcc85;font-size:clamp(1.32rem,2.5vw,1.9rem);margin:0 0 17px}
.hg-panel p{line-height:1.6}
.hg-muted{color:#c2b8cd;font-size:.93rem;line-height:1.55}
.hg-panel .hg-muted{color:#cec5d9}
.hg-button,.hg-small-button,.hg-sticker-row button,.hg-frame{font-family:inherit;cursor:pointer}
.hg-button{display:inline-flex;justify-content:center;align-items:center;gap:8px;text-align:center;padding:13px 20px;color:#231222!important;background:linear-gradient(130deg,#ffcd7d,#ffa84a);border:1px solid #ffe0a2;border-radius:12px;font-weight:900;text-decoration:none;min-height:49px;transition:transform .16s,filter .16s}
.hg-button:hover:not(:disabled){transform:translateY(-2px);filter:brightness(1.08)}
.hg-button:disabled{opacity:.48;cursor:not-allowed}
.hg-button-alt{background:linear-gradient(135deg,#8556b6,#56367a);border-color:#a777cb;color:white!important}
.hg-btn-row{display:flex;flex-wrap:wrap;gap:12px;margin-top:15px;align-items:center}
.hg-small-button{background:#3c2652;color:#fff;border:1px solid #af7cc5;border-radius:9px;padding:9px 12px;font-weight:700}
.hg-progress-panel{display:grid;grid-template-columns:1fr auto;gap:16px;align-items:center}
.hg-progress-panel strong{font-size:1.35rem;color:#ffcb77}.hg-progress-panel p{margin:4px 0 0;color:#e5d4fa}
.hg-stamp-row{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}.hg-stamp{display:grid;place-items:center;width:42px;height:42px;border:2px solid #634c78;border-radius:50%;background:#1a1428;color:#a7a0ba;font-size:24px}.hg-stamp-done{border-color:#ffcf79;background:#4d321b}
.hg-progress-bar{grid-column:1/-1;height:12px;border-radius:50px;overflow:hidden;background:#392747}.hg-progress-bar span{display:block;height:100%;background:linear-gradient(90deg,#ff8c39,#ffdf7e);border-radius:50px;transition:width .25s}
.hg-quiz{text-align:center;max-width:720px;margin:0 auto 27px}.hg-quiz-emoji{font-size:72px;line-height:1.4}.hg-question{font-size:1.3rem;font-weight:700}.hg-answer-form{display:grid;gap:12px;max-width:550px;margin:25px auto 0}.hg-choice{display:flex;align-items:center;gap:12px;text-align:left;cursor:pointer;padding:15px;border:1px solid #65517f;border-radius:12px;background:#321e43}.hg-choice:hover,.hg-choice:has(input:checked){border-color:#ffbe73;background:#46304b}.hg-choice input{width:22px;height:22px;accent-color:#ffbb64}.hg-good{border:1px solid #8ce6a3;background:#173d29;color:#d9ffe5;padding:18px;border-radius:10px;font-weight:800}.hg-error{background:#55223b;color:#fff1f5;padding:14px;border-radius:10px}
.hg-station-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.hg-station{border:1px solid #604476;border-radius:16px;background:#1b112b;padding:24px;min-height:222px}.hg-station-done{border-color:#ffa749;background:linear-gradient(145deg,#332118,#1c1526)}.hg-station-icon{display:block;font-size:50px;margin-bottom:10px}.hg-station small{font-size:.8rem;font-weight:900;color:#eaba85}.hg-station h3{margin:8px 0;font-size:1.3rem;color:#fff}.hg-station p{color:#cbbfd5;font-size:.95rem}.hg-chip{font-size:.78rem;display:inline-block;border:1px solid #81628b;border-radius:30px;padding:7px 10px;color:#ffcb86;font-weight:800;margin-top:5px}
.hg-victory{text-align:center;border-color:#ffd27c;background:radial-gradient(circle at top,#52331b,#1b112e 65%)}.hg-victory-icon{font-size:70px}.hg-victory label{display:block;margin:22px 0 8px;font-weight:800}.hg-victory input,.hg-input,.hg-select{display:block;width:100%;box-sizing:border-box;padding:13px 15px;border:1px solid #755989;border-radius:10px;background:#190f28;color:white;font:inherit}.hg-victory input{max-width:480px;margin:auto}.hg-victory .hg-btn-row{justify-content:center}
.hg-photo-layout{display:grid;grid-template-columns:minmax(315px,430px) minmax(0,1fr);gap:22px;align-items:start}.hg-photo-layout .hg-panel{margin:0}.hg-photo-tools h2:not(:first-child){margin-top:26px}.hg-file-label{width:100%;box-sizing:border-box;cursor:pointer}#hg-photo-file{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden}#hg-photo-file:focus-visible+.hg-muted{outline:2px solid orange}.hg-frame-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.hg-frame{min-height:96px;border:1px solid #795a8d;border-radius:13px;background:#271934;color:white;font-size:32px;display:flex;flex-direction:column;gap:4px;align-items:center;justify-content:center;padding:10px}.hg-frame span{font-size:.78rem;font-weight:850}.hg-frame.is-selected{outline:2px solid #ffb85e;background:#4d2d31}.hg-frame:disabled{opacity:.35;cursor:not-allowed}.hg-tool-label{display:block;margin:20px 0 7px;font-weight:800}.hg-photo-tools input[type=range]{width:100%;accent-color:#f5ab60;cursor:pointer}.hg-tool-label output{float:right;color:#ffcf8d}.hg-sticker-row{display:flex;gap:8px;flex-wrap:wrap}.hg-sticker-row button{background:#39234b;border:1px solid #806094;color:#fff;border-radius:10px;font-size:29px;padding:7px 10px}.hg-photo-stage{text-align:center}.hg-canvas-wrap{display:flex;justify-content:center;align-items:center;min-height:370px;background:repeating-conic-gradient(#20182d 0% 25%,#2b2039 0% 50%) 50%/28px 28px;border:1px solid #6b537f;border-radius:14px;padding:14px;overflow:hidden}.hg-canvas-wrap canvas{display:block;max-width:100%;width:auto;height:auto;max-height:590px;object-fit:contain;border-radius:5px;touch-action:none;cursor:grab;box-shadow:0 10px 40px #0007}.hg-canvas-wrap canvas:active{cursor:grabbing}.hg-photo-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:12px;margin-top:20px}
.hg-admin .hg-admin-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.hg-admin-cards a{padding:20px 14px;border:1px solid #9b6b47;border-radius:15px;text-decoration:none;color:#ffdb9d;background:#33243d;font-size:24px}.hg-admin-cards strong,.hg-admin-cards small{display:block;font-size:1rem;color:#fff;margin-top:8px}.hg-admin-cards small{font-size:.84rem;color:#d7ccdc;font-weight:400;line-height:1.45}.hg-admin-form{padding:23px;background:#1e142c;border:1px solid #704e81;border-radius:14px;margin-top:22px}.hg-admin-form h2{color:#ffc67e}.hg-admin-form p{line-height:1.55;color:#dfd4e9}.hg-admin-form .hg-muted{color:#bdb1cb}.hg-admin-switch{display:flex!important;align-items:center;gap:14px;margin:14px 0;background:#382345;padding:15px;border-radius:10px;cursor:pointer}.hg-admin-switch input{width:22px;height:22px;accent-color:#efa74c;flex-shrink:0}.hg-admin-switch span small{display:block;font-size:.84rem;font-weight:normal;margin-top:3px}.hg-admin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.hg-admin-form label:not(.hg-admin-switch),.hg-station-editor label:not(.hg-admin-switch){display:block;margin:9px 0;font-weight:700;color:#ffe2b4}.hg-station-editor{margin:14px 0;background:#281934;border:1px solid #795d89;border-radius:12px;overflow:hidden}.hg-station-editor summary{cursor:pointer;padding:18px;font-weight:850;color:#ffdcab}.hg-station-editor>form{padding:0 20px 20px}.hg-station-editor .hg-btn-row{margin-top:16px}
.hg-home-experience{padding:70px 20px;text-align:center;background:linear-gradient(180deg,#100718,#21102b);border-top:1px solid #ffbd5e47;border-bottom:1px solid #ffbd5e47}.hg-home-experience>h2{font-size:clamp(2rem,4vw,3.2rem);margin:0 0 10px;color:#ffcd81}.hg-home-experience>p{color:#e3d5e7;max-width:740px;margin:0 auto 26px}.hg-home-cards{max-width:980px;margin:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.hg-home-card{display:flex;flex-direction:column;align-items:center;gap:13px;padding:30px 20px;text-decoration:none;background:linear-gradient(140deg,#352047,#180f26);border:1px solid #a97557;border-radius:19px;box-shadow:0 15px 40px #0005;color:white;transition:transform .15s}.hg-home-card:hover{transform:translateY(-4px)}.hg-home-card .hg-home-icon{font-size:62px}.hg-home-card strong{color:#ffcb7e;font-size:1.45rem}.hg-home-card span{line-height:1.5}.hg-home-card b{padding:10px 19px;border-radius:9px;background:#ffb75e;color:#22112a}.hg-print-certificate{display:none}
@media(max-width:850px){.hg-photo-layout{grid-template-columns:1fr}.hg-station-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hg-admin .hg-admin-cards{grid-template-columns:1fr}.hg-home-cards{grid-template-columns:1fr}.hg-photo-stage{order:-1}}
@media(max-width:570px){.hg-experience header .nav-container{flex-direction:column;padding:13px 8px}.hg-experience header nav .nav-list{gap:9px;justify-content:center}.hg-experience header nav .nav-list li{display:block}.hg-experience header nav a{font-size:.88rem}.hg-station-grid{grid-template-columns:1fr}.hg-progress-panel{grid-template-columns:1fr}.hg-stamp-row{justify-content:flex-start}.hg-stamp{width:36px;height:36px}.hg-admin-grid{grid-template-columns:1fr}.hg-frame-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.hg-photo-layout{grid-template-columns:minmax(0,1fr)}.hg-wrap{width:calc(100% - 20px)}.hg-panel{padding:17px}.hg-photo-stage{padding:13px}}
@media(prefers-reduced-motion:reduce){.hg-button,.hg-home-card{transition:none}}
@media print{body.hg-experience{background:white!important;color:#000!important}.hg-experience header,.hg-experience footer{display:none!important}.hg-experience main{display:block!important;width:100%!important;margin:0!important;padding:0!important}.hg-experience main > *:not(.hg-print-certificate){display:none!important}.hg-print-certificate{display:flex!important;width:190mm;height:270mm;box-sizing:border-box;margin:5mm auto;padding:15mm;align-items:center;justify-content:space-around;flex-direction:column;text-align:center;border:7px double #a77730;color:#381e25!important;page-break-inside:avoid;font-family:Georgia,serif}.hg-print-certificate div{font-size:36pt}.hg-print-certificate h1{font-size:55pt;color:#814c2c;margin:0}.hg-print-certificate h2{font-size:32pt;color:#9e642d}.hg-print-certificate p{font-size:17pt}.hg-print-certificate strong{font-size:26pt;color:#4f2145}.hg-print-certificate h3{color:#7b431e}@page{size:A4 portrait;margin:0}}

/* Mobile Navigation und schneller Fotostart: keine zugeklappte Fremd-Navigation. */
.hg-preview-upload{display:none}
@media(max-width:570px){
  .hg-experience header nav{width:100%!important;display:block!important;position:static!important;background:transparent!important;box-shadow:none!important}
  .hg-experience header nav .nav-list{display:flex!important;flex-direction:row!important;justify-content:center!important;gap:6px!important;width:100%!important;max-width:none!important;background:transparent!important;box-shadow:none!important;padding:0!important;transform:none!important;position:static!important}
  .hg-experience header nav .nav-list li{display:inline-flex!important;flex:0 1 auto!important;width:auto!important}
  .hg-experience header nav .nav-list li a{display:inline-flex!important;padding:6px 9px!important;border:1px solid #76547f;border-radius:10px;background:#301f3a!important;font-size:.78rem;white-space:nowrap}
  .hg-preview-upload{display:flex;margin:0 auto 14px;width:100%;box-sizing:border-box}
  .hg-has-image .hg-preview-upload{display:none}
}

/* Admin: kompakte Erlebnis-Statistik */
.hg-stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr));gap:12px;margin:16px 0}
.hg-stat{min-width:0;border:1px solid rgba(255,159,52,.33);border-radius:12px;padding:16px;background:rgba(60,33,64,.32);display:flex;flex-direction:column;gap:7px}
.hg-stat span{font-weight:700}.hg-stat strong{font-size:clamp(1.7rem,3vw,2.3rem);color:#ffc271}.hg-stat small{opacity:.85;line-height:1.4}
