:root{--bg:#060b0f;--panel:#0d151a;--panel2:#111b21;--line:#273238;--text:#f7f8f8;--muted:#a9b0b4;--yellow:#ffc800;--green:#48e35d;--orange:#ff6815;--radius:26px;font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif;color-scheme:dark}*{box-sizing:border-box}html,body{margin:0;background:#02070a;color:var(--text);min-height:100%}body{font-size:16px}.app-shell{width:min(100%,780px);min-height:100vh;margin:auto;background:var(--bg);padding-bottom:94px}.topbar{position:sticky;top:0;z-index:20;height:94px;background:rgba(6,11,15,.96);display:grid;grid-template-columns:64px 1fr 64px;align-items:center;padding:env(safe-area-inset-top) 20px 0;border-bottom:1px solid #172228}.topbar h1{margin:0;font-size:30px}.topbar small{letter-spacing:.2em;color:var(--muted);font-weight:800}.hamburger,.filter-icon,.back{border:0;background:none;color:white;font-size:28px;text-decoration:none}.brand-tabs{display:flex;overflow-x:auto;position:sticky;top:94px;z-index:15;background:#11191e;border-radius:0 0 24px 24px}.brand-tabs button{min-width:180px;padding:28px 24px 25px;border:0;border-bottom:5px solid transparent;background:transparent;color:white;font-size:19px;font-weight:850;white-space:nowrap}.brand-tabs .active{color:var(--yellow);border-color:var(--yellow);background:#172126}.brand-tabs .fresh{color:var(--green)}.brand-tabs .glut{color:var(--orange)}.filter-panel{margin:14px 10px 28px;padding:20px;border:1px solid var(--line);border-radius:24px;background:var(--panel)}.filter-panel>div{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:8px 0}.filter-panel strong{width:100%;color:var(--muted)}.filter-panel button{border:1px solid #38454c;border-radius:999px;background:transparent;color:#fff;padding:12px 17px;font-weight:750}.filter-panel button.active{border-color:var(--yellow);color:var(--yellow)}.event-list{padding:30px 10px;display:grid;gap:20px}.event-card{position:relative;background:linear-gradient(145deg,#111a1f,#0b1216);border:1px solid #29343a;border-radius:30px;padding:30px;overflow:hidden}.event-card:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:var(--orange)}.event-card.fresh:before{background:var(--green)}.event-card.glut:before{background:var(--orange)}.event-card.live:before{background:var(--orange)}.event-card.events:before{background:var(--yellow)}.event-card.featured{box-shadow:0 0 0 1px rgba(255,200,0,.35),0 18px 50px rgba(0,0,0,.25)}.card-head{display:flex;justify-content:space-between;gap:15px;align-items:flex-start}.date{font-size:20px;color:var(--orange)}.fresh .date{color:var(--green)}.events .date{color:var(--yellow)}.badge{border:1px solid currentColor;border-radius:999px;padding:10px 18px;font-size:14px;font-weight:900;color:var(--orange);white-space:nowrap}.badge.fresh,.fresh .badge{color:var(--green)}.badge.glut,.glut .badge{color:var(--orange)}.badge.events,.events .badge{color:var(--yellow)}.event-card h2{font-size:31px;margin:25px 0 22px}.meta{display:flex;gap:16px;font-size:20px;line-height:1.45;margin:15px 0}.meta:first-letter{color:var(--orange)}.info-btn,.primary,.modal-action{width:100%;margin-top:23px;border:1px solid var(--orange);border-radius:20px;padding:18px;background:transparent;color:var(--orange);font-weight:900;font-size:18px}.fresh .info-btn{border-color:var(--green);color:var(--green)}.events .info-btn{border-color:var(--yellow);color:var(--yellow)}.status,.highlight{display:inline-block;margin-top:15px;margin-right:8px;padding:6px 10px;border-radius:999px;background:#27323a;font-size:12px;font-weight:900}.status.cancelled{background:#5e2020}.status.soldout{background:#5b4600}.highlight{background:#564600;color:#ffd333}.empty{text-align:center;color:var(--muted);padding:45px 20px}.bottom-nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,780px);height:86px;padding-bottom:env(safe-area-inset-bottom);display:grid;grid-template-columns:repeat(5,1fr);background:#050b0e;border-top:1px solid #263138;z-index:30}.bottom-nav a{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;text-decoration:none;color:white;font-size:13px}.bottom-nav span{font-size:25px}.bottom-nav .active{color:var(--yellow);border-top:4px solid var(--yellow)}.modal{position:fixed;inset:0;z-index:100}.backdrop{position:absolute;inset:0;border:0;background:rgba(0,0,0,.72)}.modal-card{position:absolute;left:50%;bottom:0;transform:translateX(-50%);width:min(100%,780px);max-height:88vh;overflow:auto;background:#111a20;border-radius:30px 30px 0 0;padding:22px 26px 40px}.grab{width:60px;height:5px;background:#536069;border-radius:5px;margin:0 auto 20px}.modal-head{display:flex;justify-content:space-between}.modal-head button{font-size:30px;border:0;background:none}.modal-card h2{font-size:32px}.modal-meta{color:#cdd2d4;font-size:18px}.modal-info{line-height:1.65}.modal-action{display:block;text-align:center;text-decoration:none;background:var(--orange);color:#05090b}.modal-action.secondary{background:transparent}.locked{overflow:hidden}.more-main{padding:30px 18px}.more-item{width:100%;display:flex;flex-direction:column;gap:6px;text-align:left;padding:22px;margin:12px 0;border:1px solid #273239;border-radius:18px;background:#0d151a;color:#fff;text-decoration:none}.more-item b{font-size:18px}.more-item span{color:var(--muted)}.admin-link{margin-top:35px}.admin-body{background:radial-gradient(circle at top,#152126,#04090c 45%);min-height:100vh;padding:24px}.login-card{width:min(100%,430px);margin:8vh auto;background:#0c1419;border:1px solid #2a363d;border-radius:28px;padding:34px}.logo-mark{font-size:60px;font-weight:950}.logo-mark span{color:var(--yellow)}.login-card h1{font-size:34px}.login-card label,.event-form label{display:flex;flex-direction:column;gap:8px;margin:17px 0;font-weight:750}.login-card input,.event-form input,.event-form select,.event-form textarea{width:100%;border:1px solid #334148;border-radius:13px;background:#071015;color:white;padding:15px;font:inherit}.primary{background:var(--yellow);border-color:var(--yellow);color:#111;width:auto}.form-message{color:var(--yellow)}.admin-wrap{width:min(1100px,100%);margin:auto}.admin-header,.manager-head{display:flex;justify-content:space-between;align-items:center;gap:20px}.admin-header h1{margin:.15em 0;font-size:38px}.admin-header a,.admin-header button{color:white;background:none;border:1px solid #46545b;border-radius:12px;padding:11px;text-decoration:none}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:28px 0}.stats article{background:#0e171c;border:1px solid #29353b;border-radius:18px;padding:20px}.stats b{display:block;font-size:31px;color:var(--yellow)}.stats span{color:var(--muted)}.manager-head{margin:32px 0 15px}.overview{display:grid;gap:10px}.overview-item{display:flex;justify-content:space-between;gap:20px;align-items:center;background:#0d151a;border:1px solid #29343a;border-radius:18px;padding:18px}.overview-item h3{margin:5px 0}.overview-item p{margin:0;color:var(--muted)}.overview-item button{margin-top:8px;border:1px solid #536068;border-radius:10px;padding:8px 12px;background:none;color:white}.event-form{margin-top:30px;padding:25px;border:1px solid #354149;border-radius:25px;background:#0c1419}.form-head{display:flex;justify-content:space-between}.form-head button{border:0;background:none;font-size:32px}.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:0 18px}.form-grid .wide{grid-column:1/-1}.check{flex-direction:row!important;align-items:center}.check input{width:auto}.form-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.danger{border:1px solid #d34c4c;border-radius:14px;padding:16px;background:transparent;color:#ff7070}@media(max-width:650px){.stats{grid-template-columns:repeat(2,1fr)}.form-grid{grid-template-columns:1fr}.form-grid .wide{grid-column:auto}.manager-head,.admin-header{align-items:flex-start;flex-direction:column}.event-card{padding:25px 23px}.card-head{flex-direction:column}.badge{align-self:flex-start}.event-card h2{font-size:28px}.overview-item{align-items:flex-start}}
/* Logo und Veranstaltungsbilder */
.topbar.branded{min-height:96px}.brand-lockup{display:flex;align-items:center;gap:12px;min-width:0}.brand-lockup img{width:118px;height:58px;object-fit:contain;filter:invert(1);flex:0 0 auto}.brand-lockup h1{margin:0}.brand-lockup small{white-space:nowrap}.event-image{display:block;width:calc(100% + 50px);height:210px;object-fit:cover;margin:-25px -25px 24px;border-radius:24px 24px 0 0;border-bottom:1px solid #28343a}.modal-image{width:calc(100% + 40px);max-height:290px;object-fit:cover;margin:0 -20px 18px;border-radius:22px 22px 8px 8px}.admin-brand{display:flex;align-items:center;gap:18px}.admin-brand img{width:150px;height:76px;object-fit:contain;filter:invert(1)}.image-admin{display:flex;align-items:flex-start;gap:12px;flex-wrap:wrap}.image-admin img{width:min(100%,420px);aspect-ratio:16/9;object-fit:cover;border-radius:16px;border:1px solid #354149}.secondary{border:1px solid #536068;border-radius:12px;padding:12px 16px;background:transparent;color:white}.event-form input[type=file]{padding:12px;background:#101a20}@media(max-width:650px){.brand-lockup img{width:92px;height:48px}.brand-lockup{gap:7px}.topbar.branded{padding-inline:14px}.event-image{width:calc(100% + 46px);margin:-25px -23px 22px;height:180px}.admin-brand img{width:112px;height:62px}}

/* Premium Lifestyle UI */
.premium-topbar{height:78px;grid-template-columns:54px 1fr 54px;background:rgba(4,10,14,.86);backdrop-filter:blur(18px);border-bottom:1px solid rgba(255,255,255,.08)}
.top-logo{width:150px;height:58px;object-fit:contain;filter:invert(1);justify-self:center}.install-mini{width:42px;height:42px;border-radius:50%;border:1px solid #39464d;background:#101a20;color:#fff;font-size:21px}.hero-premium{position:relative;height:540px;overflow:hidden}.hero-premium>img{width:100%;height:100%;object-fit:cover}.hero-overlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(2,6,9,.08),rgba(2,7,10,.42) 45%,#060b0f 98%)}.hero-content{position:absolute;inset:auto 24px 30px}.live-pill{display:inline-flex;align-items:center;gap:8px;border:1px solid rgba(255,255,255,.32);background:rgba(3,10,14,.58);backdrop-filter:blur(12px);border-radius:999px;padding:9px 13px;font-size:12px;font-weight:900;letter-spacing:.12em}.live-pill i{width:8px;height:8px;background:#48e35d;border-radius:50%;box-shadow:0 0 12px #48e35d}.hero-content .eyebrow{margin:22px 0 7px;color:#ffc800;font-size:13px;font-weight:900;letter-spacing:.18em}.hero-content h1{margin:0;font-size:46px;line-height:.98;max-width:620px}.hero-content h1 em{font-style:normal;color:#ffc800}.today-card{margin-top:24px;border:1px solid rgba(255,255,255,.16);background:rgba(7,14,18,.78);backdrop-filter:blur(18px);border-radius:22px;padding:18px;display:flex;align-items:end;justify-content:space-between;gap:18px}.today-card small{display:block;color:#97a2a8;font-weight:800;letter-spacing:.12em}.today-card strong{display:block;font-size:23px;margin:5px 0}.today-card span{color:#48e35d;font-weight:800}.today-card a{white-space:nowrap;text-decoration:none;background:#ffc800;color:#111;border-radius:15px;padding:14px 16px;font-weight:900}.brand-worlds{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;padding:8px 16px 24px}.brand-world{min-height:124px;border:1px solid #26333a;border-radius:22px;background:linear-gradient(145deg,#111b21,#091115);padding:14px;color:white;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;overflow:hidden}.brand-world img{width:100%;height:70px;object-fit:contain}.fresh-world img,.glut-world img{filter:none}.live-world img{filter:invert(1)}.brand-world span{font-size:11px;color:#aab2b6;font-weight:750}.brand-world.active{border-color:#ffc800;box-shadow:0 0 0 1px rgba(255,200,0,.22)}.section-head{display:flex;align-items:end;justify-content:space-between;padding:20px 20px 5px}.section-head small{color:#a6afb4;font-weight:850;letter-spacing:.14em}.section-head h2{font-size:38px;margin:4px 0}.filter-button{border:1px solid #40505a;background:#10191e;color:white;border-radius:999px;padding:12px 18px;font-weight:800}.premium-events{padding-top:18px}.premium-events .event-card{padding:0;border-radius:28px;background:#0d161b}.premium-events .event-card:before{display:none}.premium-events .event-image{width:100%;height:265px;margin:0;border-radius:28px 28px 0 0}.premium-events .card-body{padding:22px}.premium-events .card-head{align-items:center}.premium-events .event-card h2{font-size:30px;margin:18px 0 15px}.premium-events .meta{font-size:17px;margin:10px 0}.card-actions{display:grid;grid-template-columns:1fr auto;gap:10px;margin-top:18px}.favorite-btn{border:1px solid #3c4a52;background:transparent;color:#fff;border-radius:18px;min-width:58px;font-size:24px}.favorite-btn.saved{color:#ffc800;border-color:#ffc800}.countdown{display:inline-block;margin-top:14px;color:#ffc800;font-size:13px;font-weight:900;letter-spacing:.08em}.quick-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;padding:15px 16px 35px}.quick-grid article{background:#0d161b;border:1px solid #26333a;border-radius:18px;padding:16px 10px;text-align:center}.quick-grid span{font-size:25px;color:#ffc800}.quick-grid b{display:block;margin:8px 0 3px;font-size:13px}.quick-grid small{color:#9aa4aa;font-size:10px}.bottom-nav{background:rgba(4,10,14,.94);backdrop-filter:blur(18px)}
@media(max-width:650px){.hero-premium{height:500px}.hero-content h1{font-size:39px}.today-card{align-items:stretch;flex-direction:column}.today-card a{text-align:center}.brand-worlds{grid-template-columns:1fr 1fr}.live-world{grid-column:1/-1;min-height:105px}.quick-grid{grid-template-columns:repeat(2,1fr)}.premium-events .event-image{height:215px}.top-logo{width:128px}}

/* === ALPENPULS Premium Calm Edition: information first === */
.premium-topbar{height:82px;background:rgba(5,11,15,.985)}
.hero-premium{height:360px;background:radial-gradient(circle at 85% 10%,rgba(255,200,0,.12),transparent 38%),linear-gradient(145deg,#0d171d,#050b0f 68%)}
.hero-premium>img{display: none;filter:saturate(.65) contrast(.92);object-position:center 46%}
.hero-overlay{background:linear-gradient(90deg,rgba(3,9,13,.97) 0%,rgba(3,9,13,.82) 58%,rgba(3,9,13,.56) 100%),linear-gradient(180deg,rgba(3,8,11,.15),#060b0f 96%)}
.hero-content{inset:auto 24px 24px;max-width:700px}
.hero-content .eyebrow{margin:16px 0 6px}
.hero-content h1{font-size:39px;line-height:1.03;max-width:520px}
.today-card{margin-top:18px;background:rgba(11,20,25,.94);border-color:#2a373e;backdrop-filter:blur(8px);box-shadow:0 18px 45px rgba(0,0,0,.25)}
.brand-worlds{padding-top:18px}
.brand-world{min-height:105px;background:#0d161b}
.brand-world img{height:62px;max-width:90%;object-fit:contain;background:transparent}
.section-head{padding-top:28px}
.premium-events{gap:16px}
.premium-events .event-card{display:block;border-radius:24px;background:#0c151a;box-shadow:none}
.premium-events .event-image{display:block;width:100%;height:138px;border-radius:24px 24px 0 0;object-fit:cover;opacity:.72;filter:saturate(.82) contrast(.96)}
.premium-events .card-body{padding:20px 22px 22px}
.premium-events .event-card h2{font-size:27px;margin:15px 0 12px}
.premium-events .meta{font-size:16px;margin:8px 0;color:#e7ebed}
.premium-events .card-head{gap:10px}
.premium-events .date{font-size:17px}
.premium-events .badge{padding:8px 12px;font-size:11px}
.premium-events .countdown{margin-top:10px}
.card-actions{margin-top:16px}
.info-btn{padding:15px;font-size:16px;margin-top:0}
.favorite-btn{min-width:54px}
.quick-grid{padding-top:24px}
@media(min-width:680px){
  .premium-events .event-card{display:grid;grid-template-columns:190px 1fr;min-height:245px}
  .premium-events .event-image{height:100%;min-height:245px;border-radius:24px 0 0 24px;opacity:.68}
  .premium-events .card-body{padding:24px 26px}
}
@media(max-width:650px){
  .premium-topbar{height:76px}
  .hero-premium{height:350px}
  .hero-premium>img{display:.20}
  .hero-content h1{font-size:34px}
  .today-card{padding:15px}
  .today-card strong{font-size:20px}
  .brand-worlds{gap:9px;padding-left:12px;padding-right:12px}
  .brand-world{min-height:96px;padding:10px}
  .brand-world img{height:54px}
  .premium-events .event-image{height:118px}
  .premium-events .event-card h2{font-size:25px}
}

/* Live-Status Verwaltung */
.live-manager{margin:38px 0 54px}.settings-form{display:block!important}.hero-hours,.hero-notice{display:block;margin-top:7px;color:#c8d0d5;font-size:.92rem;letter-spacing:0;text-transform:none}.hero-notice{color:#ffcc00}.today-card.closed #heroStatus{color:#ff6b5f}.today-card.open #heroStatus{color:#45eb63}.today-card.closed #heroRoute{opacity:.72}.settings-form .check{padding:16px 18px;border:1px solid #2c3941;border-radius:14px;background:#111b21}.settings-form .check input{width:22px;height:22px}

/* Kalender-Integration */
.card-actions{grid-template-columns:minmax(0,1fr) auto auto;align-items:stretch}
.calendar-btn{border:1px solid #4b5961;background:#111b20;color:#fff;border-radius:18px;padding:0 16px;font-weight:850;white-space:nowrap;cursor:pointer}
.calendar-btn:hover,.calendar-btn:focus-visible{border-color:var(--yellow);color:var(--yellow)}
.calendar-modal{font:inherit;cursor:pointer;background:var(--yellow);border-color:var(--yellow);color:#101010}
@media(max-width:520px){.card-actions{grid-template-columns:1fr 1fr auto}.info-btn{grid-column:1/-1}.calendar-btn{min-height:52px}}


.calendar-chooser{position:fixed;inset:0;z-index:9999;background:rgba(0,0,0,.74);display:grid;place-items:center;padding:20px}.calendar-chooser-card{position:relative;width:min(420px,100%);background:#0d171c;border:1px solid #33434a;border-radius:22px;padding:28px;box-shadow:0 24px 70px rgba(0,0,0,.55)}.calendar-chooser-card h3{margin:0 34px 8px 0;font-size:1.35rem}.calendar-chooser-card p{color:#aeb8bd}.calendar-chooser-card a,.calendar-chooser-card .ics-choice{display:block;width:100%;box-sizing:border-box;margin:10px 0;padding:14px 16px;border-radius:13px;border:1px solid #ffbf00;background:#111c21;color:#fff;text-decoration:none;font:inherit;font-weight:800;text-align:center;cursor:pointer}.calendar-chooser-card a:hover,.calendar-chooser-card .ics-choice:hover{background:#ffbf00;color:#071015}.calendar-close{position:absolute;right:14px;top:12px;border:0;background:transparent;color:#fff;font-size:30px;cursor:pointer}.calendar-chooser-card small{display:block;margin-top:14px;color:#8f9ba0;line-height:1.45}

/* ===== Interaktive Schnellzugriffe & Angebote ===== */
.quick-card{appearance:none;border:1px solid #26343c;background:#0d171d;color:#fff;border-radius:22px;padding:28px 18px;display:flex;flex-direction:column;align-items:center;gap:10px;font:inherit;cursor:pointer;transition:.18s ease}.quick-card:hover,.quick-card:focus-visible{transform:translateY(-3px);border-color:#ffc400;box-shadow:0 12px 30px #0008}.quick-card span{font-size:28px;color:#ffc400}.quick-card b{font-size:17px}.quick-card small{color:#9aabb4}.offers-sheet{max-height:88vh;overflow:auto}.offers-list,.favorites-list{display:grid;gap:22px}.offer-brand-group{display:grid;gap:12px}.offer-group-head{display:flex;justify-content:space-between;align-items:end;border-bottom:1px solid #26343c;padding-bottom:9px}.offer-group-head h3{margin:0}.offer-group-head span{color:#9aabb4;font-size:13px}.public-offer{display:grid;grid-template-columns:72px 1fr auto;gap:14px;align-items:center;padding:14px;border:1px solid #27353d;border-radius:17px;background:#0c161c}.public-offer img,.offer-icon{width:72px;height:72px;border-radius:13px;object-fit:cover;background:#131f26;display:grid;place-items:center;font-size:30px}.public-offer h4,.public-offer p{margin:2px 0}.public-offer p{color:#9aabb4;font-size:13px}.public-offer small{color:#ffc400;font-weight:800}.public-offer>b{white-space:nowrap;font-size:18px}.public-offer.featured{border-color:#ffc400;box-shadow:inset 3px 0 #ffc400}.favorite-row{display:grid;grid-template-columns:70px 1fr auto;gap:13px;align-items:center;padding:13px;border:1px solid #27353d;border-radius:16px}.favorite-row img{width:70px;height:70px;object-fit:cover;border-radius:12px}.favorite-row h3,.favorite-row p{margin:2px 0}.favorite-row p,.favorite-row small{color:#9aabb4}.favorite-row button{border:1px solid #ffc400;background:transparent;color:#ffc400;border-radius:12px;padding:10px}.offer-overview{display:grid;gap:12px;margin-bottom:22px}.offer-admin-item{display:grid;grid-template-columns:72px 1fr auto;align-items:center;gap:16px;padding:14px 18px;border:1px solid #27353d;border-radius:18px;background:#0b151a}.offer-admin-item img,.offer-placeholder{width:72px;height:72px;border-radius:13px;object-fit:cover;background:#17242b;display:grid;place-items:center;font-size:30px}.offer-admin-item h3,.offer-admin-item p{margin:3px 0}.offer-admin-item p{color:#9aabb4}.offer-admin-item>div:last-child{display:flex;align-items:center;gap:9px;flex-wrap:wrap;justify-content:flex-end}.offer-admin-item.unavailable{opacity:.6}.offer-star{color:#ffc400;font-size:13px;font-weight:800}.offers-manager{margin:42px 0}.offer-form{margin-bottom:44px}@media(max-width:650px){.public-offer{grid-template-columns:58px 1fr auto}.public-offer img,.offer-icon{width:58px;height:58px}.offer-admin-item{grid-template-columns:56px 1fr}.offer-admin-item img,.offer-placeholder{width:56px;height:56px}.offer-admin-item>div:last-child{grid-column:1/-1;justify-content:flex-start}.favorite-row{grid-template-columns:58px 1fr}.favorite-row img{width:58px;height:58px}.favorite-row button{grid-column:1/-1}}

/* Hamburger navigation drawer */
.side-menu{position:fixed;inset:0;z-index:140}.menu-backdrop{position:absolute;inset:0;border:0;background:rgba(0,0,0,.72);backdrop-filter:blur(3px)}.menu-panel{position:absolute;left:0;top:0;bottom:0;width:min(88vw,390px);overflow-y:auto;background:linear-gradient(180deg,#0d171c,#060c10);border-right:1px solid #344149;padding:calc(24px + env(safe-area-inset-top)) 22px calc(30px + env(safe-area-inset-bottom));box-shadow:24px 0 65px rgba(0,0,0,.55);animation:menuIn .22s ease-out}.menu-head{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #263238;padding-bottom:20px}.menu-head img{width:175px;max-height:72px;object-fit:contain}.menu-head button{width:44px;height:44px;border:1px solid #3a474e;border-radius:50%;background:#111c21;color:#fff;font-size:28px}.menu-live{display:flex;align-items:center;gap:13px;margin:22px 0;padding:15px;border:1px solid #2c383e;border-radius:17px;background:#101a1f}.menu-live i{width:12px;height:12px;border-radius:50%;background:var(--green);box-shadow:0 0 14px var(--green)}.menu-live div{display:flex;flex-direction:column;gap:4px}.menu-live b{letter-spacing:.08em}.menu-live span{font-size:13px;color:var(--muted)}.menu-links{display:grid;gap:9px}.menu-links button{width:100%;display:grid;grid-template-columns:42px 1fr;align-items:center;text-align:left;gap:12px;border:1px solid transparent;border-radius:16px;background:transparent;color:#fff;padding:14px}.menu-links button:hover,.menu-links button:focus-visible{background:#152127;border-color:#36444b}.menu-links button>span{font-size:25px;color:var(--yellow);text-align:center}.menu-links div{display:flex;flex-direction:column;gap:3px}.menu-links b{font-size:17px}.menu-links small{color:var(--muted)}.menu-secondary{display:grid;gap:8px;margin-top:22px;padding-top:20px;border-top:1px solid #263238}.menu-secondary a{color:#fff;text-decoration:none;padding:12px 14px;border-radius:12px}.menu-secondary a:hover{background:#152127}.menu-version{display:block;margin:24px 14px 0;color:#738087}.side-menu[hidden]{display:none}@keyframes menuIn{from{transform:translateX(-100%)}to{transform:translateX(0)}}

/* Compact dropdown menu */
.dropdown-menu{position:fixed;z-index:145;top:86px;left:max(14px,calc(50% - 390px + 14px));width:min(320px,calc(100vw - 28px));max-height:calc(100vh - 116px);overflow:auto;background:rgba(10,18,23,.98);border:1px solid #344149;border-radius:0 0 20px 20px;box-shadow:0 20px 55px rgba(0,0,0,.58);padding:14px;transform-origin:top left;animation:dropMenuIn .18s ease-out}.dropdown-menu[hidden]{display:none}.dropdown-status{display:flex;align-items:center;gap:11px;padding:12px 13px;margin-bottom:9px;border:1px solid #29363d;border-radius:14px;background:#101a1f}.dropdown-status i{width:10px;height:10px;border-radius:50%;background:var(--green);box-shadow:0 0 11px var(--green);flex:0 0 auto}.dropdown-status div{display:flex;flex-direction:column;gap:2px}.dropdown-status b{font-size:13px;letter-spacing:.08em}.dropdown-status span{font-size:11px;color:var(--muted)}.dropdown-links{display:grid;gap:4px}.dropdown-links button{display:grid;grid-template-columns:34px 1fr;align-items:center;gap:10px;width:100%;padding:11px 10px;border:1px solid transparent;border-radius:12px;background:transparent;color:#fff;text-align:left}.dropdown-links button:hover,.dropdown-links button:focus-visible{background:#152127;border-color:#36444b}.dropdown-links button>span{font-size:20px;color:var(--yellow);text-align:center}.dropdown-links div{display:flex;flex-direction:column;gap:1px}.dropdown-links b{font-size:14px}.dropdown-links small{font-size:11px;color:var(--muted)}.dropdown-secondary{display:grid;gap:2px;margin-top:9px;padding-top:9px;border-top:1px solid #263238}.dropdown-secondary a{padding:10px;color:#fff;text-decoration:none;border-radius:10px;font-size:13px}.dropdown-secondary a:hover{background:#152127}@keyframes dropMenuIn{from{opacity:0;transform:translateY(-8px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}@media(max-width:780px){.dropdown-menu{left:14px;top:78px}}


/* Kontaktformular */
.contact-sheet{max-width:620px}
.contact-intro{color:var(--muted);margin:0 0 20px}
.contact-form{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.contact-form label{display:grid;gap:7px;font-weight:750;font-size:14px}
.contact-form label:nth-of-type(5),.contact-form label:nth-of-type(6),.contact-consent,.contact-submit,.contact-result{grid-column:1/-1}
.contact-form input,.contact-form select,.contact-form textarea{width:100%;border:1px solid #344149;border-radius:14px;background:#142028;color:#fff;padding:14px;font:inherit}
.contact-form textarea{resize:vertical}
.contact-consent{display:flex!important;grid-template-columns:auto 1fr!important;align-items:flex-start;font-weight:500!important;color:var(--muted)}
.contact-consent input{width:auto;margin-top:3px}
.contact-submit{border:0;border-radius:14px;padding:15px 20px;background:var(--yellow);color:#05090c;font-weight:900;font-size:16px}
.contact-submit:disabled{opacity:.65}
.contact-result{min-height:22px;margin:0}
.contact-result.success{color:var(--green)}
.contact-result.error{color:#ff6666}
.contact-hp{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}
@media(max-width:560px){.contact-form{grid-template-columns:1fr}.contact-form label{grid-column:1!important}}

/* Nachrichten im Admin */
.messages-manager{margin:34px 0}
.message-stats{display:flex;gap:14px;margin:10px 0 16px}
.message-stats span{padding:10px 14px;border:1px solid var(--line);border-radius:999px;color:var(--muted)}
.message-stats b{color:var(--yellow)}
.message-overview{display:grid;gap:14px}
.message-item{border:1px solid #2a363d;border-radius:22px;background:#0d161b;padding:20px}
.message-item.new{box-shadow:inset 4px 0 var(--yellow)}
.message-item.done{opacity:.72}
.message-head{display:flex;justify-content:space-between;gap:16px}
.message-head>div{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.message-topic{color:var(--yellow);font-weight:800}
.message-head time{color:var(--muted);font-size:13px}
.message-item h3{margin:14px 0 8px}
.message-from{color:var(--muted)}
.message-from a{color:#fff}
.message-text{white-space:normal;line-height:1.6;padding:15px;background:#111d23;border-radius:14px}
.message-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:15px}
.message-actions a,.message-actions button{padding:10px 13px;border-radius:11px;text-decoration:none}



.live-world img{
    background:transparent !important;
}

@media (max-width:650px){
    .fresh-world img,
    .glut-world img{
        height:54px !important;
    }
}


/* ===== Sichtbare Vergrößerung FreshMobil & GlutMobil ===== */
.fresh-world img,
.glut-world img{
    height:62px !important;
    width:auto !important;
    max-width:100% !important;
    object-fit:contain !important;
    background:transparent !important;
    filter:none !important;
    transform:scale(1.12);
    transform-origin:center;
}

@media (max-width:650px){
    .fresh-world img,
    .glut-world img{
        height:54px !important;
        transform:scale(1.12);
    }
}

/* ===== Dritter Marken-Button: farbiges ALPENPULS EventLogo ===== */
.live-world img{
    filter:none !important;
    background:transparent !important;
    width:auto !important;
    height:85px !important;
    max-width:96% !important;
    object-fit:contain !important;
}

@media(max-width:650px){
    .live-world img{
        height:70px !important;
        max-width:94% !important;
    }
}
/* ===== 3D-Effekt für Marken-Buttons ===== */

.brand-world{
    position:relative;
    transform-style:preserve-3d;
    perspective:900px;

    background:
        linear-gradient(145deg,#142028 0%,#0a1217 55%,#071015 100%);

    border:1px solid #334149;

    box-shadow:
        0 10px 0 #020608,
        0 16px 28px rgba(0,0,0,.45),
        inset 0 1px 0 rgba(255,255,255,.08),
        inset 0 -3px 8px rgba(0,0,0,.38);

    transform:translateY(0);
    transition:
        transform .18s ease,
        box-shadow .18s ease,
        border-color .18s ease;
}

/* Lichtkante oben */
.brand-world::before{
    content:"";
    position:absolute;
    inset:1px 1px auto 1px;
    height:42%;
    border-radius:20px 20px 50% 50%;
    background:linear-gradient(
        180deg,
        rgba(255,255,255,.07),
        transparent
    );
    pointer-events:none;
}

/* Schattenkante unten */
.brand-world::after{
    content:"";
    position:absolute;
    left:12%;
    right:12%;
    bottom:-12px;
    height:14px;
    border-radius:50%;
    background:rgba(0,0,0,.45);
    filter:blur(8px);
    z-index:-1;
}

/* Antippen / Anklicken */
.brand-world:active{
    transform:translateY(7px);
    box-shadow:
        0 3px 0 #020608,
        0 7px 15px rgba(0,0,0,.4),
        inset 0 2px 7px rgba(0,0,0,.35);
}

/* Desktop Hover */
@media (hover:hover){
    .brand-world:hover{
        transform:translateY(-4px) rotateX(2deg);
        border-color:#ffc800;

        box-shadow:
            0 14px 0 #020608,
            0 22px 38px rgba(0,0,0,.52),
            inset 0 1px 0 rgba(255,255,255,.1);
    }
}

/* Logos leicht nach vorne */
.brand-world img{
    position:relative;
    z-index:2;
    transform:translateZ(18px);
}

/* Text ebenfalls leicht nach vorne */
.brand-world span{
    position:relative;
    z-index:2;
    transform:translateZ(10px);
}

/* ===== Besucherstatistik im Admin: kompakte Symbolansicht ===== */
.analytics-manager.analytics-compact{
  margin:30px 0 46px;
}

.analytics-head{
  margin-bottom:13px;
}

.analytics-head h2{
  margin:0 0 3px;
}

.analytics-head p{
  margin:0;
  color:var(--muted);
  font-size:14px;
}

.analytics-refresh{
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  flex:0 0 auto;
  border:1px solid #3a4850;
  border-radius:50%;
  background:#101a20;
  color:#fff;
  font-size:22px;
  cursor:pointer;
  transition:.18s ease;
}

.analytics-refresh:hover,
.analytics-refresh:focus-visible{
  color:var(--yellow);
  border-color:var(--yellow);
  transform:rotate(24deg);
}

.analytics-compact-card{
  overflow:hidden;
  border:1px solid #2c3941;
  border-radius:20px;
  background:
    linear-gradient(145deg,#101a20,#091116);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.05),
    0 12px 28px rgba(0,0,0,.22);
}

.analytics-row{
  min-height:62px;
  display:grid;
  grid-template-columns:40px minmax(0,1fr) auto;
  align-items:center;
  gap:12px;
  padding:10px 16px;
  border-bottom:1px solid rgba(255,255,255,.07);
}

.analytics-row:last-of-type{
  border-bottom:0;
}

.analytics-icon{
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border:1px solid #344149;
  border-radius:11px;
  background:#142028;
  font-size:18px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05);
}

.analytics-row>div{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:2px;
}

.analytics-row b{
  font-size:15px;
  color:#fff;
}

.analytics-row small{
  color:var(--muted);
  font-size:11px;
}

.analytics-row>strong{
  color:var(--yellow);
  font-size:22px;
  line-height:1;
  text-align:right;
  font-variant-numeric:tabular-nums;
}

.analytics-top-row{
  display:grid;
  grid-template-columns:40px minmax(0,1fr) auto;
  align-items:center;
  gap:12px;
  padding:15px 16px;
  border-top:1px solid rgba(255,200,0,.28);
  background:
    linear-gradient(90deg,rgba(255,200,0,.08),transparent 58%);
}

.analytics-top-row>div{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:4px;
}

.analytics-top-row small{
  color:var(--yellow);
  font-size:10px;
  font-weight:900;
  letter-spacing:.11em;
}

.analytics-top-row b{
  overflow:hidden;
  color:#fff;
  font-size:15px;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.analytics-top-row>strong{
  padding:7px 10px;
  border-radius:999px;
  background:#2c260c;
  color:var(--yellow);
  font-size:12px;
  white-space:nowrap;
}

.analytics-message{
  min-height:18px;
  margin:9px 4px 0;
  font-size:12px;
  color:var(--muted);
}

@media(min-width:760px){
  .analytics-compact-card{
    display:grid;
    grid-template-columns:1fr 1fr;
  }

  .analytics-row{
    border-right:1px solid rgba(255,255,255,.07);
  }

  .analytics-row:nth-child(even){
    border-right:0;
  }

  .analytics-top-row{
    grid-column:1/-1;
  }
}

@media(max-width:520px){
  .analytics-row{
    min-height:58px;
    grid-template-columns:36px minmax(0,1fr) auto;
    gap:9px;
    padding:9px 12px;
  }

  .analytics-icon{
    width:31px;
    height:31px;
    font-size:16px;
  }

  .analytics-row>strong{
    font-size:20px;
  }

  .analytics-top-row{
    grid-template-columns:36px minmax(0,1fr);
    padding:13px 12px;
  }

  .analytics-top-row>strong{
    grid-column:2;
    justify-self:start;
  }
}

/* Zeitraum-Auswahl bei Seitenaufrufen: vier kompakte Buttons */
.analytics-period-buttons{
  display:flex;
  flex-wrap:wrap;
  gap:4px;
  margin-top:5px;
}

.analytics-period-buttons button{
  min-height:25px;
  padding:3px 8px;
  border:1px solid #344149;
  border-radius:8px;
  background:
    linear-gradient(145deg,#162129,#0c151a);
  color:#9eabb2;
  font:inherit;
  font-size:10px;
  font-weight:800;
  line-height:1;
  cursor:pointer;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.05),
    0 2px 0 #030709;
  transition:
    color .16s ease,
    border-color .16s ease,
    background .16s ease,
    transform .16s ease;
}

.analytics-period-buttons button:hover,
.analytics-period-buttons button:focus-visible{
  color:#fff;
  border-color:#66757d;
}

.analytics-period-buttons button.active{
  border-color:var(--yellow);
  background:
    linear-gradient(145deg,#ffd426,#e3ab00);
  color:#101010;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.42),
    0 2px 0 #715500,
    0 0 10px rgba(255,200,0,.12);
}

.analytics-period-buttons button:active{
  transform:translateY(2px);
  box-shadow:
    inset 0 2px 4px rgba(0,0,0,.25),
    0 0 0 transparent;
}

.analytics-number-pulse{
  animation:analyticsNumberPulse .22s ease;
}

@keyframes analyticsNumberPulse{
  0%{opacity:.45;transform:scale(.92)}
  100%{opacity:1;transform:scale(1)}
}

@media(max-width:520px){
  .analytics-period-buttons{
    gap:3px;
  }

  .analytics-period-buttons button{
    min-height:24px;
    padding:3px 6px;
    font-size:9px;
  }
}


/* Zeitraum-Buttons oberhalb der Statistikfelder */
.analytics-head{
  align-items:flex-start;
}

.analytics-title-block{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:9px;
  min-width:0;
}

.analytics-title-block h2{
  margin:0;
}

.analytics-period-toolbar{
  margin-top:0;
}

.analytics-period-toolbar button{
  min-height:28px;
  padding:4px 10px;
  font-size:11px;
}

@media(max-width:620px){
  .analytics-head{
    flex-direction:row;
    align-items:flex-start;
  }

  .analytics-title-block{
    max-width:calc(100% - 54px);
  }

  .analytics-period-toolbar{
    width:100%;
  }

  .analytics-period-toolbar button{
    flex:1 1 auto;
    min-width:58px;
  }
}

/* ===== Partner- und Sponsorenverwaltung (Admin) ===== */
.partners-manager{margin:44px 0 54px;padding-top:10px}
.partner-admin-stats{display:flex;gap:12px;flex-wrap:wrap;margin:8px 0 16px}
.partner-admin-stats span{padding:10px 14px;border:1px solid var(--line);border-radius:999px;color:var(--muted);background:#0b1419}
.partner-admin-stats b{color:var(--yellow);font-size:18px}
.partner-overview{display:grid;gap:12px}
.partner-admin-item{display:grid;grid-template-columns:90px minmax(0,1fr) auto;gap:18px;align-items:center;padding:16px 18px;border:1px solid #2a363d;border-radius:20px;background:#0b151a;transition:border-color .18s ease,opacity .18s ease}
.partner-admin-item:hover{border-color:#46565f}
.partner-admin-item.unavailable{opacity:.62}
.partner-admin-logo{width:90px;height:72px;border-radius:14px;background:#fff;display:grid;place-items:center;padding:10px;overflow:hidden}
.partner-admin-logo img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}
.partner-monogram{display:grid;place-items:center;width:100%;height:100%;border:1px dashed #aeb6b9;border-radius:9px;color:#304048;font-weight:900;letter-spacing:.08em}
.partner-admin-copy{min-width:0}
.partner-admin-copy small{color:var(--yellow);font-weight:850;letter-spacing:.04em}
.partner-admin-copy h3{margin:4px 0;font-size:21px}
.partner-admin-copy p{margin:0;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.partner-admin-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;flex-wrap:wrap}
.partner-admin-actions button{border:1px solid #536068;border-radius:10px;padding:9px 12px;background:none;color:#fff}
.partner-form{margin-bottom:48px}
.logo-discovery-panel{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:12px 0 4px;padding:17px 18px;border:1px solid #34434b;border-radius:16px;background:linear-gradient(130deg,#111d23,#0d171c)}
.logo-discovery-panel strong{display:block;color:#fff;margin-bottom:4px}
.logo-discovery-panel p{margin:0;color:var(--muted);font-size:13px;line-height:1.5}
.logo-discovery-panel .secondary{flex:0 0 auto;white-space:nowrap}
.logo-discovery-panel button:disabled{opacity:.55;cursor:wait}
.partner-logo-admin{display:grid;grid-template-columns:minmax(220px,360px) 1fr;gap:18px;align-items:center;margin:8px 0 10px}
.partner-logo-preview{min-height:150px;border:1px solid #35444c;border-radius:17px;background:#fff;display:grid;place-items:center;padding:22px;overflow:hidden;color:#69777c;text-align:center}
.partner-logo-preview img{display:block;max-width:100%;max-height:112px;width:auto;height:auto;object-fit:contain}
.partner-logo-controls{display:flex;align-items:flex-start;flex-direction:column;gap:12px;color:var(--muted);font-size:13px;line-height:1.5}
.field-heading{display:flex;align-items:baseline;justify-content:space-between;gap:18px;margin:20px 0 10px}
.field-heading strong{font-size:16px;color:#fff}
.field-heading small{color:var(--muted);font-weight:500;text-align:right}
.partner-event-assignment,.event-partner-field{margin-top:8px;padding:18px;border:1px solid #2f3d44;border-radius:17px;background:#0a1318}
.partner-check-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.partner-check{display:grid!important;grid-template-columns:auto minmax(0,1fr);align-items:center!important;gap:11px!important;margin:0!important;padding:13px 14px;border:1px solid #2d3b43;border-radius:13px;background:#101a20;cursor:pointer;font-weight:600!important}
.partner-check:hover{border-color:#53656e;background:#132028}
.partner-check.inactive{opacity:.62}
.partner-check input{width:20px!important;height:20px;accent-color:var(--yellow);margin:0}
.partner-check span{min-width:0;display:flex;flex-direction:column;gap:3px}
.partner-check strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:14px}
.partner-check small{color:var(--muted);font-size:12px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.compact-empty{grid-column:1/-1;padding:16px 10px;margin:0}

@media(max-width:760px){
  .partner-admin-item{grid-template-columns:72px minmax(0,1fr)}
  .partner-admin-logo{width:72px;height:62px}
  .partner-admin-actions{grid-column:1/-1;justify-content:flex-start}
  .logo-discovery-panel{align-items:flex-start;flex-direction:column}
  .partner-logo-admin{grid-template-columns:1fr}
  .partner-check-grid{grid-template-columns:1fr}
  .field-heading{align-items:flex-start;flex-direction:column;gap:4px}
  .field-heading small{text-align:left}
}

/* ===== Partner-Update V2: schnelle Admin-Navigation ===== */
html{scroll-behavior:smooth}
#partnersAdmin,#offersAdmin,#messagesAdmin{scroll-margin-top:24px}
.admin-header-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;flex-wrap:wrap}
@media(max-width:650px){.admin-header-actions{justify-content:flex-start}}

/* ===== Admin Schnellzugriff ===== */
#analyticsAdmin,#liveStatusAdmin,#offersAdmin,#partnersAdmin,#messagesAdmin,#eventsAdmin{scroll-margin-top:22px}
.admin-header-actions .header-create{border-color:rgba(255,200,0,.75);color:var(--yellow);font-weight:850;background:rgba(255,200,0,.06)}
.admin-header-actions .header-create:hover,.admin-header-actions .header-create:focus-visible{background:rgba(255,200,0,.13);border-color:var(--yellow)}
.admin-quick-menu{position:relative}
.admin-quick-menu-panel{position:absolute;right:0;top:calc(100% + 10px);z-index:180;width:min(330px,calc(100vw - 36px));padding:10px;background:rgba(8,15,19,.99);border:1px solid #35434a;border-radius:18px;box-shadow:0 22px 60px rgba(0,0,0,.56);display:grid;gap:4px}
.admin-quick-menu-panel[hidden]{display:none}
.admin-header-actions .admin-quick-menu-panel button,.admin-header-actions .admin-quick-menu-panel a{width:100%;display:grid;grid-template-columns:34px 1fr;gap:10px;align-items:center;text-align:left;border:1px solid transparent;border-radius:12px;padding:11px 10px;background:transparent;color:#fff;text-decoration:none;margin:0}
.admin-header-actions .admin-quick-menu-panel button:hover,.admin-header-actions .admin-quick-menu-panel button:focus-visible,.admin-header-actions .admin-quick-menu-panel a:hover,.admin-header-actions .admin-quick-menu-panel a:focus-visible{background:#152127;border-color:#39474e}
.admin-quick-menu-panel>button>span,.admin-quick-menu-panel>a>span{font-size:20px;color:var(--yellow);text-align:center}
.admin-quick-menu-panel div{display:flex;flex-direction:column;gap:2px;min-width:0}
.admin-quick-menu-panel b{font-size:14px}
.admin-quick-menu-panel small{font-size:11px;color:var(--muted);font-weight:500}
@media(max-width:760px){.admin-header-actions{width:100%}.admin-quick-menu{position:static}.admin-quick-menu-panel{left:0;right:auto;top:auto;margin-top:8px;width:min(100%,360px)}.admin-header-actions .header-create{flex:1 1 120px}}


/* ===== Admin v1.4: dauerhaft fixierter Admin-Kopf ===== */
:root{
  --admin-fixed-header-height:150px;
  --admin-safe-top:env(safe-area-inset-top, 0px);
}

.admin-body{
  padding-top:24px;
}

.admin-wrap{
  padding-top:calc(var(--admin-fixed-header-height) + var(--admin-safe-top) + 18px);
}

.admin-header{
  position:fixed;
  top:var(--admin-safe-top);
  left:24px;
  right:24px;
  z-index:1000;
  width:auto;
  max-width:1100px;
  margin:0 auto;
  padding:14px 12px;
  background:linear-gradient(180deg,rgba(4,9,12,.995),rgba(4,9,12,.965));
  border:1px solid rgba(82,98,106,.5);
  border-top:0;
  border-radius:0 0 18px 18px;
  box-shadow:0 14px 38px rgba(0,0,0,.42);
  -webkit-backdrop-filter:blur(14px);
  backdrop-filter:blur(14px);
}

.admin-header-actions{
  position:relative;
  z-index:1001;
}

.admin-quick-menu-panel{
  z-index:1100;
  max-height:calc(100vh - var(--admin-fixed-header-height) - var(--admin-safe-top) - 24px);
  overflow:auto;
  overscroll-behavior:contain;
}

#analyticsAdmin,#liveStatusAdmin,#offersAdmin,#partnersAdmin,#messagesAdmin,#eventsAdmin,
#eventForm,#offerForm,#partnerForm{
  scroll-margin-top:calc(var(--admin-fixed-header-height) + var(--admin-safe-top) + 20px);
}

@media(max-width:650px){
  :root{--admin-fixed-header-height:230px}
  .admin-body{padding:10px}
  .admin-wrap{padding-top:calc(var(--admin-fixed-header-height) + var(--admin-safe-top) + 12px)}
  .admin-header{
    left:8px;
    right:8px;
    padding:10px 8px;
    gap:10px;
    border-radius:0 0 15px 15px;
  }
  .admin-header h1{font-size:24px}
  .admin-brand{gap:10px}
  .admin-brand img{width:92px;height:48px}
  .admin-header-actions{gap:7px}
  .admin-header a,.admin-header button{padding:9px 10px;font-size:13px;white-space:nowrap}
  .admin-quick-menu{position:relative}
  .admin-quick-menu-panel{
    position:fixed;
    top:calc(var(--admin-safe-top) + var(--admin-fixed-header-height) + 6px);
    left:10px;
    right:10px;
    width:auto;
    margin:0;
    max-height:calc(100vh - var(--admin-fixed-header-height) - var(--admin-safe-top) - 20px);
  }
}


/* ===== Admin v1.5: unabhängige Partner-Sichtbarkeit ===== */
.admin-header-actions .header-partners{
  border-color:rgba(255,200,0,.75);
  color:var(--yellow);
  font-weight:850;
  background:rgba(255,200,0,.06);
}
.admin-header-actions .header-partners:hover,
.admin-header-actions .header-partners:focus-visible{
  background:rgba(255,200,0,.13);
  border-color:var(--yellow);
}
.admin-header-actions .header-logout{
  border-color:rgba(255,91,91,.78);
  color:#ff8080;
  font-weight:850;
  background:rgba(211,76,76,.08);
}
.admin-header-actions .header-logout:hover,
.admin-header-actions .header-logout:focus-visible{
  border-color:#ff7070;
  color:#fff;
  background:rgba(211,76,76,.28);
}
.partner-admin-item.website-hidden{
  opacity:.82;
  border-style:dashed;
}
.partner-visibility-toggle{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-width:188px;
  border-radius:999px!important;
  padding:9px 13px!important;
  font-size:12px;
  font-weight:850;
  white-space:nowrap;
  transition:background .18s ease,border-color .18s ease,color .18s ease,opacity .18s ease;
}
.partner-visibility-dot{
  width:10px;
  height:10px;
  flex:0 0 10px;
  border-radius:50%;
  background:currentColor;
  box-shadow:0 0 0 4px rgba(255,255,255,.06);
}
.partner-visibility-toggle.is-visible{
  color:#80ef8e!important;
  border-color:rgba(72,227,93,.62)!important;
  background:rgba(72,227,93,.09)!important;
}
.partner-visibility-toggle.is-hidden{
  color:#c0c8cc!important;
  border-color:#4a575e!important;
  background:#111b20!important;
}
.partner-visibility-toggle:hover,
.partner-visibility-toggle:focus-visible{filter:brightness(1.16)}
.partner-visibility-toggle.is-saving{opacity:.62;cursor:wait}
.partner-form .partner-website-visibility,
.partner-form .partner-footer-visibility{
  align-items:flex-start;
  gap:10px;
}
.partner-form .partner-website-visibility>span,
.partner-form .partner-footer-visibility>span{
  display:flex;
  flex-direction:column;
  gap:4px;
}
.partner-form .partner-website-visibility small,
.partner-form .partner-footer-visibility small{
  color:var(--muted);
  font-weight:500;
  line-height:1.45;
}
@media(max-width:760px){.partner-visibility-toggle{min-width:170px}}


/* ===== Eigene/Testgeräte von Analytics ausschließen (V1.8) ===== */
.analytics-device-manager{
  margin-top:14px;
  padding:16px;
  border:1px solid #2c3941;
  border-radius:18px;
  background:linear-gradient(145deg,#0f191f,#0a1217);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04);
}
.analytics-device-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  margin-bottom:13px;
}
.analytics-device-head>div{display:flex;flex-direction:column;gap:3px;min-width:0}
.analytics-device-head b{color:#fff;font-size:15px}
.analytics-device-head small{color:var(--muted);font-size:12px;line-height:1.45}
.analytics-device-state{
  flex:0 0 auto;
  padding:6px 10px;
  border:1px solid #4a5961;
  border-radius:999px;
  color:#c8d0d4;
  font-size:11px;
  font-weight:850;
  white-space:nowrap;
}
.analytics-device-state.excluded{border-color:#4d7c59;background:#11251a;color:#8ee3a1}
.analytics-device-state.counted{border-color:#876f25;background:#28220d;color:#ffd24a}
.analytics-device-controls{
  display:grid;
  grid-template-columns:minmax(220px,1fr) auto;
  align-items:end;
  gap:10px;
}
.analytics-device-controls label{display:flex;flex-direction:column;gap:6px;color:#aab6bc;font-size:11px;font-weight:800}
.analytics-device-controls input{
  width:100%;
  min-height:42px;
  padding:9px 11px;
  border:1px solid #3a4850;
  border-radius:10px;
  background:#091116;
  color:#fff;
  font:inherit;
}
.analytics-device-controls input:focus{outline:none;border-color:var(--yellow);box-shadow:0 0 0 2px rgba(255,200,0,.08)}
.analytics-device-toggle{
  min-height:42px;
  padding:9px 14px;
  border:1px solid var(--yellow);
  border-radius:10px;
  background:linear-gradient(145deg,#ffd426,#e3ab00);
  color:#101010;
  font:inherit;
  font-size:12px;
  font-weight:900;
  cursor:pointer;
}
.analytics-device-toggle.is-excluded{border-color:#536068;background:#111b21;color:#fff}
.analytics-device-toggle:disabled{opacity:.58;cursor:wait}
.analytics-excluded-list{display:grid;gap:8px;margin-top:13px}
.analytics-device-empty{margin:0;padding:8px 0;color:#7f8e96;font-size:12px}
.analytics-excluded-device{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto auto;
  align-items:center;
  gap:10px;
  padding:10px 11px;
  border:1px solid rgba(255,255,255,.07);
  border-radius:11px;
  background:#0a1318;
}
.analytics-excluded-device>div{min-width:0;display:flex;flex-direction:column;gap:2px}
.analytics-excluded-device b{overflow:hidden;color:#fff;font-size:12px;text-overflow:ellipsis;white-space:nowrap}
.analytics-excluded-device small{color:#85949b;font-size:10px}
.analytics-current-device{padding:4px 7px;border-radius:999px;background:#15291c;color:#86dda0;font-size:9px;font-weight:900;white-space:nowrap}
.analytics-excluded-device button{
  border:1px solid #4a5961;
  border-radius:8px;
  padding:6px 9px;
  background:#111b21;
  color:#dfe5e8;
  font:inherit;
  font-size:10px;
  font-weight:800;
  cursor:pointer;
}
.analytics-excluded-device button:hover{border-color:#76858d;color:#fff}
.analytics-device-note{margin:12px 0 0;color:#819098;font-size:10px;line-height:1.5}
.analytics-device-message{min-height:16px;margin:8px 0 0;font-size:11px;color:#aab6bc}
@media(max-width:680px){
  .analytics-device-head{flex-direction:column}
  .analytics-device-controls{grid-template-columns:1fr}
  .analytics-device-toggle{width:100%}
  .analytics-excluded-device{grid-template-columns:minmax(0,1fr) auto}
  .analytics-current-device{grid-column:1;justify-self:start}
  .analytics-excluded-device button{grid-column:2;grid-row:1/3}
}


/* ===== Besucher nach Ort / Geo-IP-Auswertung (V1.9) ===== */
.analytics-geo-manager{
  margin-top:14px;
  padding:16px;
  border:1px solid #2c3941;
  border-radius:18px;
  background:linear-gradient(145deg,#0f191f,#091116);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04);
}
.analytics-geo-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  margin-bottom:12px;
}
.analytics-geo-head>div{display:flex;flex-direction:column;gap:3px;min-width:0}
.analytics-geo-head b{color:#fff;font-size:15px}
.analytics-geo-head small{color:var(--muted);font-size:12px;line-height:1.45}
.analytics-geo-head>span{
  width:34px;height:34px;display:grid;place-items:center;flex:0 0 auto;
  border:1px solid #4a5961;border-radius:11px;background:#111c22;font-size:17px;
}
.analytics-geo-list{
  max-height:340px;
  overflow:auto;
  border:1px solid rgba(255,255,255,.07);
  border-radius:13px;
  background:#091217;
}
.analytics-geo-row{
  min-height:54px;
  display:grid;
  grid-template-columns:34px minmax(0,1fr) auto;
  align-items:center;
  gap:10px;
  padding:9px 11px;
  border-bottom:1px solid rgba(255,255,255,.06);
}
.analytics-geo-row:last-child{border-bottom:0}
.analytics-geo-row.is-unknown{background:rgba(255,255,255,.018)}
.analytics-geo-flag{
  width:30px;height:30px;display:grid;place-items:center;
  border:1px solid #344149;border-radius:9px;background:#121e24;font-size:16px;
}
.analytics-geo-row>div{min-width:0;display:flex;flex-direction:column;gap:2px}
.analytics-geo-row b{overflow:hidden;color:#fff;font-size:12px;text-overflow:ellipsis;white-space:nowrap}
.analytics-geo-row small{overflow:hidden;color:#85949b;font-size:10px;text-overflow:ellipsis;white-space:nowrap}
.analytics-geo-row>strong{color:var(--yellow);font-size:18px;font-variant-numeric:tabular-nums}
.analytics-geo-empty{margin:0;padding:16px;color:#7f8e96;font-size:12px;text-align:center}
.analytics-geo-country-block{margin-top:12px}
.analytics-geo-country-block>small{display:block;margin-bottom:7px;color:#7f8e96;font-size:9px;font-weight:900;letter-spacing:.09em}
.analytics-geo-countries{display:flex;flex-wrap:wrap;gap:6px}
.analytics-geo-countries span{
  display:inline-flex;align-items:center;gap:5px;
  padding:6px 9px;border:1px solid #334149;border-radius:999px;
  background:#0b151a;color:#aab6bc;font-size:10px;
}
.analytics-geo-countries b{color:var(--yellow);font-size:10px}
.analytics-geo-country-empty{color:#7f8e96!important}
.analytics-geo-note{margin:10px 0 0;color:#819098;font-size:10px;line-height:1.5}
@media(max-width:520px){
  .analytics-geo-manager{padding:13px}
  .analytics-geo-row{grid-template-columns:31px minmax(0,1fr) auto;padding:8px 9px}
  .analytics-geo-flag{width:28px;height:28px;font-size:15px}
  .analytics-geo-row>strong{font-size:17px}
}

/* ===== V1.9.2: kompakter Event-Status + vereinfachte Geo-Anzeige ===== */
.stats{
  gap:9px;
  margin:18px 0 24px;
}
.stats article{
  min-height:76px;
  display:flex;
  align-items:center;
  gap:12px;
  padding:12px 16px;
  border-radius:15px;
}
.stats b{
  display:inline-block;
  flex:0 0 auto;
  min-width:34px;
  font-size:27px;
  line-height:1;
}
.stats span{
  font-size:14px;
  line-height:1.2;
}

.analytics-geo-manager{
  padding:14px 16px;
}
.analytics-geo-head{
  margin-bottom:10px;
}
.analytics-geo-list{
  max-height:320px;
}
.analytics-geo-row{
  min-height:50px;
  grid-template-columns:38px minmax(0,1fr) auto;
  padding:8px 11px;
}
.analytics-geo-flag{
  position:relative;
  width:32px;
  height:26px;
  overflow:hidden;
  border-radius:7px;
  font-size:11px;
  font-weight:850;
  letter-spacing:.02em;
}
.analytics-geo-flag-fallback{
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  color:#e8edf0;
}
.analytics-geo-flag-img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.analytics-geo-row b{font-size:13px}
.analytics-geo-row small{font-size:10px}
.analytics-geo-note{margin-top:9px}

/* Alte Regions-/Laender-Chips in V1.9.2 bewusst nicht mehr anzeigen. */
.analytics-geo-country-block{display:none!important}

@media(max-width:650px){
  .stats{
    gap:8px;
    margin:14px 0 20px;
  }
  .stats article{
    min-height:64px;
    padding:10px 12px;
    gap:9px;
  }
  .stats b{
    min-width:29px;
    font-size:24px;
  }
  .stats span{font-size:13px}
}

@media(max-width:520px){
  .analytics-geo-manager{padding:12px}
  .analytics-geo-row{grid-template-columns:36px minmax(0,1fr) auto;padding:8px 9px}
  .analytics-geo-flag{width:30px;height:24px;font-size:10px}
}


/* ===== V1.9.4: Länder-Akkordeon mit Städten / Regionen ===== */
.analytics-geo-list{
  max-height:460px;
  overflow:auto;
}
.analytics-geo-country{
  margin:0;
  border:0;
  border-bottom:1px solid rgba(255,255,255,.065);
  background:#091217;
}
.analytics-geo-country:last-of-type{border-bottom:0}
.analytics-geo-country>summary{
  min-height:58px;
  display:grid;
  grid-template-columns:38px minmax(0,1fr) auto 22px;
  align-items:center;
  gap:11px;
  padding:9px 12px;
  cursor:pointer;
  list-style:none;
  user-select:none;
  transition:background .16s ease;
}
.analytics-geo-country>summary::-webkit-details-marker{display:none}
.analytics-geo-country>summary::marker{display:none;content:""}
.analytics-geo-country>summary:hover{background:rgba(255,255,255,.028)}
.analytics-geo-country>summary:focus-visible{
  outline:2px solid rgba(255,204,0,.85);
  outline-offset:-2px;
}
.analytics-geo-country-text{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:2px;
}
.analytics-geo-country-text b{
  overflow:hidden;
  color:#fff;
  font-size:13px;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.analytics-geo-country-text small{
  color:#85949b;
  font-size:10px;
}
.analytics-geo-country>summary>strong,
.analytics-geo-unknown-row>strong{
  color:var(--yellow);
  font-size:18px;
  font-variant-numeric:tabular-nums;
}
.analytics-geo-chevron{
  color:#8c9aa1;
  font-size:20px;
  line-height:1;
  text-align:center;
  transform:rotate(0deg);
  transition:transform .18s ease,color .18s ease;
}
.analytics-geo-country[open]>.analytics-geo-country-details{
  animation:analyticsGeoReveal .16s ease-out;
}
.analytics-geo-country[open]>summary{
  background:rgba(255,204,0,.035);
}
.analytics-geo-country[open]>summary .analytics-geo-chevron{
  color:var(--yellow);
  transform:rotate(180deg);
}
.analytics-geo-country-details{
  padding:0 12px 10px 61px;
  background:rgba(255,255,255,.012);
}
.analytics-geo-country-details-label{
  padding:7px 0 5px;
  color:#76878f;
  font-size:9px;
  font-weight:900;
  letter-spacing:.09em;
}
.analytics-geo-place-row{
  min-height:44px;
  display:grid;
  grid-template-columns:28px minmax(0,1fr) auto;
  align-items:center;
  gap:9px;
  padding:7px 9px;
  border-top:1px solid rgba(255,255,255,.05);
}
.analytics-geo-place-pin{
  width:26px;
  height:26px;
  display:grid;
  place-items:center;
  border:1px solid #2f3e46;
  border-radius:8px;
  background:#0e191f;
  font-size:12px;
}
.analytics-geo-place-text{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:2px;
}
.analytics-geo-place-text b{
  overflow:hidden;
  color:#e9eef0;
  font-size:12px;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.analytics-geo-place-text small{
  overflow:hidden;
  color:#7f8e96;
  font-size:10px;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.analytics-geo-place-row>strong{
  color:#f5c900;
  font-size:15px;
  font-variant-numeric:tabular-nums;
}
.analytics-geo-country-empty{
  margin:0;
  padding:10px 8px;
  color:#7f8e96;
  font-size:10px;
}
.analytics-geo-unknown-row{
  min-height:56px;
  display:grid;
  grid-template-columns:38px minmax(0,1fr) auto;
  align-items:center;
  gap:11px;
  padding:9px 12px;
  background:rgba(255,255,255,.018);
}
.analytics-geo-unknown-row>div{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:2px;
}
.analytics-geo-unknown-row b{color:#fff;font-size:13px}
.analytics-geo-unknown-row small{color:#85949b;font-size:10px}
@keyframes analyticsGeoReveal{
  from{opacity:.35;transform:translateY(-3px)}
  to{opacity:1;transform:translateY(0)}
}
@media(max-width:650px){
  .analytics-geo-list{max-height:none;overflow:visible}
  .analytics-geo-country>summary{
    min-height:56px;
    grid-template-columns:34px minmax(0,1fr) auto 20px;
    gap:9px;
    padding:9px 9px;
  }
  .analytics-geo-country-details{padding:0 9px 9px 42px}
  .analytics-geo-place-row{grid-template-columns:26px minmax(0,1fr) auto;padding:8px 6px}
  .analytics-geo-unknown-row{grid-template-columns:34px minmax(0,1fr) auto;gap:9px;padding:9px}
}
@media(max-width:420px){
  .analytics-geo-country>summary{grid-template-columns:32px minmax(0,1fr) auto 18px}
  .analytics-geo-country>summary>strong,
  .analytics-geo-unknown-row>strong{font-size:17px}
  .analytics-geo-country-details{padding-left:34px}
}
