/* Website pieces for the Adoptions- and Pflegestellenbogen (the design itself is in bogen-adopt.css / bogen-pflege.css) */
/* page basics from the design board (zero weight, so the board's own rules win) */
:where(.ab-root){font-family:"Manrope",system-ui,-apple-system,"Segoe UI",sans-serif;color:#1F1B16;font-size:16px;line-height:normal;-webkit-font-smoothing:antialiased}
:where(.ab-root) a{color:inherit;text-decoration:none}
:where(.ab-root) .wrap{max-width:1200px;margin:0 auto;padding:0 32px;box-sizing:border-box}
:where(.ab-root) .page-h1{margin:0;font-size:clamp(40px,4.4vw,56px);font-weight:800;letter-spacing:-.04em;line-height:1.05;color:#1F1B16}
:where(.ab-root) :is(button,a,summary,label){-webkit-tap-highlight-color:transparent;touch-action:manipulation}
@media (max-width:640px){:where(.ab-root) .wrap{padding:0 20px}:where(.ab-root) .page-h1{font-size:36px}}
@media (min-width:641px){:where(.ab-root) h1.page-h1{margin-bottom:10px!important}}
/* room for the floating menu: the heading sits where it sits on Kontakt */
.ab-root.ab-root.ab-root{padding-top:94px}
@media (max-width:640px){.ab-root.ab-root.ab-root{padding-top:88px}}
/* beige right under the menu, no white strip */
.wrapper:has(.ab-root){background:#F9F6F1}
/* beige page background, also in the gap above the footer */
body.bg-body:has(.ab-root){background-color:#F9F6F1!important}
/* captcha picture from the server instead of the drawn letters */
.ab-root .kt-capbox{position:relative}
.ab-root.ab-root.ab-root .ab-form .ab-cap .kt-capbox{background:#F7F3EE!important}
.ab-root.ab-root.ab-root .ab-form .ab-cap .kt-capbox img.kt-cap-img{display:block;width:100%!important;height:100%!important;object-fit:cover;background:none!important}
/* "Neues Bild" under the picture (as on the board) */
.ab-root.ab-root .ab-form .ab-cap .ab-capcol{grid-column:1!important;grid-row:1!important;display:flex;flex-direction:column;align-items:stretch;gap:6px;min-width:0}
.ab-root .ab-newimg{align-self:center;display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:4px 10px;border:0;border-radius:10px;background:none;font:inherit;font-size:13.5px;font-weight:700;color:#4E5A2E;cursor:pointer;-webkit-tap-highlight-color:transparent;transition:background .2s ease}
.ab-root .ab-newimg[hidden]{display:none}
.ab-root .ab-newimg:hover{background:#EEF2E2}
.ab-root .ab-newimg svg{transition:transform .5s cubic-bezier(.2,.8,.2,1)}
.ab-root .ab-newimg:hover svg,.ab-root .ab-newimg.spin svg{transform:rotate(180deg)}
.ab-root .ab-newimg:focus-visible{outline:3px solid #9F8B72;outline-offset:2px}
@media (prefers-reduced-motion:reduce){.ab-root .ab-newimg svg{transition:none}}
.ab-root .ab-cap input[type=hidden]{display:none}
/* without JavaScript the captcha message stays under the row (bogen.js moves it under the input, as on the board) */
.ab-root.ab-root.ab-root .ab-form .ab-cap > .kf-err{grid-column:1/-1;position:static;margin:0!important}
/* message from the server that belongs to no single field */
.ab-root .ab-nonfield{margin:0 0 14px;padding:12px 16px;border-radius:14px;background:#FFF7F2;color:#B4432B;font-size:14px;font-weight:600}
.ab-root .ab-nonfield p{margin:0}
/* the captcha message can be long: let it sit under the input and push the row down */
.ab-root.ab-root.ab-root .ab-form .ab-cap{align-items:start}
.ab-root.ab-root.ab-root .ab-form .ab-cap label.kf .kf-err{position:static;margin-top:6px}
.ab-root.ab-root.ab-root .ab-form .ab-cap label.kf .kf-err:empty{display:none}
/* every error message is red (the label text style made some of them dark) */
.ab-root.ab-root.ab-root .ab-form .kf-err{color:#B4432B!important;font-size:13px!important;font-weight:700!important;line-height:1.4;letter-spacing:0;text-transform:none}
/* sent: only the green thank-you card shows, the outer box is invisible */
.ab-root.ab-root .ab-ok:not(.kt-hide){display:block!important;padding:0!important;background:none!important;border:0!important;box-shadow:none!important}
.ab-root .ab-ok:focus{outline:none}
