/* DOLGE Formulare. Beschriftungen übernehmen die Textfarbe des Umfelds (funktioniert auf hellem und dunklem Grund). */
.df { --df-navy: #262257; --df-blue: #14448b; --df-line: rgba(38, 34, 87, .22); --df-ease: cubic-bezier(.23, 1, .32, 1);
	display: grid; gap: 18px; width: 100%; font: 400 15px/1.5 'Roboto', system-ui, sans-serif; text-align: left; }
.df__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.df__step { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; margin: 0; padding: 0; border: 0; min-width: 0; }
.df__step[hidden] { display: none; }
.df__field { grid-column: 1 / -1; display: grid; gap: 6px; min-width: 0; margin: 0; padding: 0; border: 0; }
.df__field--half { grid-column: span 1; }
.df label, .df legend { font: 600 14px/1.35 'Open Sans', system-ui, sans-serif; color: inherit; padding: 0; }
.df legend { margin-bottom: 8px; }
.df__req { color: #d03a3a; }

.df input:not([type=checkbox]):not([type=radio]), .df select, .df textarea {
	width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid var(--df-line); border-radius: 10px; background: #fff; color: #121c22;
	font: 400 16px/1.4 'Roboto', system-ui, sans-serif; box-shadow: none; transition: border-color .15s ease, box-shadow .15s ease; }
.df textarea { min-height: 120px; resize: vertical; }
.df input:focus, .df select:focus, .df textarea:focus { outline: none; border-color: var(--df-blue); box-shadow: 0 0 0 3px rgba(20, 68, 139, .2); }
.df input:user-invalid, .df select:user-invalid, .df textarea:user-invalid { border-color: #d03a3a; }

.df__options { display: flex; flex-wrap: wrap; gap: 8px 10px; }
.df .df__option { display: inline-flex; align-items: flex-start; gap: 10px; font-weight: 400; cursor: pointer; }
.df__options .df__option { padding: 10px 14px; border: 1px solid var(--df-line); border-radius: 10px; background: rgba(255, 255, 255, .06); transition: border-color .15s ease, background-color .15s ease; }
.df__options .df__option:has(input:checked) { border-color: var(--df-blue); background: rgba(20, 68, 139, .08); }
.df input[type=checkbox], .df input[type=radio] { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--df-blue); }
.df__field--consent .df__option { font-size: 13.5px; line-height: 1.5; }
.df__field--consent a { color: inherit; text-decoration: underline; }

.df__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.df .df__btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 12px 28px; border: 0; border-radius: 50px; cursor: pointer;
	font: 600 16px/1.2 'Open Sans', system-ui, sans-serif; color: #fff; background: var(--df-navy); box-shadow: 0 1px 2px rgba(18, 28, 34, .2), 0 8px 18px -8px rgba(38, 34, 87, .6);
	text-transform: none; letter-spacing: 0; transition: transform .16s var(--df-ease), background-color .2s ease, opacity .2s ease; }
.df .df__btn:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .df .df__btn:hover { background: var(--df-blue); color: #fff; } }
.df .df__btn--ghost { color: inherit; background: transparent; box-shadow: inset 0 0 0 1.5px currentColor; }
@media (hover: hover) and (pointer: fine) { .df .df__btn--ghost:hover { background: rgba(127, 127, 127, .12); color: inherit; } }
.df .df__btn[hidden] { display: none; }
.df.is-sending .df__btn[type=submit] { opacity: .6; cursor: progress; }

.df__progress { margin: 0; font: 600 13px/1 'Open Sans', system-ui, sans-serif; opacity: .75; }
.df__status:empty { display: none; }
.df__status { padding: 12px 16px; border-radius: 10px; font-weight: 500; }
.df__status.is-ok { background: rgba(113, 180, 141, .18); }
.df__status.is-error { background: rgba(208, 58, 58, .12); }
.df__error { margin: 2px 0 0; font-size: 13px; color: #d03a3a; }
.df__note { margin: 0; font-size: 13px; opacity: .75; }
.df__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Kasten im Blogbeitrag */
.df-box { margin: 2.5em 0; padding: clamp(22px, 4vw, 36px); border-radius: 18px; background: #f6f6f6; border: 1px solid rgba(38, 34, 87, .08); }
.df-box h2.df-box__title { margin: 0 0 6px; font-size: clamp(1.35rem, 1.1rem + .9vw, 1.8rem); line-height: 1.2; }
.df-box__text { margin: 0 0 20px; }

@media (max-width: 600px) {
	.df__grid, .df__step { grid-template-columns: 1fr; }
	.df__field--half { grid-column: 1 / -1; }
	.df .df__btn { width: 100%; }
}

/* Variante compact: Beschriftung nur für Screenreader, Platzhalter im Feld */
.df--compact .df__field:not(.df__field--consent) > label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.df ::placeholder { color: #6b7780; opacity: 1; }
/* Variante dark: helle Schrift auf dunklem Hintergrund */
.df--dark { color: #fff; }
