/* buggyFit Dashboard — baut auf styles.css auf */

.bf-dash-kopf {
  border-top: 6px solid var(--bf-magenta);
  border-bottom: 1px solid var(--bf-linie);
  background: #fff;
}

.bf-dash-kopf-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  padding-bottom: 18px;
}

.bf-dash-marke {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bf-magenta);
  text-decoration: none;
}

.bf-dash-abmelden {
  font-size: 15px;
  font-weight: 600;
  color: var(--bf-anthrazit);
  text-decoration: none;
  border-bottom: 2px solid var(--bf-linie);
  padding-bottom: 2px;
}

.bf-dash-abmelden:hover { border-bottom-color: var(--bf-magenta); }

.bf-dash-main { padding: 32px 0 48px; }

.bf-dash-main h1 {
  margin: 0 0 4px;
  font-size: 30px;
}

.bf-dash-unter {
  color: #6B6462;
  margin: 0 0 24px;
}

.bf-zurueck {
  display: inline-block;
  margin-bottom: 16px;
  font-weight: 600;
  text-decoration: none;
  color: var(--bf-magenta);
}

.bf-zurueck:hover { text-decoration: underline; }

/* Monatsfilter */
.bf-filter {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  background: var(--bf-grau);
  border: 1px solid var(--bf-linie);
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 24px;
}

.bf-filter label {
  font-weight: 700;
  font-size: 15px;
}

.bf-filter select {
  font: inherit;
  font-size: 16px;
  padding: 8px 12px;
  border: 1px solid var(--bf-linie);
  border-radius: 8px;
  background: #fff;
  color: var(--bf-anthrazit);
  min-width: 180px;
}

.bf-filter select:focus,
.bf-filter button:focus,
input:focus { outline: 3px solid rgba(215, 18, 81, 0.35); outline-offset: 1px; }

/* Karten */
.bf-karten {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.bf-karte {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: #fff;
  border: 1px solid var(--bf-linie);
  border-top: 5px solid var(--bf-magenta);
  border-radius: 12px;
  padding: 22px;
  text-decoration: none;
  color: var(--bf-anthrazit);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.bf-karte:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(43, 43, 43, 0.09);
}

.bf-karte-titel {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
}

.bf-karte-text {
  font-size: 15px;
  color: #6B6462;
}

.bf-karte-zahlen,
.bf-zeile-zahlen {
  display: flex;
  gap: 28px;
  margin-top: 14px;
}

.bf-zahl { display: flex; flex-direction: column; }

.bf-zahl-wert {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--bf-anthrazit);
}

.bf-zahl-label {
  font-size: 13px;
  color: #6B6462;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.bf-zahl-neu .bf-zahl-wert { color: var(--bf-magenta); }

/* Liste der einzelnen Funnel */
.bf-liste { display: flex; flex-direction: column; gap: 12px; }

.bf-zeile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  background: #fff;
  border: 1px solid var(--bf-linie);
  border-left: 5px solid var(--bf-magenta);
  border-radius: 10px;
  padding: 18px 20px;
  text-decoration: none;
  color: var(--bf-anthrazit);
}

.bf-zeile:hover { background: var(--bf-grau); }

.bf-zeile-haupt { display: flex; flex-direction: column; gap: 4px; min-width: 0; }

.bf-zeile-name { font-size: 18px; font-weight: 700; }

.bf-zeile-url {
  font-size: 14px;
  color: #6B6462;
  word-break: break-all;
}

.bf-blass { font-style: italic; }

.bf-zeile-zahlen { margin-top: 0; }

.bf-zeile-zahlen .bf-zahl-wert { font-size: 24px; }

.bf-tag {
  align-self: flex-start;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--bf-magenta);
  color: #fff;
  border-radius: 999px;
  padding: 3px 10px;
}

.bf-tag-gelb { background: var(--bf-gelb); color: var(--bf-anthrazit); }

/* Leads */
.bf-leads { display: flex; flex-direction: column; gap: 14px; }

.bf-lead {
  background: #fff;
  border: 1px solid var(--bf-linie);
  border-radius: 10px;
  padding: 18px 20px;
}

.bf-lead-kopf {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  border-bottom: 2px solid var(--bf-gelb);
  padding-bottom: 8px;
  margin-bottom: 10px;
}

.bf-lead-name { font-size: 18px; font-weight: 700; }

.bf-lead-datum { font-size: 14px; color: #6B6462; }

.bf-lead-mail { margin: 0 0 8px; word-break: break-all; }

.bf-lead-ergebnis { margin: 0 0 8px; }

.bf-angaben {
  display: grid;
  grid-template-columns: minmax(120px, auto) 1fr;
  gap: 6px 18px;
  margin: 10px 0 0;
  padding-top: 10px;
  border-top: 1px solid var(--bf-linie);
  font-size: 15px;
}

.bf-angaben dt { font-weight: 700; }

.bf-angaben dd { margin: 0; word-break: break-word; }

/* Leerzustand */
.bf-leer {
  background: var(--bf-grau);
  border: 1px dashed var(--bf-linie);
  border-radius: 10px;
  padding: 28px 24px;
  text-align: center;
  color: #6B6462;
}

.bf-leer p { margin: 0 0 6px; }

.bf-leer strong { color: var(--bf-anthrazit); }

/* Anmeldeseite */
.bf-login-body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: var(--bf-grau);
  padding: 24px;
}

.bf-login-box {
  width: 100%;
  max-width: 380px;
  background: #fff;
  border-top: 6px solid var(--bf-magenta);
  border-radius: 12px;
  padding: 32px 28px;
  box-shadow: 0 8px 26px rgba(43, 43, 43, 0.10);
}

.bf-login-box h1 { font-size: 24px; margin: 8px 0 18px; }

.bf-login-box label {
  display: block;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 6px;
}

.bf-login-box input {
  width: 100%;
  font: inherit;
  font-size: 16px;
  padding: 12px 14px;
  border: 1px solid var(--bf-linie);
  border-radius: 8px;
  margin-bottom: 16px;
}

.bf-login-box button {
  width: 100%;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  background: var(--bf-magenta);
  color: #fff;
  border: 0;
  border-radius: 8px;
  padding: 13px 16px;
  cursor: pointer;
}

.bf-login-box button:hover { background: #b60e44; }

.bf-fehler {
  background: #FDECF2;
  border-left: 4px solid var(--bf-magenta);
  border-radius: 4px;
  padding: 10px 14px;
  font-size: 15px;
}

.bf-login-hinweis {
  background: var(--bf-grau);
  border-left: 4px solid var(--bf-gelb);
  border-radius: 4px;
  padding: 10px 14px;
  font-size: 15px;
}

@media (max-width: 560px) {
  .bf-dash-main h1 { font-size: 25px; }
  .bf-karte-zahlen { gap: 20px; }
  .bf-zahl-wert { font-size: 28px; }
  .bf-zeile { flex-direction: column; align-items: flex-start; }
  .bf-angaben { grid-template-columns: 1fr; gap: 2px 0; }
  .bf-angaben dd { margin-bottom: 8px; }
}
