/* GWD Vereins-Widgets – Flyer-Look: weiß, dunkelgrüne Pinselstriche, fette kursive Headlines */
.gwdw {
	--gwdw-green: #1B4527;
	--gwdw-green-2: #2e6b3f;
	--gwdw-ink: #111;
	--gwdw-muted: #6b7280;
	--gwdw-line: #e5e7eb;
	--gwdw-tint: #eef4ef;
	position: relative;
	background: #fff;
	color: var(--gwdw-ink);
	border: 1px solid var(--gwdw-line);
	border-radius: 4px;
	padding: 20px 18px 16px;
	margin: 0 0 24px;
	overflow: hidden;
	font-size: 15px;
	line-height: 1.4;
	box-shadow: 0 6px 18px rgba(0, 0, 0, .06);
}
/* Pinselstrich oben rechts */
.gwdw::before {
	content: "";
	position: absolute;
	top: -14px;
	right: -30px;
	width: 160px;
	height: 46px;
	background: var(--gwdw-green);
	transform: rotate(-8deg);
	clip-path: polygon(4% 38%, 18% 22%, 40% 30%, 62% 12%, 86% 20%, 100% 8%, 97% 62%, 78% 74%, 55% 66%, 33% 84%, 12% 72%, 0% 88%);
	opacity: .95;
	pointer-events: none;
}

.gwdw-head { margin: 0 0 14px; position: relative; }
.gwdw-kicker {
	display: inline-block;
	position: relative;
	color: #fff;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .14em;
	text-transform: uppercase;
	padding: 4px 14px 4px 10px;
	margin-bottom: 6px;
	z-index: 0;
}
/* Pinsel-Hintergrund für das Label */
.gwdw-kicker::before {
	content: "";
	position: absolute;
	inset: 0 -4px;
	background: var(--gwdw-green);
	transform: skewX(-12deg);
	clip-path: polygon(0 18%, 8% 0, 50% 8%, 92% 0, 100% 26%, 98% 82%, 90% 100%, 48% 92%, 6% 100%, 2% 70%);
	z-index: -1;
}
.gwdw-title {
	margin: 0;
	font-size: 26px;
	line-height: 1.05;
	font-weight: 900;
	font-style: italic;
	text-transform: uppercase;
	letter-spacing: -.01em;
	color: var(--gwdw-green);
}
.gwdw-sub { display: block; margin-top: 4px; font-size: 13px; color: var(--gwdw-muted); }
.gwdw a { color: var(--gwdw-green); }

/* ---------- Mini-Tabelle ---------- */
.gwdw-table table { width: 100%; border-collapse: collapse; margin: 0; font-variant-numeric: tabular-nums; }
.gwdw-table th {
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: .06em;
	color: var(--gwdw-muted);
	font-weight: 700;
	text-align: center;
	padding: 4px 6px 6px;
	border-bottom: 2px solid var(--gwdw-green);
	background: none;
}
.gwdw-table td { text-align: center; padding: 8px 6px; border-bottom: 1px solid var(--gwdw-line); background: none; }
.gwdw-table .gwdw-team { text-align: left; font-weight: 600; width: 100%; }
.gwdw-table .gwdw-pos { font-weight: 800; font-style: italic; width: 2.6em; white-space: nowrap; }
.gwdw-table .gwdw-pkt { font-weight: 800; }
.gwdw-trend { display: inline-block; margin-left: 3px; font-size: 8px; font-style: normal; vertical-align: middle; }
.gwdw-trend.up { color: #16a34a; }
.gwdw-trend.down { color: #dc2626; }
.gwdw-table tr.is-own .gwdw-trend { color: #fff; }
.gwdw-table tr.is-own td { background: var(--gwdw-green); color: #fff; border-bottom-color: var(--gwdw-green); }
.gwdw-table tr.is-own .gwdw-team { font-weight: 800; font-style: italic; text-transform: uppercase; }
.gwdw-table tr.is-own .gwdw-pkt {
	background: #fff;
	color: var(--gwdw-green);
	font-size: 16px;
	box-shadow: inset 0 0 0 3px var(--gwdw-green);
}
.gwdw-foot { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 10px; font-size: 12px; color: var(--gwdw-muted); }
.gwdw-foot a { font-weight: 700; text-decoration: none; }

/* ---------- Buttons ---------- */
.gwdw-btn {
	display: inline-block;
	background: var(--gwdw-green);
	color: #fff !important;
	font-weight: 800;
	font-style: italic;
	text-transform: uppercase;
	font-size: 12px;
	letter-spacing: .04em;
	padding: 8px 14px;
	text-decoration: none !important;
	transform: skewX(-8deg);
	transition: background .15s, transform .15s;
	white-space: nowrap;
}
.gwdw-btn:hover, .gwdw-btn:focus { background: var(--gwdw-green-2); transform: skewX(-8deg) translateY(-1px); }
.gwdw-btn-ghost { background: #fff; color: var(--gwdw-green) !important; box-shadow: inset 0 0 0 2px var(--gwdw-green); }
.gwdw-btn-ghost:hover { background: var(--gwdw-tint); }
.gwdw-btn-wide { display: block; text-align: center; margin-top: 14px; padding: 11px 14px; font-size: 13px; }

/* ---------- Kalender ---------- */
.gwdw-cal-list, .gwdw-job-list { list-style: none; margin: 0; padding: 0; }
.gwdw-cal-list li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 0;
	border-bottom: 1px solid var(--gwdw-line);
	margin: 0;
}
.gwdw-cal-info strong { display: block; font-weight: 800; font-style: italic; text-transform: uppercase; }
.gwdw-cal-info span { font-size: 12px; color: var(--gwdw-muted); }
.gwdw-cal-btns { display: flex; gap: 6px; flex-shrink: 0; }
.gwdw-help { margin-top: 12px; font-size: 13px; color: var(--gwdw-muted); }
.gwdw-help summary { cursor: pointer; font-weight: 700; color: var(--gwdw-green); }
.gwdw-help p { margin: 8px 0 0; }

/* ---------- Wir suchen ---------- */
.gwdw-job-list { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.gwdw-job-list li {
	position: relative;
	margin: 0;
	padding: 14px 14px 12px 16px;
	background: var(--gwdw-tint);
	border-left: 5px solid var(--gwdw-green);
}
.gwdw-tag {
	display: inline-block;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--gwdw-green);
	margin-bottom: 2px;
}
.gwdw-job-list strong { display: block; font-size: 17px; font-weight: 900; font-style: italic; line-height: 1.15; }
.gwdw-job-list p { margin: 6px 0 8px; font-size: 13px; color: #374151; }
.gwdw-job-list a { font-weight: 800; font-size: 13px; text-decoration: none; }
.gwdw-job-list a:hover { text-decoration: underline; }

.gwdw-note { padding: 8px 12px; background: #fff8e5; border-left: 4px solid #dba617; font-size: 13px; }

@media (max-width: 480px) {
	.gwdw { padding: 18px 14px 14px; }
	.gwdw-title { font-size: 22px; }
	.gwdw-cal-list li { flex-direction: column; align-items: flex-start; }
}

/* ---------- Partner werden ---------- */
.gwdw-partner { padding: 0 0 18px; }
.gwdw-partner::before { display: none; }
.gwdw-partner > *:not(.gwdw-partner-hero) { margin-left: 18px; margin-right: 18px; }
.gwdw-partner-hero {
	background: var(--gwdw-green);
	color: #fff;
	padding: 22px 18px 30px;
	margin-bottom: 6px;
	clip-path: polygon(0 0, 100% 0, 100% 86%, 78% 100%, 46% 90%, 18% 100%, 0 92%);
}
.gwdw-partner-hero .gwdw-title { color: #fff; font-size: 28px; }
.gwdw-partner-hero p { margin: 8px 0 0; opacity: .9; font-size: 14px; max-width: 46em; }
.gwdw-kicker-inv { color: var(--gwdw-green); }
.gwdw-kicker-inv::before { background: #fff; }
.gwdw-packages { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin-top: 14px; }
.gwdw-package { position: relative; border: 1px solid var(--gwdw-line); padding: 16px 14px 14px; display: flex; flex-direction: column; background: #fff; }
.gwdw-package.is-featured { border: 2px solid var(--gwdw-green); }
.gwdw-badge { position: absolute; top: -11px; right: 12px; background: var(--gwdw-green); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 3px 9px; transform: skewX(-8deg); }
.gwdw-package-name { font-size: 20px; font-weight: 900; font-style: italic; text-transform: uppercase; color: var(--gwdw-green); }
.gwdw-package-price { font-size: 13px; color: var(--gwdw-muted); margin-top: 2px; }
.gwdw-package ul { margin: 10px 0 12px; padding: 0; list-style: none; font-size: 14px; flex: 1; }
.gwdw-package li { padding: 3px 0 3px 20px; position: relative; }
.gwdw-package li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 10px; height: 5px; border-left: 2px solid var(--gwdw-green); border-bottom: 2px solid var(--gwdw-green); transform: rotate(-45deg); }
.gwdw-package-cta { font-weight: 800; font-size: 13px; text-decoration: none; }
.gwdw-pdf { margin-top: 12px; font-size: 14px; }
.gwdw-pdf a { font-weight: 700; }
.gwdw-form-wrap { margin-top: 18px; padding-top: 16px; border-top: 2px solid var(--gwdw-green); scroll-margin-top: 90px; }
.gwdw-form-title { margin: 0 0 10px; font-size: 20px; font-weight: 900; font-style: italic; text-transform: uppercase; color: var(--gwdw-green); }
.gwdw-form { display: grid; gap: 10px; }
.gwdw-row { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.gwdw-field { display: block; margin: 0; }
.gwdw-field > span { display: block; font-size: 12px; font-weight: 700; margin-bottom: 4px; }
.gwdw-field input, .gwdw-field select, .gwdw-field textarea {
	width: 100%; box-sizing: border-box; border: 1px solid #cfd4d0; border-radius: 0; padding: 10px; font: inherit; font-size: 15px; background: #fff; color: var(--gwdw-ink);
}
.gwdw-field input:focus, .gwdw-field select:focus, .gwdw-field textarea:focus { outline: 2px solid var(--gwdw-green); outline-offset: -1px; border-color: var(--gwdw-green); }
.gwdw-field.has-error input, .gwdw-field.has-error textarea { border-color: #c0392b; }
.gwdw-check { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: #374151; }
.gwdw-check input { margin-top: 3px; accent-color: var(--gwdw-green); }
.gwdw-check.has-error { color: #c0392b; }
.gwdw-err { display: block; color: #c0392b; font-size: 12px; margin-top: 4px; }
.gwdw-err-form { padding: 8px 10px; background: #fdecea; }
.gwdw-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.gwdw-btn[disabled] { opacity: .7; cursor: wait; }
.gwdw-success { background: var(--gwdw-tint); border-left: 5px solid var(--gwdw-green); padding: 14px 16px; }
.gwdw-success strong { font-size: 18px; font-style: italic; color: var(--gwdw-green); }
.gwdw-success p { margin: 4px 0 0; }
button.gwdw-btn { border: 0; cursor: pointer; font-family: inherit; }

/* ---------- Kader ---------- */
.gwdw-kader { padding: 0 0 18px; }
.gwdw-kader::before { display: none; }
.gwdw-kader > *:not(.gwdw-kader-hero) { margin-left: 18px; margin-right: 18px; }
.gwdw-kader-hero {
	position: relative;
	background: var(--gwdw-green);
	color: #fff;
	padding: 22px 18px 34px;
	clip-path: polygon(0 0, 100% 0, 100% 84%, 74% 100%, 44% 89%, 16% 100%, 0 90%);
}
.gwdw-kader-hero .gwdw-title { color: #fff; font-size: 40px; }
.gwdw-kader-hero p { margin: 4px 0 0; opacity: .9; font-size: 14px; }
.gwdw-kader-count { position: absolute; right: 18px; top: 22px; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; text-align: right; line-height: 1; }
.gwdw-kader-count b { display: block; font-size: 34px; font-weight: 900; font-style: italic; letter-spacing: 0; }
.gwdw-kader-team { margin-top: 14px !important; margin-bottom: 0; }
.gwdw-kader-team img { width: 100%; height: auto; display: block; filter: grayscale(1) contrast(1.05); }
.gwdw-kader-group { margin-top: 20px; }
.gwdw-kader-h {
	display: inline-block;
	position: relative;
	z-index: 0;
	margin: 0 0 12px;
	padding: 2px 16px 2px 10px;
	font-size: 18px;
	font-weight: 900;
	font-style: italic;
	text-transform: uppercase;
	color: var(--gwdw-green);
}
.gwdw-kader-h::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: 2px;
	height: 9px;
	background: var(--gwdw-green);
	opacity: .18;
	transform: skewX(-14deg);
	clip-path: polygon(0 30%, 12% 0, 60% 18%, 100% 0, 97% 100%, 40% 82%, 3% 100%);
	z-index: -1;
}
.gwdw-pl-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.gwdw-pl { margin: 0; background: #fff; border: 1px solid var(--gwdw-line); overflow: hidden; }
.gwdw-pl-img { position: relative; aspect-ratio: 4 / 5; background: #e9ece9; overflow: hidden; }
.gwdw-pl-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; filter: grayscale(1) contrast(1.08); transition: filter .25s, transform .25s; }
.gwdw-pl:hover .gwdw-pl-img img { filter: grayscale(0); transform: scale(1.03); }
.gwdw-pl-ph {
	position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
	font-size: 0; color: transparent;
	background:
		radial-gradient(circle at 50% 36%, #d4dad5 0 22%, transparent 23%),
		radial-gradient(ellipse at 50% 100%, #d4dad5 0 46%, transparent 47%);
}
.gwdw-pl-nr {
	position: absolute; left: 0; bottom: 0;
	background: var(--gwdw-green); color: #fff;
	font-size: 26px; font-weight: 900; font-style: italic; line-height: 1;
	padding: 8px 14px 6px 10px; min-width: 1.6em; text-align: center;
	clip-path: polygon(0 0, 88% 6%, 100% 100%, 0 100%);
}
.gwdw-pl-txt { padding: 9px 10px 10px; border-top: 3px solid var(--gwdw-green); }
.gwdw-pl-txt strong { display: block; font-size: 14px; font-weight: 900; font-style: italic; text-transform: uppercase; line-height: 1.15; }
.gwdw-pl-txt span { display: block; margin-top: 2px; font-size: 12px; color: var(--gwdw-muted); }
.gwdw-kader-staff .gwdw-pl-txt { border-top-color: #9aa59c; }
@media (min-width: 900px) { .gwdw-pl-grid { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); } }
@media (max-width: 480px) {
	.gwdw-pl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.gwdw-kader-hero .gwdw-title { font-size: 32px; }
}

/* ---------- Menü-Symbole ---------- */
.gwdw-mi { position: relative; display: inline-flex !important; align-items: center; justify-content: center; min-width: 40px; min-height: 40px; }
.gwdw-mi-svg { width: 22px; height: 22px; flex-shrink: 0; transition: transform .15s; }
.gwdw-mi:hover .gwdw-mi-svg, .gwdw-mi:focus-visible .gwdw-mi-svg { transform: translateY(-1px) scale(1.08); }
.gwdw-mi-label {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.gwdw-mi::after {
	content: attr(data-gwdw-tip);
	position: absolute; left: 50%; top: calc(100% + 6px);
	transform: translateX(-50%) translateY(-3px);
	background: #1B4527; color: #fff;
	font-size: 12px; font-weight: 700; font-style: italic; letter-spacing: .02em; line-height: 1.2;
	padding: 5px 9px; white-space: nowrap;
	opacity: 0; pointer-events: none; transition: opacity .15s, transform .15s; z-index: 50;
}
.gwdw-mi:hover::after, .gwdw-mi:focus-visible::after { opacity: 1; transform: translateX(-50%) translateY(0); }
.current-menu-item > .gwdw-mi, .current_page_item > .gwdw-mi { box-shadow: inset 0 -3px 0 currentColor; }

/* ---------- Wappen in der Mini-Tabelle ---------- */
.gwdw-team-in { display: flex; align-items: center; gap: 8px; min-width: 0; }
.gwdw-crest {
	flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50%;
	background: #fff; display: inline-flex; align-items: center; justify-content: center;
	box-shadow: 0 0 0 1px var(--gwdw-line);
}
.gwdw-crest:empty::before, .gwdw-crest.is-empty::before { content: ""; width: 10px; height: 12px; background: #d3d9d4; clip-path: polygon(0 0, 100% 0, 100% 55%, 50% 100%, 0 55%); }
.gwdw-crest img { width: 20px; height: 20px; object-fit: contain; display: block; }
.gwdw-table tr.is-own .gwdw-crest { box-shadow: 0 0 0 2px #fff; }
.gwdw-team-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; }

/* ---------- Geburtstage ---------- */
.gwdw-bday-today { display: flex; align-items: center; gap: 12px; padding: 12px 14px; margin-bottom: 8px; background: var(--gwdw-green); color: #fff; clip-path: polygon(0 4%, 100% 0, 99% 100%, 1% 96%); }
.gwdw-bday-cake { font-size: 30px; line-height: 1; }
.gwdw-bday-label { display: block; font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.gwdw-bday-today strong { display: block; font-size: 19px; font-weight: 900; font-style: italic; text-transform: uppercase; line-height: 1.1; }
.gwdw-bday-today .gwdw-bday-team { font-size: 12px; opacity: .9; }
.gwdw-bday-list { list-style: none; margin: 8px 0 0; padding: 0; font-size: 14px; }
.gwdw-bday-list li { display: grid; grid-template-columns: 82px 1fr auto; gap: 8px; align-items: baseline; padding: 7px 0; border-bottom: 1px solid var(--gwdw-line); margin: 0; }
.gwdw-bday-date { font-weight: 800; font-style: italic; color: var(--gwdw-green); font-size: 13px; }
.gwdw-bday-list .gwdw-bday-team { font-size: 12px; color: var(--gwdw-muted); }
