/* dental-stb Cookie-Banner – nutzt die Farben/Schriften aus main.css */
#cookieman-modal { display: none; position: fixed; inset: 0; z-index: 1000; align-items: flex-end; justify-content: center; padding: 16px; background: rgba(23, 49, 58, 0.35); }
#cookieman-modal.is-open { display: flex; }
#cookieman-modal .cm-dialog { width: 100%; max-width: 760px; max-height: calc(100vh - 32px); overflow-y: auto; padding: 32px; background: #FFFFFF; color: #17313A; border-radius: 4px; box-shadow: 0 24px 60px rgba(23, 49, 58, 0.25); font-family: "Manrope", system-ui, sans-serif; font-size: 15px; line-height: 1.6; }
#cookieman-modal .cm-title { margin: 0 0 10px; font-family: "Cormorant Garamond", Georgia, serif; font-size: 30px; font-weight: 500; line-height: 1.15; }
#cookieman-modal .cm-text { margin: 0; color: #4A5C61; }
#cookieman-modal .cm-text a { color: #2F6A64; }
#cookieman-modal .cm-settings { margin-top: 24px; border-top: 1px solid #E4DED4; }
#cookieman-modal .cm-group { padding: 18px 0; border-bottom: 1px solid #E4DED4; }
#cookieman-modal .cm-check { display: flex; align-items: center; gap: 10px; font-weight: 600; cursor: pointer; }
#cookieman-modal .cm-check input { width: 20px; height: 20px; margin: 0; accent-color: #3F7F78; }
#cookieman-modal .cm-check input:disabled + .cm-check__label::after { content: " (immer aktiv)"; font-weight: 400; color: #4A5C61; }
#cookieman-modal .cm-group__desc, #cookieman-modal .cm-dnt { margin: 6px 0 0 30px; color: #4A5C61; font-size: 14px; }
#cookieman-modal .cm-details { margin: 8px 0 0 30px; font-size: 13px; }
#cookieman-modal .cm-details summary { cursor: pointer; color: #2F6A64; font-weight: 600; }
#cookieman-modal .cm-table-wrap { overflow-x: auto; margin-top: 8px; }
#cookieman-modal .cm-table { width: 100%; border-collapse: collapse; }
#cookieman-modal .cm-table th, #cookieman-modal .cm-table td { padding: 6px 8px; text-align: left; vertical-align: top; border-bottom: 1px solid #EFEAE2; }
#cookieman-modal .cm-table th { font-weight: 600; white-space: nowrap; }
#cookieman-modal .cm-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 24px; }
#cookieman-modal .cm-actions__main { display: flex; flex-wrap: wrap; gap: 12px; }
#cookieman-modal .cm-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent; font: inherit; font-weight: 600; font-size: 14px; cursor: pointer; }
#cookieman-modal .cm-btn[hidden] { display: none; }
#cookieman-modal .cm-btn--primary { background: #3F7F78; color: #FFFFFF; }
#cookieman-modal .cm-btn--primary:hover { background: #2F6A64; }
#cookieman-modal .cm-btn--outline { border-color: #17313A; color: #17313A; background: transparent; }
#cookieman-modal .cm-btn--outline:hover { background: #17313A; color: #F6F3EE; }
#cookieman-modal .cm-btn--link { padding: 0; min-height: 0; background: none; color: #2F6A64; text-decoration: underline; text-underline-offset: 3px; }
#cookieman-modal :focus-visible { outline: 3px solid #3F7F78; outline-offset: 2px; }
@media (max-width: 640px) {
  #cookieman-modal { padding: 0; }
  #cookieman-modal .cm-dialog { padding: 24px 20px; border-radius: 4px 4px 0 0; max-height: 90vh; }
  #cookieman-modal .cm-actions { flex-direction: column-reverse; align-items: stretch; }
  #cookieman-modal .cm-actions__main { flex-direction: column-reverse; }
  #cookieman-modal .cm-btn { width: 100%; }
  #cookieman-modal .cm-btn--link { min-height: 40px; }
}
