/*
 * Gestaltung „Kante“: eckig, flächig, laut. Wappengrün und Wappengelb als volle Flächen,
 * harte Schatten statt weicher, sehr große Überschriften mit gelber Markierung.
 * Liegt über style.css und wird nach ihr geladen.
 */

:root { --kante: 3px; --hart: 6px 6px 0 var(--tinte); }

h1, h2, h3 { font-weight: 800; letter-spacing: -.035em; }
h1 { font-size: clamp(2.7rem, 8.4vw, 6.2rem); line-height: .94; }
h2 { font-size: clamp(2.1rem, 5.4vw, 4rem); line-height: .98; }
h3 { letter-spacing: -.02em; }

/* Markierung: ein Wort oder eine Zeile wie mit dem Textmarker */
.buehne h1 em, mark, .markiert {
	font-style: normal; color: var(--tinte); background: var(--sonne);
	padding: 0 .14em .04em; margin: 0 -.04em;
	-webkit-box-decoration-break: clone; box-decoration-break: clone;
}

/* Knöpfe: eckig, mit hartem Schatten, der beim Drücken verschwindet */
.knopf, .mfm-submit-button {
	border-radius: 0 !important; border: var(--kante) solid var(--tinte) !important;
	font-family: var(--titel) !important; font-weight: 800 !important; font-size: 1.12rem !important; letter-spacing: -.01em !important;
	padding: .95em 1.35em !important; box-shadow: var(--hart) !important;
	transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease;
}
.knopf:hover, .mfm-submit-button:hover { transform: translate(3px, 3px); box-shadow: 3px 3px 0 var(--tinte) !important; }
.knopf:active, .mfm-submit-button:active { transform: translate(6px, 6px); box-shadow: 0 0 0 var(--tinte) !important; }
.knopf--dunkel { background: var(--tinte); color: var(--weiss); box-shadow: 6px 6px 0 var(--wappen) !important; }
.knopf--dunkel:hover { background: var(--tinte); box-shadow: 3px 3px 0 var(--wappen) !important; }
.knopf--hell { background: var(--weiss); color: var(--tinte); }
.knopf--hell:hover { background: var(--weiss); color: var(--tinte); }
.knopf--rand { border-color: currentColor !important; box-shadow: 6px 6px 0 rgba(0, 0, 0, .35) !important; }
.knopf--rand:hover { box-shadow: 3px 3px 0 rgba(0, 0, 0, .35) !important; }
.knopf--klein { font-size: .98rem !important; padding: .7em 1em !important; box-shadow: 4px 4px 0 var(--tinte) !important; }
.knopf--klein.knopf--dunkel { box-shadow: 4px 4px 0 var(--wappen) !important; }
.abschnitt--dunkel .knopf, .buehne .knopf, .seitenkopf .knopf, .fuss .knopf { border-color: var(--kiefer-tief) !important; box-shadow: 6px 6px 0 rgba(0, 0, 0, .45) !important; }
.textlink { font-family: var(--titel); font-weight: 800; font-size: 1.1rem; border-bottom: var(--kante) solid var(--sonne); padding-bottom: 2px; color: var(--tinte); }
.textlink:hover { color: var(--tinte); background: var(--sonne); }
.abschnitt--dunkel .textlink { color: var(--weiss) !important; }
.abschnitt--dunkel .textlink:hover { color: var(--tinte) !important; }

/* Kopf */
.kopf { background: var(--weiss); backdrop-filter: none; border-bottom: 4px solid var(--tinte); }
.kopf__zeile { min-height: 84px; }
.logo__bild { width: 58px; }
.logo__text { font-size: 1.35rem; color: var(--tinte); }
.logo__text small { color: var(--wald); font-weight: 700; }
.menue a { font-family: var(--titel); font-weight: 700; font-size: 1.08rem; padding: 8px 12px; }
.menue a:hover { background: var(--sonne); color: var(--tinte); }
.menue a[aria-current="page"] { background: var(--tinte); color: var(--sonne); }
.menue-knopf { background: var(--tinte); font-family: var(--titel); font-weight: 800; }

/* Bühne: Bild rechts frei, Text auf dunklem Keil */
.buehne::after {
	background:
		linear-gradient(100deg, rgba(6, 50, 42, .96) 0%, rgba(6, 50, 42, .9) 38%, rgba(6, 50, 42, .35) 62%, rgba(6, 50, 42, 0) 78%);
}
.buehne { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 3.200vw), 0 100%); margin-bottom: -3.200vw; z-index: 2; }
.buehne__inhalt { padding: clamp(64px, 11vw, 150px) 0 clamp(72px, 12vw, 160px); max-width: 820px; }
.buehne h1 { text-shadow: none; }
.buehne__lead { font-size: clamp(1.15rem, 2vw, 1.4rem); max-width: 30em; font-weight: 500; }
.buehne__knoepfe { gap: 16px; }

/* Kennzahlen: volle gelbe Fläche */
.kennzahlen { background: var(--sonne); color: var(--tinte); padding-top: 3.200vw; border-bottom: 4px solid var(--tinte); }
.kennzahl { border-left: var(--kante) solid var(--tinte); padding: 30px 22px 30px; }
.kennzahl strong { color: var(--tinte); font-size: clamp(2.6rem, 6vw, 4.6rem); letter-spacing: -.05em; }
.kennzahl span { color: var(--tinte); font-weight: 600; font-size: 1rem; line-height: 1.35; display: block; margin-top: 6px; }
@media (max-width: 720px) { .kennzahl:nth-child(n+3) { border-top: var(--kante) solid var(--tinte); } }

/* Seitenkopf der Unterseiten: grüne Fläche mit schräger Kante */
.seitenkopf { background: var(--wappen); color: var(--tinte); padding-bottom: calc(clamp(40px, 6vw, 76px) + 3vw); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 3vw), 0 100%); }
.seitenkopf::before { display: none; }
.seitenkopf h1 { font-size: clamp(2.5rem, 7vw, 5.2rem); max-width: 15em; }
.seitenkopf__lead { color: var(--tinte); font-weight: 500; font-size: clamp(1.15rem, 2vw, 1.4rem); }
.seitenkopf--bild { color: var(--weiss); background: var(--kiefer-tief); }
.seitenkopf--bild .seitenkopf__lead { color: var(--weiss); }
.seitenkopf--bild::after { background: linear-gradient(100deg, rgba(6, 50, 42, .95) 0%, rgba(6, 50, 42, .82) 45%, rgba(6, 50, 42, .25) 100%); }
.seitenkopf .marken { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.pfad ol { font-weight: 600; }
.seitenkopf + .abschnitt { padding-top: clamp(40px, 5vw, 72px); }

/* Abschnitte als Farbflächen */
.abschnitt--dunkel { background: var(--kiefer-tief); }
.abschnitt--moos { background: var(--wappen); color: var(--tinte); }
.abschnitt--moos .abschnitt__kopf p { color: var(--tinte); }
.abschnitt--moos a:not(.knopf):not(.textlink) { color: var(--tinte); }
.abschnitt--hell { background: var(--weiss); border-top: 4px solid var(--tinte); border-bottom: 4px solid var(--tinte); }
.abschnitt__kopf { align-items: end; border: 0; }
.abschnitt__kopf p { font-size: 1.15rem; }

/* Karten: Rahmen statt weicher Schatten */
.termin, .kachel, .club-karte, .bericht, .fakten, .formkasten, .personen li, .abo, .hinweis {
	border: var(--kante) solid var(--tinte); border-radius: 0; box-shadow: none;
}
.termin { padding: 0 22px 0 0; gap: 22px; overflow: hidden; }
.termin:hover, .club-karte:hover, .bericht:hover { transform: translate(-3px, -3px); box-shadow: var(--hart); border-color: var(--tinte); }
.termin__text { padding: 16px 0; }
.termin__titel { font-size: clamp(1.3rem, 2.3vw, 1.75rem); }
.termin__titel a::after, .club-karte h3 a::after { border-radius: 0; }
.termin__pfeil { color: var(--tinte); }
.plakette { border-radius: 0; background: var(--tinte); width: 108px; min-height: 100%; align-self: stretch; padding: 18px 8px; }
.plakette__tag { font-size: 1.75rem; color: var(--sonne); }
.plakette__monat { color: var(--weiss); letter-spacing: .14em; }
@media (max-width: 560px) { .termin { padding: 0 14px 0 0; } .plakette { width: 84px; } .plakette__tag { font-size: 1.3rem; } }
.marke { border-radius: 0; background: var(--wappen); color: var(--tinte); text-transform: uppercase; letter-spacing: .07em; font-size: .72rem; padding: 6px 8px; }
.marke--offen { background: var(--sonne); color: var(--tinte); }
.marke--warn { background: #e31e25; color: var(--weiss); }
.monat-titel { font: 800 clamp(1.5rem, 3vw, 2.1rem)/1 var(--titel); letter-spacing: -.03em; text-transform: none; color: var(--tinte); margin: 48px 0 16px; }
.filter button { border: var(--kante) solid var(--tinte); border-radius: 0; font-family: var(--titel); font-weight: 700; }
.filter button:hover { background: var(--sonne); border-color: var(--tinte); }
.filter button[aria-pressed="true"] { background: var(--tinte); color: var(--sonne); border-color: var(--tinte); }
.abo { background: var(--sonne); }
.abschnitt--moos .abo, .abschnitt--moos .kachel, .abschnitt--moos .formkasten { background: var(--weiss); }

.kachel { padding: 26px; }
.kachel__icon { width: auto; height: auto; background: none !important; color: var(--wald) !important; place-items: start; margin-bottom: 10px; }
.kachel__icon .icon { width: 44px; height: 44px; stroke-width: 1.700; }
.schritt .kachel__icon::before { font-size: clamp(3.4rem, 6vw, 4.6rem); line-height: .8; color: var(--wappen); letter-spacing: -.05em; }
.abschnitt--dunkel .kachel { background: transparent; border-color: rgba(255, 255, 255, .5); }
.abschnitt--dunkel .kachel__icon { color: var(--sonne) !important; }

.club-karte h3 { font-size: 1.5rem; }
.club-karte__ort { color: var(--wald) !important; text-transform: uppercase; letter-spacing: .06em; font-size: .86rem !important; }
.club-karte__mehr { color: var(--tinte) !important; font-family: var(--titel); font-weight: 800; }

.bericht__bild { border-bottom: var(--kante) solid var(--tinte); }
.bericht__platz { background: var(--wappen); color: var(--tinte); }
.bericht__meta { text-transform: uppercase; letter-spacing: .06em; font-size: .78rem; color: var(--wald); }
.bildkachel { border: var(--kante) solid var(--tinte); border-radius: 0; background: var(--wappen); color: var(--tinte); min-height: 300px; }
.bildkachel::after { display: none; }
.bildkachel:has(img) { color: var(--weiss); }
.bildkachel:has(img)::after { display: block; background: linear-gradient(0deg, rgba(6, 50, 42, .95) 0%, rgba(6, 50, 42, .15) 65%); }
.bildkachel p { color: inherit; }
.bildkachel:hover { transform: translate(-3px, -3px); box-shadow: var(--hart); }
.bildkachel { transition: transform .15s ease, box-shadow .15s ease; }
.bildkachel h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); }

.bildrahmen { border-radius: 0; border: var(--kante) solid var(--tinte); box-shadow: 16px 16px 0 var(--sonne); margin: 0 16px 16px 0; }
.abschnitt--dunkel .bildrahmen { box-shadow: 16px 16px 0 var(--wappen); }

/* Aufruf: gelbe Fläche über die ganze Breite */
.ruf { background: var(--sonne); border: var(--kante) solid var(--tinte); box-shadow: 12px 12px 0 var(--tinte); border-radius: 0; margin: 0 12px 12px 0; }
.ruf::before { display: none; }
.ruf h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); }

/* Fragen */
.faq details { border-bottom: var(--kante) solid var(--tinte); }
.faq details:first-child { border-top: var(--kante) solid var(--tinte); }
.faq summary { font-size: clamp(1.2rem, 2.2vw, 1.5rem); font-weight: 800; padding: 24px 52px 24px 0; }
.faq summary::after { color: var(--tinte); font-weight: 300; font-size: 2.600rem; }
.faq summary:hover { background: var(--sonne); }
.faq details p { font-size: 1.12rem; }

/* Fakten und Formulare */
.fakten { box-shadow: var(--hart); padding: 4px 24px; }
.fakten dl > div { border-bottom: 2px solid var(--tinte); }
.fakten dl > div:last-child { border-bottom: 0; }
.fakten__knoepfe { gap: 12px; padding: 20px 6px 24px 0; border-top: 2px solid var(--tinte); }
.fakten__knoepfe .knopf { flex: 1 1 100%; justify-content: center; }
.fakten__knoepfe .knopf--klein { flex: 1 1 auto; }
.fakten dl .icon { color: var(--wald); }
.fakten dt { color: var(--wald); }
.fakten dd { font-family: var(--titel); font-weight: 700; font-size: 1.2rem; }
.fakten dd small { font-family: var(--schrift); }
.formkasten { box-shadow: 12px 12px 0 var(--tinte); margin: 0 12px 12px 0; }
.mfm-input, .mfm-textarea, .mfm-select { border: 2px solid var(--tinte) !important; border-radius: 0 !important; }
.mfm-input:focus, .mfm-textarea:focus, .mfm-select:focus { outline: 4px solid var(--sonne) !important; border-color: var(--tinte) !important; }
.programm { border-left: var(--kante) solid var(--tinte); }
.programm li::before { border-radius: 0; background: var(--sonne); border: 2px solid var(--tinte); width: 16px; height: 16px; left: -11px; }
.personen--bild li { grid-template-columns: 120px 1fr; }
.personen--bild img, .personen__leer { width: 120px; height: 120px; border-right: var(--kante) solid var(--tinte); }
.text blockquote { border-left: 8px solid var(--sonne); font-family: var(--titel); font-weight: 700; font-size: 1.4rem; }
.text h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.text a { color: var(--tinte); text-decoration-color: var(--wappen); text-decoration-thickness: 3px; }
.text a:hover { background: var(--sonne); }
.galerie img, .text img { border: var(--kante) solid var(--tinte); border-radius: 0; }
.hinweis { background: var(--sonne); }
.seiten .page-numbers { border: var(--kante) solid var(--tinte); border-radius: 0; font-family: var(--titel); }
.seiten .current { background: var(--tinte); color: var(--sonne); }

/* Karte der Clubs */
.karte__land { fill: rgba(1, 170, 139, .28); stroke: var(--wappen); stroke-width: 2; }
.karte__punkt { fill: var(--sonne); stroke: var(--kiefer-tief); stroke-width: 3; }
.karte__halo { display: none; }
.karte__club text { font-family: var(--titel); font-weight: 800; stroke: var(--kiefer-tief); }

/* Fuß */
.fuss { border-top: 8px solid var(--sonne); }
.fuss__marke { font-size: clamp(1.8rem, 3vw, 2.4rem); letter-spacing: -.03em; }
.fuss h2 { font-family: var(--titel); font-size: 1.05rem; letter-spacing: 0; text-transform: none; }

:focus-visible { border-radius: 0; outline: 4px solid var(--tinte); outline-offset: 2px; box-shadow: 0 0 0 8px var(--sonne); }

@media print {
	.seitenkopf { clip-path: none; }
	.termin, .kachel, .fakten { box-shadow: none !important; }
}

/* Kopfzeile: nichts umbrechen */
.menue a, .logo__text, .kopf__cta { white-space: nowrap; }
.logo__text small { white-space: nowrap; }
@media (max-width: 1280px) and (min-width: 1101px) { .menue a { font-size: 1rem; padding: 8px 9px; } .logo__text { font-size: 1.2rem; } .kopf__zeile { gap: 12px; } }
@media (max-width: 420px) { .logo__text { font-size: 1.05rem; } .logo__text small { display: none; } .logo__bild { width: 46px; } }
.clubliste .textlink, .abschnitt--dunkel ul .textlink { border-bottom-width: 2px; font-size: 1.05rem; }

/* Schmale Bildschirme */
@media (max-width: 760px) {
	.buehne::after { background: linear-gradient(180deg, rgba(6, 50, 42, .9) 0%, rgba(6, 50, 42, .86) 60%, rgba(6, 50, 42, .7) 100%); }
	.buehne__knoepfe .knopf { width: 100%; justify-content: center; }
	.bildrahmen { box-shadow: 10px 10px 0 var(--sonne); margin: 0 10px 10px 0; }
	.ruf, .formkasten { box-shadow: 8px 8px 0 var(--tinte); margin: 0 8px 8px 0; }
	.marke { white-space: normal; line-height: 1.2; }
}
@media (max-width: 560px) {
	.kopf__zeile { gap: 10px; min-height: 72px; }
	.logo { min-width: 0; gap: 10px; }
	.logo__text { white-space: normal; font-size: 1.05rem; line-height: 1; }
	.logo__text small { display: none; }
	.logo__bild { width: 44px; }
	.menue-knopf { flex: none; padding: 12px 14px; }
}

.programm-tag { display: inline-block; background: var(--tinte); color: var(--weiss); padding: .3em .55em; font-size: 1.15rem; margin: 1.4em 0 .7em !important; }

/* Gut zu wissen */
.wissen-register { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 36px; }
.wissen-register a { font: 700 .98rem var(--titel); color: var(--tinte); text-decoration: none; border: 2px solid var(--tinte); padding: 8px 11px; background: var(--weiss); }
.wissen-register a:hover { background: var(--sonne); }
.wissen h2 { border-top: var(--kante) solid var(--tinte); padding-top: .7em; margin-top: 1.6em; scroll-margin-top: 110px; }
.wissen h2:first-child { border-top: 0; padding-top: 0; }
.wissen .quelle { font-size: .92rem; color: var(--grau); }

/* Nichts darf breiter werden als der Bildschirm: lange Wörter trennen, Rasterspalten dürfen schrumpfen. */
h1, h2, h3, .termin__titel, .fakten dd { overflow-wrap: break-word; hyphens: auto; }
.seite-mit-rand { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 980px) { .seite-mit-rand { grid-template-columns: minmax(0, 1fr) 380px; } }
.zweispalter > *, .raster > *, .seite-mit-rand > *, .termine > *, .portal__kacheln > *, .portal__spalten > * { min-width: 0; }
.termin { grid-template-columns: auto minmax(0, 1fr) auto; }
@media (max-width: 560px) { .termin { grid-template-columns: auto minmax(0, 1fr); } }
.termin__text { min-width: 0; }
.text { overflow-wrap: break-word; }
.text table { table-layout: auto; }
.formkasten { min-width: 0; }
.fakten dl > div { grid-template-columns: 28px minmax(0, 1fr); }
.fakten dd, .fakten dd a { overflow-wrap: anywhere; min-width: 0; }

/* Menü mit acht Punkten: unter 1280 px als aufklappbares Menü */
@media (max-width: 1279px) {
	.menue-knopf { display: inline-flex; }
	.kopf__nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--weiss); border-bottom: 4px solid var(--tinte); padding: 12px 20px 24px; }
	.kopf__nav.offen { display: block; }
	.menue { flex-direction: column; gap: 2px; }
	.menue a { font-size: 1.2rem; padding: 14px 16px; }
	.kopf__cta { display: none; }
	.kopf__nav .knopf { display: inline-flex; margin-top: 12px; width: 100%; justify-content: center; }
}
@media (min-width: 1280px) { .menue a { font-size: 1rem; padding: 8px 9px; } }

/* Terminseite im selben Look wie Aushang und Broschüre: Farbe der Ausschreibung, Datumsband */
.termin-seite { --a: #01aa8b; --a-text: #10231f; --hell: #fff112; }
.termin-seite.aushang--f-gelb { --a: #fff112; --a-text: #10231f; --hell: #10231f; }
.termin-seite.aushang--f-nacht { --a: #0b4a3e; --a-text: #ffffff; }
.termin-seite.aushang--f-rot { --a: #c62828; --a-text: #ffffff; --hell: #ffd54a; }
.termin-seite.aushang--f-blau { --a: #1565c0; --a-text: #ffffff; }
.termin-seite .seitenkopf { clip-path: none; padding-bottom: clamp(32px, 5vw, 60px); }
.termin-seite .seitenkopf:not(.seitenkopf--bild) { background: var(--a); color: var(--a-text); }
.termin-seite .seitenkopf:not(.seitenkopf--bild) .seitenkopf__lead { color: var(--a-text); }
.termin-band { background: var(--hell); color: var(--hell-text, #10231f); border-top: 4px solid var(--tinte); border-bottom: 4px solid var(--tinte); padding: 14px 0; }
.termin-seite.aushang--f-gelb .termin-band { color: #fff112; }
.termin-band .huelle { display: flex; flex-wrap: wrap; gap: 2px 22px; align-items: baseline; }
.termin-band strong { font: 800 clamp(1.5rem, 3.6vw, 2.2rem)/1.05 var(--titel); letter-spacing: -.03em; }
.termin-band span { font-weight: 600; font-size: 1.1rem; }
.termin-seite .programm-tag, .termin-seite .lvp-wahl__liste input:checked + span { background: var(--tinte); }
.termin-seite .formkasten { border-top: 12px solid var(--a); }
.termin-seite .programm li::before { background: var(--a); }
@media print { .termin-band { border: 0; padding: 0 0 4mm; } }

.termin-vorlaeufig { margin-top: 32px; padding-top: 14px; border-top: 2px solid var(--linie, #d5ddd8); color: var(--grau); font-size: .98rem; }
.lvp-merk { font-weight: 600; margin: 4px 0 18px; }

.termin-seite.aushang--f-club .marke--club, .termin-seite.aushang--f-eigen .marke--club { background: var(--dunkel); color: #fff; }
.termin-seite.aushang--f-club .marke--offen, .termin-seite.aushang--f-eigen .marke--offen { background: var(--hell); color: var(--hell-text); box-shadow: 0 0 0 2px #fff; }
.termin-band__logo { height: 64px; width: auto; max-width: 140px; object-fit: contain; background: #fff; padding: 5px; align-self: center; }
@media (max-width: 600px) { .termin-band__logo { height: 48px; } }
/* Clubseite in den Farben des Clubs */
.club-seite .seitenkopf:not(.seitenkopf--bild) { background: var(--a); color: var(--a-text); clip-path: none; }
.club-seite .seitenkopf:not(.seitenkopf--bild) .seitenkopf__lead, .club-seite .seitenkopf:not(.seitenkopf--bild) a { color: var(--a-text); }
.club-band { background: var(--hell); color: var(--hell-text); border-top: 4px solid var(--tinte); border-bottom: 4px solid var(--tinte); padding: 12px 0; }
.club-band .huelle { display: flex; align-items: center; gap: 18px; }
.club-band img { height: 72px; width: auto; max-width: 160px; object-fit: contain; background: #fff; padding: 5px; }
.club-band strong { font: 800 1.25rem/1.2 var(--titel); }
