/* WM Wanderevents: Einreichformular (liegt im Panel "Wanderevent eintragen lassen") */
#wme-form-slot { margin-top: 18px; scroll-margin-top: 150px; }
#wme-form-slot[hidden] { display: none; }
.wme-f { display: grid; gap: 18px; }
.wme-f[hidden], .wme-f__ok[hidden], .wme-f__err[hidden], .wme-f__row[hidden] { display: none !important; }
.wme-f__lead { margin: 0; font-size: 16px; color: var(--wm-ink-soft, #4a4f3d); }
.wme-f__set { border: 1px solid #dbe0c8; border-radius: 8px; padding: 14px 16px 18px; margin: 0; min-width: 0; }
.wme-f__set legend { font-weight: 800; font-size: 16px; padding: 0 8px; color: var(--wm-ink, #1b2103); }
.wme-f__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.wme-f__row { display: grid; gap: 6px; align-content: start; min-width: 0; }
.wme-f__row--full { grid-column: 1 / -1; }
.wme-f .wme-f__row > label, .wme-f .wme-f__lbl { font-size: 14px; font-weight: 800; margin: 0; color: var(--wm-ink, #1b2103); }
.wme-f__note { margin: 0; font-size: 14px; color: var(--wm-ink-soft, #4a4f3d); background: #f3f5ee; border-radius: 7px; padding: 8px 12px; }
.wme-f__row small { font-size: 13px; color: var(--wm-ink-soft, #4a4f3d); }
.wme-f input[type="text"], .wme-f input[type="email"], .wme-f input[type="url"], .wme-f input[type="tel"],
.wme-f input[type="date"], .wme-f input[type="month"], .wme-f select {
	box-sizing: border-box; width: 100%; height: auto; margin: 0; font: inherit; font-size: 15px; font-weight: 600; line-height: 1.35;
	color: var(--wm-ink, #1b2103); background: #fff; border: 1.5px solid var(--wm-accent, #b0cb09); border-radius: 7px; padding: .5em .8em; box-shadow: none;
}
.wme-f input:focus, .wme-f select:focus { outline: 0; box-shadow: 0 0 0 3px rgba(176, 203, 9, .35); }
.wme-f__row.is-bad input, .wme-f__row.is-bad select { border-color: #b32d2e; }
.wme-f__row.is-bad > label { color: #b32d2e; }
.wme-f__check label { display: flex; gap: 10px; align-items: flex-start; font-weight: 600 !important; font-size: 15px !important; }
.wme-f__check input { margin-top: 3px; flex: 0 0 auto; width: 18px; height: 18px; }
.wme-f__hint { margin: 0 0 10px; font-size: 15px; color: var(--wm-ink-soft, #4a4f3d); }
.wme-f__radios { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.wme-f__radios label { display: flex; gap: 8px; align-items: center; font-weight: 700; font-size: 15px; margin: 0; }
.wme-f__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.wme-f__err { margin: 0; padding: 10px 14px; border-radius: 7px; background: #fcf0f0; border: 1px solid #e3b0b0; color: #8a1f1f; font-weight: 700; font-size: 15px; }
.wme-f__actions { margin: 0; }
.wme-f__submit { min-width: 200px; }
.wme-f__submit:disabled { opacity: .6; cursor: wait; }
.wme-f__ok { padding: 18px 20px; border-radius: 8px; background: #f3f5ee; border: 2px solid var(--wm-accent, #b0cb09); font-size: 17px; font-weight: 700; color: var(--wm-ink, #1b2103); }
@media (max-width: 640px) {
	.wme-f__grid { grid-template-columns: minmax(0, 1fr); }
	.wme-f input[type="text"], .wme-f input[type="email"], .wme-f input[type="url"], .wme-f input[type="tel"],
	.wme-f input[type="date"], .wme-f input[type="month"], .wme-f select { font-size: 16px; }
	.wme-f__submit { width: 100%; }
}
/* Senden-Button wie die uebrigen Buttons der Seite (abgerundet, gruen) */
.wme-f button.wme-f__submit { display: inline-flex; align-items: center; justify-content: center; font: inherit; font-weight: 800; line-height: 1.3; padding: .7em 1.3em; border-radius: 7px !important; border: 2px solid transparent !important; background: var(--wm-accent, #b0cb09) !important; color: #1b2103 !important; text-transform: none; letter-spacing: normal; box-shadow: none; cursor: pointer; }
.wme-f button.wme-f__submit:hover { box-shadow: 0 6px 18px rgba(176, 203, 9, .34); transform: translateY(-1px); }

/* Mobil: nichts darf ueber den Rand ragen, Haken-Zeilen sauber umbrechen */
.wme-f, .wme-f * { box-sizing: border-box; }
.wme-f__grid > *, .wme-f__row, .wme-f__set { min-width: 0; max-width: 100%; }
.wme-f input[type="date"], .wme-f input[type="month"] { display: block; min-width: 0; max-width: 100%; -webkit-appearance: none; appearance: none; }
.wme-f__check label > span { min-width: 0; flex: 1 1 auto; overflow-wrap: anywhere; line-height: 1.45; }
.wme-f__check label > span a { text-decoration: underline; }
@media (max-width: 640px) {
	.wme-f__set { padding: 12px 12px 16px; }
	.wme-f__grid { gap: 12px; }
	.wme-f__set legend { padding: 0 6px; }
}

/* Leere Datumsfelder (iOS/Android) fallen sonst auf Strichhoehe zusammen */
.wme-f input[type="date"], .wme-f input[type="month"], .wme-f input[type="text"], .wme-f input[type="email"], .wme-f input[type="tel"], .wme-f select { min-height: 46px; }
.wme-f input[type="date"], .wme-f input[type="month"] { line-height: 1.35; padding-top: .55em; padding-bottom: .55em; text-align: left; }
.wme-f input[type="date"]::-webkit-date-and-time-value, .wme-f input[type="month"]::-webkit-date-and-time-value { text-align: left; min-height: 1.35em; }

/* Premium-Anfrage (klein, unter dem Premium-Link) */
#wme-inq-slot { margin-top: 14px; scroll-margin-top: 150px; }
#wme-inq-slot[hidden] { display: none; }
.wme-f--inq { gap: 14px; }
.wme-f textarea { box-sizing: border-box; width: 100%; margin: 0; font: inherit; font-size: 15px; font-weight: 600; line-height: 1.4; color: var(--wm-ink, #1b2103); background: #fff; border: 1.5px solid var(--wm-accent, #b0cb09); border-radius: 7px; padding: .55em .8em; box-shadow: none; resize: vertical; min-height: 84px; }
.wme-f textarea:focus { outline: 0; box-shadow: 0 0 0 3px rgba(176, 203, 9, .35); }
.wme-f__row.is-bad textarea { border-color: #b32d2e; }
@media (max-width: 640px) { .wme-f textarea { font-size: 16px; } }
