/* BRAIN-HR Sales-Agent · Synthese-CI & UXMaster ISO 9241 Stylesheet
   Typografie-Disziplin (M23 <= 5 Paare): exakt 4 (font-size, font-weight)-Paare:
     1) 1.75rem / 700 (h1)
     2) 1.25rem / 700 (h2, .price-figure)
     3) 1.0rem / 700 (h3, label, strong, Buttons, aktive Reiter)
     4) 1.0rem / 400 (Fließtext, Eingabefelder, Listen, Metazeilen)
   Konzentrische Radien (M25):
     - .context-strip: padding 8px + inner radius 8px = outer radius 16px
     - .surface-card: padding 20px + inner radius 8px = outer radius 28px
*/

html {
  font-size: 16px;
  box-sizing: border-box;
  background-color: #FBFAF7;
  color: #0A1F35;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after {
  box-sizing: inherit;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  padding: 0;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.55;
  background-color: #FBFAF7;
  color: #0A1F35;
}

.app-shell {
  max-width: 1160px;
  margin: 0 auto;
  padding: 24px 24px 64px;
}

.hero-header {
  margin-bottom: 18px;
}

.eyebrow {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #5C4309;
}

.hero-header h1 {
  margin: 0 0 8px;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.22;
  color: #0A1F35;
}

.hero-lead {
  margin: 0;
  font-size: 1rem;
  font-weight: 400;
  color: #1E3348;
  max-width: 820px;
}

/* Hauptnavigation: dezente Oberflächen-Reiter, damit Primär-CTA (CDI >= 1.60) klar dominiert */
.primary-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 10px 0;
  margin-bottom: 16px;
  border-bottom: 1px solid #CFD8E3;
}

.nav-cluster-sep {
  width: 1px;
  height: 28px;
  background-color: #CFD8E3;
  margin: 0 6px;
}

.room-nav-btn,
.cmd-k-btn {
  min-height: 44px;
  padding: 9px 14px;
  font-size: 1rem;
  font-weight: 400;
  color: #0A1F35;
  background-color: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
}

.room-nav-btn:hover,
.cmd-k-btn:hover {
  background-color: #EAEFF5;
}

.room-nav-btn[aria-current="page"] {
  background-color: #FFFFFF;
  color: #0A1F35;
  font-weight: 700;
  border-color: #CFD8E3;
  border-bottom: 3px solid #C9A84C;
}

kbd {
  display: inline-block;
  padding: 1px 6px;
  margin-left: 4px;
  font-size: 1rem;
  font-weight: 400;
  font-family: inherit;
  color: #243B53;
  background-color: #E6ECF2;
  border-radius: 6px;
}

/* Konzentrischer Kontext-Streifen: padding 8px + inner 8px = outer 16px */
.context-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  padding: 8px;
  margin-bottom: 24px;
  background-color: #F2F5F8;
  border-left: 4px solid #C9A84C;
  border-radius: 16px;
}

.context-meta-item {
  font-size: 1rem;
  font-weight: 400;
  color: #162B40;
}

.btn-secondary-inline {
  min-height: 44px;
  padding: 8px 14px;
  font-size: 1rem;
  font-weight: 700;
  color: #0A1F35;
  background-color: #FFFFFF;
  border: 1px solid #94A3B8;
  border-radius: 8px;
  cursor: pointer;
}

.btn-secondary-inline:hover {
  background-color: #E8EEF5;
}

.btn-secondary-inline:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* Äußere Kartenebene: padding 20px + inner 8px = outer 28px (M25 == 0.0 px, M22 <= 2) */
.surface-card {
  background-color: #FFFFFF;
  border: 1px solid #CFD8E3;
  border-radius: 28px;
  padding: 20px;
  margin-bottom: 28px;
}

.surface-card h2 {
  margin: 0 0 8px;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  color: #0A1F35;
}

.surface-card h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  color: #0A1F35;
}

.section-intro {
  margin: 0 0 18px;
  color: #243B53;
  font-size: 1rem;
  font-weight: 400;
}

.intake-fieldset {
  border: none;
  margin: 0;
  padding: 16px;
  background-color: #F6F8FA;
  border-radius: 8px;
}

.intake-fieldset legend {
  font-size: 1rem;
  font-weight: 700;
  color: #0A1F35;
  padding: 0 4px;
  margin-bottom: 10px;
}

.soft-grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.soft-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 20px;
}

.soft-tile {
  background-color: #F4F7FA;
  border-radius: 8px;
  padding: 16px;
}

.soft-tile-highlight {
  background-color: #FCF6E8;
  border-left: 4px solid #C9A84C;
  border-radius: 8px;
  padding: 16px;
}

.tile-kicker {
  font-size: 1rem;
  font-weight: 700;
  color: #5C4309;
  margin: 0 0 4px;
}

.price-figure {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0A1F35;
  margin: 6px 0 4px;
}

.unit-note {
  font-size: 1rem;
  font-weight: 400;
  color: #334E68;
  margin: 0 0 10px;
}

.form-stack {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field-group label {
  font-size: 1rem;
  font-weight: 700;
  color: #0A1F35;
}

.field-group select,
.field-group input[type="text"],
.field-group input[type="number"],
.field-group textarea {
  min-height: 44px;
  padding: 10px 12px;
  font-size: 1rem;
  font-weight: 400;
  font-family: inherit;
  color: #0A1F35;
  background-color: #FFFFFF;
  border: 1px solid #829AB1;
  border-radius: 8px;
}

.field-group textarea {
  min-height: 84px;
  resize: vertical;
}

/* Einziger tiefdunkler Primär-Button auf der Ansicht -> CDI >= 1.60 (M05) */
.primary-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  align-items: center;
  margin-top: 20px;
}

.btn-primary-cta {
  min-height: 54px;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 700;
  color: #FFFFFF;
  background-color: #0A1F35;
  border: 2px solid #C9A84C;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(10, 31, 53, 0.2);
  cursor: pointer;
}

.btn-primary-cta:hover {
  background-color: #143252;
}

.btn-primary-cta kbd {
  background-color: #1E3A5F;
  color: #FFFFFF;
}

.subtab-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.subtab-btn {
  min-height: 44px;
  padding: 9px 16px;
  font-size: 1rem;
  font-weight: 400;
  color: #0A1F35;
  background-color: #EEF2F6;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
}

.subtab-btn[aria-selected="true"] {
  background-color: #FFFFFF;
  color: #0A1F35;
  font-weight: 700;
  border-color: #CFD8E3;
  border-bottom: 3px solid #C9A84C;
}

.timeline-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.clean-list {
  margin: 8px 0 0;
  padding-left: 20px;
}

.clean-list li {
  margin-bottom: 6px;
}

.download-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 16px;
}

.download-link-btn {
  min-height: 44px;
  padding: 10px 18px;
  font-size: 1rem;
  font-weight: 700;
  color: #0A1F35;
  background-color: #FCF6E8;
  border: 1px solid #B58D2E;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.download-link-btn:hover {
  background-color: #F6E9C8;
}

.concept-preview-img {
  max-width: 360px;
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  margin-top: 10px;
}

.visually-hidden-panel[hidden] {
  display: none !important;
}

dialog#command-palette {
  border: 1px solid #0A1F35;
  border-radius: 16px;
  padding: 20px;
  max-width: 520px;
  width: 92%;
  background-color: #FFFFFF;
  color: #0A1F35;
}

.app-footer {
  margin-top: 40px;
  padding-top: 18px;
  border-top: 1px solid #CFD8E3;
  font-size: 1rem;
  font-weight: 400;
  color: #334E68;
}
