/* HOMA Basis-CSS: wird immer geladen, auch mit Theme. Alles ist mit eigenem Präfix gekapselt,
   damit die Optik des Themes unberührt bleibt. */

/* Sichtbarkeit je Gerät (Theme-Sektionen: "Ausblenden auf …") */
@media (min-width: 981px) { .homa-hide-d { display: none !important; } }
@media (min-width: 641px) and (max-width: 980px) { .homa-hide-t { display: none !important; } }
@media (max-width: 640px) { .homa-hide-m { display: none !important; } }

/* Platzhalter für leere Bilder (ohne Spezifität, das Theme gewinnt immer) */
:where(.img-ph) { display: grid; place-items: center; min-height: 160px; background: repeating-linear-gradient(-45deg, #EEF1F5 0 10px, #F6F8FA 10px 20px); color: #8A94A6; font: 600 14px/1.4 system-ui, -apple-system, 'Segoe UI', sans-serif; }

/* Meldungen nach dem Absenden eines Formulars */
.homa-form-msg { display: block; margin: 0 0 16px; padding: 14px 16px; border-radius: 8px; font: 400 15px/1.5 system-ui, -apple-system, 'Segoe UI', sans-serif; text-align: left; scroll-margin-top: 120px; }
.homa-form-msg.ok { background: #E7F6EE; color: #14663C; }
.homa-form-msg.err { background: #FDECEE; color: #9B1C2C; }
.homa-form-msg strong { font-weight: 700; }
.homa-form-msg ul { margin: 6px 0 0; padding-left: 18px; list-style: disc; }
.homa-form-msg li { margin: 0; }

/* Vorschau des Entwurfs (nur angemeldet) */
.homa-preview-bar { position: sticky; top: 0; z-index: 2147483000; display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: center; justify-content: center; margin: 0; padding: 10px 20px; background: #FFF4D6; color: #5C4400; border-bottom: 1px solid #F0D58A; font: 400 14px/1.4 system-ui, -apple-system, 'Segoe UI', sans-serif; text-align: center; }
.homa-preview-bar a { color: inherit; font-weight: 700; text-decoration: underline; }

/* Cookie-Hinweis im Theme-Modus */
.homa-cc-wrap .cc { position: fixed; left: 20px; bottom: 20px; z-index: 2147483001; box-sizing: border-box; max-width: 460px; margin: 0; padding: 22px; background: #fff; color: #3A4455; border: 0; border-radius: 12px; box-shadow: 0 20px 50px rgba(16, 24, 40, .22); font: 400 15px/1.55 system-ui, -apple-system, 'Segoe UI', sans-serif; text-align: left; letter-spacing: normal; text-transform: none; }
.homa-cc-wrap .cc[hidden] { display: none; }
.homa-cc-wrap .cc p { margin: 0 0 14px; padding: 0; font: inherit; color: inherit; }
.homa-cc-wrap .cc .homa-cc-title { margin: 0 0 8px; font-size: 18px; font-weight: 700; line-height: 1.3; color: #1B2230; }
.homa-cc-wrap .cc a { color: #1B2230; text-decoration: underline; }
.homa-cc-wrap .homa-cc-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.homa-cc-wrap .homa-cc-btn { box-sizing: border-box; min-height: 42px; margin: 0; padding: 0 16px; border: 1px solid #C9D0DA; border-radius: 8px; background: #fff; color: #1B2230; font: 600 15px/1 system-ui, -apple-system, 'Segoe UI', sans-serif; cursor: pointer; text-transform: none; letter-spacing: normal; box-shadow: none; }
.homa-cc-wrap .homa-cc-btn:hover { background: #F3F5F8; }
.homa-cc-wrap .homa-cc-primary { background: #1B2230; border-color: #1B2230; color: #fff; }
.homa-cc-wrap .homa-cc-primary:hover { background: #2E3747; }
.homa-cc-wrap .homa-cc-btn:focus-visible { outline: 3px solid #7FA7D9; outline-offset: 2px; }
@media (max-width: 640px) { .homa-cc-wrap .cc { left: 12px; right: 12px; bottom: 12px; max-width: none; } }
