/* Lions Club Löhne – Theme "Blau & Gold" */
@font-face { font-family: "Source Sans 3"; font-weight: 400; font-display: swap; src: url("../fonts/source-sans-3-400.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 600; font-display: swap; src: url("../fonts/source-sans-3-600.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 700; font-display: swap; src: url("../fonts/source-sans-3-700.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 800; font-display: swap; src: url("../fonts/source-sans-3-800.woff2") format("woff2"); }

:root {
  --blue: #00338D;
  --blue-dark: #00205B;
  --gold: #EBB700;
  --ink: #1A1F2B;
  --muted: #4A5468;
  --line: #E3E7EF;
  --soft: #F3F5FA;
  --on-blue: #DCE4F5;
  --radius: 6px;
  --wrap: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: "Source Sans 3", system-ui, sans-serif; font-size: 18px; line-height: 1.6; color: var(--ink); background: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
a:hover { color: var(--blue-dark); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; }
h2 { font-size: clamp(28px, 3vw, 36px); color: var(--blue); font-weight: 800; }
h3 { font-size: 21px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section--soft { background: var(--soft); }
.section--tight { padding: 40px 0; }
.lead { color: var(--muted); max-width: 720px; margin: 0 0 32px; }
.kicker { margin: 0 0 6px; color: var(--blue); font-weight: 700; font-size: 15px; letter-spacing: .1em; text-transform: uppercase; }
.on-blue .kicker, .kicker--gold { color: var(--gold); }
.muted { color: var(--muted); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 8px 12px; z-index: 10; }
.grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.split { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.split > * { flex: 1 1 380px; min-width: 0; }
.placeholder { background: #FFF4CC; padding: 0 4px; }

/* Buttons */
.btn { display: inline-block; padding: 12px 22px; border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid transparent; font: inherit; font-weight: 700; cursor: pointer; line-height: 1.3; }
.btn--gold { background: var(--gold); color: var(--blue-dark); }
.btn--gold:hover { background: #FFCB1F; color: var(--blue-dark); }
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--blue-dark); color: #fff; }
.btn--ghost { border-color: #fff; color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Header */
.topbar { background: var(--blue); color: #fff; font-size: 14px; }
.topbar .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 8px; padding-bottom: 8px; }
.topbar a { color: #fff; text-decoration: none; margin-left: 20px; }
.header { border-bottom: 1px solid var(--line); background: #fff; position: relative; }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--blue); }
.brand img { width: 56px; height: 56px; }
.brand__name { display: block; font-weight: 800; font-size: 24px; line-height: 1.1; }
.brand__sub { display: block; font-size: 14px; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 4px 26px; font-weight: 600; font-size: 17px; }
.nav a { color: var(--ink); text-decoration: none; padding: 6px 0; border-bottom: 3px solid transparent; }
.nav a.current, .nav a.section { color: var(--blue); border-bottom-color: var(--gold); }
.nav a.btn { padding: 10px 20px; border-bottom: 0; color: var(--blue-dark); }
.menu-toggle { display: none; }
@media (max-width: 960px) {
  .menu-toggle { display: block; }
  .menu-toggle summary { list-style: none; cursor: pointer; font-weight: 700; color: var(--blue); padding: 10px 14px; border: 2px solid var(--blue); border-radius: 999px; }
  .menu-toggle summary::-webkit-details-marker { display: none; }
  .nav { display: none; }
  .menu-toggle[open] + .nav { display: flex; flex-direction: column; align-items: stretch; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 24px 20px; z-index: 5; gap: 0; }
  .menu-toggle[open] + .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .menu-toggle[open] + .nav a.btn { margin-top: 12px; text-align: center; border-bottom: 0; }
}
@media (max-width: 520px) { .brand__name { font-size: 20px; } .brand img { width: 44px; height: 44px; } .topbar .wrap span:first-child { display: none; } }

/* Hero (Startseite) */
.hero { position: relative; min-height: 560px; display: flex; align-items: flex-end; overflow: hidden; background: var(--blue); }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.hero .wrap { position: relative; width: 100%; padding-bottom: 56px; padding-top: 120px; }
.hero__box { background: rgba(0, 51, 141, .92); color: #fff; max-width: 620px; padding: 40px 44px; border-radius: 4px; }
.hero__box h1 { font-size: clamp(34px, 4.5vw, 48px); font-weight: 800; }
.hero__box p { color: var(--on-blue); font-size: 19px; margin: 0 0 28px; }
@media (max-width: 600px) { .hero__box { padding: 28px 24px; } .hero { min-height: 0; } }

/* Seitenkopf (Unterseiten) */
.pagehead { position: relative; overflow: hidden; background: var(--blue); color: #fff; }
.pagehead__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .25; }
.pagehead .wrap { position: relative; padding-top: 40px; padding-bottom: 56px; }
.pagehead h1 { font-size: clamp(36px, 4.5vw, 52px); font-weight: 800; margin-bottom: 12px; }
.pagehead p { margin: 0; max-width: 700px; font-size: 20px; color: var(--on-blue); }
.crumbs { font-size: 15px; color: var(--on-blue); margin-bottom: 16px; }
.crumbs a { color: var(--on-blue); }

/* Kennzahlen */
.stats { background: var(--soft); }
.stats .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; padding-top: 32px; padding-bottom: 32px; }
.stat__value { font-size: 40px; font-weight: 800; color: var(--blue); line-height: 1; }
.stat__label { color: var(--muted); }

/* Karten */
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 8px; }
.card--soft { background: var(--soft); border: 0; }
.card--gold-top { background: #fff; border: 0; border-top: 4px solid var(--gold); }
.card h3 { margin: 4px 0; }
.card p { margin: 0; color: var(--muted); font-size: 17px; }
.icon { width: 36px; height: 36px; stroke: var(--blue); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Aktion (Tombola-Teaser) */
.feature { background: var(--blue); color: #fff; border-radius: var(--radius); overflow: hidden; display: flex; flex-wrap: wrap; }
.feature__media { flex: 0 1 260px; background: var(--gold); display: flex; align-items: center; justify-content: center; padding: 24px; }
.feature__media img { width: 200px; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.feature__body { flex: 1 1 320px; padding: 36px; }
.feature__body h3 { font-size: 30px; }
.feature__body p { color: var(--on-blue); }
.news-grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.news-grid > .feature { grid-column: span 2; }
@media (max-width: 700px) { .news-grid > .feature { grid-column: auto; } }

/* Presse */
.presslist { list-style: none; margin: 0 0 40px; padding: 0; border-top: 2px solid var(--blue); }
.presslist li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.presslist time { flex: 0 0 104px; color: var(--muted); font-size: 16px; }
.presslist a { flex: 1 1 320px; color: var(--ink); font-weight: 700; text-decoration: none; }
.presslist a:hover { color: var(--blue); text-decoration: underline; }
.badge { display: inline-block; font-size: 14px; font-weight: 700; padding: 2px 10px; border-radius: 4px; background: #DCE4F5; color: var(--blue-dark); }
.badge--WB { background: #FBEBB3; color: #4A3A00; }
.badge--PM, .badge--LION, .badge--Sonstige { background: #E6E8EC; color: #2D3440; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 32px; }
.chip { border: 1.5px solid #C5CEE0; color: var(--ink); padding: 7px 17px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 16px; }
.chip.current { background: var(--blue); border-color: var(--blue); color: #fff; }
.press-feature { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; background: var(--soft); border-radius: var(--radius); padding: 28px; text-decoration: none; color: var(--ink); margin-bottom: 40px; }
.press-feature__doc { width: 88px; height: 112px; background: #fff; border: 1px solid #C5CEE0; border-radius: 4px; display: flex; align-items: center; justify-content: center; color: var(--blue); font-weight: 800; }
.press-feature strong { display: block; font-size: 28px; line-height: 1.2; margin: 6px 0; }
.home-press a { display: block; padding: 12px 0; border-top: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.home-press span { display: block; color: var(--muted); font-size: 15px; }
.home-press strong { font-size: 19px; line-height: 1.3; }
.with-aside { display: flex; flex-wrap: wrap; gap: 48px; }
.with-aside > main, .with-aside > .main { flex: 999 1 600px; min-width: 0; }
.with-aside > aside { flex: 1 1 300px; display: flex; flex-direction: column; gap: 24px; align-self: flex-start; }
.box { background: var(--soft); border-radius: var(--radius); padding: 28px; }
.box--blue { background: var(--blue); color: #fff; }
.box--blue p { color: var(--on-blue); }
.box h2 { font-size: 22px; color: inherit; }

/* Tombola */
.facts { background: var(--soft); }
.timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--blue); }
.timeline li { padding: 0 0 22px 24px; }
.timeline strong { display: block; color: var(--blue); }
.checkbox-band { background: var(--gold); }
.checkbox-band .wrap { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; padding-top: 56px; padding-bottom: 56px; }
.checkbox-band h2 { color: var(--blue-dark); }
.check-form { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; flex: 1 1 420px; }
.check-form label { flex: 1 1 220px; display: flex; flex-direction: column; gap: 6px; color: var(--blue-dark); font-weight: 700; font-size: 16px; }
.check-form input { font: inherit; font-size: 20px; padding: 12px 16px; border: 2px solid var(--blue-dark); border-radius: var(--radius); }
.check-result { flex-basis: 100%; border-radius: var(--radius); padding: 14px 18px; background: #fff; }
.check-result--win { background: var(--blue); color: #fff; }
.check-result--win strong:first-child { color: var(--gold); }
.wins-table { width: 100%; border-collapse: collapse; font-size: 17px; }
.wins-table th { text-align: left; background: var(--soft); padding: 12px 16px; }
.wins-table td { padding: 10px 16px; border-top: 1px solid var(--line); }
.wins-table td:first-child { font-weight: 700; font-variant-numeric: tabular-nums; width: 140px; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.numbers { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; list-style: none; padding: 0; margin: 0; }
.numbers li { background: var(--soft); border-radius: 4px; padding: 6px 10px; font-weight: 700; text-align: center; font-variant-numeric: tabular-nums; }
.prize-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.prize-list li { display: flex; justify-content: space-between; gap: 16px; background: var(--soft); border-radius: var(--radius); padding: 16px 20px; }
.salespoints { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.salespoints li { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }

/* Vorstand */
.board { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.board__item { background: #fff; border-radius: var(--radius); overflow: hidden; }
.board__item img, .board__noimg { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 20%; }
.board__noimg { background: #DCE4F5; }
.board__item div { padding: 20px 24px; }
.board__role { color: var(--blue); font-weight: 700; font-size: 15px; }
.board__name { font-size: 22px; font-weight: 800; }

/* Fließtext aus dem Editor */
.typography { max-width: 820px; }
.typography img { border-radius: var(--radius); margin: 16px 0; }
.typography table { border-collapse: collapse; width: 100%; }
.typography td, .typography th { border-top: 1px solid var(--line); padding: 8px 12px; text-align: left; }
.typography blockquote { border-left: 4px solid var(--gold); margin: 24px 0; padding: 4px 20px; color: var(--muted); }

/* Spenden-Band */
.donate { background: var(--gold); color: var(--blue-dark); }
.donate .wrap { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; padding-top: 56px; padding-bottom: 56px; }
.donate h2 { color: var(--blue-dark); margin-bottom: 8px; }
.donate p { margin: 0; }

/* Formulare (Kontakt / UserForms) */
form .field { margin-bottom: 20px; }
form label.left, form legend { display: block; font-weight: 600; font-size: 16px; margin-bottom: 6px; }
form input.text, form input[type=email], form input[type=text], form textarea, form select { width: 100%; font: inherit; padding: 12px 14px; border: 1.5px solid #C5CEE0; border-radius: var(--radius); background: #fff; }
form .btn-toolbar input[type=submit], form button[type=submit], form input.action { font: inherit; font-weight: 700; background: var(--blue); color: #fff; border: 0; padding: 14px 28px; border-radius: 999px; cursor: pointer; }
form .message { display: block; margin-top: 6px; color: #A61B1B; }

/* Footer */
.footer { background: var(--blue-dark); color: var(--on-blue); font-size: 16px; }
.footer .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; padding-top: 56px; padding-bottom: 32px; }
.footer strong { color: #fff; display: block; margin-bottom: 8px; }
.footer a { color: var(--gold); }
.footer__legal { border-top: 1px solid #1F3A78; }
.footer__legal .wrap { display: flex; flex-wrap: wrap; gap: 20px; padding-top: 16px; padding-bottom: 32px; font-size: 14px; }
.footer__legal a { color: var(--on-blue); }
