/* ZWEIERKETTE 2.0 — OFFLINE UX LAYER
   Existing page classes, IDs, modules and handlers are retained. Overrides target
   visual hierarchy and navigation only. Color contrast and mobile tap targets first. */
:root{
  --zk240-night:#0c1912;--zk240-forest:#176b4a;--zk240-forest-dark:#105438;
  --zk240-paper:#f5f8f5;--zk240-sheet:#fff;--zk240-mist:#e9f3ec;
  --zk240-line:#dae7dd;--zk240-ink:#172b1e;--zk240-muted:#536b5a;
  --zk240-shadow:0 14px 42px rgba(14,49,27,.055);
  --zk240-radius:16px;--zk240-space:16px;
}
html{scroll-padding-top:92px}body{color:var(--zk240-ink);accent-color:var(--zk240-forest);-webkit-tap-highlight-color:transparent}
body:not(.zk240-legal-body){--font-body:Inter,ui-sans-serif,system-ui,-apple-system,'Segoe UI',sans-serif}
button,a,summary,select,input,textarea{touch-action:manipulation}
button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #65bf83!important;outline-offset:3px!important}
a,button{transition:background-color .16s ease,border-color .16s ease,color .16s ease,transform .16s ease}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;scroll-behavior:auto!important;transition-duration:.01ms!important}}
/* Visually unify without replacing functional DOM, state classes or selectors. */
.site-header{background:var(--zk240-night)!important;box-shadow:0 2px 20px #07170c0d!important}
.site-header .brand{letter-spacing:-.015em!important}.site-header .nav-links a{letter-spacing:.015em!important}
body .section h2,body .section h3,body .community-view h2,body .zk183 h3,body .zk219-admin-head h1,
body .zk218-panel h2{letter-spacing:-.027em;line-height:1.2}
body :is(.zk183-match,.zk2205-combo,.ticket-game-card-v150,.zk219-admin-card,.club-community-card,.rank-compare-card,.trip-summary-card,.gh-stat-card){border-radius:var(--zk240-radius)!important;box-shadow:var(--zk240-shadow)}
body :is(.zk183-form,.zk183-check,.ticket-center-v150,.trip-builder-v100,.zk218-insider-selector){border-radius:var(--zk240-radius)}
body :is(input:not([type=checkbox]):not([type=radio]),select,textarea){font-family:Inter,system-ui,sans-serif}
body :is(.zk183-form,.zk219-admin-card) input:not([type=checkbox]):not([type=radio]),body .zk183-form select{min-height:44px}
/* Carefully scoped navigation extension. Does not alter bottom-nav order. */
.zk240-open-search{display:inline-flex;gap:8px;align-items:center;justify-content:center;border:1px solid rgba(206,234,215,.36);background:rgba(255,255,255,.08);color:#fff!important;border-radius:12px;min-width:42px;min-height:42px;padding:9px 12px;font:700 13px/1 Inter,system-ui,sans-serif!important;cursor:pointer;flex-shrink:0}
.zk240-open-search svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.zk240-open-search span{white-space:nowrap}
.zk240-header-control{margin-left:auto;margin-right:0}
@media(max-width:850px){.zk240-header-control{margin-left:0;margin-right:54px;position:relative;z-index:3}.zk240-header-control span{display:none}.zk240-open-search{width:42px;padding:8px}}
/* Search dialog: one place for every feature. */
.zk240-search-overlay[hidden],.zk240-home-fold[hidden],.zk240-toast[hidden]{display:none!important}
.zk240-search-overlay{position:fixed;inset:0;z-index:900000;background:rgba(6,19,11,.72);padding:clamp(18px,6vh,72px) 13px 20px;display:flex;align-items:flex-start;justify-content:center;overflow:auto;backdrop-filter:blur(6px)}
.zk240-search-dialog{width:min(720px,100%);max-height:min(830px,88dvh);overflow:hidden;background:#fff;border-radius:22px;border:1px solid #d9e9dc;box-shadow:0 24px 90px #0006;display:flex;flex-direction:column;color:var(--zk240-ink)}
.zk240-search-head{display:flex;align-items:center;gap:10px;padding:17px;border-bottom:1px solid var(--zk240-line)}
.zk240-search-symbol{width:20px;height:20px;stroke:var(--zk240-forest);fill:none;stroke-width:2}
#zk240-search-input{flex:1;width:100%;border:0!important;outline:0!important;font:500 17px/1.3 Inter,system-ui,sans-serif!important;min-height:40px!important;color:#152c1e!important;background:#fff!important;box-shadow:none!important}
.zk240-search-close{min-width:42px;min-height:40px;border:0;background:#edf4ee;border-radius:10px;color:#214731;font:800 20px system-ui;cursor:pointer}
.zk240-search-hint{margin:0;padding:10px 19px;color:var(--zk240-muted);font-size:12px;background:#f7faf8}
.zk240-search-scroll{overflow:auto;min-height:90px;overscroll-behavior:contain;padding:12px 13px 22px}
.zk240-result-group{color:#557060;font:800 10px/1.4 Inter,system-ui;letter-spacing:.095em;padding:12px 9px 8px;text-transform:uppercase}
.zk240-result{display:flex;gap:12px;align-items:center;text-decoration:none!important;border-radius:12px;padding:12px;margin:2px 0;color:#1c3a28!important}
.zk240-result:hover,.zk240-result:focus-visible{background:#edf6ef!important}
.zk240-result-icon{flex-shrink:0;width:42px;height:42px;display:grid;place-items:center;background:#e8f3ec;border-radius:11px;color:#176b4a;font-size:18px}
.zk240-result-copy{flex:1;display:grid;gap:3px;min-width:0}.zk240-result-copy strong{color:#173924!important;font:750 14px/1.3 Inter,system-ui}.zk240-result-copy small{color:#587261!important;font:450 12px/1.4 Inter,system-ui}
.zk240-result-chevron{color:#6e8976;font:700 22px system-ui}.zk240-no-results{padding:30px;text-align:center;color:#4e6d58}
/* Home. Retain live visited-countdown area and BOTH newest YouTube videos. */
.zk240-home-tools{max-width:1130px;margin:17px auto 22px;padding:0 clamp(15px,3vw,30px);color:var(--zk240-ink)}
.zk240-tools-header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-bottom:13px}
.zk240-overline{color:var(--zk240-forest);text-transform:uppercase;letter-spacing:.12em;font:850 10px/1.4 Inter,system-ui;display:block}
.zk240-tools-header h2{color:var(--zk240-ink)!important;font:750 clamp(21px,3vw,27px)/1.15 Inter,system-ui!important;margin:4px 0!important;letter-spacing:-.04em}
.zk240-tools-header p{color:#576a5a!important;font-size:13px!important;margin:3px 0 0!important}
.zk240-home-search{width:100%;min-height:48px;border:1px solid #cfded2;border-radius:13px;background:#fff;color:#546c5b;text-align:left;display:flex;gap:10px;align-items:center;padding:13px 15px;font:500 14px/1.4 Inter,system-ui;cursor:pointer;box-shadow:var(--zk240-shadow)}
.zk240-home-search b{margin-left:auto;color:#789683;font:700 11px Inter,system-ui}
.zk240-tools-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:11px 0 0}
.zk240-tool{display:flex;gap:10px;align-items:center;text-decoration:none!important;background:#fff!important;color:#173c29!important;border:1px solid #d9e7dc;border-radius:13px;min-height:74px;padding:14px;box-shadow:0 8px 24px #162b1b08}
.zk240-tool:hover{border-color:#a3c9ad;transform:translateY(-1px)}.zk240-tool-ico{flex-shrink:0;width:36px;height:36px;border-radius:10px;background:#e7f3e9;display:grid;place-items:center;color:#176b4a;font-size:18px}
.zk240-tool strong{display:block;color:#173c29!important;font:750 12px/1.35 Inter,system-ui!important}.zk240-tool small{display:block;color:#637869!important;font:450 11px/1.4 Inter,system-ui!important;margin-top:2px}
.zk240-home-fold{max-width:1150px;margin:30px auto!important;padding:0 16px;color:var(--zk240-ink)}
.zk240-home-fold>summary{list-style:none;cursor:pointer;background:var(--zk240-night);color:#fff;padding:23px 24px;border-radius:18px;display:flex;align-items:center;gap:16px;min-height:100px}
.zk240-home-fold>summary::-webkit-details-marker{display:none}
.zk240-fold-icon{display:grid;place-items:center;background:#176b4a;color:#fff;border-radius:13px;width:48px;height:48px;flex-shrink:0;font-size:26px}
.zk240-fold-copy{display:grid;gap:4px;flex:1}.zk240-fold-copy small{color:#a5d9b6!important;letter-spacing:.11em;font:800 10px/1.3 Inter,system-ui!important}
.zk240-fold-copy strong{color:#fff!important;font:750 clamp(17px,3vw,25px)/1.2 Inter,system-ui!important;letter-spacing:-.03em}.zk240-fold-copy span{color:#d0e3d6!important;font:500 12px/1.5 Inter,system-ui!important}
.zk240-fold-arrow{border:1px solid #557565;border-radius:11px;width:38px;height:38px;display:grid;place-items:center;flex-shrink:0;font-size:22px;transition:transform .2s}
.zk240-home-fold[open] .zk240-fold-arrow{transform:rotate(180deg)}
.zk240-fold-body{padding:9px 0 10px}.zk240-fold-body>section{margin-top:15px!important;margin-bottom:15px!important}
.zk240-fold-index{display:flex;flex-wrap:wrap;gap:7px;margin:17px 1px 8px}
.zk240-fold-index a{background:#eef6f0!important;border:1px solid #cee3d4;border-radius:28px;padding:9px 12px;text-decoration:none!important;color:#1d6340!important;font:750 12px Inter,system-ui!important}
.zk240-fold-body .section{width:100%!important;max-width:100%!important}
/* Section headline consistency, retained content. */
body.zk240-ux2 .visit-countdown-section,body.zk240-ux2 #filme{border-radius:18px;max-width:1150px;margin-left:auto!important;margin-right:auto!important;overflow:hidden}
body.zk240-ux2 .visit-countdown-section h2,body.zk240-ux2 #filme h2{font-size:clamp(23px,4vw,36px)!important}
/* Page-specific discoverability: no feature removed. */
.zk240-page-explore,.zk240-page-bar{max-width:1140px;margin:15px auto!important;padding:16px clamp(15px,3vw,22px);background:#fff;border:1px solid var(--zk240-line);border-radius:16px;box-shadow:var(--zk240-shadow);color:var(--zk240-ink)}
.zk240-page-bar{display:flex;align-items:center;justify-content:space-between;gap:13px;flex-wrap:wrap}
.zk240-page-bar-copy{display:grid;gap:3px;min-width:0}.zk240-page-bar strong{font:750 18px/1.2 Inter,system-ui;color:#123924}.zk240-page-bar small{font:450 12px/1.4 Inter,system-ui;color:#54705f}
.zk240-page-bar-action{display:flex;gap:8px;flex-wrap:wrap}
.zk240-link-pill{display:inline-flex;align-items:center;gap:8px;justify-content:center;min-height:42px;padding:11px 14px;text-decoration:none!important;font:750 12px/1.2 Inter,system-ui!important;background:#eaf5ee;color:#176b4a!important;border:1px solid #d1e5d7;border-radius:10px;white-space:nowrap}
.zk240-link-pill.zk240-primary{background:#176b4a;color:#fff!important;border-color:#176b4a}
.zk240-landing-eyebrow{font:850 10px Inter,system-ui;letter-spacing:.13em;color:#176b4a}
/* Community: combine first actions into compact, scannable toolbar; original tabs remain intact */
.zk240-community-tools{max-width:1150px;margin:14px auto!important;padding:16px!important;border:1px solid #dbe9de;background:#fff;border-radius:15px}
.zk240-community-tools h2{font:750 19px/1.25 Inter,system-ui!important;color:#162f20!important;margin:0 0 11px!important}
.zk240-community-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.zk240-community-grid a{display:grid;gap:4px;min-height:65px;padding:13px;text-decoration:none!important;background:#f5f9f6;color:#163d27!important;border-radius:11px;border:1px solid #e0e9e2}
.zk240-community-grid strong{font:750 12px/1.4 Inter,system-ui!important}.zk240-community-grid small{font:450 11px/1.4 Inter,system-ui!important;color:#5a7662!important}
body.zk240-ux2 .zk183-match-grid .zk183-match{padding:clamp(14px,2vw,21px)!important}
body.zk240-ux2 .zk183-match-grid .zk183-match h4{font-size:clamp(20px,3vw,28px)!important;line-height:1.2}
/* Matchday and Kette: disciplined cards without overriding permission/auth screens. */
.zk240-kette-intro{background:linear-gradient(125deg,#10271a,#0a1911);color:#fff;border-radius:18px;padding:21px;max-width:1080px;margin:14px auto}
.zk240-kette-intro small{letter-spacing:.1em;color:#a6dbb5;font:800 10px Inter,system-ui}.zk240-kette-intro h2{color:#fff!important;font:750 23px Inter,system-ui!important;margin:8px 0}.zk240-kette-intro p{color:#dfefe3!important;font:500 13px/1.55 Inter,system-ui!important;max-width:640px}
.zk240-kette-intro .zk240-link-pill{margin-top:10px}
body.zk240-ux2 .zk219-admin-card h2{font-family:Inter,system-ui!important;letter-spacing:-.035em}
body.zk240-ux2 .zk219-admin-card{background:#fff;border:1px solid var(--zk240-line)}
/* Small device, safe area and reduced padding */
@media(max-width:920px){.zk240-tools-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.zk240-community-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){
 .zk240-home-tools{padding:0 12px;margin:12px auto 18px}.zk240-tools-grid{gap:7px}.zk240-tool{min-height:69px;padding:11px;gap:8px}.zk240-tool-ico{width:32px;height:32px}.zk240-tool strong{font-size:11px!important}
 .zk240-home-fold{padding:0 11px;margin:19px auto!important}.zk240-home-fold>summary{padding:17px 16px;gap:11px}.zk240-fold-icon{width:42px;height:42px}.zk240-fold-arrow{width:30px;height:34px}.zk240-fold-copy span{font-size:11px!important}
 .zk240-page-bar{margin:12px!important;padding:14px}.zk240-page-bar-action{width:100%}.zk240-page-bar-action a{flex:1;white-space:normal;text-align:center}
 .zk240-community-tools{margin:10px 12px!important;padding:13px!important}.zk240-community-grid a{padding:10px;min-height:65px}
 .zk240-search-overlay{padding:8px 6px calc(8px + env(safe-area-inset-bottom))}.zk240-search-dialog{max-height:calc(100dvh - 16px);border-radius:18px}
}
/* Home utility layer sits on the original dark hero/background – ensure real contrast. */
body.zk240-ux2 .zk240-home-tools{background:#f5f8f5!important;border:1px solid #e4eee6!important;border-radius:18px;padding:23px clamp(16px,3vw,30px)!important;box-shadow:0 12px 35px rgba(5,20,9,.08)}
body.zk240-ux2 .zk240-tools-header h2{color:#172e1d!important}
body.zk240-ux2 .zk240-tools-header p{color:#566c5a!important}
body.zk240-ux2 .zk240-tools-header .zk240-overline{color:#176b4a!important}
body.zk240-ux2 .zk240-tool{color:#173c29!important}
@media(max-width:520px){body.zk240-ux2 .zk240-home-tools{margin:12px 11px 20px!important;padding:17px 13px!important}}
/* Unified typographic rhythm: fewer condensed headlines, clearer hierarchy. */
body.zk240-ux2 h1,body.zk240-ux2 h2,body.zk240-ux2 h3,body.zk240-ux2 h4{font-family:Inter,system-ui,-apple-system,'Segoe UI',Arial,sans-serif!important;letter-spacing:-.032em!important}
body.zk240-ux2 .hero h1{font-size:clamp(36px,5.5vw,70px)!important;line-height:1.06!important;overflow-wrap:anywhere}
body.zk240-ux2 .zk183-results-head strong{font:800 clamp(22px,3vw,31px)/1.2 Inter,system-ui!important;letter-spacing:-.04em!important}
body.zk240-ux2 .zk183-match h4{font:800 clamp(19px,2.3vw,25px)/1.3 Inter,system-ui!important;letter-spacing:-.025em!important}
/* Keep the mandatory demo warning readable, but much less visually intrusive. */
#zk-netlify-demo-strip{position:relative!important;background:#eaf5ed!important;color:#215333!important;font:700 10px/1.45 Inter,system-ui!important;padding:6px 12px!important;box-shadow:none!important;border-bottom:1px solid #bcdcc7!important}
#zk-netlify-demo-strip span,#zk-netlify-demo-strip a{color:#215333!important;-webkit-text-fill-color:#215333!important}
