/* Kontaktseite /kontakt/ (inc/kontakt-formular.php, page-kontakt.php) – Theme 2.2.5 */
.swp-ico { flex: none; }

/* Kopf */
.swp-kf-page { margin-bottom: 56px; }
.swp-kf-head { display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-bottom: 30px; padding-bottom: 26px; border-bottom: 1px solid var(--line); position: relative; }
.swp-kf-head::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 140px; height: 2px; background: linear-gradient(90deg, var(--red), transparent); box-shadow: 0 0 10px rgba(229, 38, 43, .6); }
.swp-kf-head__eyebrow { margin: 0 0 10px; font: 700 .78rem/1 var(--brand); text-transform: uppercase; letter-spacing: .18em; color: var(--red-hot); }
.swp-kf-head .swp-article__title { margin-bottom: 12px; }
.swp-kf-head__lead { margin: 0; max-width: 640px; font-size: 1.08rem; color: var(--muted); }
.swp-kf-head__badge { position: relative; flex: 0 0 130px; height: 130px; display: grid; place-items: center; }
.swp-kf-head__ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(229, 38, 43, .55); box-shadow: 0 0 30px rgba(229, 38, 43, .35), inset 0 0 24px rgba(229, 38, 43, .2); animation: swp-kf-pulse 3.2s ease-in-out infinite; }
.swp-kf-head__ring--2 { inset: 18px; border-color: rgba(255, 255, 255, .14); box-shadow: none; animation-delay: -1.6s; }
.swp-kf-head__icon { position: relative; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(145deg, var(--red-hot), var(--red-deep)); color: #fff; box-shadow: 0 10px 30px rgba(229, 38, 43, .45); }
.swp-kf-head__icon .swp-ico { width: 30px; height: 30px; }
@keyframes swp-kf-pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.06); opacity: .7; } }
@media (prefers-reduced-motion: reduce) { .swp-kf-head__ring { animation: none; } }

/* Raster */
.swp-kf-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 32px; align-items: start; }

/* Formular-Karte */
.swp-kf { scroll-margin-top: 120px; }
.swp-kf__form, .swp-kf__done { padding: 28px; border-radius: var(--radius); background: linear-gradient(180deg, var(--card-2), var(--card)); border: 1px solid var(--line-2); border-top: 3px solid var(--red); box-shadow: 0 20px 50px rgba(0, 0, 0, .35); }
.swp-kf__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.swp-kf__field { margin: 0 0 20px; min-width: 0; }
fieldset.swp-kf__field { border: 0; padding: 0; }
.swp-kf__field > label, .swp-kf__field > legend { display: flex; align-items: center; gap: 9px; margin-bottom: 9px; padding: 0; font: 700 .86rem/1.2 var(--head); text-transform: uppercase; letter-spacing: .06em; color: #fff; }
.swp-kf__num { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--red); color: #fff; font: 800 .78rem/1 var(--head); box-shadow: 0 0 12px rgba(229, 38, 43, .5); }
.swp-kf input[type="text"], .swp-kf input[type="email"], .swp-kf textarea {
	width: 100%; padding: 13px 15px; border-radius: 10px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04);
	color: #fff; font: 400 1rem/1.5 var(--body); transition: border-color .2s, box-shadow .2s, background .2s;
}
.swp-kf textarea { min-height: 170px; resize: vertical; }
.swp-kf input:focus, .swp-kf textarea:focus { outline: none; border-color: var(--red); background: rgba(255, 255, 255, .06); box-shadow: 0 0 0 3px rgba(229, 38, 43, .22); }
.swp-kf [aria-invalid="true"] { border-color: var(--red-hot); background: rgba(229, 38, 43, .08); }
.swp-kf__err { display: flex; align-items: center; gap: 6px; margin: 8px 0 0; font-size: .86rem; color: #fecaca; }
.swp-kf__err .swp-ico { width: 16px; height: 16px; color: var(--red-hot); }
.swp-kf__hint { margin: 8px 0 0; font-size: .85rem; color: var(--dim); }

/* Themen-Chips */
.swp-kf__chips { display: flex; flex-wrap: wrap; gap: 9px; }
.swp-kf__chip { position: relative; cursor: pointer; }
.swp-kf__chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.swp-kf__chip span { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); font-size: .9rem; color: var(--muted); transition: .2s; }
.swp-kf__chip .swp-ico { width: 0; height: 16px; opacity: 0; transition: width .2s, opacity .2s; }
.swp-kf__chip:hover span { border-color: rgba(229, 38, 43, .6); color: #fff; }
.swp-kf__chip input:checked + span { border-color: var(--red); background: rgba(229, 38, 43, .16); color: #fff; box-shadow: inset 0 0 0 1px var(--red), 0 0 14px rgba(229, 38, 43, .25); }
.swp-kf__chip input:checked + span .swp-ico { width: 16px; opacity: 1; color: var(--red-hot); }
.swp-kf__chip input:focus-visible + span { outline: 2px solid var(--red-hot); outline-offset: 3px; }

/* Honigtopf */
.swp-kf__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Turnstile (erscheint nur, wenn Cloudflare nachfragt) */
.swp-kf__ts { display: none; margin: 0 0 18px; }
.swp-kf__ts.is-visible { display: block; }
.swp-kf__tsmsg { margin: 0 0 14px; padding: 10px 14px; border-radius: 10px; background: rgba(250, 204, 21, .1); border: 1px solid rgba(250, 204, 21, .4); color: #fde68a; font-size: .88rem; }

.swp-kf__privacy { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 20px; font-size: .84rem; line-height: 1.5; color: var(--dim); }
.swp-kf__privacy .swp-ico { margin-top: 1px; color: var(--red); }
.swp-kf__privacy a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.swp-kf__privacy a:hover { color: var(--red-hot); }

/* Knopf */
.swp-kf__btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 28px; border: 0; border-radius: 999px; cursor: pointer;
	background: linear-gradient(135deg, var(--red-hot), var(--red) 55%, var(--red-deep)); color: #fff;
	font: 800 1rem/1 var(--head); text-transform: uppercase; letter-spacing: .08em;
	box-shadow: 0 10px 28px rgba(229, 38, 43, .4); transition: transform .2s, box-shadow .2s, filter .2s;
}
.swp-kf__btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 34px rgba(229, 38, 43, .55); filter: brightness(1.06); }
.swp-kf__btn:disabled { cursor: progress; opacity: .75; transform: none; }
.swp-kf__submit { min-width: 240px; }

/* Meldungen */
.swp-kf__alert { margin: 0 0 18px; padding: 14px 18px; border-radius: 12px; background: rgba(229, 38, 43, .12); border: 1px solid rgba(229, 38, 43, .6); color: #fecaca; font-size: .95rem; }
.swp-kf__alert strong { color: #fff; }
.swp-kf__done { text-align: center; padding: 44px 28px; }
.swp-kf__done h2 { font-size: 2rem; color: #fff; margin: 14px 0 10px; }
.swp-kf__done p { color: var(--muted); max-width: 520px; margin: 0 auto 18px; }
.swp-kf__done-ico { display: inline-grid; place-items: center; width: 74px; height: 74px; border-radius: 50%; background: linear-gradient(145deg, #22c55e, #15803d); color: #fff; box-shadow: 0 0 30px rgba(34, 197, 94, .45); }
.swp-kf__done-ico .swp-ico { width: 38px; height: 38px; }
.swp-kf__alert:focus, .swp-kf__done:focus { outline: none; }

/* Seitenspalte */
.swp-kf-side { display: flex; flex-direction: column; gap: 16px; }
.swp-kf-side__text { font-size: .98rem; }
.swp-kf-side__text > :first-child { margin-top: 0; }
.swp-kf-card { padding: 20px 22px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line-2); }
.swp-kf-card h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font: 800 1.15rem/1.2 var(--head); text-transform: uppercase; letter-spacing: .03em; color: #fff; }
.swp-kf-card h2 .swp-ico { color: var(--red); }
.swp-kf-card p { margin: 0; font-size: .93rem; color: var(--muted); }
.swp-kf-card .swp-mail { color: var(--red-hot); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.swp-kf-card--note { border-left: 3px solid var(--red); }
.swp-kf-steps { margin: 0; padding: 0; list-style: none; counter-reset: s; }
.swp-kf-steps li { position: relative; padding: 0 0 12px 36px; font-size: .93rem; color: var(--muted); counter-increment: s; }
.swp-kf-steps li:last-child { padding-bottom: 0; }
.swp-kf-steps li::before { content: counter(s); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--red); color: #fff; font: 800 .78rem/1 var(--head); }
.swp-kf-steps strong { color: #fff; }

/* Tablet/Handy */
@media (max-width: 980px) {
	.swp-kf-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
	.swp-kf-head { gap: 16px; }
	.swp-kf-head__badge { flex-basis: 76px; height: 76px; }
	.swp-kf-head__ring--2 { inset: 10px; }
	.swp-kf-head__icon { width: 42px; height: 42px; }
	.swp-kf-head__icon .swp-ico { width: 22px; height: 22px; }
	.swp-kf__form, .swp-kf__done { padding: 20px 16px; }
	.swp-kf__row { grid-template-columns: 1fr; gap: 0; }
	.swp-kf__submit { width: 100%; min-width: 0; }
	.swp-kf__chip span { font-size: .86rem; padding: 8px 12px; }
}
