/* Formular (eigenständig, gleiche Optik wie das Anfrageformular) */
.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-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; }
.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: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; }
.k49-form__opt { font-weight: 500; color: var(--wp--preset--color--muted, #5A6473); }
.k49-form__legend { font-size: 15px; font-weight: 600; padding: 0; margin: 0 0 8px; }
.k49-form__hinweis { display: block; margin-top: 6px; font-size: 14px; color: #6B3300; background: #FFF1E0; border-radius: 8px; padding: 8px 12px; }
.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; }

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

/* KI-Stammtisch (Ergänzungen zum Theme kniff49) */
.k49st-preis .k49-num { margin-bottom: 8px; }
.k49st-preis .k49st-preis__betrag { font-size: clamp(40px, 5vw, 56px); font-weight: 700; line-height: 1; letter-spacing: -.03em; color: #fff; margin: 8px 0 6px; }
.k49st-preis__betrag span { font-size: 18px; font-weight: 500; letter-spacing: 0; color: #C9D0DA; }
.k49st-preis .k49st-preis__alt { text-decoration: line-through; text-decoration-thickness: 1px; color: #9AA4B2 !important; margin-top: 0; }
.k49-page .wp-block-post-content > .k49-faq { margin-top: 0; }
.k49-page .wp-block-post-content > .k49-card { height: auto; }
.k49-card .k49-step__num { color: var(--wp--preset--color--white, #fff); }
.k49-card .k49-step__num--accent { color: var(--wp--preset--color--navy, #0E1A2B); }
.k49-page .wp-block-post-content > .alignwide .k49-step__text h3 { margin-top: 8px; }

/* Wer Sie begleitet */
.k49st-person { display: flex; gap: 24px; align-items: flex-start; }
.k49st-person .k49st-foto { width: 150px; flex-shrink: 0; margin: 0; }
.k49st-person .k49st-foto img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 18px; }
.k49st-person h3 { margin: 0 0 2px !important; }
.k49st-person .k49-person__role { margin: 0 0 10px; }
.k49st-zitat { margin-top: 24px !important; font-size: clamp(19px, 1.7vw, 22px); line-height: 1.5; border-left: 4px solid var(--wp--preset--color--orange, #E36A00); padding: 4px 0 4px 22px; }
.k49st-zitat p { margin: 0 0 8px; font-size: clamp(19px, 1.7vw, 22px) !important; font-weight: 500 !important; line-height: 1.5 !important; letter-spacing: 0 !important; }
.k49st-zitat cite { font-style: normal; font-weight: 600; font-size: 16px; color: var(--wp--preset--color--muted, #5A6473); }
/* Drei Personen nebeneinander: Foto über dem Text */
.k49st-team { gap: clamp(16px, 2.5vw, 28px) !important; }
.k49st-team .k49st-person { flex-direction: column; gap: 16px; height: 100%; }
.k49st-team .k49st-person .k49st-foto { width: 140px; }
@media (max-width: 600px) { .k49st-person { flex-direction: column; } .k49st-person .k49st-foto { width: 120px; } }

/* Einstieg mit Bild */
.k49st-hero { gap: clamp(24px, 4vw, 56px) !important; margin-top: 0 !important; }
.k49st-hero .k49-lead { margin-top: 0; }
.k49st-hero__bild { margin: 0; }
.k49st-hero__bild img { display: block; width: 100%; height: auto; border-radius: 24px; }

/* Themen als Kacheln */
.k49st-themen { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px !important; }
.k49st-thema { padding: 24px 26px !important; }
.k49st-thema h3 { margin: 0 0 6px !important; font-size: 19px; }
.k49st-thema p { margin: 0; font-size: 15px; line-height: 1.5; }
.k49st-thema.k49-card--dark p { color: #C9D0DA; }

/* Bewerbung zweispaltig */
.k49st-bewerbung { gap: clamp(24px, 4vw, 56px) !important; align-items: flex-start; }
.k49st-bewerbung .k49-step { margin: 0 0 22px; }
.k49st-bewerbung .k49-step h3 { margin: 6px 0 4px; font-size: 19px; }
.k49st-bewerbung .k49-step p:not(.k49-step__num) { margin: 0; font-size: 15px; }
.k49st-bewerbung .k49-step__num { color: var(--wp--preset--color--white, #fff); }
.k49st-bewerbung .k49-step__num--accent { color: var(--wp--preset--color--navy, #0E1A2B); }
.k49st-form .k49-form__title { font-size: 22px; }
@media (max-width: 781px) { .k49st-hero { flex-direction: column-reverse; } }

/* Breitere Abschnitte */
.k49st-zitatkarte { margin-top: 24px !important; padding: clamp(28px, 3.5vw, 44px) clamp(28px, 4vw, 56px) !important; }
.k49st-zitatkarte .k49st-zitat { margin: 0 !important; max-width: 900px; }
.k49st-check { list-style: none; padding: 0; margin: 12px 0 0; }
.k49st-check li { position: relative; padding-left: 34px; margin: 0 0 12px; }
.k49st-check li::before { content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 7px; background: var(--wp--preset--color--orange, #E36A00); }
.k49st-check li::after { content: ""; position: absolute; left: 7px; top: 7px; width: 6px; height: 11px; border: solid #fff; border-width: 0 3px 3px 0; transform: rotate(45deg); }
.k49-page .wp-block-post-content > .wp-block-columns.alignwide > .wp-block-column > p:first-child { margin-top: 0; }

/* Themen-Symbole */
.k49st-thema { display: flex; flex-direction: column; }
.k49st-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: #FFF1E0; color: var(--wp--preset--color--orange-dark, #B35300); margin: 0 0 14px; }
.k49st-thema.k49-card--dark .k49st-icon { background: rgba(255,255,255,.1); color: var(--wp--preset--color--orange, #E36A00); }
.k49st-thema > p:first-child { margin: 0; }

/* Abstand zum Footer: nicht doppelt (Seitenabstand + Footer-Abstand) */
main.k49-page:has(.k49st-bewerbung) ~ footer .k49-footer,
main.k49-page:has(.k49st-bewerbung) + footer .k49-footer { margin-top: 0; }

/* Projekte: leicht abgesetzter Abschnitt */
.k49st-projekt { background: #FFFFFF; border: 1px solid var(--wp--preset--color--line, #E3E5E0); }
.k49st-projekt .k49st-icon { background: var(--wp--preset--color--navy, #0E1A2B); color: #fff; }
.k49-page .wp-block-post-content > .k49st-projekte + p { margin-top: 20px; color: var(--wp--preset--color--slate, #3F4A5A); }

/* Echte Bilder */
.k49st-hero__bild img { aspect-ratio: 4 / 3; object-fit: cover; }
.k49-page .wp-block-post-content > .k49st-raum { margin-top: 24px !important; }
.k49st-raum img { display: block; width: 100%; height: auto; aspect-ratio: 21 / 9; object-fit: cover; border-radius: 24px; }
.k49st-raum figcaption, .k49st-feature__bild figcaption { font-size: 14px; color: var(--wp--preset--color--muted, #5A6473); margin-top: 10px; }
.k49st-kennenlernen { margin: 8px 0 0 !important; }
.k49st-kennenlernen img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: 60% 30%; border-radius: 20px; }

/* Projekte als Bild-Text-Zeilen */
.k49st-feature { gap: clamp(24px, 4vw, 56px) !important; margin-top: clamp(40px, 5vw, 64px) !important; }
.k49st-feature--rev { flex-direction: row-reverse; }
.k49st-feature__bild { margin: 0; }
.k49st-feature__bild img { display: block; width: 100%; height: auto; border-radius: 16px; box-shadow: 0 24px 48px -16px rgba(14,26,43,.35); }
.k49st-feature h3 { font-size: clamp(24px, 2.4vw, 30px); margin: 4px 0 12px !important; }
.k49st-feature .k49-num { margin: 0; color: var(--wp--preset--color--orange-dark, #B35300); font-weight: 600; font-size: 14px; }
.k49st-feature ul { padding-left: 1.1em; margin: 12px 0 0; }
.k49st-feature li { margin: 0 0 6px; }
.k49-page .wp-block-post-content > .k49st-mehr { margin-top: clamp(48px, 6vw, 72px) !important; font-weight: 600; }
@media (max-width: 781px) { .k49st-feature, .k49st-feature--rev { flex-direction: column; } }

/* Salbei-Akzente (Theme 0.5.1): nur Linien und kleine Ecken */
.k49st-feature .k49-num::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--wp--preset--color--sage-mid, #6F8D77); margin-right: 8px; vertical-align: 1px; }
.k49st-zitat { border-left-color: var(--wp--preset--color--sage-mid, #6F8D77) !important; }
.k49st-feature__bild img { outline: 1px solid var(--wp--preset--color--sage, #C1D3BC); outline-offset: 6px; }
.k49st-thema::before { left: 12px; bottom: 12px; width: 14px; height: 14px; }

/* Kompakte Projekt-Vorschauen */
.k49st-vorschauen { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px !important; }
.k49st-vorschau { margin: 0 !important; }
.k49st-vorschau__bild { margin: 0 0 10px !important; }
.k49st-vorschau__bild img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: left top; border-radius: 14px; outline: 1px solid var(--wp--preset--color--sage, #C1D3BC); outline-offset: 4px; }
.k49st-vorschau__titel { margin: 0 !important; font-weight: 600; font-size: 16px; }
.k49-page .wp-block-post-content > .k49st-vorschauen + p { margin-top: 24px; }

/* Preisblock mit Rabatt */
.k49st-preis__kopf { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0 0 8px; }
.k49st-preis__kopf .k49-num { margin: 0; }
.k49st-preis .k49st-preis__rabatt { background: var(--wp--preset--color--orange, #E36A00); color: var(--wp--preset--color--navy, #0E1A2B); font-weight: 700; font-size: 14px; padding: 4px 12px; border-radius: 999px; transform: rotate(-3deg); display: inline-block; }
.k49st-preis .k49st-preis__betrag { font-size: clamp(48px, 6vw, 68px); }
.k49st-preis__betrag span { display: inline-block; max-width: 11em; line-height: 1.3; vertical-align: middle; margin-left: 6px; }

/* Claim über dem Einleitungstext */
.k49st-hero .k49st-claim { margin: 0 0 14px; font-size: clamp(19px, 1.7vw, 22px); font-weight: 700; line-height: 1.35; color: var(--wp--preset--color--orange-dark, #B35300); max-width: 30em; }
.k49st-hero .k49st-claim + .k49-lead { margin-top: 0; }

.k49st-preis .k49st-preis__extra { margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.18); font-weight: 600; color: #F5C38F; }
