/* ==========================================================================
   Jugendarbeit Radstadt – Website
   Farben aus dem Logo: Navy #03224C, Rot #C10524
   ========================================================================== */

@font-face { font-family: "Inter"; src: url("../fonts/inter-regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-medium.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-semibold.woff") format("woff"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-bold.woff") format("woff"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("../fonts/interdisplay-extrabold.woff") format("woff"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("../fonts/interdisplay-black.woff") format("woff"); font-weight: 900; font-display: swap; }

:root {
  --navy: #03224C;
  --navy-2: #0A2F63;
  --navy-3: #12407F;
  --red: #C10524;
  --red-2: #A0031D;
  --red-soft: #FCE8EB;
  --sun: #FFC83D;
  --mint: #19B37A;
  --ink: #0E1A2B;
  --text: #2B3A4E;
  --muted: #5F6E82;
  --line: #E2E7EF;
  --bg: #FFFFFF;
  --tint: #F3F6FA;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(3, 34, 76, .06), 0 8px 24px rgba(3, 34, 76, .08);
  --shadow-lg: 0 2px 4px rgba(3, 34, 76, .06), 0 24px 48px rgba(3, 34, 76, .16);
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-head: "Inter Display", "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; font: 400 17px/1.65 var(--f-body); color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-underline-offset: 3px; }
a:hover { color: var(--red-2); }
h1, h2, h3 { font-family: var(--f-head); color: var(--navy); line-height: 1.08; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-weight: 900; font-size: clamp(2.3rem, 5.6vw, 4.4rem); }
h2 { font-weight: 800; font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h3 { font-weight: 800; font-size: 1.2rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap.narrow { max-width: 820px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }

.ico { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.2em; }

.kicker { font: 700 .78rem/1.2 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin: 0 0 .9rem; display: inline-flex; align-items: center; gap: .6em; }
.kicker::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: currentColor; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); line-height: 1.6; color: var(--muted); max-width: 62ch; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; padding: .9em 1.4em; border-radius: 999px; font: 700 1rem/1 var(--f-body); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn .ico { transition: transform .15s; }
.btn:hover .ico:last-child { transform: translateX(3px); }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 8px 20px rgba(193, 5, 36, .28); }
.btn-red:hover { background: var(--red-2); color: #fff; }
.btn-white { background: #fff; color: var(--red); }
.btn-white:hover { color: var(--red-2); }
.btn-outline { border-color: var(--line); color: var(--navy); background: #fff; }
.btn-outline:hover { border-color: var(--navy); color: var(--navy); }
.btn-ghost-light { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); color: #fff; }
.btn-sm { padding: .7em 1.1em; font-size: .92rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6rem; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; color: var(--navy); text-decoration: none; }
.link-arrow:hover { color: var(--red); }
.link-arrow:hover .ico { transform: translateX(3px); }
.link-arrow .ico { transition: transform .15s; }

/* ---------- Announcement ---------- */
.announce { background: var(--sun); color: var(--ink); font-weight: 600; font-size: .95rem; }
.announce .wrap { display: flex; align-items: center; gap: .6em; padding-top: .6em; padding-bottom: .6em; }
.announce a { color: inherit; display: inline-flex; gap: .4em; align-items: center; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 20px rgba(3, 34, 76, .06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 78px; }
.brand img { width: 104px; height: auto; }
.main-nav { display: flex; align-items: center; gap: 18px; }
.main-nav ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.main-nav ul a { display: block; padding: .55em .85em; border-radius: 999px; color: var(--navy); text-decoration: none; font-weight: 600; font-size: .98rem; transition: background .15s, color .15s; }
.main-nav ul a:hover { background: var(--tint); }
.main-nav ul a[aria-current="page"] { background: var(--navy); color: #fff; }
.nav-status { display: inline-flex; align-items: center; gap: .55em; font-size: .82rem; font-weight: 500; color: var(--text); text-decoration: none; background: var(--tint); padding: .5em .9em; border-radius: 999px; white-space: nowrap; }
.nav-status strong { color: var(--navy); }
.nav-status:hover { color: var(--navy); }
.dot { width: 9px; height: 9px; border-radius: 50%; background: #9AA5B4; flex: none; }
.is-open .dot { background: var(--mint); box-shadow: 0 0 0 0 rgba(25, 179, 122, .6); animation: pulse 2s infinite; }
.is-closed .dot { background: var(--red); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(25, 179, 122, .55); } 70% { box-shadow: 0 0 0 8px rgba(25, 179, 122, 0); } 100% { box-shadow: 0 0 0 0 rgba(25, 179, 122, 0); } }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; color: var(--navy); cursor: pointer; border-radius: 10px; }
.nav-toggle .ico { width: 28px; height: 28px; }
.nav-toggle .i-close { display: none; }

@media (max-width: 1080px) {
  .nav-status { display: none; }
}
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .main-nav { position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--gutter) 24px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .2s ease; max-height: calc(100vh - 120px); overflow-y: auto; }
  .nav-open .main-nav { transform: none; opacity: 1; visibility: visible; }
  .nav-open .nav-toggle .i-open { display: none; }
  .nav-open .nav-toggle .i-close { display: block; }
  .main-nav ul { flex-direction: column; }
  .main-nav ul a { font-size: 1.15rem; padding: .8em 1em; border-radius: 12px; }
  .nav-status { display: inline-flex; margin-top: 12px; align-self: flex-start; }
}

/* ---------- Hero (Startseite) ---------- */
.hero { position: relative; background: radial-gradient(1200px 600px at 85% -10%, var(--navy-3) 0%, transparent 60%), linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; overflow: hidden; padding: clamp(48px, 8vw, 96px) 0 clamp(64px, 9vw, 110px); }
.hero::after { content: ""; position: absolute; left: -5%; right: -5%; bottom: -1px; height: 70px; background: #fff; clip-path: ellipse(60% 100% at 50% 100%); }
.hero-bg-sky { position: absolute; right: -6%; bottom: 20px; width: min(980px, 95vw); opacity: .07; pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { color: #fff; margin-bottom: .35em; }
.hero .hl { color: var(--sun); position: relative; white-space: nowrap; }
.hero .kicker { color: var(--sun); }
.hero .lead { color: rgba(255, 255, 255, .82); }
.hero-card { position: relative; }
.hero-card .hours-card { transform: rotate(1.2deg); box-shadow: var(--shadow-lg); }
.hc-address { display: flex; gap: .7em; align-items: flex-start; margin-top: 18px; color: #fff; text-decoration: none; font-weight: 600; padding: 14px 18px; border-radius: var(--radius-sm); background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); }
.hc-address small { display: block; font-weight: 400; color: rgba(255, 255, 255, .7); }
.hc-address:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.sticker { position: absolute; z-index: 2; top: -26px; right: -14px; width: 96px; height: 96px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; text-align: center; font: 900 .95rem/1.05 var(--f-head); text-transform: uppercase; transform: rotate(12deg); box-shadow: 0 10px 24px rgba(0, 0, 0, .25); }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .sticker { right: 6px; top: -30px; width: 82px; height: 82px; font-size: .82rem; }
  .hero .hl { white-space: normal; }
}

/* ---------- Page hero (Unterseiten) ---------- */
.page-hero { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 88px) 0 clamp(40px, 6vw, 72px); }
.page-hero h1 { margin-bottom: .3em; }
.page-hero .lead { margin: 0; }
.page-hero .hero-sky { position: absolute; right: -60px; bottom: -10px; width: min(620px, 70vw); opacity: .08; pointer-events: none; }
.hero-navy { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; }
.hero-navy h1 { color: #fff; }
.hero-navy .lead { color: rgba(255, 255, 255, .8); }
.hero-navy .kicker { color: var(--sun); }
.hero-red { background: linear-gradient(150deg, var(--red) 0%, var(--red-2) 100%); color: #fff; }
.hero-red h1 { color: #fff; }
.hero-red .lead { color: rgba(255, 255, 255, .88); }
.hero-red .kicker { color: #fff; }
.hero-light { background: var(--tint); }
.hero-light .hero-sky { filter: invert(14%) sepia(52%) saturate(3000%) hue-rotate(205deg); opacity: .07; }
.back { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; font-size: .95rem; text-decoration: none; margin-bottom: 1.2rem; color: inherit; opacity: .85; }
.back:hover { opacity: 1; color: inherit; }
.hero-navy .back, .hero-red .back { color: #fff; }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section.pt-0 { padding-top: 0; }
.section-tint { background: var(--tint); }
.section-head { margin-bottom: clamp(24px, 4vw, 40px); }
.section-head h2 { margin: 0; }
.section-head.split { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 24px; flex-wrap: wrap; }
.head-actions { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }

/* ---------- Hours card ---------- */
.hours-card { background: #fff; color: var(--text); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.hc-head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.hc-head h3 { margin: 0; display: flex; gap: .5em; align-items: center; font-size: 1.25rem; }
.hc-head h3 .ico { color: var(--red); }
.status-pill { display: inline-flex; align-items: center; gap: .55em; align-self: flex-start; font-weight: 700; font-size: .88rem; padding: .45em .9em; border-radius: 999px; }
.status-pill.is-open { background: #E3F7EF; color: #0B7A51; }
.status-pill.is-closed { background: var(--red-soft); color: var(--red-2); }
.hc-note { display: flex; gap: .5em; font-size: .92rem; background: #FFF7DD; padding: 10px 12px; border-radius: 10px; color: #6B5100; }
.hc-list { margin: 0; display: grid; gap: 2px; }
.hc-list > div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 12px; border-radius: 10px; }
.hc-list dt { font-weight: 700; color: var(--navy); }
.hc-list dd { margin: 0; font-variant-numeric: tabular-nums; text-align: right; }
.hc-list .today { background: var(--tint); }
.hc-list .today dt::after { content: "heute"; margin-left: .6em; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: var(--red); padding: .15em .5em; border-radius: 6px; vertical-align: .15em; }
.hc-list .closed dd { color: var(--muted); }
.hc-list.small > div { padding: 4px 0; font-size: .95rem; }
.hc-closures { list-style: none; margin: 14px 0 0; padding: 14px 0 0; border-top: 1px dashed var(--line); font-size: .92rem; display: grid; gap: 6px; }
.hc-closures li { display: flex; gap: .5em; align-items: baseline; }
.hc-closures .ico { color: var(--red); }

/* ---------- Features ---------- */
.feature-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: transform .2s, box-shadow .2s; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature h3 { margin: 16px 0 6px; }
.feature p { margin: 0; color: var(--muted); font-size: .98rem; }
.f-ico { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; color: #fff; background: var(--navy); }
.f-ico .ico { width: 26px; height: 26px; }
.f1 .f-ico { background: var(--red); }
.f2 .f-ico { background: var(--sun); color: var(--navy); }
.f3 .f-ico { background: var(--navy-3); }
.f4 .f-ico { background: var(--mint); }
.f5 .f-ico { background: var(--red-2); }
.section-tint .feature { border-color: transparent; }
@media (max-width: 900px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .feature-grid { grid-template-columns: 1fr; gap: 12px; } .feature { padding: 20px; display: grid; grid-template-columns: 54px 1fr; column-gap: 16px; } .feature h3 { margin: 4px 0; } .feature .f-ico { grid-row: span 2; } }

/* ---------- Tags ---------- */
.tag { display: inline-block; font: 700 .7rem/1 var(--f-body); letter-spacing: .08em; text-transform: uppercase; padding: .45em .7em; border-radius: 6px; background: var(--tint); color: var(--navy); }
.tag-juz { background: var(--navy); color: #fff; }
.tag-jep { background: var(--red); color: #fff; }
.tag-verein { background: #E7EDF7; color: var(--navy); }
.tag-allgemein { background: #FFF2C9; color: #6B5100; }
.tag-past { background: #EEF0F3; color: var(--muted); }

/* ---------- Events ---------- */
.event-list { display: grid; gap: 14px; }
.event-card .ev-link { display: grid; grid-template-columns: 84px 1fr auto; gap: 20px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 22px 16px 16px; color: inherit; text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s; }
.event-card .ev-link:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: transparent; }
.section-tint .event-card .ev-link { border-color: transparent; }
.ev-date { background: var(--navy); color: #fff; border-radius: 14px; text-align: center; padding: 10px 6px; display: flex; flex-direction: column; line-height: 1; }
.cat-jep .ev-date { background: var(--red); }
.cat-verein .ev-date { background: var(--navy-3); }
.ev-wd { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; opacity: .8; }
.ev-day { font: 900 2rem/1.1 var(--f-head); }
.ev-mon { font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.ev-body h3 { margin: 8px 0 6px; font-size: 1.2rem; }
.ev-meta { margin: 0; font-size: .93rem; color: var(--muted); display: flex; gap: .45em; align-items: center; }
.ev-arrow { width: 44px; height: 44px; border-radius: 50%; background: var(--tint); display: grid; place-items: center; color: var(--navy); transition: background .2s, color .2s; }
.event-card .ev-link:hover .ev-arrow { background: var(--red); color: #fff; }
.is-past .ev-date { background: #9AA5B4; }
.month-title { font-size: 1.3rem; margin: 2rem 0 1rem; color: var(--muted); }
.month-title:first-of-type { margin-top: 0; }
.past { margin-top: 3rem; }
.past summary { cursor: pointer; font-weight: 700; color: var(--navy); margin-bottom: 1rem; }
@media (max-width: 560px) { .event-card .ev-link { grid-template-columns: 68px 1fr; gap: 14px; padding: 12px; } .ev-arrow { display: none; } .ev-day { font-size: 1.6rem; } .ev-body h3 { font-size: 1.05rem; } }

.cal-abo { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 16px; padding: 18px 22px; border-radius: var(--radius); background: var(--tint); margin-bottom: 2.4rem; }
.cal-abo > .ico { width: 36px; height: 36px; color: var(--red); }
.cal-abo strong { display: block; color: var(--navy); }
.cal-abo span { font-size: .95rem; color: var(--muted); }
@media (max-width: 700px) { .cal-abo { grid-template-columns: auto 1fr; } .cal-abo .btn { grid-column: span 1; } }

.empty { display: flex; gap: 16px; align-items: center; padding: 28px; border: 2px dashed var(--line); border-radius: var(--radius); color: var(--muted); background: #fff; }
.empty .ico { width: 34px; height: 34px; color: var(--navy); opacity: .5; }
.empty p { margin: 0; }

/* ---------- JEP band ---------- */
.jep-band { position: relative; background: linear-gradient(135deg, var(--red) 0%, var(--red-2) 100%); color: #fff; padding: clamp(56px, 8vw, 96px) 0; overflow: hidden; }
.jep-band::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; border: 70px solid rgba(255, 255, 255, .06); right: -160px; top: -200px; }
.jep-band h2 { color: #fff; }
.jep-band .kicker { color: #fff; }
.jep-band .lead { color: rgba(255, 255, 255, .88); }
.jep-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: s; }
.steps li { display: flex; gap: 16px; align-items: center; padding: 16px 18px; border-radius: 16px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); }
.steps strong { display: block; font-family: var(--f-head); font-size: 1.12rem; }
.steps span:not(.step-ico) { font-size: .95rem; opacity: .9; }
.step-ico { width: 46px; height: 46px; border-radius: 14px; background: #fff; color: var(--red); display: grid; place-items: center; flex: none; }
.step-ico .ico { width: 24px; height: 24px; }
.steps-light { grid-template-columns: repeat(4, 1fr); }
.steps-light li { flex-direction: column; align-items: flex-start; background: #fff; border: 1px solid var(--line); color: var(--text); padding: 22px; }
.steps-light strong { color: var(--navy); }
.steps-light .step-ico { background: var(--red); color: #fff; }
@media (max-width: 900px) { .jep-grid { grid-template-columns: 1fr; } .steps-light { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps-light { grid-template-columns: 1fr; } .steps-light li { flex-direction: row; align-items: center; } }

/* ---------- Posts ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card a { display: flex; flex-direction: column; height: 100%; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); color: inherit; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.section-tint .post-card a { border-color: transparent; }
.post-card a:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pc-img { position: relative; aspect-ratio: 16 / 9; background: var(--navy); overflow: hidden; }
.pc-img > img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.post-card a:hover .pc-img > img { transform: scale(1.04); }
.pc-noimg { display: grid; place-items: end center; background: linear-gradient(150deg, var(--navy) 0%, var(--navy-3) 100%); }
.pc-noimg.cat-jep { background: linear-gradient(150deg, var(--red) 0%, var(--red-2) 100%); }
.pc-noimg.cat-verein { background: linear-gradient(150deg, var(--navy-3) 0%, #2A5CA8 100%); }
.pc-noimg .pc-sky { width: 86%; height: auto !important; opacity: .22; margin-bottom: -4%; }
.pc-img .tag { position: absolute; left: 14px; top: 14px; }
.pc-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.pc-body time { font-size: .85rem; font-weight: 600; color: var(--muted); }
.pc-body h3 { margin: 6px 0 8px; font-size: 1.22rem; }
.pc-body p { color: var(--muted); font-size: .97rem; margin: 0 0 14px; }
.pc-body .more { margin-top: auto; font-weight: 700; color: var(--red); display: inline-flex; gap: .4em; align-items: center; }
@media (max-width: 900px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .post-grid { grid-template-columns: 1fr; } }

/* ---------- Team ---------- */
.team-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.person { background: #fff; border-radius: var(--radius); padding: 22px; border: 1px solid var(--line); display: flex; gap: 16px; align-items: center; }
.section-tint .person { border-color: transparent; }
.avatar { width: 68px; height: 68px; border-radius: 50%; overflow: hidden; flex: none; background: linear-gradient(140deg, var(--navy), var(--navy-3)); color: #fff; display: grid; place-items: center; font: 800 1.3rem/1 var(--f-head); }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-grid li:nth-child(3n+2) .avatar { background: linear-gradient(140deg, var(--red), var(--red-2)); }
.person h3 { margin: 0 0 2px; font-size: 1.05rem; }
.p-role { margin: 0; font-size: .9rem; color: var(--red); font-weight: 600; }
.p-bio { margin: 6px 0 0; font-size: .92rem; color: var(--muted); }
.p-contact { margin: 6px 0 0; display: flex; gap: 8px; }
.p-contact a { width: 34px; height: 34px; border-radius: 50%; background: var(--tint); display: grid; place-items: center; color: var(--navy); }
.p-contact a:hover { background: var(--navy); color: #fff; }
.team-grid.compact { grid-template-columns: 1fr; }

.split-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 860px) { .split-2 { grid-template-columns: 1fr; } }
.contact-chips, .social-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.4rem; }
.chip { display: inline-flex; align-items: center; gap: .5em; padding: .65em 1.05em; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--navy); font-weight: 600; text-decoration: none; font-size: .95rem; }
.chip:hover { border-color: var(--navy); color: var(--navy); }

/* ---------- Verein teaser ---------- */
.teaser-box { display: grid; grid-template-columns: 240px 1fr; gap: clamp(24px, 5vw, 56px); align-items: center; }
.teaser-box > img { width: 100%; }
.teaser-box h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
@media (max-width: 700px) { .teaser-box { grid-template-columns: 1fr; } .teaser-box > img { width: 160px; } }

/* ---------- Content pages ---------- */
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.sidebar { display: grid; gap: 20px; position: sticky; top: 100px; }
@media (max-width: 960px) { .content-grid { grid-template-columns: 1fr; } .sidebar { position: static; } }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.info-card h2, .info-card h3 { display: flex; gap: .5em; align-items: center; font-size: 1.15rem; }
.info-card h2 { font-size: 1.35rem; }
.info-card h3 .ico { color: var(--red); }
.info-card p:last-child { margin-bottom: 0; }
.info-card a:not(.btn):not(.link-arrow) { color: var(--navy); font-weight: 600; text-decoration: none; display: inline-flex; gap: .45em; align-items: center; }
.info-card a:not(.btn):not(.link-arrow):hover { color: var(--red); }
.info-card.accent { background: var(--red-soft); border-color: transparent; }
.info-card .status-pill { margin-bottom: 12px; }
.big-price { font: 900 2.4rem/1 var(--f-head); color: var(--red); }
.big-price small { display: block; font: 600 .85rem/1.6 var(--f-body); color: var(--muted); }
.dl-mini { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }

.prose { font-size: 1.06rem; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); margin: 1.8em 0 .5em; }
.prose h3 { margin: 1.5em 0 .4em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin: .35em 0; }
.prose ul li::marker { color: var(--red); }
.prose blockquote { margin: 1.5em 0; padding: 1em 1.4em; border-left: 4px solid var(--red); background: var(--tint); border-radius: 0 12px 12px 0; font-size: 1.1rem; color: var(--navy); }
.prose img { border-radius: 14px; margin: 1.5em 0; }
.prose strong { color: var(--ink); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.notice { display: flex; gap: .6em; align-items: flex-start; background: #FFF7DD; color: #6B5100; padding: 14px 18px; border-radius: 12px; font-size: .95rem; }
.notice .ico { margin-top: .2em; }

.article-head { background: var(--tint); padding: clamp(40px, 6vw, 72px) 0 clamp(32px, 5vw, 56px); }
.article-head .meta { display: flex; align-items: center; gap: 12px; color: var(--muted); font-weight: 600; font-size: .92rem; }
.article-head h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
.article-head .back { color: var(--navy); }
.article-img { margin-top: clamp(-32px, -3vw, -16px); }
.article-img img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.article-body { padding-top: clamp(32px, 5vw, 56px); padding-bottom: clamp(56px, 8vw, 96px); }
.event-facts { display: grid; gap: 10px; margin: 1.2rem 0 0; }
.event-facts > div { display: flex; gap: .7em; align-items: center; font-weight: 600; color: var(--navy); font-size: 1.05rem; }
.event-facts .ico { color: var(--red); width: 1.3em; height: 1.3em; }

.filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filter a { padding: .55em 1.05em; border-radius: 999px; background: var(--tint); color: var(--navy); text-decoration: none; font-weight: 600; font-size: .95rem; }
.filter a[aria-current] { background: var(--navy); color: #fff; }
.pager { display: flex; gap: 8px; justify-content: center; margin-top: 40px; }
.pager a { min-width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--tint); color: var(--navy); font-weight: 700; text-decoration: none; }
.pager a[aria-current] { background: var(--red); color: #fff; }

/* ---------- Rewards ---------- */
.reward-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.reward { display: flex; gap: 16px; align-items: center; background: #fff; border-radius: var(--radius); padding: 18px; }
.reward h3 { margin: 0 0 2px; font-size: 1.02rem; }
.reward p { margin: 0; font-size: .88rem; color: var(--muted); }
.r-points { width: 72px; height: 72px; border-radius: 18px; flex: none; background: var(--red); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; font: 900 1.25rem/1 var(--f-head); text-align: center; padding: 4px; }
.r-points small { font: 600 .62rem/1.4 var(--f-body); text-transform: uppercase; letter-spacing: .08em; opacity: .85; }
@media (max-width: 900px) { .reward-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .reward-grid { grid-template-columns: 1fr; } }

.table-title { font-size: 1.3rem; margin: 2.2rem 0 .8rem; }
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); }
.points-table { width: 100%; border-collapse: collapse; font-size: .98rem; }
.points-table th { text-align: left; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: var(--tint); padding: 12px 16px; font-weight: 700; vertical-align: bottom; }
.points-table th small { display: block; text-transform: none; letter-spacing: 0; font-weight: 500; }
.points-table td { padding: 14px 16px; border-top: 1px solid var(--line); vertical-align: top; }
.points-table td strong { color: var(--navy); }
.points-table .sub { display: block; font-size: .88rem; color: var(--muted); }
.points-table .note { font-style: italic; }
.points-table .num { text-align: right; white-space: nowrap; }
.pts { display: inline-block; background: var(--red); color: #fff; font: 800 1rem/1 var(--f-head); padding: .45em .7em; border-radius: 8px; }
.points-table td.old { color: var(--muted); }

/* ---------- Downloads ---------- */
.dl-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.dl-list a { display: grid; grid-template-columns: 56px 1fr auto; gap: 16px; align-items: center; padding: 14px 18px 14px 14px; background: #fff; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: inherit; transition: box-shadow .2s, border-color .2s; }
.dl-list a:hover { box-shadow: var(--shadow); border-color: transparent; }
.dl-ext { width: 56px; height: 56px; border-radius: 12px; display: grid; place-items: center; background: var(--red-soft); color: var(--red); font: 800 .8rem/1 var(--f-body); letter-spacing: .04em; }
.dl-body strong { display: block; color: var(--navy); }
.dl-body span, .dl-body small { display: block; color: var(--muted); font-size: .92rem; }
.dl-ico { color: var(--navy); }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
.contact-cards { display: grid; gap: 20px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.form-card { background: #fff; border-radius: var(--radius); padding: clamp(22px, 4vw, 36px); box-shadow: var(--shadow); border: 1px solid var(--line); }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; gap: 0; } }
.field label { font-weight: 600; color: var(--navy); font-size: .95rem; }
.field label small { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; padding: .8em .95em; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(3, 34, 76, .1); }
.field.check label { display: flex; gap: .7em; align-items: flex-start; font-weight: 400; color: var(--text); font-size: .93rem; }
.field.check input { width: 20px; height: 20px; margin-top: .15em; flex: none; accent-color: var(--red); }
.has-error input, .has-error textarea { border-color: var(--red); }
.err { color: var(--red); font-size: .88rem; font-weight: 600; }
.form-error { background: var(--red-soft); color: var(--red-2); padding: 12px 16px; border-radius: 12px; font-weight: 600; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.success-box { display: flex; gap: 16px; align-items: flex-start; }
.success-box > .ico { width: 48px; height: 48px; padding: 10px; border-radius: 50%; background: #E3F7EF; color: #0B7A51; }

.imp { display: grid; grid-template-columns: max-content 1fr; gap: 8px 24px; margin: 1.5em 0 2em; }
.imp dt { font-weight: 700; color: var(--navy); }
.imp dd { margin: 0; }
@media (max-width: 560px) { .imp { grid-template-columns: 1fr; gap: 2px; } .imp dd { margin-bottom: 10px; } }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--navy); color: rgba(255, 255, 255, .78); padding-top: 120px; margin-top: 0; overflow: hidden; font-size: .95rem; }
.footer-sky { position: absolute; left: 50%; top: 24px; width: min(1100px, 140vw); transform: translateX(-50%); opacity: .12; pointer-events: none; }
.footer-grid { position: relative; display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 48px; }
.site-footer h2 { color: #fff; font-size: 1.05rem; margin-bottom: 1em; }
.site-footer a { color: rgba(255, 255, 255, .9); text-decoration: none; display: inline-flex; gap: .45em; align-items: center; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.f-brand img { width: 150px; margin-bottom: 18px; }
.f-links, .f-hours { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.f-hours { margin-top: 10px; }
.f-hours span { display: inline-block; min-width: 4.2em; font-weight: 700; color: #fff; }
.social { display: flex; gap: 10px; }
.social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .1); }
.social a:hover { background: var(--red); text-decoration: none; }
.footer-bottom { position: relative; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px 24px; padding-top: 20px; padding-bottom: 28px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .88rem; color: rgba(255, 255, 255, .6); }
.footer-bottom a { color: rgba(255, 255, 255, .75); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } .site-footer { padding-top: 80px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

@media print {
  .site-header, .site-footer, .announce, .btn-row, .hero-bg-sky, .hero-sky { display: none !important; }
  .hero, .page-hero, .jep-band { background: none !important; color: #000 !important; }
  .hero h1, .page-hero h1, .jep-band h2 { color: #000 !important; }
}

/* Grid-Kinder dürfen schrumpfen (lange Texte auf Mobilgeräten) */
.contact-grid > *, .content-grid > *, .split-2 > *, .hero-grid > *, .jep-grid > * { min-width: 0; }
.status-pill { max-width: 100%; }
.form-card { position: relative; } .hp { left: 0; top: 0; }
.field.check label span { min-width: 0; overflow-wrap: anywhere; }

/* Logos Fußzeile (Land Salzburg, Stadtgemeinde …) */
.fb-text { display: flex; flex-direction: column; gap: 4px; }
.partners { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.partners-label { font-size: .78rem; color: rgba(255, 255, 255, .6); }
.partners ul { list-style: none; margin: 0; padding: 10px 16px; display: flex; align-items: center; gap: 20px; background: #fff; border-radius: 12px; }
.partners li { display: flex; }
.partners a { display: flex; }
.partners a:hover { text-decoration: none; opacity: .85; }
.partners img { height: 48px; width: auto; max-width: 170px; object-fit: contain; }
@media (max-width: 600px) { .partners { margin-left: 0; flex-direction: column; align-items: flex-start; } .partners img { height: 40px; } }
