/* Eingebundene Schriften: gleiche Umbrüche auf jedem Gerät und im PDF. */
@font-face { font-family: Kalam; src: url("/webfonts/flyer/Kalam-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("/webfonts/flyer/SourceSans3-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("/webfonts/flyer/SourceSans3-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
:root { color-scheme: light; font-family: "Source Sans 3", Arial, Helvetica, sans-serif; color: #20241f; background: #f8f7f2; }
* { box-sizing: border-box; }
body { margin: 0; --event-accent: #98206b; --event-tint: #f8edf4; --event-ink: #64204e; }
a { color: #146738; }
.flyer-tools { max-width: 210mm; margin: 24px auto; padding: 0 20px; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.flyer-tools a { padding-top: 12px; font-weight: bold; }
.flyer-tools div { text-align: right; }
.flyer-tools p { max-width: 330px; font-size: 14px; line-height: 1.5; }
button { border: 0; border-radius: 0; padding: 14px 20px; background: #146738; color: white; font: inherit; font-weight: bold; cursor: pointer; }
:is(a, button):focus-visible { outline: 3px solid #146738; outline-offset: 4px; }
.flyer { max-width: 210mm; min-height: 277mm; margin: 0 auto 40px; padding: 14mm; background: #f8f7f2; box-shadow: 0 4px 30px #20282018; }
.flyer p { font-size: 11pt; line-height: 1.4; margin: 0; }
.flyer-header { display: grid; grid-template-columns: 30mm 1fr 50mm; align-items: center; gap: 6mm; padding: 4mm 0 6mm; margin-bottom: 5mm; background: #fff; color: #146738; border-bottom: 3px solid #146738; }
.flyer-logo { display: block; width: 30mm; height: 30mm; object-fit: contain; background: #fff; transform: none; }
.flyer-photo { display: block; width: 100%; object-fit: cover; border: 0; box-shadow: none; }
.flyer-header-photo { height: 36mm; }
h1, .flyer-back-title { font: 700 30pt/1.12 Kalam, cursive; letter-spacing: -.035em; margin: 0; }
.flyer-header :is(h1, .flyer-back-title)::after { content: ""; display: block; width: 25mm; height: 1.5mm; background: #ffe300; margin-top: 2mm; transform: rotate(-3deg); print-color-adjust: exact; -webkit-print-color-adjust: exact; }
.flyer-invitation { margin-bottom: 5mm; }
.flyer .flyer-invitation { font-size: 12pt; }
.flyer-invitation strong { color: #146738; }

/* Grün hinterlegte Kästen: regelmäßige Treffs (vorn) und Spielorte (hinten). */
.flyer-meetings, .flyer-venues-list { padding: 3mm 4mm; background: #edf3e8; border-left: 1mm solid #146738; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
.flyer-meetings { margin-bottom: 5mm; }
:is(.flyer-meetings, .flyer-venues-list) :is(h2, h3) { color: #146738; font-size: 14pt; letter-spacing: -.01em; margin: 0 0 1.5mm; }
:is(.flyer-meetings, .flyer-venues-list) ul { list-style: none; margin: 0; padding: 0; }
.flyer-meetings ul { display: grid; grid-template-columns: 1fr 1fr; gap: 5mm; }
:is(.flyer-meetings, .flyer-venues-list) li { font-size: 11pt; line-height: 1.35; }
.flyer-meetings li :is(strong, span) { display: block; }
.flyer .flyer-meeting-note { font-size: 9.5pt; line-height: 1.3; margin-top: 2mm; }

/* Vorderseite: Termine */
.flyer-programme h2 { font-size: 21pt; letter-spacing: -.02em; margin: 0 0 3mm; }
.flyer-event { display: grid; grid-template-columns: 40mm 1fr; gap: 4mm; padding: 2.5mm 0; border-top: 1px solid #bdc7b5; break-inside: avoid; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
.flyer-event:last-child { border-bottom: 1px solid #bdc7b5; }
.flyer-date { font-size: 14pt; line-height: 1.2; font-weight: 700; color: #146738; padding-right: 1.5mm; border-right: 1px solid #bdc7b5; }
.flyer-date span { display: block; margin-top: .8mm; font-size: 10.5pt; }
.flyer-details h3 { font-size: 14pt; line-height: 1.2; letter-spacing: -.01em; margin: 0 0 .8mm; }
.flyer-details p { overflow-wrap: anywhere; }
body .flyer-event .event-kind-label { white-space: nowrap; margin: 1.2mm 0 0; padding: .6mm 1.5mm; font-family: inherit; font-size: 9pt; line-height: 1.3; }
body .flyer-details .event-kind-label { white-space: normal; margin: .5mm 0 1mm; }
body .flyer-event[data-event-kind="special"] .event-kind-label { background: #98206b; color: #ffe300; border-color: #98206b; }
body .flyer-event :is(.event-kind-explanation, .event-registration-note) { font-size: 9.5pt; line-height: 1.3; margin: 0 0 1mm; }
body .flyer-event .event-change-warnings { gap: 1.5mm; margin: 1.2mm 0 0; }
body .flyer-event :is(.event-room-warning, .event-time-warning) { font-size: 9pt; font-weight: 700; line-height: 1.35; padding: .6mm 2mm; border: 0; border-radius: 0; background: #146738; color: #fff !important; }
body .flyer-event :is(.event-room-warning, .event-time-warning) > span[aria-hidden] { color: #ffe300 !important; }
.event-change-warnings svg { width: 1em; height: 1em; vertical-align: -.12em; }

/* Rückseite */
.flyer-back h3 { color: #146738; font-size: 15pt; letter-spacing: -.01em; margin: 0 0 2mm; }
.flyer-back :is(.flyer-about, .flyer-venues, .flyer-visit) { margin-bottom: 6mm; }
.flyer-venues { display: grid; grid-template-columns: 62mm 1fr; gap: 6mm; align-items: stretch; }
.flyer-venues-photo { height: 100%; min-height: 40mm; }
.flyer-venues li + li { margin-top: 1mm; }
.flyer-venues li span::before { content: "· "; }
.flyer-questions { display: grid; grid-template-columns: 1fr 1fr; gap: 4mm 6mm; }
.flyer-question { border-top: 1px solid #bdc7b5; padding-top: 2mm; break-inside: avoid; }
.flyer-question h4 { margin: 0 0 1mm; font-size: 12pt; line-height: 1.25; }

.flyer-footer { margin-top: 6mm; padding-top: 4mm; border-top: 3px solid #146738; break-inside: avoid; }
.flyer-current-info { display: grid; grid-template-columns: 1fr 25mm; gap: 5mm; align-items: center; }
.flyer-footer a { font-size: 19pt; font-weight: bold; text-decoration: none; }
.flyer-footer p { font-size: 10pt; line-height: 1.4; margin-top: 1.5mm; }
.flyer-footer p.flyer-info:first-child { margin: 0 0 2mm; }
.flyer-footer a.flyer-terms-link { font-size: 10pt; font-weight: normal; }
.flyer-footer a.flyer-email { font-size: 12pt; overflow-wrap: anywhere; }
.flyer-qr { display: block; width: 25mm; height: 25mm; background: white; }
.flyer-stand { color: #4b5148; }

@media screen and (max-width: 600px) {
  .flyer-tools { flex-direction: column; }
  .flyer-tools div { text-align: left; }
  .flyer { padding: 22px; min-height: auto; margin-bottom: 0; }
  .flyer-header { grid-template-columns: 70px 1fr; gap: 16px; padding: 12px 0 20px; }
  .flyer-logo { width: 70px; height: 70px; }
  .flyer-header-photo { grid-column: 1 / -1; height: 150px; margin: 8px 0 0; }
  h1, .flyer-back-title { font-size: 30px; }
  .flyer-questions, .flyer-meetings ul, .flyer-venues { grid-template-columns: 1fr; }
  .flyer-venues-photo { height: 150px; }
  .flyer-venues li span { display: block; }
  .flyer-venues li span::before { content: none; }
  .flyer-back { border-top: 2px solid #146738; margin-top: 24px; }
  .flyer-event { grid-template-columns: 1fr; gap: 6px; }
  .flyer-date { border-right: 0; }
  .flyer-date span:not(.event-kind-label) { display: inline; margin-left: .6em; }
  .flyer-current-info { grid-template-columns: minmax(0, 1fr) 25mm; gap: 10px; }
  .flyer-current-info > div { min-width: 0; overflow-wrap: anywhere; }
  .flyer-current-info > div > a { font-size: 20px; }
}
@page { size: A4 portrait; margin: 10mm; }
@media print {
  :root, .flyer { background: white; }
  .flyer-tools { display: none; }
  .flyer { max-width: none; min-height: auto; margin: 0; padding: 2mm 4mm 0; box-shadow: none; }
  .flyer-back { break-before: page; }
  .flyer-header { grid-template-columns: 26mm 1fr 46mm; padding: 1mm 0 3mm; margin-bottom: 3mm; }
  .flyer-logo { width: 26mm; height: 26mm; }
  .flyer-header-photo { height: 26mm; }
  h1, .flyer-back-title { font-size: 25pt; }
  .flyer-front .flyer-header { grid-template-columns: 22mm 1fr 40mm; }
  .flyer-front .flyer-logo { width: 22mm; height: 22mm; }
  .flyer-front .flyer-header-photo { height: 22mm; }
  .flyer-invitation, .flyer-meetings { margin-bottom: 3mm; }
  .flyer-meetings { padding: 2mm 3mm; }
  .flyer-meetings h2 { font-size: 12.5pt; margin-bottom: 1mm; }
  .flyer-meetings li { font-size: 10pt; line-height: 1.3; }
  .flyer .flyer-meeting-note { font-size: 9pt; margin-top: 1.2mm; }
  .flyer-programme h2 { font-size: 18pt; margin-bottom: 2mm; }
  .flyer-event { padding-block: 1.2mm; }
  .flyer-date { font-size: 13pt; }
  .flyer-details h3 { font-size: 12pt; }
  .flyer-date span, .flyer-details p { font-size: 10pt; line-height: 1.3; }
  .flyer-details h3 { margin-bottom: .4mm; }
  body .flyer-event .event-change-warnings { margin-top: .8mm; }
  .flyer-footer { margin-top: 4mm; }
  .flyer-front .flyer-footer { margin-top: 3mm; padding-top: 2mm; grid-template-columns: 1fr 22mm; }
  .flyer-front .flyer-qr { width: 22mm; height: 22mm; }
  .flyer-back p { font-size: 10.5pt; }
  .flyer-back .flyer-footer p { font-size: 10pt; }
}
