/* 30-Sekunden-Briefing (Recruiter-Modus) — Film-Palette: Laternengelb für Akzente, Rot nur für Kontakt */

/* Hinweis im Startbild */
.hero-brief { margin-top: 14px; font: inherit; font-size: 14.5px; font-weight: 600; color: var(--accent-2); background: none; border: 0; cursor: pointer;
  padding: 4px 0; border-bottom: 1px dashed rgba(242, 180, 90, .5); transition: color .25s, border-color .25s; }
.hero-brief:hover { color: var(--ink); border-color: var(--ink); }
.hero-hello { margin: 0 0 14px; display: inline-flex; padding: 8px 16px; border-radius: 999px; font-weight: 600; font-size: 15px;
  color: var(--bg); background: var(--accent-2); box-shadow: 0 10px 30px -10px rgba(242, 180, 90, .7); }
.hero-hello b { font-weight: 800; }
.hero-hello[hidden] { display: none; }

/* Schwebender Knopf */
.brief-fab { position: fixed; right: 20px; bottom: 22px; z-index: 70; display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 20px 13px 16px; border-radius: 999px; border: 1px solid rgba(242, 180, 90, .45);
  background: rgba(11, 18, 38, .86); backdrop-filter: blur(12px); color: var(--ink); font: inherit; font-weight: 650; font-size: 14.5px;
  box-shadow: 0 18px 40px -14px rgba(0, 0, 0, .8), 0 0 0 0 rgba(242, 180, 90, .5); cursor: pointer;
  opacity: 0; transform: translateY(24px) scale(.96); pointer-events: none;
  transition: opacity .45s var(--ease), transform .45s var(--ease), border-color .25s; }
.brief-fab.is-on { opacity: 1; transform: none; pointer-events: auto; animation: fabPulse 2.6s 1s 3; }
.brief-fab:hover { border-color: var(--accent-2); }
.brief-fab svg { width: 20px; height: 20px; fill: none; stroke: var(--accent-2); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
@keyframes fabPulse { 0% { box-shadow: 0 18px 40px -14px rgba(0,0,0,.8), 0 0 0 0 rgba(242,180,90,.55); } 70% { box-shadow: 0 18px 40px -14px rgba(0,0,0,.8), 0 0 0 14px rgba(242,180,90,0); } 100% { box-shadow: 0 18px 40px -14px rgba(0,0,0,.8), 0 0 0 0 rgba(242,180,90,0); } }
.brief-open .brief-fab { opacity: 0; pointer-events: none; }

/* Dialog */
dialog.brief { padding: 0; border: 0; background: transparent; color: var(--ink); width: min(760px, calc(100vw - 24px));
  max-height: calc(100dvh - 24px); margin: auto; overflow: visible; }
dialog.brief::backdrop { background: rgba(4, 7, 18, .78); backdrop-filter: blur(6px); }
dialog.brief[open] { animation: briefIn .45s var(--ease); }
@keyframes briefIn { from { opacity: 0; transform: translateY(24px) scale(.97); } }
.brief-inner { position: relative; max-height: calc(100dvh - 24px); overflow-y: auto; overscroll-behavior: contain;
  padding: clamp(22px, 4vw, 40px); border-radius: 26px;
  background: radial-gradient(600px 300px at 90% -10%, rgba(242, 180, 90, .12), transparent 60%), linear-gradient(180deg, #16224A, #0E1733);
  border: 1px solid rgba(242, 180, 90, .22); box-shadow: 0 40px 120px -30px rgba(0, 0, 0, .9); }
/* roter Faden quer über den Kopf */
.brief-inner::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; border-radius: 26px 26px 0 0;
  background: linear-gradient(90deg, transparent, var(--thread) 20%, var(--thread) 80%, transparent); box-shadow: 0 0 12px rgba(232, 67, 46, .8); }
.brief-close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line);
  color: var(--ink); font-size: 24px; line-height: 1; background: rgba(255, 255, 255, .04); cursor: pointer; }
.brief-close:hover { border-color: var(--accent-2); color: var(--accent-2); }
.brief-for { margin: 0 0 14px; font-size: 13px; letter-spacing: .06em; color: var(--accent-2); }
.brief-for b { color: var(--ink); }

.brief-head { display: grid; grid-template-columns: 112px 1fr; gap: 22px; align-items: center; }
.brief-photo { width: 112px; height: 140px; object-fit: cover; object-position: 50% 22%; border-radius: 18px;
  border: 2px solid rgba(242, 180, 90, .5); box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .8); }
.brief-kicker { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-2); }
.brief h2 { font-family: var(--display); font-size: clamp(32px, 5vw, 46px); font-weight: 560; line-height: 1.05; margin: 6px 0 8px; color: var(--ink); }
.brief h2::before, .brief h2::after { display: none; }
.brief-status { display: flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 600; color: var(--ink); }
.brief-facts { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.brief-facts li { padding: 5px 11px; border-radius: 999px; font-size: 12.5px; color: var(--ink-2); border: 1px solid var(--line); background: rgba(255, 255, 255, .03); }

.brief-roles { margin: 26px 0 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.brief-q { width: 100%; margin-bottom: 4px; font-size: 13.5px; color: var(--muted); }
.brief-roles button { padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: transparent; color: var(--ink-2);
  font: inherit; font-size: 14px; font-weight: 650; cursor: pointer; transition: all .25s var(--ease); }
.brief-roles button:hover { border-color: var(--accent-2); color: var(--ink); }
.brief-roles button[aria-selected="true"] { background: var(--accent-2); border-color: var(--accent-2); color: #0B1226; }

.brief-proof { list-style: none; padding: 0; margin: 0; display: none; gap: 10px; }
.brief-inner[data-role="global"] .brief-proof[data-for="global"],
.brief-inner[data-role="product"] .brief-proof[data-for="product"],
.brief-inner[data-role="brand"] .brief-proof[data-for="brand"] { display: grid; animation: proofIn .5s var(--ease); }
@keyframes proofIn { from { opacity: 0; transform: translateY(10px); } }
.brief-proof a { display: grid; grid-template-columns: 92px 1fr auto; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 16px;
  background: rgba(255, 255, 255, .035); border: 1px solid var(--line); color: var(--ink-2); font-size: 14.5px; line-height: 1.45;
  transition: border-color .25s, transform .3s var(--ease), background .25s; }
.brief-proof a:hover { border-color: rgba(242, 180, 90, .55); background: rgba(242, 180, 90, .07); transform: translateX(4px); }
.brief-proof b { font-family: var(--display); font-size: 28px; font-weight: 600; color: var(--accent-2); letter-spacing: -.02em; line-height: 1; }
.brief-proof i { font-style: normal; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.brief-proof i::after { content: " →"; color: var(--accent-2); }

.brief-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.brief-mail { background: var(--red); color: #fff; box-shadow: 0 14px 34px -12px rgba(224, 68, 47, .8); }
.brief-mail:hover { background: #F05A44; color: #fff; }
.brief-actions .btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.brief-more { display: block; margin: 18px auto 0; background: none; border: 0; color: var(--muted); font: inherit; font-size: 14px; cursor: pointer; }
.brief-more:hover { color: var(--accent-2); }

@media (max-width: 640px) {
  .brief-fab { right: 12px; bottom: 14px; padding: 11px 16px 11px 13px; font-size: 13.5px; }
  .brief-head { grid-template-columns: 84px 1fr; gap: 16px; }
  .brief-photo { width: 84px; height: 108px; border-radius: 14px; }
  .brief-proof a { grid-template-columns: 70px 1fr; }
  .brief-proof b { font-size: 22px; }
  .brief-proof i { grid-column: 2; }
  .brief-actions .btn { flex: 1 1 100%; }
  dialog.brief { width: calc(100vw - 16px); }
}
@media (prefers-reduced-motion: reduce) {
  .brief-fab.is-on { animation: none; }
  dialog.brief[open], .brief-proof { animation: none !important; }
}
