/* kniff49 Angebote & Anfragen */
.k49-pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 36px; }
.k49-pill { display: inline-block; padding: 9px 18px; border-radius: 999px; border: 1px solid #C9CFC8; background: #fff; text-decoration: none; font-weight: 600; font-size: 15px; color: var(--wp--preset--color--navy, #0E1A2B); }
.k49-pill:hover { border-color: var(--wp--preset--color--navy, #0E1A2B); }
.k49-pill.is-active { background: var(--wp--preset--color--navy, #0E1A2B); border-color: var(--wp--preset--color--navy, #0E1A2B); color: #fff; }

.k49-angebote .wp-block-post-template { gap: 24px; }
.k49-angebot-card .wp-block-post-title a { text-decoration: none; }
.k49-angebot-card .wp-block-post-excerpt__more-link { font-weight: 600; }
.k49-angebot-card .k49-num a { color: inherit; text-decoration: none; }

.k49-angebot .k49-eyebrow a { color: inherit; text-decoration: none; }
.k49-angebot h1 { margin-top: .3em; }
.k49-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin: 28px 0; padding: 0; }
.k49-facts__item { background: #fff; border-radius: 16px; padding: 16px 18px; }
.k49-facts dt { font-size: 14px; font-weight: 600; color: var(--wp--preset--color--muted, #5A6473); margin-bottom: 4px; }
.k49-facts dd { margin: 0; font-weight: 600; }
.k49-facts ul { margin: 0; padding-left: 1.1em; font-weight: 500; }

.k49-intro-cols { align-items: flex-end; margin-bottom: 8px; }
.k49-intro-cols h1 { margin: 0; }
.k49-intro-cols .k49-intro p { margin: 0; }

/* Formular */
.k49-form { position: relative; overflow: hidden; background: #fff; border-radius: 24px; padding: clamp(24px, 3vw, 36px); box-sizing: border-box; }
.k49-form::after { content: ""; position: absolute; top: 0; right: 0; width: 48px; height: 48px; background: var(--wp--preset--color--orange, #E36A00); clip-path: path("M0 0 V34 Q0 48 14 48 H48 Z"); }
.k49-angebot .k49-form { position: sticky; top: 24px; }
.k49-form__title { font-size: 26px; margin: 0 0 8px; padding-right: 48px; }
.k49-form__angebot { margin: 0 0 16px; color: var(--wp--preset--color--slate, #3F4A5A); }
.k49-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@supports (grid-template-columns: subgrid) { }
.k49-form__field { display: flex; flex-direction: column; gap: 6px; margin: 0 0 14px; }
.k49-form__field > * { margin: 0; }
.k49-form__field--wide { grid-column: 1 / -1; }
.k49-form label { font-size: 15px; font-weight: 600; }
.k49-form input[type="text"], .k49-form input[type="email"], .k49-form input[type="tel"], .k49-form input[type="number"], .k49-form select, .k49-form textarea {
	width: 100%; box-sizing: border-box; font: inherit; font-size: 16px; color: inherit; background: var(--wp--preset--color--ground, #F5F6F3);
	border: 1px solid #C9CFC8; border-radius: 10px; padding: 11px 13px; }
.k49-form input:focus, .k49-form select:focus, .k49-form textarea:focus { outline: 3px solid var(--wp--preset--color--orange, #E36A00); outline-offset: 1px; border-color: var(--wp--preset--color--navy, #0E1A2B); }
.k49-form [aria-invalid="true"] { border-color: #B42318; }
.k49-form__error { color: #B42318; font-size: 14px; font-weight: 500; }
.k49-form__notice { background: #FEF3F2; color: #7A271A; border-radius: 10px; padding: 12px 14px; margin: 0 0 18px; font-size: 15px; }
.k49-form__check { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; margin: 4px 0 20px; }
.k49-form__check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--wp--preset--color--navy, #0E1A2B); }
.k49-form__check label { font-weight: 500; font-size: 14px; line-height: 1.5; }
.k49-form__check .k49-form__error { grid-column: 2; }
.k49-form__actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 0; }
.k49-form__actions button { cursor: pointer; border: 0; }
.k49-form__hint { font-size: 14px; color: var(--wp--preset--color--muted, #5A6473); }
.k49-form__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.k49-form--done h2 { margin-top: 0; padding-right: 48px; }

@media (max-width: 900px) { .k49-angebot .k49-form { position: static; } }
@media (max-width: 560px) { .k49-form__grid { grid-template-columns: 1fr; } }

/* Termine */
.k49-next { margin: 0 0 12px; font-size: 15px; color: var(--wp--preset--color--slate, #3F4A5A); }
.k49-next__label { display: block; font-size: 13px; font-weight: 600; color: var(--wp--preset--color--muted, #5A6473); }
.k49-next__more { color: var(--wp--preset--color--muted, #5A6473); white-space: nowrap; }
.k49-dates { margin: 32px 0; }
.k49-dates__title, .k49-cal__month { font-size: 24px; margin: 0 0 14px; }
.k49-cal__month { margin-top: 40px; }
.k49-cal__month:first-child { margin-top: 0; }
.k49-date-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.k49-date { display: flex; align-items: center; gap: 20px; background: #fff; border-radius: 16px; padding: 16px 22px; }
.k49-date__cal { flex-shrink: 0; width: 60px; height: 64px; border-radius: 12px; background: var(--wp--preset--color--navy, #0E1A2B); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
.k49-date__day { font-size: 24px; font-weight: 700; }
.k49-date__mon { font-size: 13px; font-weight: 600; margin-top: 4px; color: var(--wp--preset--color--orange, #E36A00); text-transform: uppercase; letter-spacing: .04em; }
.k49-date__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.k49-date__rub { font-size: 13px; font-weight: 600; color: var(--wp--preset--color--orange-dark, #B35300); }
.k49-date__title { font-weight: 600; font-size: 18px; text-decoration: none; color: inherit; }
a.k49-date__title:hover { color: var(--wp--preset--color--orange-dark, #B35300); }
.k49-date__meta { font-size: 15px; color: var(--wp--preset--color--muted, #5A6473); }
.k49-date__link { flex-shrink: 0; font-weight: 600; font-size: 15px; padding: 10px 18px; border-radius: 10px; border: 1px solid #C9CFC8; text-decoration: none; color: var(--wp--preset--color--navy, #0E1A2B); background: #fff; }
.k49-date__link:hover { border-color: var(--wp--preset--color--navy, #0E1A2B); }
.k49-date.is-full { opacity: .7; }
.k49-badge { flex-shrink: 0; font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--wp--preset--color--line, #E3E6E1); color: var(--wp--preset--color--slate, #3F4A5A); }
.k49-cal--empty { background: #fff; border-radius: 16px; padding: 22px 26px; }
@media (max-width: 600px) { .k49-date { flex-wrap: wrap; gap: 14px; padding: 16px; } .k49-date__link, .k49-badge { margin-left: 76px; } }

/* Angebotsbild */
.k49-angebot__img { margin: 0 0 24px; }
.k49-angebot__img img { border-radius: 20px; object-fit: cover; }
.k49-form__field--num { grid-column: 1; }
.k49-form__opt { font-weight: 500; color: var(--wp--preset--color--muted, #5A6473); }

/* Reihen */
.k49-dates__note { margin: 14px 0 0; color: var(--wp--preset--color--slate, #3F4A5A); }
.k49-dates__note a { font-weight: 600; }
.k49-date.is-past { opacity: .55; }
.k49-form__reihe { background: var(--wp--preset--color--ground, #F5F6F3); border-radius: 10px; padding: 12px 14px; font-weight: 600; font-size: 15px; }

/* Lange Rubriknamen (z. B. „Gruppenveranstaltungen“) sauber umbrechen */
.k49-intro-cols h1, .k49-intro-cols .wp-block-query-title { font-size: clamp(34px, 4.4vw, 60px) !important; line-height: 1.08; -webkit-hyphens: auto; hyphens: auto; overflow-wrap: break-word; }
