/* Beenen Capital: Markenüberlagerung für DocuSeal 3.3.4
   Farben und Schrift laut freigegebener Design-Fläche. Der DocuSeal-Hinweis
   (Pflicht laut LICENSE_ADDITIONAL_TERMS) bleibt überall sichtbar, nur klein. */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/beenen-fonts/inter-latin-ext-wght-normal.woff2") format("woff2-variations");
  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: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/beenen-fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
  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;
}

/* Farbwerte (daisyUI-Variablen, HSL) */
html:root,
html[data-theme] {
  --bc-blue: #1D4E9E;
  --bc-blue-dark: #163C7A;
  --bc-gold: #C49A3A;
  --bc-text: #1B2230;
  --bc-grey: #5A6372;
  --bc-bg: #F4F5F7;

  --p: 218 53% 94%;      /* helle Primärfläche */
  --pf: 217 53% 88%;
  --pc: 217 69% 37%;
  --s: 217 69% 37%;
  --sf: 217 69% 28%;
  --sc: 0 0% 100%;
  --a: 42 54% 50%;       /* Gold */
  --af: 42 54% 42%;
  --ac: 220 28% 15%;
  --n: 217 69% 37%;      /* Hauptknopf: Blau #1D4E9E */
  --nf: 217 69% 28%;     /* Hover: #163C7A */
  --nc: 0 0% 100%;
  --b1: 0 0% 100%;
  --b2: 220 20% 94%;
  --b3: 217 17% 91%;     /* #E3E6EB */
  --bc: 220 28% 15%;     /* Text #1B2230 */
  --rounded-btn: 0.5rem; /* 8 px wie im Entwurf */
  --btn-text-case: none;
  background-color: var(--bc-bg);
}

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  background-color: var(--bc-bg);
  color: var(--bc-text);
}
button, input, select, textarea { font-family: inherit; }
a { color: var(--bc-blue); }
a:hover { color: var(--bc-blue-dark); }

/* Schriftzug neben dem Logo */
.beenen-brand, .beenen-brand span, .beenen-brand h1 {
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: var(--bc-text);
}
.beenen-brand:hover { color: var(--bc-text); }
.beenen-logo { border-radius: 9999px; }

/* Knöpfe */
html .base-button, html .btn-neutral {
  background-color: var(--bc-blue);
  border-color: var(--bc-blue);
  color: #fff;
  text-transform: none;
  font-weight: 600;
}
html .base-button:hover, html .btn-neutral:hover {
  background-color: var(--bc-blue-dark);
  border-color: var(--bc-blue-dark);
  color: #fff;
}
html .white-button { text-transform: none; background-color: #fff; border-color: #C9CED6; color: var(--bc-text); }
html .white-button:hover { background-color: #F4F5F7; border-color: #C9CED6; color: var(--bc-text); }
html .base-input, html .input, html .select, html .textarea { border-color: #C9CED6; border-radius: 0.5rem; }
html .base-input:focus, html .input:focus, html .select:focus, html .textarea:focus {
  outline-color: var(--bc-blue);
  border-color: var(--bc-blue);
}

/* Fertig-Seite: Haken in Blau statt Grün */
html .completed-form .text-green-600 { color: var(--bc-blue); }

/* Fußzeile mit Pflichthinweis (ERB-Seiten) */
.beenen-footer { margin-top: 1.25rem; padding-bottom: 1rem; }
.beenen-footer-company { font-size: 11px; line-height: 1.6; color: #6B7381; }
.beenen-powered-by { font-size: 8px; line-height: 1.6; color: #6B7381; }
.beenen-powered-by a, .beenen-powered-by a:hover { color: #6B7381; text-decoration: underline; }

/* Pflichthinweis in der Vue-Fertig-Seite (kompiliert in public/packs): klein, grau.
   Deutsch: "Bereitgestellt von DocuSeal" (Zusatz "open source ..." ausgeblendet,
   der Link DocuSeal bleibt sichtbar). */
html #form_completed > .text-center.mt-4 { font-size: 8px; line-height: 1.6; color: #6B7381; }
html #form_completed > .text-center.mt-4 a { color: #6B7381; }
html:lang(de) #form_completed > .text-center.mt-4 { font-size: 0; }
html:lang(de) #form_completed > .text-center.mt-4::before { content: "Bereitgestellt von "; font-size: 8px; }
html:lang(de) #form_completed > .text-center.mt-4 a { font-size: 8px; }

/* Werbung für DocuSeal Cloud/GitHub in der Verwaltung ausblenden */
a[href*="docuseal.com/sign_up"],
a[href*="github.com/docusealco"] { display: none !important; }

/* Fertig-Seite (Vue): Logo oberhalb der Meldung, da die Seite selbst keins rendert */
html #form_completed::before {
  content: "";
  display: block;
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  background: url("/beenen-logo-128.png") center / contain no-repeat;
}

/* Handy: Schriftzug neben dem Logo einzeilig, lange Dokumentnamen umbrechen */
html .beenen-brand h1 { font-size: clamp(1.75rem, 8vw, 3rem); line-height: 1.1; white-space: nowrap; }
html .bg-base-200 p[dir="auto"] { overflow-wrap: anywhere; }
