/* ============================================================
   Räumwerk Server-Layer — serverseitig injiziert via nginx sub_filter
   (default-inject.conf). NICHT Teil des Claude-Design-Exports.
   Pfad: assets/server/rw-server.css
   ============================================================ */

/* Selbstgehostete Fonts (Manrope + Source Sans 3, aus Commit 06328b7e) */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url("/assets/fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url("/assets/fonts/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/sourcesans3-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/sourcesans3-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* orestbida cookieconsent — Räumwerk-Branding (aus Commit 06328b7e) */
#cc-main {
  --cc-bg: #16234B;
  --cc-primary-color: #ffffff;
  --cc-secondary-color: #C4CCDD;
  --cc-font-family: "Source Sans 3", sans-serif;
  --cc-btn-primary-bg: #2E7A05;
  --cc-btn-primary-color: #fff;
  --cc-btn-primary-border-color: #2E7A05;
  --cc-btn-primary-hover-bg: #256404;
  --cc-btn-primary-hover-color: #fff;
  --cc-btn-primary-hover-border-color: #256404;
  --cc-btn-secondary-bg: transparent;
  --cc-btn-secondary-color: #fff;
  --cc-btn-secondary-border-color: rgba(255,255,255,0.4);
  --cc-btn-secondary-hover-bg: rgba(255,255,255,0.08);
  --cc-btn-secondary-hover-color: #fff;
  --cc-btn-secondary-hover-border-color: #fff;
  --cc-btn-border-radius: 9px;
  --cc-link-color: #8FD65E;
  --cc-footer-bg: #16234B;
  --cc-footer-border-color: #223055;
  --cc-footer-color: #9BA4B8;
  --cc-overlay-bg: rgba(22,35,75,0.55);
}
#cc-main .cm { box-shadow: 0 -8px 30px rgba(0,0,0,0.25); }
#cc-main .cm__title, #cc-main .pm__title { font-family: "Manrope", sans-serif; font-weight: 800; }
#cc-main button:focus-visible { outline: 2px solid #DE6A10; outline-offset: 2px; }

/* Räumwerk-Assistent Chat-Widget (rw-chat.js) */
#rw-chat-root { position: fixed; bottom: 24px; right: 24px; z-index: 9999; font-family: "Source Sans 3", sans-serif; }
#rw-chat-panel { width: 320px; background: #fff; border-radius: 16px; box-shadow: 0 20px 50px rgba(22,35,75,0.25); margin-bottom: 14px; overflow: hidden; border: 1px solid #E7E2D8; display: none; }
#rw-chat-panel.rw-open { display: block; }
#rw-chat-header { background: #16234B; color: #fff; padding: 16px 18px; display: flex; align-items: center; gap: 10px; }
#rw-chat-badge { width: 32px; height: 32px; border-radius: 50%; background: #2E7A05; display: flex; align-items: center; justify-content: center; font-family: Manrope, sans-serif; font-weight: 800; font-size: 13px; flex-shrink: 0; }
#rw-chat-title { font-family: Manrope, sans-serif; font-weight: 700; font-size: 14px; }
#rw-chat-sub { font-size: 11.5px; color: #9BA4B8; }
#rw-chat-messages { padding: 16px; display: flex; flex-direction: column; gap: 10px; max-height: 280px; overflow-y: auto; background: #FAF8F4; }
.rw-chat-msg-user { align-self: flex-end; background: #16234B; color: #fff; border-radius: 12px 12px 3px 12px; padding: 10px 13px; font-size: 13.5px; max-width: 85%; }
.rw-chat-msg-bot { align-self: flex-start; background: #fff; border: 1px solid #E7E2D8; border-radius: 12px 12px 12px 3px; padding: 10px 13px; font-size: 13.5px; color: #3D4451; max-width: 85%; white-space: pre-wrap; }
.rw-chat-msg-loading { color: #9BA4B8; }
#rw-chat-inputrow { padding: 12px; border-top: 1px solid #E7E2D8; display: flex; gap: 8px; }
#rw-chat-input { flex: 1; padding: 10px 12px; border: 1.5px solid #E2DDD1; border-radius: 9px; font-size: 13.5px; font-family: "Source Sans 3", sans-serif; }
#rw-chat-send { background: #2E7A05; border: none; color: #fff; width: 38px; height: 38px; border-radius: 9px; cursor: pointer; flex-shrink: 0; font-size: 16px; }
#rw-chat-toggle { width: 60px; height: 60px; border-radius: 50%; background: #2E7A05; border: none; box-shadow: 0 12px 30px rgba(46,122,5,0.35); cursor: pointer; display: flex; align-items: center; justify-content: center; margin-left: auto; }
#rw-chat-toggle:hover, #rw-chat-send:hover { background: #1F5603; }
@media (max-width: 400px) {
  #rw-chat-panel { width: calc(100vw - 48px); }
}
